memset: fix define usage for shared libs
[glibc.git] / ChangeLog
blobbed8caf4e1dc9992883b7afc38e24d56a9f3500e
1 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
3         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4         * sysdeps/x86_64/memset_chk.S: Likewise.
6 2012-04-07  David S. Miller  <davem@davemloft.net>
8         * elf/elf.h (R_SPARC_WDISP10): Define.
9         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
10         R_SPARC_SIZE32.
11         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12         R_SPARC_SIZE64 and R_SPARC_H34.
14 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
16         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17         conditions and remove no longer applicable assertion.
19 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
21         * bits/byteswap.h (__bswap_16): Removed.
22         Include <bits/byteswap-16.h> to get __bswap_16.
23         * sysdeps/i386/bits/byteswap.h: Likewise.
24         * sysdeps/s390/bits/byteswap.h: Likewise.
25         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26         * bits/byteswap-16.h: New file.
27         * sysdeps/i386/bits/byteswap-16.h: Likewise.
28         * sysdeps/s390/bits/byteswap-16.h: Likewise.
29         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
30         * string/Makefile (headers): Add bits/byteswap-16.h.
32 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34         [BZ #13895]
35         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36         extra indirection.
37         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38         * nss/tst-nss-static.c: New.
40 2012-04-06  Robert Millan  <rmh@gnu.org>
42         [BZ #6486]
43         * manual/llio.texi (File Position Primitive): lseek
44         refers to WHENCE when it really means OFFSET.
46 2012-04-06  Andreas Jaeger  <aj@suse.de>
48         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
49         strncmp declarations.
51         * abilist/libc.abilist: Add __poll and __ppoll.
53 2012-04-05  David S. Miller  <davem@davemloft.net>
55         * scripts/check-local-headers.sh: Accept a host triplet in the
56         path matched by the exclude regexp.
58         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
59         definition.
60         * sysdeps/powerpc/powerpc32/dl-machine.h
61         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
62         * sysdeps/s390/s390-32/dl-machine.h
63         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64         * sysdeps/sparc/sparc32/dl-machine.h
65         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66         * sysdeps/sparc/sparc64/dl-machine.h
67         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
70         lazy binding.
71         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
72         undefined symbol errors.
74         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
75         DT_NEEDED entries.
77 2012-04-05  Michael Matz  <matz@suse.de>
79         [BZ #13592]
80         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
82 2012-04-05  Andreas Jaeger  <aj@suse.de>
84         [BZ #13908]
85         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
86         comment.
88 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
90         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
91         which ROUND is no valid rounding mode.
93 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
95         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
96         read again.
97         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
99 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
101         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
102         an exception using FPU order intentionally.
104 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
106         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
107         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
108         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
109         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
111 2012-04-05  Simon Josefsson  <simon@josefsson.org>
113         [BZ #12340]
114         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
115         EINVAL when BUFLEN is too smal.
117 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
119         [BZ #13553]
120         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
121         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
123 2012-04-03  Andreas Jaeger  <aj@suse.de>
125         [BZ #13938]
126         * manual/setjmp.texi (System V contexts): Fix sentence.
128         [BZ #13926]
129         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
130         New macro for this case.
131         [!__GNUC__] (__bswap_64): New inline function for this case.
132         * sysdeps/x86_64/bits/byteswap.h: Likewise.
133         * bits/byteswap.h: Likewise.
134         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
135         ull, guard with __GLIBC_HAVE_LONG_LONG.
137         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
138         __GLIBC_HAVE_LONG_LONG.
140         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
141         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
143 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
145         [BZ #13691]
146         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
147         inptr and inend, rather than using last_ch.
149 2012-04-02  David S. Miller  <davem@davemloft.net>
151         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
152         * stdio-common/printf-parse.h (read_int): Change return type to
153         'int', return -1 on INT_MAX overflow.
154         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
155         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
156         overflows INT_MAX.  Check for overflow of in-format-string precision
157         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
158         SIZE_MAX not INT_MAX for integer overflow test.
159         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
160         skip the construct in the format string but do not record anything.
161         * stdio-common/bug22.c: Adjust to test both width/prevision
162         INT_MAX overflow as well as total length INT_MAX overflow.  Check
163         explicitly for proper errno values.
165 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
167         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
168         CHAR_MAX.
169         * string/test-strcmp.c [! WIDE]: Likewise.
170         * time/tst-mktime2.c: Likewise for INT_MAX.
171         * string/test-string.h: #include <sys/param.h> for MIN.
173         * csu/init-first.c (__libc_init_first): Call __ctype_init.
174         * sysdeps/i386/init-first.c (init): Likewise.
175         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
176         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
177         * sysdeps/sh/init-first.c (init): Likewise.
179 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
181         * po/ru.po: Update from translation team.
182         * po/vi.po: Likewise.
184 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
186         * resolv/nss_dns/dns-host.c: Merge copyright years.
188 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
190         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
191         Optimize memcpy with prefetch if
192         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
193         src, dst pointers have unequal 16 byte alignments.
195 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
197         [BZ #13928]
198         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
199         from a CNAME entry and return the minimum ttl for the query.
200         (gaih_getanswer_slice): Likewise.
202 2012-03-30  Jeff Law  <law@redhat.com>
204         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
205         due to long keys.
206         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
207         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
209         * resolv/nss_dns/dns-host.c: Update copyright year.
211 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
213         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
214         requests to save a system call.  Fix check that all bytes are sent.
216         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
217         comments for sendmmsg.
219 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
221         [BZ #13691]
222         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
223         with only 1 character between 0x0041 and 0x01b0.
224         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
225         * wcsmbs/tst-mbsnrtowcs.c: New file.
227 2012-03-29  David S. Miller  <davem@davemloft.net>
229         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
230         small copies by hand.
232 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
234         [BZ #13761]
235         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
236         _nss_compat_initgroups_dyn): Fall back to malloc/free
237         for large group memberships.
239 2012-03-28  David S. Miller  <davem@davemloft.net>
241         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
242         that branches into memcpy.
243         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
244         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
245         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
246         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
247         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
248         bits.
249         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
250         implementation too.
251         * sysdeps/sparc/mempcpy.S: New file.
253         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
254         the IFUNC routine in the libc case.
255         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
257         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
258         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
259         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
260         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
261         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
262         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
263         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
264         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
266         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
267         loop to 256 bytes instead of 64 bytes and fix test signedness.
269         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
270         * sysdeps/sparc/sparc32/Makefile: rather than here...
271         * sysdeps/sparc/sparc64/Makefile: and here.
273 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
275         * malloc/mallocbug.c: Avoid warnings about unused variables.
277 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
279         [BZ #13760]
280         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
281         in the right place. Discard and retry query if response is
282         larger than input buffer size.
284 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
286         [BZ #369]
287         [BZ #2678]
288         [BZ #3866]
289         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
290         x for large integer exponent.
291         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
292         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
293         sign of result as needed afterwards.
294         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
295         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
296         result for underflowing pow the same as for overflow.
297         (__kernel_standard_l): Handle powl overflow and underflow here
298         rather than calling __kernel_standard.
299         * math/libm-test.inc (pow_test): Add more tests.
301         [BZ #3868]
302         [BZ #13879]
303         [BZ #13910]
304         [BZ #13911]
305         [BZ #13912]
306         [BZ #13913]
307         [BZ #13915]
308         [BZ #13916]
309         [BZ #13917]
310         [BZ #13918]
311         [BZ #13919]
312         [BZ #13920]
313         [BZ #13921]
314         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
315         * sysdeps/ieee754/k_standard.c: Include <float.h>.
316         (__kernel_standard_l): New function.
317         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
318         __kernel_standard.
319         * math/w_acosl.c (__acosl): Likewise.
320         * math/w_asinl.c (__asinl): Likewise.
321         * math/w_atan2l.c (__atan2l): Likewise.
322         * math/w_atanhl.c (__atanhl): Likewise.
323         * math/w_coshl.c (__coshl): Likewise.
324         * math/w_exp10l.c (__exp10l): Likewise.
325         * math/w_exp2l.c (__exp2l): Likewise.
326         * math/w_fmodl.c (__fmodl): Likewise.
327         * math/w_hypotl.c (__hypotl): Likewise.
328         * math/w_j0l.c (__j0l, __y0l): Likewise.
329         * math/w_j1l.c (__j1l, __y1l): Likewise.
330         * math/w_jnl.c (__jnl, __ynl): Likewise.
331         * math/w_lgammal.c (__lgammal): Likewise.
332         * math/w_log10l.c (__log10l): Likewise.
333         * math/w_log2l.c (__log2l): Likewise.
334         * math/w_logl.c (__logl): Likewise.
335         * math/w_powl.c (__powl): Likewise.
336         * math/w_remainderl.c (__remainderl): Likewise.
337         * math/w_scalbl.c (sysv_scalbl): Likewise.
338         * math/w_sinhl.c (__sinhl): Likewise.
339         * math/w_sqrtl.c (__sqrtl): Likewise.
340         * math/w_tgammal.c (__tgammal): Likewise.
341         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
342         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
343         * math/libm-test.inc (acos_test): Add more tests.
344         (acosh_test): Likewise.
345         (asin_test): Likewise.
346         (atanh_test): Likewise.
347         (exp_test): Likewise.
348         (exp10_test): Likewise.
349         (exp2_test): Likewise.
350         (expm1_test): Likewise.
351         (lgamma_test): Likewise.
352         (log_test): Likewise.
353         (log10_test): Likewise.
354         (log1p_test): Likewise.
355         (log2_test): Likewise.
356         (pow_test): Do not allow some spurious overflow exceptions.
357         (sqrt_test): Add more tests.
358         (tgamma_test): Likewise.
359         (y0_test): Likewise.
360         (y1_test): Likewise.
361         (yn_test): Likewise.
363 2012-03-27  Anton Blanchard  <anton@samba.org>
365         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
366         MAP_HUGETLB.
367         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
368         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
369         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
371 2012-03-27  David S. Miller  <davem@davemloft.net>
373         * conform/Makefile: Run run-conformtest.sh using $(BASH).
375         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
376         have-as-vis3 check.
378 2012-03-27  Andreas Jaeger  <aj@suse.de>
380         * sysdeps/x86_64/elf/configure.in: Moved to ...
381         * sysdeps/x86_64/configure.in: ... here.
382         * sysdeps/x86_64/elf/start.S: Moved to ...
383         * sysdeps/x86_64/start.S: ... here.
384         * sysdeps/x86_64/elf/configure: Delete.
386         * sysdeps/x86_64/configure.in: Merge contents from
387         sysdeps/i386/configure.in (without i686 check).
389         * sysdeps/i386/elf/Versions: Merge into ...
390         * sysdeps/i386/Versions: ... this.
391         * sysdeps/i386/elf/Versions: Delete file.
392         * sysdeps/i386/elf/start.S: Moved to ...
393         * sysdeps/i386/start.S: ...here.
394         * sysdeps/i386/elf/configure.in: Merge into...
395         * sysdeps/i386/configure.in: ...here.
396         * sysdeps/i386/elf/configure.in: Delete file.
397         * sysdeps/i386/elf/configure: Delete file.
399         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
400         * debug/backtracesyms.c: ... here.
401         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
402         * debug/backtracesymsfd.c: ... here.
403         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
404         * sysdeps/generic/ifunc-sel.h: ... here.
406         * sysdeps/unix/i386/start.c: Delete file.
407         * sysdeps/unix/sparc/start.c: Delete file.
408         * sysdeps/unix/start.c: Delete file.
410         * sysdeps/sh/elf/configure.in: Moved to ...
411         * sysdeps/sh/configure.in: ... here.
412         * sysdeps/sh/elf/start.S: Moved to ...
413         * sysdeps/sh/start.S: ... here.
414         * sysdeps/sh/elf/configure: Delete file.
416         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
417         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
418         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
419         * sysdeps/powerpc/powerpc64/entry.h: ... here.
420         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
421         * sysdeps/powerpc/powerpc64/start.S: here.
422         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
423         * sysdeps/powerpc/powerpc64/Makefile: ... this.
424         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
425         * sysdeps/powerpc/powerpc64/configure.in: ... this.
426         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
428         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
429         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
430         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
431         * sysdeps/powerpc/powerpc32/start.S: ... here.
432         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
433         * sysdeps/powerpc/powerpc32/configure.in: ... this.
434         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
436         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
437         * sysdeps/powerpc/ifunc-sel.h: ... here.
438         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
439         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
441         * sysdeps/sparc/elf/configure.in: Moved to ...
442         * sysdeps/sparc/configure.in: ... here.
443         * sysdeps/sparc/elf/configure: Delete file.
444         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
445         * sysdeps/sparc/sparc32/start.S: ... here.
446         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
447         * sysdeps/sparc/sparc64/start.S: ... here.
448         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
449         * sysdeps/sparc/sparc32/Makefile: ... this.
450         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
451         * sysdeps/sparc/sparc64/Makefile: ... this.
453         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
454         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
455         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
456         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
457         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
458         * sysdeps/s390/s390-32/setjmp.S: ... here.
459         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
460         * sysdeps/s390/s390-32/configure.in: ... here.
461         * sysdeps/s390/s390-32/elf/configure: Delete file.
462         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
463         * sysdeps/s390/s390-32/start.S: ... here.
465         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
466         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
467         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
468         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
469         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
470         * sysdeps/s390/s390-64/setjmp.S: ... here.
471         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
472         * sysdeps/s390/s390-64/configure.in: ... here
473         * sysdeps/s390/s390-64/elf/configure: Delete file.
474         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
475         * sysdeps/s390/s390-64/start.S: ... here.
476         * sysdeps/s390/s390-64/elf/configure: Delete.
478         * configure.in: Remove support for elf directories in sysdeps.
480         * configure: Regenerated.
481         * sysdeps/i386/configure: Regenerated.
482         * sysdeps/powerpc/powerpc32/configure: Regenerated.
483         * sysdeps/powerpc/powerpc64/configure: Regenerated.
484         * sysdeps/s390/s390-32/configure: Regenerated.
485         * sysdeps/s390/s390-64/configure: Regenerated.
486         * sysdeps/sh/configure: Regenerated.
487         * sysdeps/sparc/configure: Regenerated.
488         * sysdeps/x86_64/configure: Regenerated.
490 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
494         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
495         denormal result into account.
497 2012-03-25  Roland McGrath  <roland@hack.frob.com>
499         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
500         Reported by Allan McRae <allan@archlinux.org>.
502 2012-03-23  Jeff Law  <law@redhat.com>
504         * nss/getnssent.c (__nss_getent): Fix typo.
506 2012-03-23  David S. Miller  <davem@davemloft.net>
508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
510 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
512         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
513         to pad to uint64_t for each field.
514         (dl_tls_index): Replace unsigned long with uint64_t.
516 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
517         Paul Pluzhnikov  <ppluzhnikov@google.com>
519         [BZ #6528]
520         * grp/Makefile (otherlibs): Don't set it.
521         * inet/Makefile (otherlibs): Likewise.
522         * login/Makefile (otherlibs): Likewise.
523         * nscd/Makefile (otherlibs): Likewise.
524         * posix/Makefile (otherlibs): Likewise.
525         * pwd/Makefile (otherlibs): Likewise.
526         * rt/Makefile (otherlibs): Likewise.
527         * sunrpc/Makefile (otherlibs): Likewise.
528         * nss/Makefile (otherlibs): Likewise.
529         Add libnss_files to routines and static-only-routines.
530         ($(objpfx)getent): Remove rule.
531         * resolv/Makefile: Add libnss_dns and libresolv to routines and
532         static-only-routines.
534 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
536         [BZ #13892]
537         * math/s_cexp.c: Include <float.h>.
538         (__cexp): Handle exp result overflowing not necessarily
539         overflowing both real and imaginary parts of result.
540         * math/s_cexpf.c: Likewise.
541         * math/s_cexpl.c: Likewise.
542         * math/libm-test.inc (cexp_test): Add more tests.
543         * sysdeps/i386/fpu/libm-test-ulps: Update.
544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
546 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
548         * include/link.h (ELFW): New macro.
549         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
550         Replace ELF64_R_TYPE with ELFW(R_TYPE).
552 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
554         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
555         with uint64_t.
557 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
559         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
560         declaration.
561         (struct La_x32_retval): Likewise.
563 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
565         * sysdeps/x86_64/preconfigure.in: New file.
566         * sysdeps/x86_64/preconfigure: New generated file.
568 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
570         [BZ #13824]
571         * math/e_exp2l.c: Include <float.h>.
572         (__ieee754_exp2l): Handle overflow and underflow cases
573         separately.  Only pass fractional part of argument to
574         __ieee754_expl.
575         * math/libm-test.inc (exp2_test): Add more tests.
577         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
578         negating x to take absolute value.
579         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
580         Likewise.
581         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
582         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
583         Likewise.
584         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
585         computing low part if x was negated.
586         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
588 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
590         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
591         la_x32_gnu_pltexit.
592         (pltexit): Cast int_retval to ptrdiff_t.
593         * elf/tst-auditmod3b.c: Likewise.
594         * elf/tst-auditmod4b.c: Likewise.
595         * elf/tst-auditmod5b.c: Likewise.
596         * elf/tst-auditmod6b.c: Likewise.
597         * elf/tst-auditmod6c.c: Likewise.
598         * elf/tst-auditmod7b.c: Likewise.
600         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
601         and x32_gnu_pltexit.
603         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
604         __ELF_NATIVE_CLASS.
605         (La_x32_regs): New macro.
606         (La_x32_retval): Likewise.
607         (la_x32_gnu_pltenter): New function prototype.
608         (la_x32_gnu_pltexit): Likewise.
610 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
612         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
613         exponent.
615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
617         * configure.in (libc_cv_cc_nofma): Check for option to disable
618         generation of FMA instructions.
619         * configure: Regenerate.
620         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
621         * sysdeps/ieee754/dbl-64/Makefile: New file.
622         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
623         Remove brandred-fma4.
624         (CFLAGS-brandred-fma4.c): Remove.
625         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
626         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
627         define.
628         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
629         define.
631 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
633         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
634         LLONG_MAX != LONG_MAX.
635         (_itoa_word): Use _ITOA_WORD_TYPE on value.
636         (_fitoa_word): Likewise.
637         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
638         LLONG_MAX != LONG_MAX.
639         * stdio-common/_itowa.h: Include <_itoa.h>.
640         (_itowa_word): Use _ITOA_WORD_TYPE on value.
641         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
642         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
643         only if not defined.
644         (_ITOA_WORD_TYPE): Likewise.
645         (_itoa_word): Use _ITOA_WORD_TYPE on value.
646         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
648 2012-03-21  David S. Miller  <davem@davemloft.net>
650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
652 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
654         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
655         of x86_64 when setting libc_cv_slibdir, libdir and
656         libc_cv_localedir.
657         * sysdeps/unix/sysv/linux/configure: Regenerated.
659 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
661         * manual/lang.texi (Old Varargs): Remove section.
662         (How Variadic): Update menu.
663         (va_start): Do not mention varargs.h.
665 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
666             Joseph Myers  <joseph@codesourcery.com>
668         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
669         link test.
670         * configure: Regenerated.
672 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
674         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
675         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
676         conformtest.pl
678 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
680         * NOTES: Remove.
681         * Makefile (files-for-dist): Remove NOTES.
682         (NOTES): Remove rule.
683         * README: Don't refer to NOTES.
684         * manual/creature.texi: Don't include macros.texi.
685         * manual/intro.texi (creature.texi): Remove comment referring to
686         NOTES.
688         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
689         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
690         * configure: Regenerated.
691         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
692         LIBC_TRY_CC_OPTION.
693         (libc_cv_as_i686): Likewise.
694         (libc_cv_cc_avx): Likewise.
695         (libc_cv_cc_sse2avx): Likewise.
696         (libc_cv_cc_fma4): Likewise.
697         (libc_cv_cc_novzeroupper): Likewise.
698         * sysdeps/i386/configure: Regenerated.
700         [BZ #13883]
701         * sysdeps/i386/fpu/s_cexp.S: Remove.
702         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
703         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
704         * math/libm-test.inc (cexp_test): Add more tests.
705         * sysdeps/i386/fpu/libm-test-ulps: Update.
706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
708 2012-03-21  Allan McRae  <allan@archlinux.org>
710         * timezone/Makefile: Do not install iso3166.tab and zone.tab
712 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
714         [BZ #13871]
715         * math/w_exp2.c: Do not include <float.h>.
716         (o_threshold, u_threshold): Remove.
717         (__exp2): Calculate result before checking finiteness and calling
718         __kernel_standard.
719         * math/w_exp2f.c: Likewise.
720         * math/w_exp2l.c: Likewise.
721         * math/libm-test.inc (exp2_test): Require overflow exception for
722         1e6 input.
724         [BZ #3866]
725         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
726         range of signed 64-bit integers before using fistpll.  Remove
727         checks for whether integers fit in mantissa bits.
728         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
729         the range of signed 32-bit integers before using fistpl.  Remove
730         checks for whether integers fit in mantissa bits.
731         * sysdeps/i386/fpu/e_powl.S (p64): New object.
732         (__ieee754_powl): Test for y outside the range of signed 64-bit
733         integers before using fistpll.  Reduce 64-bit values to 63-bit
734         ones as needed.
735         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
736         divide-by-zero is raised for zero to large negative powers.
737         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
738         (__ieee754_powl): Test for y outside the range of signed 64-bit
739         integers before using fistpll.  Reduce 64-bit values to 63-bit
740         ones as needed.
741         * math/libm-test.inc (pow_test): Add more tests.
743 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
745         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
746         <stdio-common/_itoa.h>.
747         * debug/segfault.c: Likewise.
748         * elf/dl-cache.c: Likewise.
749         * elf/dl-minimal.c: Likewise.
750         * elf/dl-misc.c: Likewise.
751         * elf/dl-sysdep.c: Likewise.
752         * elf/dl-version.c: Likewise.
753         * elf/rtld.c: Likewise.
754         * hurd/hurdsock.c: Likewise.
755         * hurd/lookup-retry.c: Likewise.
756         * malloc/malloc.c: Likewise.
757         * malloc/mtrace.c: Likewise.
758         * nscd/nscd_getgr_r.c: Likewise.
759         * nscd/nscd_getpw_r.c: Likewise.
760         * nscd/nscd_getserv_r.c: Likewise.
761         * posix/getopt_init.c: Likewise.
762         * posix/wordexp.c: Likewise.
763         * stdio-common/_itoa.c: Likewise.
764         * stdio-common/printf_fphex.c: Likewise.
765         * stdio-common/vfprintf.c: Likewise.
766         * string/_strerror.c: Likewise.
767         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
768         * sysdeps/i386/i686/hp-timing.h: Likewise.
769         * sysdeps/mach/_strerror.c: Likewise.
770         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
771         * sysdeps/mach/hurd/sethostid.c: Likewise.
772         * sysdeps/mach/hurd/xmknodat.c: Likewise.
773         * sysdeps/mach/xpg-strerror.c: Likewise.
774         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
775         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
776         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
777         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
778         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
779         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
780         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
781         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
782         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
783         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
784         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
785         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
786         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
787         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
788         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
789         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
790         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
791         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
792         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
793         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
794         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
796         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
798         * stdio-common/_itoa.h: Moved to ...
799         * sysdeps/generic/_itoa.h: Here.
801         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
803         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
804         instead of "_itoa.h" and "_itowa.h".
805         * stdio-common/vfprintf.: Likewise.
807 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
809         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
810         <bits/wordsize.h>.
811         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
812         (__signbit): Likwise.
813         (llrintf): Likwise.
814         (llrint): Likwise.
816 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
818         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
819         __WORDSIZE != 64.
821 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
823         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
824         OVERFLOW_EXCEPTION_OK.
825         * math/libm-test.inc ("Philosophy"): Update comment about
826         exception testing.
827         (OVERFLOW_EXCEPTION): Define.
828         (OVERFLOW_EXCEPTION_OK): Likewise.
829         (INVALID_EXCEPTION_OK): Renumber.
830         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
831         (IGNORE_ZERO_INF_SIGN): Likewise.
832         (test_exceptions): Handle FE_OVERFLOW.
833         (exp10_test): Expect overflow exceptions.
834         (exp2_test): Likewise.
835         (expm1_test): Likewise.
836         (nextafter_test): Likewise.
837         (pow_test): Likewise.
838         (scalbn_test): Likewise.
839         (scalbln_test): Likewise.
841 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
843         * sysdeps/x86_64/bits/atomic.h
844         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
845         64bit integer.
846         (atomic_exchange_acq): Likewise.
847         (__arch_exchange_and_add_body): Likewise.
848         (__arch_add_body): Likewise.
849         (atomic_add_negative): Likewise.
850         (atomic_add_zero): Likewise.
852 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
854         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
855         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
857 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
859         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
860         Check __x86_64__ instead of __WORDSIZE.
862 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
864         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
866 2012-03-19  David S. Miller  <davem@davemloft.net>
868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
870         * sysdeps/sparc/fpu/fenv_private.h: New file.
871         * sysdeps/sparc/fpu/math_private.h: Use it.
872         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
873         Remove.
874         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
875         (libc_feholdexcept_setroundl): Remove.
876         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
877         Remove.
878         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
879         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
881 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
883         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
884         int64_t instead of long int.
885         (INSERT_WORDS64): Likwise.
887 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
889         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
890         _Unwind_GetCFA return to _Unwind_Ptr first.
892 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
894         [BZ #13629]
895         * math/s_clog.c: Include <float.h>.
896         (__clog): Scale large or subnormal inputs.
897         * math/s_clogf.c: Likewise.
898         * math/s_clogl.c: Likewise.
899         * math/s_clog10.c: Include <float.h>.
900         (M_LOG10_2): Define.
901         (__clog10): Scale large or subnormal inputs.
902         * math/s_clog10f.c: Likewise.
903         * math/s_clog10l.c: Likewise.
904         * math/libm-test.inc (clog_test): Add more tests.
905         (clog10_test): Likewise.
906         * sysdeps/i386/fpu/libm-test-ulps: Update.
907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
909         [BZ #11451]
910         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
911         x and y.
912         * math/libm-test.inc (atan2_test): Add another test.
914         * Makerules (common-objdir-compile): Remove.
915         * sysdeps/unix/Makefile (config-generated): Do not add
916         $(unix-generated) to variable.
917         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
918         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
919         Remove rule.
920         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
921         Likewise.
922         [generic bits/local_lim.h] (before-compile): Do not append to
923         variable.
924         [generic bits/local_lim.h] (common-generated): Likewise.
925         [generic sys/param.h] (before-compile): Do not append to variable.
926         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
927         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
928         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
929         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
930         include.
931         [generic sys/param.h] (sys/param.h-includes): Remove variable.
932         [generic sys/param.h] (sys/param.h-includes): Remove rule.
933         [generic sys/param.h] ($(addprefix
934         $(common-objpfx),$(sys/param.h-includes))): Likewise.
935         [generic sys/param.h] (common-generated): Do not append to
936         variable.
937         [generic sys/param.h] (sysdep_headers): Likewise.
938         [generic bits/errno.h] (before-compile): Do not append to
939         variable.
940         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
941         rule.
942         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
943         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
944         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
945         [generic bits/errno.h] (common-generated): Do not append to
946         variable.
947         [generic bits/ioctls.h] (before-compile): Do not append to
948         variable.
949         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
950         rule.
951         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
952         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
953         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
954         rule.
955         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
956         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
957         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
958         [generic bits/ioctls.h] (common-generated): Do not append to
959         variable.
960         [generic sys/syscall.h] (syscall.h): Remove variable.
961         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
962         rule.
963         [generic sys/syscall.h] (before-compile): Do not append to
964         variable.
965         [generic sys/syscall.h] (common-generated): Likewise.
966         * sysdeps/unix/errnos-tmpl.c: Remove file.
967         * sysdeps/unix/errnos.awk: Likewise.
968         * sysdeps/unix/ioctls-tmpl.c: Likewise.
969         * sysdeps/unix/ioctls.awk: Likewise.
970         * sysdeps/unix/mk-local_lim.c: Likewise.
971         * sysdeps/unix/snarf-ioctls: Likewise.
973 2012-03-19  Richard Henderson  <rth@twiddle.net>
975         * sysdeps/i386/fpu/fenv_private.h: New file.
976         * sysdeps/i386/fpu/math_private.h: Use it.
977         (math_opt_barrier, math_force_eval): Remove.
978         (libc_feholdexcept_setround_53bit): Remove.
979         (libc_feupdateenv_53bit): Remove.
980         * sysdeps/x86_64/fpu/math_private.h: Likewise.
981         (math_opt_barrier, math_force_eval): Remove.
982         (libc_feholdexcept): Remove.
983         (libc_feholdexcept_setround): Remove.
984         (libc_fetestexcept, libc_fesetenv): Remove.
985         (libc_feupdateenv_test): Remove.
986         (libc_feupdateenv, libc_feholdsetround): Remove.
987         (libc_feresetround): Remove.
989         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
990         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
992         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
993         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
994         (libc_feupdateenv_testl): New.
995         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
996         (libc_feupdateenv_testf): New.
997         (libc_feupdateenv): Use libc_feupdateenv_test.
998         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
999         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1001         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1002         (libc_feholdsetroundf, libc_feholdsetroundl): New.
1003         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1004         (libc_feresetround_noex): New.
1005         (libc_feresetround_noexf): New.
1006         (libc_feresetround_noexl): New.
1007         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1008         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1009         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1010         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1011         SET_RESTORE_ROUND.
1012         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1013         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1014         (__cos): Likewise.
1015         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1016         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1017         SET_RESTORE_ROUND_NOEX.
1018         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1019         SET_RESTORE_ROUND_NOEXF.
1020         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1021         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1022         (libc_feholdsetroundf): New.
1023         (libc_feresetround, libc_feresetroundf): New.
1025         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1026         (libc_feholdexcept_setround_53bit): Convert from macro to function.
1027         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
1029         * sysdeps/generic/math_private.h: Include <fenv.h>.
1030         (default_libc_feholdexcept): New.
1031         (default_libc_feholdexcept_setround): New.
1032         (default_libc_fesetenv, default_libc_feupdateenv): New.
1033         (libc_feholdexcept): Only define if undefined.
1034         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1035         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1036         (libc_feholdexcept_setroundl): Likewise.
1037         (libc_feholdexcept_setround_53bit): Likewise.
1038         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1039         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1040         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1041         (libc_feupdateenv_53bit): Likewise.
1042         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1043         (libc_feholdexcept): Convert from macro to inline function.
1044         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1045         (libc_fesetenv, libc_feupdateenv): Likewise.
1047         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1048         not previously defined.
1049         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1050         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1051         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1052         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1053         * sysdeps/ieee754/flt-32/math_private.h: New file.
1054         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1055         math_private.h below SET_FLOAT_WORD.
1056         (__isnan, __isinf_ns, __finite): Remove.
1057         (__isnanf, __isinf_nsf, __finitef): Remove.
1059 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
1061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1063 2012-03-17  David S. Miller  <davem@davemloft.net>
1065         [BZ #6471]
1066         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1067         for 2.16.
1069 2012-03-16  David S. Miller  <davem@davemloft.net>
1071         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1072         warnings.
1074         [BZ #6471]
1075         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1076         properly.
1077         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1078         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1079         sysdep_routines when subdir is sysvipc.
1080         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1081         __getshmlba helper.
1083         * sysdeps/sparc/fpu/libm-test/ulps: Update.
1085 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1087         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1088         [__LP64__].
1090 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1092         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1093         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1094         (__lround): Renamed to ...
1095         (__llround): This.  Replace long int with long long int.
1096         Define lround functions as aliases of llround functions.
1097         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1099 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1101         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1102         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
1103         adresses to uintptr_t.  Replace "long int" and "unsigned long
1104         int" with "greg_t" on va_arg.
1106 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1108         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1109         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1111         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1112         Move e_machine check before EI_CLASS check.  Handle x32
1113         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1114         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1115         SKIP_EM_IA_64 and include
1116         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1118         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1119         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1120         (add_system_dir): New macro.
1122         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1123         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1125 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
1127         [BZ #2551]
1128         [BZ #2552]
1129         [BZ #2553]
1130         [BZ #2554]
1131         [BZ #2562]
1132         [BZ #2563]
1133         [BZ #2565]
1134         [BZ #2566]
1135         [BZ #2576]
1136         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1137         (y0): Likewise.
1138         * math/w_j0f.c (j0f): Likewise.
1139         (y0f): Likewise.
1140         * math/w_j0l.c (__j0l): Likewise.
1141         (__y0l): Likewise.
1142         * math/w_j1.c (j1): Likewise.
1143         (y1): Likewise.
1144         * math/w_j1f.c (j1f): Likewise.
1145         (y1f): Likewise.
1146         * math/w_j1l.c (__j1l): Likewise.
1147         (__y1l): Likewise.
1148         * math/w_jn.c (jn): Likewise.
1149         (yn): Likewise.
1150         * math/w_jnf.c (jnf): Likewise.
1151         (ynf): Likewise.
1152         * math/w_jnl.c (__jnl): Likewise.
1153         (__ynl): Likewise.
1154         * math/libm-test.inc (j0_test): Add more tests.
1155         (j1_test): Likewise.
1156         (jn_test): Likewise.  Add trailing semicolon to existing test.
1157         (y0_test): Likewise.
1158         (y1_test): Likewise.
1159         * sysdeps/i386/fpu/libm-test-ulps: Update.
1160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1162         [BZ #13851]
1163         [BZ #13854]
1164         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1165         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1166         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1167         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1168         (__tanl): Set errno for infinite argument.
1169         * sysdeps/i386/fpu/mptan.c: Remove.
1170         * sysdeps/i386/fpu/s_tan.S: Likewise.
1171         * sysdeps/i386/fpu/s_tanl.S: Likewise.
1172         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1173         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1174         * math/libm-test.inc (tan_test): Add more tests and enable more
1175         tests for double and long double.
1176         * sysdeps/i386/fpu/libm-test-ulps: Update.
1177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1179 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
1181         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1182         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1184 2012-03-16  Roland McGrath  <roland@hack.frob.com>
1186         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1187         * configure.in: Use it for both main tree and add-ons.
1188         * configure: Regenerated.
1190 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1192         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1194 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
1196         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1197         in comment.
1199         [BZ #13851]
1200         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1201         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1202         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1203         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1204         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1205         infinite argument.
1206         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1207         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1208         != 0 for prec == 2.
1209         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1210         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1211         * sysdeps/i386/fpu/s_cosl.S: Likewise.
1212         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1213         * sysdeps/i386/fpu/s_sinl.S: Likewise.
1214         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1215         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1216         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1217         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1218         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1219         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1220         * math/libm-test.inc (cos_test): Add more tests and enable more
1221         tests for long double.
1222         (sin_test): Likewise.
1223         (sincos_test): Likewise.
1224         * sysdeps/i386/fpu/libm-test-ulps: Update.
1225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1227 2012-03-16  David S. Miller  <davem@davemloft.net>
1229         * sysdeps/sparc/fpu/math_private.h: New file.
1231 2012-03-15  David S. Miller  <davem@davemloft.net>
1233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1234         file.
1235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1237         file.
1238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1239         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1240         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1241         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1242         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1243         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1244         sysdep routines.
1245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1247         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1248         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1250         * sysdeps/sparc/sparc-ifunc.h: New file.
1251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1252         sparc-ifunc.h
1253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1255         Likewise.
1256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1257         Likewise.
1258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1262         Likewise.
1263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1268         Likewise.
1269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1270         Likewise.
1271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1275         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1276         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1277         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1278         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1279         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1280         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1281         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1282         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1283         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1284         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1285         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1286         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1287         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1288         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1289         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1290         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1291         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1292         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1293         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1294         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1296 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
1298         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1299         scaling.
1300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1302 2012-03-15  Andreas Jaeger  <aj@suse.de>
1304         [BZ #13852]
1305         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1306         ieee754/flt-32 implementation for sin, cos and sincos.
1307         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1308         * sysdeps/i386/fpu/s_cosf.S: Likewise.
1309         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1310         * sysdeps/i386/fpu/s_sinf.S: Likewise.
1311         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1312         ieee754/flt-32 implementation for tan.
1314         * math/libm-test.inc (cos_test): Enable some large input tests for
1315         float as well
1316         (sin_test): Likewise.
1317         (sincos_test): Likewise.
1318         (tan_test): Add tests for large input.
1320         * sysdeps/i386/fpu/libm-test-ulps: Update.
1322 2012-03-15  Andreas Jaeger  <aj@suse.de>
1324         [BZ #13658]
1325         * math/libm-test.inc (cos_test): Add more test cases.
1326         (sin_test): Likewise.
1327         (sincos_test): Likewise.
1329 2012-03-15  Andreas Jaeger  <aj@suse.de>
1331         [BZ #13837]
1332         * math/libm-test.inc (cos_test): Add a test case for large input
1333         value.
1334         (sin_test): Likewise.
1335         (sincos_test): Likewise.
1337 2012-03-15  Andreas Jaeger  <aj@suse.de>,
1338         Joseph Myers  <joseph@codesourcery.com>
1340         [BZ #13658]
1341         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1342         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1343         * sysdeps/i386/fpu/branred.c: Likewise.
1344         * sysdeps/i386/fpu/dosincos.c: Likewise.
1345         * sysdeps/i386/fpu/mpa.c: Likewise.
1346         * sysdeps/i386/fpu/s_cos.S: Likewise.
1347         * sysdeps/i386/fpu/s_sin.S: Likewise.
1348         * sysdeps/i386/fpu/s_sincos.S: Likewise.
1349         * sysdeps/i386/fpu/sincos32.c: Likewise.
1351         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1352         Define.
1353         (libc_feupdateenv_53bit): Define.
1354         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1355         Define.
1356         (libc_feupdateenv_53bit): Define.
1358         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1359         53 bit (without extend i386 double precision).
1361         * math/libm-test.inc (sincos_test): Add tests for large input.
1362         (sin): Likewise.
1363         (cos): Likewise.
1365         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1367 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
1369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1371 2012-03-15  David S. Miller  <davem@davemloft.net>
1373         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1374         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1375         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1376         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1381         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1382         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1383         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1384         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1385         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1386         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1387         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1389         file.
1390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1392         file.
1393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1395         file.
1396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1398         file.
1399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1400         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1401         fmin/fmax sysdep routines.
1402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1404 2012-03-14  David S. Miller  <davem@davemloft.net>
1406         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1407         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1408         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1409         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1410         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1411         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1412         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1413         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1414         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1415         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1416         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1417         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1418         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1419         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1420         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1421         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1422         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1423         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1424         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1425         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1426         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1427         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1428         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1429         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1430         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1431         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1432         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1433         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1434         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1435         routines.
1436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1437         file.
1438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1440         file.
1441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1443         file.
1444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1446         file.
1447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1449         file.
1450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1452         file.
1453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1454         file.
1455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1456         file.
1457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1458         file.
1459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1460         New file.
1461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1462         file.
1463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1464         file.
1465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1467         file.
1468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1470         file.
1471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1473         file.
1474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1476         VIS3 routines.
1478         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1479         New file.
1481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1483         * sysdeps/sparc/configure.in: New file.
1484         * sysdeps/sparc/configure: Generate.
1485         * configure.in (libc_cv_sparc_as_vis3): Substitute.
1486         * configure: Regenerate.
1487         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1488         * config.make.in (have-as-vis3): New.
1489         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1490         available use -Av9d instead of -Av9a.
1491         * sysdeps/sparc/sparc64/Makefile: Likewise.
1492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1494         New file.
1495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1496         file.
1497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1498         New file.
1499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1500         file.
1501         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1502         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1503         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1504         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1505         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1507         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1508         fzeros/fnegs to load 0x80000000 into a float register instead of
1509         using the stack.
1510         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1512 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
1514         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1515         bits/syscall.h.
1516         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1517         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1518         ($(inst_includedir)/bits/syscall.h): Remove rule.
1519         ($(objpfx)bits/syscall.d): Include instead of
1520         $(objpfx)syscall-list.d.
1521         (generated): Change syscall-list.h and syscall-list.d to
1522         bits/syscall.h and bits/syscall.d.
1524 2012-03-14  Roland McGrath  <roland@hack.frob.com>
1526         [BZ #13846]
1527         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1529 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
1531         [BZ #13841]
1532         * math/s_csqrt.c: Include <float.h>.
1533         (__csqrt): Scale large or subnormal inputs.
1534         * math/s_csqrtf.c: Likewise.
1535         * math/s_csqrtl.c: Likewise.
1536         * math/libm-test.inc (csqrt_test): Add more tests.
1537         * sysdeps/i386/fpu/libm-test-ulps: Update.
1538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1540         [BZ #13840]
1541         * math/libm-test.inc (hypot_test): Add more tests.
1543 2012-03-13  David S. Miller  <davem@davemloft.net>
1545         [BZ #13840]
1546         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1547         double-precision for the calculation instead of scaling.
1549 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
1551         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1552         manipulate bits before adding and subtracting TWO52[sx].
1553         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1554         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1555         Likewise.
1556         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1558 2012-03-13  David S. Miller  <davem@davemloft.net>
1560         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1561         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1562         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1563         rtld-global-offsets.h
1564         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1566         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1567         large parameters.
1569         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1571         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1572         'err' in the ifdef scope in which it is actually used.
1574         * nss/nss_db/db-init.c: Include string.h
1576 2012-03-12  David S. Miller  <davem@davemloft.net>
1578         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1579         masking out of the most significant byte of random value used.
1580         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1581         Fix coding style in previous change.
1583         * sysdeps/unix/sysv/linux/kernel-features.h
1584         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1585         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1586         expression.
1587         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1588         later.
1590 2012-03-11  David S. Miller  <davem@davemloft.net>
1592         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1593         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1594         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1595         for 'resultvar' otherwise things get truncated on 64-bit.
1597         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1598         Fix masking out of the most significant byte of random value used.
1600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1602 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
1604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1606 2012-03-09  David S. Miller  <davem@davemloft.net>
1608         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1609         variables with appropriate CPP guards.
1610         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1611         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
1612         on resulting framesize and the management of the outregs buffer for pltexit.
1613         Preserve floating point return values across _dl_call_pltexit call.
1614         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1615         framesize and the management of the outregs buffer for pltexit.
1616         Preserve floating point return values across _dl_call_pltexit
1617         call.
1618         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1619         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1620         (print_exit): Fix format string for return register value.
1622 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
1624         * sunrpc/Makefile (others): Add rpcgen.
1625         ($(objpfx)rpcgen): Remove special build rule and dependency on
1626         libc.
1627         * sunrpc/rpcgen.c: New file.
1629 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
1631         [BZ #13673]
1632         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1633         * stdio-common/bug-vfprintf-nargs.c: Likewise.
1634         * sysdeps/i386/crti.S: Likewise.
1635         * sysdeps/i386/crtn.S: Likewise.
1636         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1637         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1638         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1639         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1640         * sysdeps/sh/crti.S: Likewise.
1641         * sysdeps/sh/crtn.S: Likewise.
1642         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1644         [BZ #13673]
1645         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1646         with URL.
1647         * locale/programs/locfile-kw.gperf: Likewise.
1648         * locale/programs/charmap-kw.h: Regenerated.
1649         * locale/programs/locfile-kw.h: Likewise.
1651         [BZ #13673]
1652         * intl/plural.y: Replace FSF snail mail address with URL.
1653         * intl/plural.c: Regenerated.
1655 2012-03-09  Richard Henderson  <rth@twiddle.net>
1657         * include/math_private.h: Remove file.
1658         * math/math_private.h: Move file ...
1659         * sysdeps/generic/math_private.h: ... here.
1661         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1662         * sysdeps/powerpc/fpu/math_private.h: Likewise.
1663         * sysdeps/x86_64/fpu/math_private.h: Likewise.
1665         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1666         and <math_private.h>.
1667         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1668         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1669         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1670         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1671         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1672         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1673         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1674         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1675         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1676         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1677         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1678         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1679         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1680         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1681         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1682         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1683         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1684         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1685         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1686         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1687         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1688         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1689         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1690         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1691         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1692         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1693         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1694         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1695         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1696         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1697         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1698         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1699         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1700         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1701         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1702         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1703         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1704         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1705         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1706         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1707         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1708         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1709         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1710         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1711         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1712         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1713         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1714         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1715         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1716         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1717         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1718         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1719         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1720         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1721         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1722         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1723         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1724         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1725         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1726         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1727         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1728         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1729         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1730         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1731         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1732         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1733         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1734         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1735         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1736         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1737         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1738         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1739         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1740         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1741         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1742         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1743         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1744         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1745         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1746         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1747         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1748         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1749         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1750         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1751         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1752         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1753         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1754         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1755         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1756         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1757         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1758         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1759         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1760         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1761         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1762         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1763         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1764         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1765         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1766         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1767         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1768         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1769         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1770         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1771         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1772         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1773         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1774         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1775         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1776         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1777         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1778         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1779         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1780         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1781         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1782         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1783         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1784         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1785         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1786         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1787         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1788         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1789         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1790         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1791         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1792         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1793         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1794         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1795         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1796         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1797         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1798         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1799         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1800         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1801         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1802         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1803         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1804         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1805         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1806         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1807         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1808         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1809         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1810         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1811         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1812         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1813         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1814         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1815         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1816         * sysdeps/ieee754/k_standard.c: Likewise.
1817         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1818         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1819         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1820         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1821         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1822         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1823         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1824         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1825         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1826         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1827         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1828         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1829         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1830         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1831         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1832         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1833         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1834         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1835         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1836         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1837         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1838         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1839         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1840         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1841         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1842         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1843         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1844         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1845         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1846         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1847         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1848         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1849         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1850         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1851         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1852         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1853         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1854         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1855         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1856         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1857         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1858         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1859         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1860         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1861         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1862         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1863         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1864         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1865         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1866         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1867         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1868         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1869         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1870         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1871         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1872         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1873         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1874         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1875         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1876         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1877         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1878         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1879         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1880         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1881         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1882         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1883         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1884         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1885         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1886         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1887         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1888         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1889         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1890         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1891         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1892         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1893         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1894         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1895         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1896         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1897         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1898         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1899         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1900         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1901         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1902         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1903         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1904         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1905         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1906         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1907         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1908         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1909         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1910         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1911         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1912         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1913         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1914         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1915         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1916         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1917         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1918         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1919         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1920         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1921         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1922         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1923         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1924         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1925         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1926         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1927         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1928         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1929         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1930         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1931         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1932         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1933         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1934         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1935         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1936         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1937         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1938         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1939         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1940         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1941         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1942         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1943         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1944         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1945         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1946         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1947         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1948         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1949         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1950         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1951         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1952         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1953         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1954         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1955         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1956         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1957         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1958         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1959         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1960         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1961         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1962         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1963         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1964         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1965         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1966         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1967         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1968         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1969         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1970         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1971         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1972         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1973         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1974         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1975         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1976         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1977         * sysdeps/ieee754/s_lib_version.c: Likewise.
1978         * sysdeps/ieee754/s_matherr.c: Likewise.
1979         * sysdeps/ieee754/s_signgam.c: Likewise.
1980         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1981         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1982         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1983         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1984         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1985         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1986         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1987         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1988         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1989         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1990         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1991         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1992         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1993         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1994         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1995         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1996         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1997         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1998         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1999         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2000         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2002 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2004         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2005         * sunrpc/rpc_main.c: Likewise.
2006         * sunrpc/rpc_svcout.c: Likewise.
2008 2012-03-09  David S. Miller  <davem@davemloft.net>
2010         * include/math_private.h: New file.
2012 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
2014         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2015         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2016         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2017         from <bits/socket_type.h>.
2018         (enum __socket_type): Don't define here.
2019         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2020         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2021         bits/socket_type.h.
2023         [BZ #13566]
2024         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2025         checking __USE_GNU.
2027         * Makerules ($(inst_includedir)/%.h): New rule.
2028         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2029         (install-others): Remove variable setting.
2030         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2032 2012-03-08  Richard Henderson  <rth@twiddle.net>
2034         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2035         from macro to inline function; merge with the
2036         !__LIBC_INTERNAL_MATH_INLINES version.
2037         (__ieee754_sqrtf): Likewise.
2039         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2040         to inline function.
2041         (__rintf, __floor, __floorf): Likewise.
2043         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2044         macro to inline function.
2045         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2047         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2048         not <math/math_private.h>.
2050 2012-03-08  David S. Miller  <davem@davemloft.net>
2052         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2053         copyright year.
2054         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2056 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
2058         * resolv/gai_misc.c (handle_requests): Fix struct timespec
2059         normalization.
2060         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2061         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2063 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
2065         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
2066         be defined individually, they must be defined as a block.  Define
2067         S for printing a string instead of hidint the different by using a
2068         macro for adding the 'l'.
2069         * stdio-common/tst-fphex-wide.c: Adjust.
2071 2012-03-07  Marek Polacek  <polacek@redhat.com>
2073         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2075 2012-03-08  Marek Polacek  <polacek@redhat.com>
2077         [BZ #13806]
2078         * stdio-common/Makefile (tests): Add tst-fphex-wide.
2079         * stdio-common/tst-fphex.c: Define a few macros to make the
2080         test reusable.  Use them.
2081         * stdio-common/tst-fphex-wide.c: New file.
2083 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
2085         [BZ #6911]
2086         * manual/macros.texi (gnusystems): New macro.
2087         (nongnusystems): Likewise.
2088         (gnulinuxhurdsystems): Likewise.
2089         (gnuhurdsystems): Likewise..
2090         (gnulinuxsystems): Likewise.
2091         * manual/charset.texi: Use new macros or @theglibc{} to refer to
2092         variants of the GNU system, not "GNU system".
2093         * manual/conf.texi: Likewise.
2094         * manual/errno.texi: Likewise.  Update example of errno macro
2095         expansion.
2096         * manual/filesys.texi: Likewise.
2097         (getumask): Document as specific to GNU/Hurd.
2098         * manual/install.texi: Likewise.  Reword some references to
2099         GNU/Linux.
2100         * manual/intro.texi: Likewise.
2101         * manual/io.texi: Likewise.
2102         (File Name Portability): Detail which constraints are inapplicable
2103         to all GNU systems and which are only inapplicable to GNU/Hurd.
2104         * manual/job.texi: Likewise.
2105         * manual/llio.texi: Likewise.
2106         (O_NOCTTY): Document as present on GNU/Linux.
2107         * manual/maint.texi: Likewise.
2108         * manual/memory.texi: Likewise.
2109         * manual/pattern.texi: Likewise.
2110         * manual/pipe.texi: Likewise.
2111         * manual/process.texi: Likewise.
2112         * manual/resource.texi: Likewise.
2113         (RUSAGE_CHILDREN): Remove statement about specifying a particular
2114         child on GNU/Hurd.
2115         * manual/setjmp.texi: Likewise.
2116         * manual/signal.texi: Likewise.
2117         * manual/startup.texi: Likewise.
2118         * manual/stdio.texi: Likewise.
2119         * manual/terminal.texi: Likewise.
2120         (ONLCR): Document as POSIX.
2121         (OXTABS): Document availability on GNU/Linux as XTABS.
2122         (ONOEOT): Document availability separately from other bits.
2123         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2124         * manual/time.texi: Likewise.
2125         * manual/users.texi: Likewise.
2126         * INSTALL: Regenerated.
2127         * sysdeps/gnu/errlist.c: Regenerated.
2129         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2130         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2131         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
2132         puts.
2133         * configure: Regenerated.
2135 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
2137         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2138         default includes instead of AC_HEADER_CHECK.
2139         * sysdeps/i386/configure: Regenerated.
2141         [BZ #10716]
2142         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2143         * math/s_cacoshf.c (__cacoshf): Likewise.
2144         * math/s_cacoshl.c (__cacoshl): Likewise.
2145         * math/s_casinh.c (__casinh): Set signs of result from argument.
2146         * math/s_casinhf.c (__casinhf): Likewise.
2147         * math/s_casinhl.c (__casinhl): Likewise.
2148         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2149         (casinh_test): Add more tests.
2150         * sysdeps/i386/fpu/libm-test-ulps: Update.
2151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2153 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
2155         * po/zh_TW.po: Update from translation team.
2157         * login/Makefile (distribute): Remove variable.
2158         * catgets/Makefile: Likewise.
2159         * mach/Makefile: Likewise.
2160         * malloc/Makefile: Likewise.
2161         * misc/Makefile: Likewise.
2162         * iconv/Makefile: Likewise.
2163         * nscd/Makefile: Likewise.
2164         * hurd/Makefile: Likewise.
2165         * manual/Makefile: Likewise.
2166         * locale/Makefile: Likewise.
2167         * intl/Makefile: Likewise.
2168         * conform/Makefile: Likewise.
2169         * nss/Makefile: Likewise.
2170         * time/Makefile: Likewise.
2171         * soft-fp/Makefile: Likewise.
2172         * dirent/Makefile: Likewise.
2173         * gmon/Makefile: Likewise.
2174         * po/Makefile: Likewise.
2175         * rt/Makefile: Likewise.
2176         * socket/Makefile: Likewise.
2177         * math/Makefile: Likewise.
2178         * signal/Makefile: Likewise.
2179         * debug/Makefile: Likewise.
2180         * elf/Makefile: Likewise.
2181         * timezone/Makefile: Likewise.
2182         * stdlib/Makefile: Likewise.
2183         * iconvdata/Makefile: Likewise.
2184         * sunrpc/Makefile: Likewise.
2185         * io/Makefile: Likewise.
2186         * argp/Makefile: Likewise.
2187         * inet/Makefile: Likewise.
2188         * hesiod/Makefile: Likewise.
2189         * grp/Makefile: Likewise.
2190         * csu/Makefile: Likewise.
2191         * wctype/Makefile: Likewise.
2192         * crypt/Makefile: Likewise.
2193         * libio/Makefile: Likewise.
2194         * string/Makefile: Likewise.
2195         * nis/Makefile: Likewise.
2196         * resolv/Makefile: Likewise.
2197         * stdio-common/Makefile: Likewise.
2198         * wcsmbs/Makefile: Likewise.
2199         * dlfcn/Makefile: Likewise.
2200         * posix/Makefile: Likewise.
2202         * timezone/Makefile: Don't install timezone files, just the programs
2203         and scripts.
2205 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
2207         * nss/databases.def: Add missing gshadow entry.
2209         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
2211 2012-03-06  Marek Polacek  <polacek@redhat.com>
2213         [BZ #13726]
2214         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2215         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2216         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2217         * stdio-common/tst-long-dbl-fphex.c: New file.
2219 2012-03-06  David S. Miller  <davem@davemloft.net>
2221         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2222         (set_obp_int): New function.
2223         (get_obp_int): New function.
2224         (__get_clockfreq_via_dev_openprom): Likewise.
2225         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2226         Avoid unused variable warnings on 'val' and use builtin_expect.
2227         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2228         __builtin_expect.
2229         (INLINE_CLONE_SYSCALL): Likewise.
2231 2012-03-05  David S. Miller  <davem@davemloft.net>
2233         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2235 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
2237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2239         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2240         only for |x| >= 40.
2241         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2243 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
2245         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2246         Replace gettimeofday with __vdso_gettimeofday.
2248         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2249         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2250         __vdso_clock_gettime and __vdso_getcpu.
2252         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2253         time with __vdso_time.
2255 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
2257         * manual/lang.texi (size_t): Note types to which size_t may be
2258         equivalent with the GNU C Library, but do not describe when
2259         differences between them are significant.
2261 2012-03-05  Andreas Jaeger  <aj@suse.de>
2263         * sysdeps/i386/fpu/libm-test-ulps: Update.
2265 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
2267         [BZ #3976]
2268         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2269         (__ieee754_pow): Save and restore rounding mode and use
2270         round-to-nearest for main computations.
2271         * math/libm-test.inc (pow_test_tonearest): New function.
2272         (pow_test_towardzero): Likewise.
2273         (pow_test_downward): Likewise.
2274         (pow_test_upward): Likewise.
2275         (main): Call the new functions.
2276         * sysdeps/i386/fpu/libm-test-ulps: Update.
2277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2279         [BZ #3976]
2280         * math/libm-test.inc (cosh_test_tonearest): New function.
2281         (cosh_test_towardzero): Likewise.
2282         (cosh_test_downward): Likewise.
2283         (cosh_test_upward): Likewise.
2284         (sinh_test_tonearest): Likewise.
2285         (sinh_test_towardzero): Likewise.
2286         (sinh_test_downward): Likewise.
2287         (sinh_test_upward): Likewise.
2288         (main): Call the new functions.
2289         * sysdeps/i386/fpu/libm-test-ulps: Update.
2290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2292 2012-03-05  Tom de Vries  <tom@codesourcery.com>
2294         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2295         default stack guard is set in last bytes.
2296         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2298 2012-03-05  Kees Cook  <keescook@chromium.org>
2300         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2302         [BZ #13656]
2303         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2304         possibly allocate from heap instead of stack.
2305         * stdio-common/bug-vfprintf-nargs.c: New file.
2306         * stdio-common/Makefile (tests): Add nargs overflow test.
2308 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
2310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2312 2012-03-03  Marek Polacek  <polacek@redhat.com>
2314         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2315         * math/math_private.h: Likewise.
2316         * stdlib/tst-strtod.c: Likewise.
2317         * sysdeps/i386/i486/bits/atomic.h: Likewise.
2318         * sysdeps/x86_64/bits/atomic.h: Likewise.
2320 2012-03-02  David S. Miller  <davem@davemloft.net>
2322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2326         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2327         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2328         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2329         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2331 2012-03-02  Roland McGrath  <roland@hack.frob.com>
2333         [BZ #13792]
2334         * manual/examples/README: New file, says the example source files
2335         can be used under GPL>=2.
2336         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2337         line containing just "*/".
2338         * manual/examples/add.c: Add copyright header (GPL>=2).
2339         * manual/examples/argp-ex1.c: Likewise.
2340         * manual/examples/argp-ex2.c: Likewise.
2341         * manual/examples/argp-ex3.c: Likewise.
2342         * manual/examples/argp-ex4.c: Likewise.
2343         * manual/examples/atexit.c: Likewise.
2344         * manual/examples/db.c: Likewise.
2345         * manual/examples/dir.c: Likewise.
2346         * manual/examples/dir2.c: Likewise.
2347         * manual/examples/execinfo.c: Likewise.
2348         * manual/examples/filecli.c: Likewise.
2349         * manual/examples/filesrv.c: Likewise.
2350         * manual/examples/fmtmsgexpl.c: Likewise.
2351         * manual/examples/genpass.c: Likewise.
2352         * manual/examples/inetcli.c: Likewise.
2353         * manual/examples/inetsrv.c: Likewise.
2354         * manual/examples/isockad.c: Likewise.
2355         * manual/examples/longopt.c: Likewise.
2356         * manual/examples/memopen.c: Likewise.
2357         * manual/examples/memstrm.c: Likewise.
2358         * manual/examples/mkfsock.c: Likewise.
2359         * manual/examples/mkisock.c: Likewise.
2360         * manual/examples/mygetpass.c: Likewise.
2361         * manual/examples/pipe.c: Likewise.
2362         * manual/examples/popen.c: Likewise.
2363         * manual/examples/rprintf.c: Likewise.
2364         * manual/examples/search.c: Likewise.
2365         * manual/examples/select.c: Likewise.
2366         * manual/examples/setjmp.c: Likewise.
2367         * manual/examples/sigh1.c: Likewise.
2368         * manual/examples/sigusr.c: Likewise.
2369         * manual/examples/stpcpy.c: Likewise.
2370         * manual/examples/strdupa.c: Likewise.
2371         * manual/examples/strftim.c: Likewise.
2372         * manual/examples/strncat.c: Likewise.
2373         * manual/examples/subopt.c: Likewise.
2374         * manual/examples/swapcontext.c: Likewise.
2375         * manual/examples/termios.c: Likewise.
2376         * manual/examples/testopt.c: Likewise.
2377         * manual/examples/testpass.c: Likewise.
2378         * manual/examples/timeval_subtract.c: Likewise.
2380         [BZ #13792]
2381         * manual/time.texi (Elapsed Time): Move timeval_subtract example
2382         function to ...
2383         * manual/timeval_subtract.c.texi: ... here, new file.
2385 2012-03-02  David S. Miller  <davem@davemloft.net>
2387         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2389 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
2391         [BZ #3976]
2392         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2393         (__sin): Save and restore rounding mode and use round-to-nearest
2394         for all computations.
2395         (__cos): Save and restore rounding mode and use round-to-nearest
2396         for all computations.
2397         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2398         <fenv.h>.
2399         (tan): Save and restore rounding mode and use round-to-nearest for
2400         all computations.
2401         * math/libm-test.inc (cos_test_tonearest): New function.
2402         (cos_test_towardzero): Likewise.
2403         (cos_test_downward): Likewise.
2404         (cos_test_upward): Likewise.
2405         (sin_test_tonearest): Likewise.
2406         (sin_test_towardzero): Likewise.
2407         (sin_test_downward): Likewise.
2408         (sin_test_upward): Likewise.
2409         (tan_test_tonearest): Likewise.
2410         (tan_test_towardzero): Likewise.
2411         (tan_test_downward): Likewise.
2412         (tan_test_upward): Likewise.
2413         (main): Call the new functions.
2414         * sysdeps/i386/fpu/libm-test-ulps: Update.
2415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2417         [BZ #10135]
2418         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2419         small n, then large n, before computing and testing k+n.
2420         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2421         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2422         Likewise.
2423         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2424         Likewise.
2425         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2426         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2427         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2428         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2429         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2430         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2431         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2432         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2433         * math/libm-test.inc (scalbn_test): Add more tests.
2434         (scalbln_test): Likewise.
2436         * manual/filesys.texi (mode_t): Describe constraints on size and
2437         signedness, not exact equivalence to a particular type.
2438         (ino_t): Likewise.
2439         (ino64_t): Likewise.
2440         (dev_t): Likewise.
2441         (nlink_t): Likewise.
2442         (blkcnt_t): Likewise.
2443         (blkcnt64_t): Likewise.
2444         * manual/llio.texi (off_t): Likewise.
2446         [BZ #3976]
2447         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2448         (__ieee754_exp): Save and restore rounding mode and use
2449         round-to-nearest for all computations.
2450         * math/libm-test.inc (exp_test_tonearest): New function.
2451         (exp_test_towardzero): Likewise.
2452         (exp_test_downward): Likewise.
2453         (exp_test_upward): Likewise.
2454         (main): Call the new functions.
2455         * sysdeps/i386/fpu/libm-test-ulps: Update.
2456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2458 2012-03-01  Chris Demetriou  <cgd@google.com>
2460         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2461         have predictable order.
2463 2012-03-01  David S. Miller  <davem@davemloft.net>
2465         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2467         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2468         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2469         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2470         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2472         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2473         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2474         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2476         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2477         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2478         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2479         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2480         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2482         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2484         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2485         * sysdeps/sparc/fpu/libm-test-ulps: to here.
2486         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2488         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2489         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2490         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2491         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2492         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2493         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2494         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2495         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2496         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2497         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2498         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2499         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2500         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2501         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2502         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2503         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2504         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2505         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2506         * sysdeps/sparc/elf/configure: Regenerated.
2508 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
2510         * configure.in (AS, LD): Require binutils 2.20 or later.
2511         * configure: Regenerated.
2512         * manual/install.texi (Tools for Compilation): Give binutils 2.20
2513         as required minimum version.
2514         * INSTALL: Regenerated.
2516         [BZ #2541]
2517         [BZ #4108]
2518         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2519         before squaring exponent.
2520         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2521         bottom long double and 27 bits of top long double before squaring
2522         exponent.
2523         * math/libm-test.inc (erfc_test): Add more tests.
2524         * sysdeps/i386/fpu/libm-test-ulps: Update.
2525         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2528 2012-03-01  Kai Tietz  <ktietz@redhat.com>
2530         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2531         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2532         containing bit-fields.
2533         * soft-fp/extended.h (_FP_UNION_E): Likewise.
2534         * soft-fp/single.h (_FP_UNION_S): Likewise.
2535         * soft-fp/double.h (_FP_UNION_D): Likewise.
2537 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
2539         [BZ #13786]
2540         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2541         not include ../strcmp.S.
2542         [USE_AS_STRNCASECMP_L]: Likewise.
2543         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2544         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2545         * sysdeps/i386/i686/multiarch/strncase_l-c.c
2546         (__strncasecmp_l_ia32): Define as alias to
2547         __strncasecmp_l_nonascii.
2549         [BZ #5794]
2550         * math/libm-test.inc (expm1_test): Add test for bug 5794.
2551         * sysdeps/i386/fpu/libm-test-ulps: Update.
2552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2554         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2557 2012-02-29  Jeff Law  <law@redhat.com>
2559         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2560         out of bounds read.
2562 2012-02-29  Marek Polacek  <polacek@redhat.com>
2564         [BZ #13706]
2565         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2566         * elf/Makefile: Add rules to run tst-unused-dep.out.
2568 2012-02-28  David S. Miller  <davem@davemloft.net>
2570         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2571         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2572         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2573         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2574         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2575         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2577 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
2579         * math/libm-test.inc (llround_test): Move one test from
2580         lround_test.  Use TEST_f_L in moved test.
2581         (lround_test): Move misplaced test to llround_test.  Add testcase
2582         from bug 2561.
2584 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
2586         * sysdeps/x86_64/fpu/e_expf.S: New file.
2587         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2589 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
2591         [BZ #13637]
2592         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2593         of remain_len that may cause incomplete multi-byte character and
2594         false match.
2595         * posix/bug-regex33.c: New file.
2596         * posix/Makefile (tests): Add bug-regex33.
2598 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
2600         * manual/macros.texi: New file.
2601         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2602         * manual/libc.texinfo: Include macros.texi.
2603         * manual/creatute.texi: Likewise.
2604         * manual/install.texi: Likewise.
2605         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2606         @glibcadj{} in references to the GNU C Library.
2607         * manual/charset.texi: Likewise.
2608         * manual/conf.texi: Likewise.
2609         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
2610         when not using those macros.
2611         * manual/creature.texi: Likewise.
2612         * manual/crypt.texi: Likewise.
2613         * manual/errno.texi: Likewise.
2614         * manual/filesys.texi: Likewise.
2615         * manual/header.texi: Likewise.
2616         * manual/install.texi: Likewise.
2617         * manual/intro.texi: Likewise.
2618         * manual/io.texi: Likewise.
2619         * manual/job.texi: Likewise.
2620         * manual/lang.texi: Likewise.
2621         * manual/libc.texiinfo: Likewise.
2622         * manual/llio.texi: Likewise.
2623         * manual/locale.texi: Likewise.
2624         * manual/maint.texi: Likewise.
2625         * manual/math.texi: Likewise.
2626         * manual/memory.texi: Likewise.
2627         * manual/message.texi: Likewise.
2628         * manual/nss.texi: Likewise.
2629         * manual/pattern.texi: Likewise.
2630         * manual/process.texi: Likewise.
2631         * manual/resource.texi: Likewise.
2632         * manual/search.texi: Likewise.
2633         * manual/setjmp.texi: Likewise.
2634         * manual/signal.texi: Likewise.
2635         * manual/socket.texi: Likewise.
2636         * manual/startup.texi: Likewise.
2637         * manual/stdio.texi: Likewise.
2638         * manual/string.texi: Likewise.
2639         * manual/sysinfo.texi: Likewise.
2640         * manual/syslog.texi: Likewise.
2641         * manual/terminal.texi: Likewise.
2642         * manual/time.texi: Likewise.
2643         * manual/users.texi: Likewise.
2644         * INSTALL: Regenerated.
2645         * NOTES: Regenerated.
2646         * sysdeps/gnu/errlist.c: Regenerated.
2648 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
2650         * include/dirent.h: Include <dirstream.h> before
2651         <dirent/dirent.h>.
2653 2012-02-28  David S. Miller  <davem@davemloft.net>
2655         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2656         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2657         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2658         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2660 2012-02-27  David S. Miller  <davem@davemloft.net>
2662         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2664         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2665         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2668         frame pointer instead of stack pointer relative arg slot.
2669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2670         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2671         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2673 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
2675         [BZ #3992]
2676         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2678 2012-02-27  David S. Miller  <davem@davemloft.net>
2680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2684         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2685         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2686         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2687         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2689 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
2691         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2692         later.  Allow versions 5-9.
2693         * configure: Regenerated.
2694         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2695         required minimum version and 4.6 as recommended version.  Do not
2696         mention bugs in GCC 2.7 and 2.8.
2697         * INSTALL: Regenerated.
2699 2012-02-27  David S. Miller  <davem@davemloft.net>
2701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2705         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2706         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2707         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2708         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2710         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2711         manipulate bits before adding and subtracting TWO112[sx].
2712         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2714 2012-02-27  Roland McGrath  <roland@hack.frob.com>
2716         [BZ #13775]
2717         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2718         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2719         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2720         being in POSIX, because they are in 1003.1-2008.
2722         * rt/tst-aio.c: Include <fcntl.h>.
2723         * rt/tst-aio7.c: Likewise.
2724         * rt/tst-aio64.c: Likewise.
2726         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2728 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
2730         * manual/install.texi (--with-headers): Describe headers as
2731         interface headers, not private headers.
2732         (Specific advice for GNU/Linux systems): Describe use of headers
2733         from "make headers_install", not private headers from older
2734         kernels.
2735         * INSTALL: Regenerated.
2736         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2737         Change to 2.6.19.
2738         * sysdeps/unix/sysv/linux/configure: Regenerated.
2740         * manual/llio.texi (fclean): Remove documentation.
2742         * manual/Makefile (libc-texi-generated): New variable.  Include
2743         version.texi.
2744         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2745         $(libc-texi-generated), not duplicated list of files.
2746         (version.texi, stamp-version): New rules.
2747         (realclean): Remove $(libc-texi-generated), not individual files
2748         from that list.  Do not remove dir-add.texinfo.
2749         * manual/libc.texinfo: Comment out uses of edition numbers and
2750         references to printed manual.  Remove last-updated dates.
2751         (EDITION): Comment out.
2752         (ISBN): Likewise.
2753         (VERSION, UPDATED): Remove.
2754         (version.texi): Include.
2756 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
2758         * sysdeps/posix/spawni.c: Include <signal.h>.
2759         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2760         * sysdeps/pthread/aio_fsync.c: Likewise.
2762 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
2764         * conform/Makefile (tests): Run only when not cross-compiling and
2765         when fast-check is not defined.
2767         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2768         * conform/data/limits.h-data: Fixes for POSIX2008.
2769         * conform/run-conformtest.sh: Run all tests.
2770         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2771         headers.
2772         * include/bits/dlfcn.h: Likewise.
2773         * include/langinfo.h: Likewise.
2774         * include/monetary.h: Likewise.
2775         * include/sys/poll.h: Likewise.
2777         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2778         for __USE_GNU.
2779         * posix/spawn.h: Define __need_sigset_t.
2780         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2781         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2782         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
2783         to get sigevent_t only.
2784         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2785         only for __USE_GNU.
2786         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2787         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2788         process_vm_writev only for __USE_GNU.
2789         * termios/termios.h: Declare tcgetsid also for POSIX2008.
2791         * conform/Makefile: For now ignore errors from run-conformtest.
2792         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
2793         POSIX to avoid namespace pollution.  Don't prepend headers.
2794         * conform/data/aio.h-data: Fixes for POSIX testing.
2795         * conform/data/fcntl.h-data: Likewise.
2796         * conform/data/glob.h-data: Likewise.
2797         * conform/data/grp.h-data: Likewise.
2798         * conform/data/pthread.h-data: Likewise.
2799         * conform/data/pwd.h-data: Likewise.
2800         * conform/data/signal.h-data: Likewise.
2801         * conform/data/spawn.h-data: Likewise.
2802         * conform/data/stdio.h-data: Likewise.
2803         * conform/data/stdlib.h-data: Likewise.
2804         * conform/data/stropts.h-data: Likewise.
2805         * conform/data/sys/mman.h-data: Likewise.
2806         * conform/data/sys/stat.h-data: Likewise.
2807         * conform/data/sys/types.h-data: Likewise.
2808         * conform/data/sys/wait.h-data: Likewise.
2809         * conform/data/time.h-data: Likewise.
2810         * conform/data/unistd.h-data: Likewise.
2811         * conform/data/utime.h-data: Likewise.
2813         * io/sys/stat.h: fchmod was always in POSIX.
2814         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2815         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2816         * rt/aio.h: Define __need_timespec before including <time.h>.
2817         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2818         struct.  Add forward declaration of pthread_attr_t and use it in
2819         sigevent.
2820         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2821         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2822         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2823         always remove CLK_TCK definition.
2825 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
2827         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2829 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
2831         * conform/run-conformtest.sh: New file.
2832         * conform/Makefile: Run run-conformtest for tests.
2833         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
2834         support.
2836         * conform/data/uchar.h-data: New file.
2837         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2838         * conform/data/arpa/inet.h-data: Likewise.
2839         * conform/data/assert.h-data: Likewise.
2840         * conform/data/complex.h-data: Likewise.
2841         * conform/data/cpio.h-data: Likewise.
2842         * conform/data/ctype.h-data: Likewise.
2843         * conform/data/dirent.h-data: Likewise.
2844         * conform/data/dlfcn.h-data: Likewise.
2845         * conform/data/errno.h-data: Likewise.
2846         * conform/data/fcntl.h-data: Likewise.
2847         * conform/data/float.h-data: Likewise.
2848         * conform/data/fmtmsg.h-data: Likewise.
2849         * conform/data/fnmatch.h-data: Likewise.
2850         * conform/data/ftw.h-data: Likewise.
2851         * conform/data/glob.h-data: Likewise.
2852         * conform/data/grp.h-data: Likewise.
2853         * conform/data/iconv.h-data: Likewise.
2854         * conform/data/inttypes.h-data: Likewise.
2855         * conform/data/langinfo.h-data: Likewise.
2856         * conform/data/libgen.h-data: Likewise.
2857         * conform/data/limits.h-data: Likewise.
2858         * conform/data/locale.h-data: Likewise.
2859         * conform/data/math.h-data: Likewise.
2860         * conform/data/monetary.h-data: Likewise.
2861         * conform/data/mqueue.h-data: Likewise.
2862         * conform/data/ndbm.h-data: Likewise.
2863         * conform/data/net/if.h-data: Likewise.
2864         * conform/data/netdb.h-data: Likewise.
2865         * conform/data/netinet/in.h-data: Likewise.
2866         * conform/data/nl_types.h-data: Likewise.
2867         * conform/data/poll.h-data: Likewise.
2868         * conform/data/pthread.h-data: Likewise.
2869         * conform/data/pwd.h-data: Likewise.
2870         * conform/data/regex.h-data: Likewise.
2871         * conform/data/sched.h-data: Likewise.
2872         * conform/data/search.h-data: Likewise.
2873         * conform/data/semaphore.h-data: Likewise.
2874         * conform/data/setjmp.h-data: Likewise.
2875         * conform/data/signal.h-data: Likewise.
2876         * conform/data/spawn.h-data: Likewise.
2877         * conform/data/stdarg.h-data: Likewise.
2878         * conform/data/stdio.h-data: Likewise.
2879         * conform/data/stdlib.h-data: Likewise.
2880         * conform/data/string.h-data: Likewise.
2881         * conform/data/strings.h-data: Likewise.
2882         * conform/data/stropts.h-data: Likewise.
2883         * conform/data/sys/ipc.h-data: Likewise.
2884         * conform/data/sys/mman.h-data: Likewise.
2885         * conform/data/sys/msg.h-data: Likewise.
2886         * conform/data/sys/resource.h-data: Likewise.
2887         * conform/data/sys/select.h-data: Likewise.
2888         * conform/data/sys/sem.h-data: Likewise.
2889         * conform/data/sys/shm.h-data: Likewise.
2890         * conform/data/sys/socket.h-data: Likewise.
2891         * conform/data/sys/stat.h-data: Likewise.
2892         * conform/data/sys/statvfs.h-data: Likewise.
2893         * conform/data/sys/time.h-data: Likewise.
2894         * conform/data/sys/timeb.h-data: Likewise.
2895         * conform/data/sys/times.h-data: Likewise.
2896         * conform/data/sys/types.h-data: Likewise.
2897         * conform/data/sys/uio.h-data: Likewise.
2898         * conform/data/sys/un.h-data: Likewise.
2899         * conform/data/sys/utsname.h-data: Likewise.
2900         * conform/data/sys/wait.h-data: Likewise.
2901         * conform/data/syslog.h-data: Likewise.
2902         * conform/data/tar.h-data: Likewise.
2903         * conform/data/termios.h-data: Likewise.
2904         * conform/data/utime.h-data: Likewise.
2905         * conform/data/utmpx.h-data: Likewise.
2906         * conform/data/varargs.h-data: Likewise.
2907         * conform/data/wchar.h-data: Likewise.
2908         * conform/data/wctype.h-data: Likewise.
2909         * conform/data/wordexp.h-data: Likewise.
2911         * include/stropts.h: New file.
2912         * include/uchar.h: New file.
2913         * include/aio.h: Changes to allow conformtest.pl to use the headers.
2914         * include/assert.h: Likewise.
2915         * include/ctype.h: Likewise.
2916         * include/dirent.h: Likewise.
2917         * include/dlfcn.h: Likewise.
2918         * include/fcntl.h: Likewise.
2919         * include/fnmatch.h: Likewise.
2920         * include/glob.h: Likewise.
2921         * include/grp.h: Likewise.
2922         * include/libio.h: Likewise.
2923         * include/locale.h: Likewise.
2924         * include/math.h: Likewise.
2925         * include/net/if.h: Likewise.
2926         * include/netdb.h: Likewise.
2927         * include/netinet/in.h: Likewise.
2928         * include/pthread.h: Likewise.
2929         * include/pwd.h: Likewise.
2930         * include/regex.h: Likewise.
2931         * include/sched.h: Likewise.
2932         * include/search.h: Likewise.
2933         * include/setjmp.h: Likewise.
2934         * include/signal.h: Likewise.
2935         * include/stdio.h: Likewise.
2936         * include/stdlib.h: Likewise.
2937         * include/string.h: Likewise.
2938         * include/sys/cdefs.h: Likewise.
2939         * include/sys/mman.h: Likewise.
2940         * include/sys/msg.h: Likewise.
2941         * include/sys/resource.h: Likewise.
2942         * include/sys/select.h: Likewise.
2943         * include/sys/socket.h: Likewise.
2944         * include/sys/stat.h: Likewise.
2945         * include/sys/statvfs.h: Likewise.
2946         * include/sys/time.h: Likewise.
2947         * include/sys/times.h: Likewise.
2948         * include/sys/uio.h: Likewise.
2949         * include/sys/utsname.h: Likewise.
2950         * include/sys/wait.h: Likewise.
2951         * include/termios.h: Likewise.
2952         * include/time.h: Likewise.
2953         * include/ulimit.h: Likewise.
2954         * include/unistd.h: Likewise.
2955         * include/utime.h: Likewise.
2956         * include/wchar.h: Likewise.
2957         * include/wctype.h: Likewise.
2958         * include/wordexp.h: Likewise.
2960         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2962         * time/time.h: TIME_UTC must be a macro.
2963         Make timespec_get available for ISO C11 only as well.
2965 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
2967         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2968         Reported by Peng Haitao <penght@cn.fujitsu.com>.
2970 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
2972         * configure.in: Use -o not -a in test for unsupported multi-arch.
2974 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
2976         * manual/texinfo.tex: Update to version 2012-01-19.16.
2978 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
2980         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2982 2012-02-24  Roland McGrath  <roland@hack.frob.com>
2984         [BZ #13738]
2985         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2986         * manual/fdl-1.3.texi: New file.
2987         * manual/fdl-1.1.texi: File removed.
2989         [BZ #13738]
2990         * manual/libc.texinfo (FDL_VERSION): New @set.
2991         Use it for mention of FDL in cover text.
2992         (Documentation License): Use it in @include file name.
2994 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
2995             Roland McGrath  <roland@hack.frob.com>
2997         [BZ #5461]
2998         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2999         not LONG_LONG_MAX and LONG_LONG_MIN.
3000         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3001         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
3002         name.
3003         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3005 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3007         [BZ #2547]
3008         [BZ #11365]
3009         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3010         manipulate bits before adding and subtracting TWO23[sx].
3011         * math/libm-test.inc (nearbyint_test): Add more tests.
3013 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3015         [BZ #2548]
3016         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3017         bits before adding and subtracting TWO23[sx].
3018         * math/libm-test.inc (rint_test): Add more tests.
3019         (rint_test_tonearest): Likewise.
3020         (rint_test_towardzero): Likewise.
3021         (rint_test_downward): Likewise.
3022         (rint_test_upward: Likewise.
3024 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3026         [BZ #10110]
3027         * include/stdc-predef.h: New file.  Extracted from features.h.
3028         * include/features.h: Include stdc-predef.h.
3029         * Makefile (headers): Add stdc-predef.h.
3030         * CONFORMANCE (Compiler limitations): Update.
3032 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
3034         * manual/libc.texinfo (VERSION, UPDATED): Revert.
3036 2012-02-21  David S. Miller  <davem@davemloft.net>
3038         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3039         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3041 2012-02-20  David S. Miller  <davem@davemloft.net>
3043         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3044         using a normal save/restore sequence, rather than allocating a
3045         dummy stack frame just to store a frame pointer and restore.
3046         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3048 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3050         * manual/install.texi: Fix stray word in line-wrapped comment.
3052 2012-02-20  David S. Miller  <davem@davemloft.net>
3054         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3055         both binutils and gcc support GOTDATA.
3057         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3058         "rd %pc" in the PIC register setup sequences.
3060         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3061         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3062         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3063         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3064         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3065         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3066         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3067         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3068         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3069         (SYSCALL_ERROR_HANDLER): Likewise.
3070         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3071         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3072         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3073         (SYSCALL_ERROR_HANDLER): Likewise.
3075         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3076         (HAVE_GCC_GOTDATA): New.
3077         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3078         relocation support in both binutils and gcc.
3079         * sysdeps/sparc/elf/configure: Regenerate.
3081         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3082         * sysdeps/sparc/sparc32/elf/configure: Delete.
3083         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3084         * sysdeps/sparc/sparc64/elf/configure: Delete.
3085         * sysdeps/sparc/elf/configure.in: New file.
3086         * sysdeps/sparc/elf/configure: Generate.
3088         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3089         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3090         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3091         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3092         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3094 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3096         * manual/install.texi: Do not mention specific glibc version
3097         numbers.
3098         * manual/libc.texinfo (VERSION, UPDATED): Update.
3099         (@copying): Use @copyright{} and range of years.
3101 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
3103         [BZ #13695]
3104         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3105         [crti.S not in sysdirs] (generated): Do not append.
3106         [crti.S not in sysdirs] (omit-deps): Likewise.
3107         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3108         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3109         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3110         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3111         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3112         Likewise.
3113         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3114         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3115         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3116         * csu/defs.awk: Remove file.
3117         * sysdeps/generic/initfini.c: Likewise.
3118         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3119         variable.
3120         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3121         Likewise.
3123 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3125         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3126         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3127         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3128         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3129         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3130         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3131         <bits/epoll.h>.
3132         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3133         (__EPOLL_PACKED): Define to empty if not defined by
3134         <bits/epoll.h>.
3135         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3136         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3137         bits/epoll.h.
3139 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3141         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3142         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3143         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3144         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3145         <bits/timerfd.h>.
3146         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3147         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3148         bits/timerfd.h.
3150 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
3152         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3153         in C locale.
3154         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3155         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3156         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3159 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
3161         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3162         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3164 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
3166         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3167         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3168         defined.
3169         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3170         Likewise.
3171         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3172         entry for 2.16.
3174 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
3176         * math/w_acos.c: Use non-signaling floating-point comparisons.
3177         * math/w_acosf.c: Likewise.
3178         * math/w_acosh.c: Likewise.
3179         * math/w_acoshf.c: Likewise.
3180         * math/w_acoshl.c: Likewise.
3181         * math/w_acosl.c: Likewise.
3182         * math/w_asin.c: Likewise.
3183         * math/w_asinf.c: Likewise.
3184         * math/w_asinl.c: Likewise.
3185         * math/w_atanh.c: Likewise.
3186         * math/w_atanhf.c: Likewise.
3187         * math/w_atanhl.c: Likewise.
3188         * math/w_exp2.c: Likewise.
3189         * math/w_exp2f.c: Likewise.
3190         * math/w_exp2l.c: Likewise.
3191         * math/w_j0.c: Likewise.
3192         * math/w_j0f.c: Likewise.
3193         * math/w_j0l.c: Likewise.
3194         * math/w_j1.c: Likewise.
3195         * math/w_j1f.c: Likewise.
3196         * math/w_j1l.c: Likewise.
3197         * math/w_jn.c: Likewise.
3198         * math/w_jnf.c: Likewise.
3199         * math/w_log.c: Likewise.
3200         * math/w_log10.c: Likewise.
3201         * math/w_log10f.c: Likewise.
3202         * math/w_log10l.c: Likewise.
3203         * math/w_log2.c: Likewise.
3204         * math/w_log2f.c: Likewise.
3205         * math/w_log2l.c: Likewise.
3206         * math/w_logf.c: Likewise.
3207         * math/w_logl.c: Likewise.
3208         * math/w_sqrt.c: Likewise.
3209         * math/w_sqrtf.c: Likewise.
3210         * math/w_sqrtl.c: Likewise.
3211         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3212         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3213         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3214         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3215         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3217 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3219         [BZ #9739]
3220         * manual/string.texi (strnlen): Use correct parameter name in
3221         equivalent expression.
3223 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3225         [BZ #11174]
3226         * manual/users.texi (seteuid): Consistently use neweuid for
3227         argument name.
3229 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
3231         [BZ #13704]
3232         * manual/nss.texi (Services in the NSS configuration): Correct
3233         list of services in example configuration file.
3235 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
3237         [BZ #11322]
3238         * manual/arith.texi: Remove statements about negative zero
3239         behaving identically to zero.
3241 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
3243         [BZ #5993]
3244         * manual/install.texi: Do not document upgrading from libc5.
3246 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
3248         [BZ #4596]
3249         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3251 2012-02-18  David S. Miller  <davem@davemloft.net>
3253         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3254         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3255         %o7 across the call.
3256         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3257         instead.
3258         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3259         SETUP_PIC_REG_LEAF.
3260         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3261         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3262         * sysdeps/sparc/crtn.S: Likewise.
3264 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
3266         * aout/Makefile: Remove.
3268 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
3270         [BZ #13058]
3271         * manual/examples/argp-ex1.c (main): Format definition in GNU
3272         style.
3273         * manual/examples/argp-ex2.c (main): Likewise.
3274         * manual/examples/argp-ex3.c (main): Likewise.
3275         * manual/examples/argp-ex4.c (main): Likewise.
3276         * manual/examples/longopt.c (main): Use new-style prototype
3277         definition.
3278         * manual/examples/strncat.c (main): Specify return type and use
3279         (void) for arguments.
3280         * manual/examples/subopt.c (main): Use char **argv argument.
3282 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3284         [BZ #5077]
3285         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3286         rounding modes.
3288 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
3290         [BZ #6907]
3291         * manual/string.texi (strchr): Change when strchrnul is
3292         recommended.
3294 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
3296         [BZ #174]
3297         * manual/locale.texi (setlocale): Document LOCPATH.
3299 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3301         [BZ #10210]
3302         * manual/process.texi (execle): Move @dots{} before last argument.
3304 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
3306         [BZ #12047]
3307         * manual/charset.texi (Generic Charset Conversion): Fix typo
3308         (LC_TYPE -> LC_CTYPE).
3310 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
3312         [BZ #5805]
3313         * manual/arith.texi (scalbn): Use @var{} on parameter names.
3314         (scalbnf): Likewise.
3315         (scalbnl): Likewise.
3316         (scalbln): Likewise.
3317         (scalblnf): Likewise.
3318         (scalblnl): Likewise.
3319         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3320         (vwarnx): Likewise.
3321         (verr): Likewise.
3322         (verrx): Likewise.
3323         * manual/filesys.texi (telldir): Use braces around return type.
3324         * manual/llio.texi (mmap): Add space after comma.
3325         (mmap64): Likewise.
3326         * manual/math.texi (jn): Use @var{} on parameter names.
3327         (jnf): Likewise.
3328         (jnl): Likewise.
3329         (yn): Likewise.
3330         (ynf): Likewise.
3331         (ynl): Likewise.
3332         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3333         line.
3334         * manual/resource.texi (ulimit): Use @dots{} instead of literal
3335         "...".
3336         (sched_get_priority_min): Remove semicolon on @deftypefun line.
3337         (sched_get_priority_max): Likewise.
3338         * manual/signal.texi (sigvec): Add space after comma.
3339         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3340         names.
3341         (if_indextoname): Likewise.
3342         (if_freenameindex): Likewise.
3343         (sendto): Use ',' instead of '.' in prototype.
3344         * manual/startup.texi (syscall): Use @dots{} instead of literal
3345         "...".
3346         * manual/stdio.texi (__fpending): Separate initial words of
3347         paragraph from @deftypefun line.
3348         * manual/syslog.texi (syslog): Use @dots{} instead of literal
3349         "...".
3350         (vsyslog): Use @var{} on parameter names.
3351         * manual/terminal.texi (stty): Use @var{} on parameter names.
3352         * manual/users.texi (getutmp): Use @var{} on parameter names.
3353         (getutmpx): Likewise.
3355 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3357         [BZ #6884]
3358         * manual/stdio.texi (fopen): Fix typos in description of
3359         ",ccs=STRING".
3361 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
3363         [BZ #4026]
3364         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3365         get clock_id definition.
3367 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
3369         [BZ #4822]
3370         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3371         (madvise): Cast every argument to void on its own.
3373 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3375         [BZ #9902]
3376         * manual/startup.texi (Exit Status): Fix typo.
3378 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
3380         [BZ #10140]
3381         * manual/examples/argp-ex1.c: Include <stdlib.h>.
3382         * manual/examples/argp-ex2.c: Likewise.
3383         * manual/examples/argp-ex3.c: Likewise.
3385 2012-02-16  Richard Henderson  <rth@redhat.com>
3387         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3388         * sysdeps/s390/s390-32/initfini.c: Remove.
3389         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3390         * sysdeps/s390/s390-64/initfini.c: Remove.
3392 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3394         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3395         compiler output for sysdeps/generic/initfini.c.
3396         * sysdeps/sh/elf/initfini.c: Remove file.
3398 2012-02-16  David S. Miller  <davem@davemloft.net>
3400         [BZ #11494]
3401         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3403         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3404         * sysdeps/sparc/crti.S: New file.
3405         * sysdeps/sparc/crtn.S: New file.
3406         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3407         * sysdeps/sparc/sparc64/Makefile: Likewise.
3409 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
3411         [BZ #3335]
3412         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3414 2012-02-15  Roland McGrath  <roland@hack.frob.com>
3416         [BZ #4822]
3417         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3419         * mach/devstream.c (cookie_io_functions_t): Macro removed.
3420         (write, read, close): Likewise.
3421         Patch by Aurelien Jarno <aurelien@aurel32.net>.
3423 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
3425         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3426         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3427         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3428         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3429         <bits/signalfd.h>.
3430         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3431         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3432         bits/signalfd.h.
3434 2012-02-14  Marek Polacek  <polacek@redhat.com>
3436         * sysdeps/x86_64/crti.S: New file.
3437         * sysdeps/x86_64/crtn.S: New file.
3438         * sysdeps/x86_64/elf/initfini.c: Remove file.
3440 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
3442         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3443         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3444         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3445         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3446         <bits/inotify.h>.
3447         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3448         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3449         bits/inotify.h.
3451 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
3453         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3454         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3455         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3456         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3457         <bits/eventfd.h>.
3458         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3459         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3460         bits/eventfd.h.
3462 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
3464         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3465         __feraiseexcept instead of feraiseexcept.
3467         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3468         nanosleep invocations.
3469         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3470         strings, and add error checking for a nanosleep invocations.
3472 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
3474         Replace FSF snail mail address with URLs, as per GNU coding standards.
3475         Most of the snail mail addresses were wrong anyway, and omitting
3476         them makes the source code easier to maintain.  Almost all of the
3477         changes are to license notices and to locale LC_IDENTIFICATION
3478         addresses, except for this one:
3479         * manual/libc.texinfo: In "Published by", give the FSF's URL,
3480         not its snail mail address.
3482 2012-02-09  Richard Henderson  <rth@twiddle.net>
3484         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3485         of kernel-features.h.
3487         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3489 2012-02-08  Marek Polacek  <polacek@redhat.com>
3491         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3492         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3493         * sysdeps/gnu/_G_config.h: Likewise.
3494         * sysdeps/generic/_G_config.h: Likewise.
3496 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
3498         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3499         tests.
3500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3502         * sysdeps/powerpc/powerpc32/crti.S: New file.
3503         * sysdeps/powerpc/powerpc32/crtn.S: New file.
3504         * sysdeps/powerpc/powerpc64/crti.S: New file.
3505         * sysdeps/powerpc/powerpc64/crtn.S: New file.
3507         * Makeconfig (have-initfini): Don't set.
3508         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3509         * configure.in (nopic_initfini): Don't substitute.
3510         * config.h.in (HAVE_INITFINI): Don't #undef.
3511         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3512         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3514 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
3516         Support crti.S and crtn.S provided directly by architectures.
3517         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3518         [crti.S in sysdirs] (omit-deps): Likewise.
3519         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3520         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3521         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3522         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3523         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3524         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3525         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3526         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3527         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3528         compiler output for sysdeps/generic/initfini.c.
3529         * sysdeps/i386/elf/Makefile: Remove file.
3530         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3532 2012-02-07  Marek Polacek  <polacek@redhat.com>
3534         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3535         * sysdeps/gnu/_G_config.h: Likewise.
3536         * sysdeps/mach/hurd/_G_config.h: Likewise.
3538 2012-02-07  Marek Polacek  <polacek@redhat.com>
3540         * math/Makefile (tests): Add tst-CMPLX2.
3541         * math/tst-CMPLX2.c: New file.
3543 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
3545         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3547         * math/libm-test.inc (jn_test): Add missing L suffix.
3549 2012-02-06  Marek Polacek  <polacek@redhat.com>
3551         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3552         * sysdeps/i386/fpu/e_powf.S: Likewise.
3553         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3554         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3555         * sysdeps/i386/fpu/e_acosh.S: Likewise.
3556         * sysdeps/i386/fpu/e_pow.S: Likewise.
3557         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3558         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3559         * sysdeps/i386/fpu/s_expm1.S: Likewise.
3560         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3561         * sysdeps/i386/fpu/e_log2.S: Likewise.
3562         * sysdeps/i386/fpu/e_log2l.S: Likewise.
3563         * sysdeps/i386/fpu/e_scalb.S: Likewise.
3564         * sysdeps/i386/fpu/e_powl.S: Likewise.
3565         * sysdeps/i386/fpu/s_log1p.S: Likewise.
3566         * sysdeps/i386/fpu/e_log10f.S: Likewise.
3567         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3568         * sysdeps/i386/fpu/e_logl.S: Likewise.
3569         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3570         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3571         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3572         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3573         * sysdeps/i386/fpu/e_log2f.S: Likewise.
3574         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3575         * sysdeps/i386/fpu/e_log.S: Likewise.
3576         * sysdeps/i386/fpu/s_cexp.S: Likewise.
3577         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3578         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3579         * sysdeps/i386/fpu/e_logf.S: Likewise.
3580         * sysdeps/i386/fpu/e_log10l.S: Likewise.
3581         * sysdeps/i386/fpu/e_atanh.S: Likewise.
3582         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3583         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3584         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3585         * sysdeps/i386/fpu/e_log10.S: Likewise.
3586         * sysdeps/i386/fpu/s_frexp.S: Likewise.
3587         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3588         * sysdeps/i386/fpu/s_asinh.S: Likewise.
3589         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3590         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3591         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3592         * sysdeps/i386/asm-syntax.h: Likewise.
3593         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3594         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3595         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3596         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3597         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3598         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3599         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3600         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3601         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3602         * sysdeps/powerpc/sysdep.h: Likewise.
3603         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3604         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3606 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
3608         [BZ #411]
3609         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3611 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
3613         * sysdeps/i386/sysdep.h: Include <features.h>.
3614         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3615         version.
3617 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
3619         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3620         Define.
3621         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3622         LOAD_PIC_REG_STR.
3624 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
3626         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3627         (SETUP_PIC_REG): Use GET_PC_THUNK.
3628         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3629         macro.
3631 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
3633         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3634         for non-PIC compilation.
3635         (SETUP_PIC_REG): Add .p2align directive.
3636         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3637         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3638         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3639         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3640         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3641         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3642         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3643         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3644         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3645         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3646         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3647         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3648         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3649         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3650         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3651         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3652         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3653         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3654         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3655         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3656         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3657         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3658         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3659         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3660         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3661         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3662         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3663         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3664         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3665         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3666         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3667         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3668         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3669         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3670         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3671         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3672         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3673         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3674         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3675         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3676         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3678 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
3680         * math/tst-CMPLX.c: Include <stdio.h>.
3682 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
3684         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3685         float.
3686         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3687         * sysdeps/sparc/bits/mathdef.h: Likewise.
3689 2012-01-31  Marek Polacek  <polacek@redhat.com>
3691         * libio/libio.h: Don't define _PARAMS.
3692         * locale/programs/config.h: Don't define PARAMS.
3693         * stdlib/strtol_l.c: Likewise.
3694         (__strtol_l): Remove PARAMS from the prototype.
3696 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
3698         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
3699         names.  Just use the correct names.  Remove unnecessary wrapper
3700         functions.
3701         * malloc/arena.c: Likewise.
3702         * malloc/hooks.c: Likewise.
3704         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3705         ARENA_TEST says not to.  Simplify test for creation of a new arena.
3706         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3708 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
3710         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3711         into tail calls.
3712         (update_get_addr): New function.
3713         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3714         GET_ADDR_MODULE parameter.
3716 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
3718         * crypt/cert.c: Remove __STDC__ conditionals.
3719         * crypt/crypt-entry.c: Likewise.
3720         * crypt/crypt_util.c: Likewise.
3721         * libio/filedoalloc.c: Likewise.
3722         * libio/fileops.c: Likewise.
3723         * libio/genops.c: Likewise.
3724         * libio/iofclose.c: Likewise.
3725         * libio/iofdopen.c: Likewise.
3726         * libio/iofopen.c: Likewise.
3727         * libio/iofopen64.c: Likewise.
3728         * libio/iogetdelim.c: Likewise.
3729         * libio/iopopen.c: Likewise.
3730         * libio/obprintf.c: Likewise.
3731         * libio/oldfileops.c: Likewise.
3732         * libio/oldiofclose.c: Likewise.
3733         * libio/oldiofdopen.c: Likewise.
3734         * libio/oldiofopen.c: Likewise.
3735         * libio/oldiopopen.c: Likewise.
3736         * libio/wfiledoalloc.c: Likewise.
3737         * libio/wgenops.c: Likewise.
3738         * locale/programs/xmalloc.c: Likewise.
3739         * misc/syslog.c: Likewise.
3740         * stdio-common/xbug.c: Likewise.
3741         * string/memchr.c: Likewise.
3742         * string/memcmp.c: Likewise.
3743         * string/memrchr.c: Likewise.
3744         * string/rawmemchr.c: Likewise.
3745         * sysdeps/posix/getcwd.c: Likewise.
3746         * time/strftime_l.c: Likewise.
3748 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
3750         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3751         * config.make.in (config-cflags-sse2avx): Define.
3752         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3753         Fix typo.
3755 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
3757         * scripts/config.guess: Update from upstream config git repository.
3758         * scripts/config.sub: Likewise.
3760 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
3762         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3763         (EM_NUM): Update.
3764         (R_TILEPRO_*, R_TILEGX_*): New macros.
3766         * scripts/firstversions.awk: Fix bug in version range handling.
3768         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3770         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3772         * include/sys/epoll.h: New file.
3773         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3774         libc_hidden_def.
3776 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
3778         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3779         Avoid unnecessary __WORDSIZE == 64 test.
3780         (fmaxf): Use VEX format if possible.
3781         (fmax): Likewise.
3782         (fminf): Likewise.
3783         (fmin): Likewise.
3785         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3786         * math/math_private.h: Remove libc_fegetround* and
3787         libc_fesetround*.
3788         * sysdeps/i386/configure.in: Check for -msse2avx.
3789         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3790         also if SSE2AVX is defined.
3791         Remove libc_fegetround* and libc_fesetround*.
3792         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3793         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
3794         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3795         of HAS_YMM_USABLE.
3796         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3797         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3798         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3799         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3800         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3802         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3804 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3806         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3807         size is not set.
3808         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3810 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
3812         [BZ #13618]
3813         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3814         relocation.
3815         * Makeconfig (libm): Define.
3816         * elf/Makefile: Add rules to build and run tst-relsort1.
3817         * elf/tst-relsort1.c: New file.
3818         * elf/tst-relsort1mod1.c: New file.
3819         * elf/tst-relsort1mod2.c: New file.
3821 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
3823         * math/s_ldexp.c: Remove __STDC__ conditionals.
3824         * math/s_ldexpf.c: Likewise.
3825         * math/s_ldexpl.c: Likewise.
3826         * math/s_nextafter.c: Likewise.
3827         * math/s_nexttowardf.c: Likewise.
3828         * math/s_significand.c: Likewise.
3829         * math/s_significandf.c: Likewise.
3830         * math/s_significandl.c: Likewise.
3831         * math/w_jnl.c: Likewise.
3832         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3833         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3834         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3835         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3836         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3837         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3838         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3839         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3840         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3841         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3842         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3843         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3844         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3845         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3846         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3847         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3848         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3849         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3850         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3851         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3852         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3853         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3854         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3855         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3856         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3857         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3858         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3859         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3860         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3861         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3862         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3863         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3864         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3865         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3866         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3867         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3868         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3869         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3870         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3871         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3872         * sysdeps/ieee754/k_standard.c: Likewise.
3873         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3874         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3875         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3876         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3877         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3878         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3879         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3880         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3881         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3882         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3883         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3884         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3885         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3886         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3887         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3888         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3889         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3890         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3891         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3892         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3893         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3894         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3895         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3896         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3897         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3898         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3899         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3900         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3901         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3902         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3903         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3904         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3905         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3906         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3907         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3908         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3909         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3910         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3911         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3912         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3913         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3914         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3915         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3916         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3917         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3918         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3919         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3920         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3921         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3922         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3923         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3924         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3925         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3926         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3927         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3928         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3929         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3930         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3931         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3932         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3933         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3934         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3935         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3936         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3937         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3938         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3939         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3940         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3941         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3942         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3943         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3944         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3945         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3946         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3947         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3948         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3949         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3950         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3951         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3952         * sysdeps/ieee754/s_matherr.c: Likewise.
3953         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3954         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3955         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3956         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3958 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
3960         * crypt/md5.h: Remove __STDC__ conditionals.
3961         * libio/libioP.h: Likewise.
3962         * locale/programs/config.h: Likewise.
3963         * sysdeps/generic/sysdep.h: Likewise.
3964         * sysdeps/i386/asm-syntax.h: Likewise.
3965         * sysdeps/s390/asm-syntax.h: Likewise.
3966         * sysdeps/unix/sysdep.h: Likewise.
3967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3970 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
3972         * libio/libio.h: Remove __STDC__ conditionals.
3973         * malloc/obstack.h: Likewise.
3974         * math/complex.h: Likewise.
3975         * math/math.h: Likewise.
3976         * sysdeps/generic/_G_config.h: Likewise.
3977         * sysdeps/gnu/_G_config.h: Likewise.
3978         * sysdeps/mach/hurd/_G_config.h: Likewise.
3979         * sysdeps/powerpc/bits/mathdef.h: Likewise.
3980         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3981         * sysdeps/sparc/bits/mathdef.h: Likewise.
3983 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
3985         [BZ #13583]
3986         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
3987         Clean up HAS_* macros.
3988         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
3989         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3990         possible.
3991         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3992         HAS_AVX.
3993         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3994         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3995         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3996         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3997         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3999 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
4001         * elf/tst-unique3.cc (gets): Remove declaration.
4002         * elf/tst-unique3lib.cc (gets): Likewise.
4003         * elf/tst-unique3lib2.cc (gets): Likewise.
4004         * elf/tst-unique4.cc (gets): Likewise.
4006 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
4008         * include/stdio.h: Add C++ protection.  Add gets declarations and
4009         definitions.
4010         * debug/tst-chk1.c: Don't declare gets here.
4011         * stdio-common/tst-gets.c: Likewise.
4013 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4015         * posix/glob: Remove directory.
4017 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
4019         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4021 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
4023         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4024         of the non-standard EPFNOSUPPORT.
4026 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4028         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4029         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4030         ANYWHERE set to 1 only on KERN_NO_SPACE error.
4032 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
4034         * wcsmbs/uchar.h: Test __STDC_VERSION__.
4036 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
4038         * nscd/aicache.c (addhstaiX): Do not cache negative results of
4039         transient errors.
4040         * nscd/grpcache.c (cache_addgr): Likewise.
4041         * nscd/hstcache.c (cache_addhst): Likewise.
4042         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4043         * nscd/pwdcache.c (cache_addpw): Likewise.
4044         * nscd/servicescache.c (cache_addserv): Likewise.
4046 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
4048         * malloc/malloc.c: Various cleanups.
4049         * malloc/hooks.c: Likewise.
4051         * stdlib/Makefile (tests): Add bug-fmtmsg1.
4052         * stdlib/bug-fmtmsg1.c: New file.
4054         * stdlib/fmtmsg.c (init): Add missing unlock.
4055         Patch by Peng Haitao <penght@cn.fujitsu.com>.
4057 2012-01-12  Marek Polacek  <polacek@redhat.com>
4059         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4060         and _GNU_SOURCE.
4062 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
4064         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4065         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4066         macro to ensure uniqueness of label name.
4067         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4068         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4070 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
4072         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4074         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4075         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4076         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4077         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4079 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
4081         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4083         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4084         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4085         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4087         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4089         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4090         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4091         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4092         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4094         * math/bits/math-finite.h: Add ldexp support.
4096 2012-01-10  Marek Polacek  <polacek@redhat.com>
4098         * locale/programs/localedef.h (show_archive_content): Add noreturn
4099         attribute.
4101 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
4103         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4105 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4107         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4109         * io/Makefile (headers): Add bits/poll2.h.
4111 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
4113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4114         typo #include statement.
4116 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4118         * include/sys/cdefs.h: Define __attribute_alloc_size.
4119         * catgets/gencat.c: Add alloc_size attribute and apply consistently
4120         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4121         * elf/pldd.c: Likewise.
4122         * iconv/iconv_charmap.c: Likewise.
4123         * iconv/iconvconfig.c: Likewise.
4124         * iconv/strtab.c: Likewise.
4125         * locale/programs/locale.c: Likewise.
4126         * locale/programs/localedef.h: Likewise.
4127         * locale/programs/simple-hash.c: Likewise.
4128         * nscd/nscd.h: Likewise.
4129         * nss/makedb.c: Likewise.
4130         * sysdeps/generic/ldconfig.h: Likewise.
4131         * locale/programs/localedef.c: Remove xmalloc prototype.
4132         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4134 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4136         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4137         appropriate.
4139 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
4141         * math/Makefile (tests): Add tst-CMPLX.
4142         * math/tst-CMPLX.c: New file.
4144         * math/complex.h (CMPLXL): Fix typo.
4146         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4147         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4148         GLIBC_2.16.
4149         * debug/tst-chk1.c: Add poll and ppoll tests.
4150         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4151         * include/sys/poll.h: Add hidden proto for ppoll.
4152         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4153         * sysdeps/mach/hurd/ppoll.c: Likewise.
4154         * io/ppoll.c: Likewise.
4155         * debug/poll_chk.c: New file.
4156         * debug/ppoll_chk.c: New file.
4157         * include/bits/poll2.h: New file.
4158         * io/bits/poll2.h: New file.
4160         [BZ #1350]
4161         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4163         * configure.in: static is always set to yes.  Remove.
4164         * config.make.in: Don't set build-static.
4165         * Makeconfig: Remove use of build-static.
4166         * dlfcn/Makefile: Likewise.
4167         * elf/Makefile: Likewise.
4168         * math/Makefile: Likewise.
4169         * misc/Makefile: Likewise.
4170         * nptl/Makefile: Likewise.
4171         * sysdeps/mach/hurd/Makefile: Likewise.
4173         * configure.in: PWD_P is not used anymore.
4174         * config.make.in: Remove PWD_P entry.
4176         * configure.in: Remove last remnants of RANLIB.
4177         No need to check for signed size_t anymore.
4178         Don't set libc_commonpagesize and libc_relro_required here for Alpha
4179         and IA-64.
4180         Remove __builtin_expect test because we require at least gcc 3.4.
4181         * aclocal.m4: Likewise.
4183         * wcsmbs/mbrtoc16.c: Implement using towc function.
4184         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4185         * wcsmbs/wcsmbsload.c: Likewise.
4186         * iconv/gconv_simple.c: Likewise.
4187         * iconv/gconv_int.h: Likewise.
4188         * iconv/gconv_builtin.h: Likewise.
4189         * iconv/iconv_prog.c: Remove CHAR16 handling.
4191         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4193         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4195         * configure.in: Remove --with-elf and --enable-bounded options.
4196         Dont set base_machine for ia64.  More non-ELF conditions removed.
4197         Remove testing and setting of leading underscore information.
4198         * config.make.in (build-bounded): Set to no.
4199         * config.h.in: Remove NO_UNDERSCORES entry.
4200         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
4201         them.
4202         * csu/start.c: Remove !NO_UNDERSCORE code.
4203         * locale/localeinfo.h: Likewise.
4204         * sysdeps/generic/machine-gmon.h: Likewise.
4205         * sysdeps/generic/sysdep.h: Likewise.
4206         * sysdeps/i386/sysdep.h: Likewise.
4207         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4208         * sysdeps/mach/sysdep.h: Likewise.
4209         * sysdeps/s390/s390-32/sysdep.h: Likewise.
4210         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4211         * sysdeps/sh/sysdep.h: Likewise.
4212         * sysdeps/sparc/sparc32/alloca.S: Likewise.
4213         * sysdeps/unix/i386/sysdep.S: Likewise.
4214         * sysdeps/unix/sparc/start.c: Likewise.
4215         * sysdeps/unix/sparc/sysdep.S: Likewise.
4216         * sysdeps/unix/sparc/sysdep.h: Likewise.
4217         * sysdeps/unix/start.c: Likewise.
4218         * sysdeps/unix/x86_64/sysdep.S: Likewise.
4219         * sysdeps/x86_64/sysdep.h: Likewise.
4221 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
4223         [BZ #13553]
4224         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4225         for non-gcc.
4226         * argp/argp-fmtstream.h: Use const instead __const.
4227         * argp/argp.h: Likewise.
4228         * assert/assert.h: Likewise.
4229         * bits/fenv.h: Likewise.
4230         * bits/sched.h: Likewise.
4231         * bits/sigset.h: Likewise.
4232         * bits/sigthread.h: Likewise.
4233         * catgets/nl_types.h: Likewise.
4234         * conform/data/pthread.h-data: Likewise.
4235         * crypt/crypt-private.h: Likewise.
4236         * crypt/crypt.h: Likewise.
4237         * crypt/crypt_util.c: Likewise.
4238         * ctype/ctype.h: Likewise.
4239         * debug/execinfo.h: Likewise.
4240         * debug/mbsnrtowcs_chk.c: Likewise.
4241         * debug/mbsrtowcs_chk.c: Likewise.
4242         * debug/wcsnrtombs_chk.c: Likewise.
4243         * debug/wcsrtombs_chk.c: Likewise.
4244         * debug/wcstombs_chk.c: Likewise.
4245         * dirent/dirent.h: Likewise.
4246         * dlfcn/dlfcn.h: Likewise.
4247         * elf/neededtest4.c: Likewise.
4248         * grp/grp.h: Likewise.
4249         * gshadow/gshadow.h: Likewise.
4250         * iconv/gconv.h: Likewise.
4251         * iconv/gconv_int.h: Likewise.
4252         * iconv/gconv_simple.c: Likewise.
4253         * iconv/iconv.h: Likewise.
4254         * iconv/loop.c: Likewise.
4255         * iconv/skeleton.c: Likewise.
4256         * include/aio.h: Likewise.
4257         * include/aliases.h: Likewise.
4258         * include/argz.h: Likewise.
4259         * include/arpa/inet.h: Likewise.
4260         * include/assert.h: Likewise.
4261         * include/dirent.h: Likewise.
4262         * include/dlfcn.h: Likewise.
4263         * include/execinfo.h: Likewise.
4264         * include/fcntl.h: Likewise.
4265         * include/fenv.h: Likewise.
4266         * include/glob.h: Likewise.
4267         * include/grp.h: Likewise.
4268         * include/libintl.h: Likewise.
4269         * include/mntent.h: Likewise.
4270         * include/netdb.h: Likewise.
4271         * include/pwd.h: Likewise.
4272         * include/rpc/netdb.h: Likewise.
4273         * include/sched.h: Likewise.
4274         * include/search.h: Likewise.
4275         * include/shadow.h: Likewise.
4276         * include/signal.h: Likewise.
4277         * include/stdio.h: Likewise.
4278         * include/stdlib.h: Likewise.
4279         * include/string.h: Likewise.
4280         * include/sys/socket.h: Likewise.
4281         * include/sys/stat.h: Likewise.
4282         * include/sys/statfs.h: Likewise.
4283         * include/sys/statvfs.h: Likewise.
4284         * include/sys/syslog.h: Likewise.
4285         * include/sys/time.h: Likewise.
4286         * include/sys/uio.h: Likewise.
4287         * include/time.h: Likewise.
4288         * include/unistd.h: Likewise.
4289         * include/utmp.h: Likewise.
4290         * include/wchar.h: Likewise.
4291         * include/wctype.h: Likewise.
4292         * inet/aliases.h: Likewise.
4293         * inet/arpa/inet.h: Likewise.
4294         * inet/netinet/ether.h: Likewise.
4295         * inet/netinet/in.h: Likewise.
4296         * intl/libintl.h: Likewise.
4297         * io/bits/fcntl2.h: Likewise.
4298         * io/fcntl.h: Likewise.
4299         * io/ftw.h: Likewise.
4300         * io/sys/poll.h: Likewise.
4301         * io/sys/stat.h: Likewise.
4302         * io/sys/statfs.h: Likewise.
4303         * io/sys/statvfs.h: Likewise.
4304         * io/utime.h: Likewise.
4305         * libio/bits/stdio.h: Likewise.
4306         * libio/bits/stdio2.h: Likewise.
4307         * libio/libio.h: Likewise.
4308         * libio/libioP.h: Likewise.
4309         * libio/stdio.h: Likewise.
4310         * locale/lc-ctype.c: Likewise.
4311         * locale/locale.h: Likewise.
4312         * login/utmp.h: Likewise.
4313         * malloc/arena.c: Likewise.
4314         * malloc/malloc.c: Likewise.
4315         * malloc/malloc.h: Likewise.
4316         * malloc/mcheck.c: Likewise.
4317         * malloc/mtrace.c: Likewise.
4318         * math/bits/mathcalls.h: Likewise.
4319         * math/fenv.h: Likewise.
4320         * math/math_private.h: Likewise.
4321         * misc/bits/error.h: Likewise.
4322         * misc/bits/syslog.h: Likewise.
4323         * misc/err.h: Likewise.
4324         * misc/error.h: Likewise.
4325         * misc/fstab.h: Likewise.
4326         * misc/mntent.h: Likewise.
4327         * misc/regexp.h: Likewise.
4328         * misc/search.h: Likewise.
4329         * misc/sgtty.h: Likewise.
4330         * misc/sys/mman.h: Likewise.
4331         * misc/sys/syslog.h: Likewise.
4332         * misc/sys/uio.h: Likewise.
4333         * misc/sys/xattr.h: Likewise.
4334         * misc/ttyent.h: Likewise.
4335         * nis/rpcsvc/ypclnt.h: Likewise.
4336         * nss/nss.h: Likewise.
4337         * posix/bits/unistd.h: Likewise.
4338         * posix/fnmatch.h: Likewise.
4339         * posix/glob.h: Likewise.
4340         * posix/sched.h: Likewise.
4341         * posix/spawn.h: Likewise.
4342         * posix/sys/wait.h: Likewise.
4343         * posix/unistd.h: Likewise.
4344         * posix/wordexp.h: Likewise.
4345         * pwd/pwd.h: Likewise.
4346         * resolv/netdb.h: Likewise.
4347         * resource/sys/resource.h: Likewise.
4348         * rt/aio.h: Likewise.
4349         * rt/bits/mqueue2.h: Likewise.
4350         * rt/mqueue.h: Likewise.
4351         * shadow/shadow.h: Likewise.
4352         * signal/signal.h: Likewise.
4353         * socket/send.c: Likewise.
4354         * socket/sendto.c: Likewise.
4355         * socket/sys/socket.h: Likewise.
4356         * stdio-common/printf.h: Likewise.
4357         * stdlib/bits/stdlib.h: Likewise.
4358         * stdlib/fmtmsg.h: Likewise.
4359         * stdlib/monetary.h: Likewise.
4360         * stdlib/stdlib.h: Likewise.
4361         * stdlib/ucontext.h: Likewise.
4362         * streams/stropts.h: Likewise.
4363         * string/argz.h: Likewise.
4364         * string/bits/string2.h: Likewise.
4365         * string/string.h: Likewise.
4366         * string/strings.h: Likewise.
4367         * sunrpc/rpc/auth.h: Likewise.
4368         * sunrpc/rpc/auth_des.h: Likewise.
4369         * sunrpc/rpc/clnt.h: Likewise.
4370         * sunrpc/rpc/netdb.h: Likewise.
4371         * sunrpc/rpc/pmap_clnt.h: Likewise.
4372         * sunrpc/rpc/xdr.h: Likewise.
4373         * sysdeps/generic/inttypes.h: Likewise.
4374         * sysdeps/generic/net/if.h: Likewise.
4375         * sysdeps/generic/sys/swap.h: Likewise.
4376         * sysdeps/gnu/net/if.h: Likewise.
4377         * sysdeps/gnu/utmpx.h: Likewise.
4378         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4379         * sysdeps/i386/i486/bits/string.h: Likewise.
4380         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4381         * sysdeps/s390/bits/string.h: Likewise.
4382         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4383         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4384         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4385         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4386         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4387         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4388         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4389         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4390         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4391         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4392         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4393         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4394         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4395         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4396         * sysdeps/unix/sysv/linux/readv.c: Likewise.
4397         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4398         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4399         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4400         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4401         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4402         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4403         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4404         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4405         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4406         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4407         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4408         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4409         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4410         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4411         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4412         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4413         * sysvipc/sys/ipc.h: Likewise.
4414         * sysvipc/sys/msg.h: Likewise.
4415         * sysvipc/sys/sem.h: Likewise.
4416         * sysvipc/sys/shm.h: Likewise.
4417         * termios/termios.h: Likewise.
4418         * time/sys/time.h: Likewise.
4419         * time/time.h: Likewise.
4420         * wcsmbs/bits/wchar2.h: Likewise.
4421         * wcsmbs/uchar.h: Likewise.
4422         * wcsmbs/wchar.h: Likewise.
4423         * wctype/wctype.h: Likewise.
4425         [BZ #13551]
4426         * Makeconfig: Remove all but ELF support including AIX support.
4427         * Makerules: Likewise.
4428         * config.h.in: Likewise.
4429         * config.make.in: Likewise.
4430         * configure: Likewise.
4431         * configure.in: Likewise.
4432         * csu/Makefile: Likewise.
4433         * csu/version.c: Likewise.
4434         * debug/Makefile: Likewise.
4435         * dlfcn/Makefile: Likewise.
4436         * elf/Makefile: Likewise.
4437         * extra-lib.mk: Likewise.
4438         * iconv/Makefile: Likewise.
4439         * include/libc-symbols.h: Likewise.
4440         * include/shlib-compat.h: Likewise.
4441         * resolv/Makefile: Likewise.
4442         * resolv/res_libc.c: Likewise.
4443         * rt/Makefile: Likewise.
4444         * sysdeps/i386/asm-syntax.h: Likewise.
4445         * sysdeps/i386/sysdep.h: Likewise.
4446         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4447         * sysdeps/mach/sysdep.h: Likewise.
4448         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4449         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4450         * sysdeps/s390/asm-syntax.h: Likewise.
4451         * sysdeps/s390/s390-32/sysdep.h: Likewise.
4452         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4453         * sysdeps/sh/sysdep.h: Likewise.
4454         * sysdeps/unix/sparc/sysdep.h: Likewise.
4455         * sysdeps/wordsize-32/divdi3.c: Likewise.
4456         * sysdeps/x86_64/sysdep.h: Likewise.
4458         * argp/Versions: Remove _argp_unlock_xxx.
4460         [BZ #13559]
4461         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
4462         * abilist/libBrokenLocale.abilist: Likewise.
4463         * abilist/libanl.abilist: Likewise.
4464         * abilist/libc.abilist: Likewise.
4465         * abilist/libcrypt.abilist: Likewise.
4466         * abilist/libdl.abilist: Likewise.
4467         * abilist/libm.abilist: Likewise.
4468         * abilist/libnsl.abilist: Likewise.
4469         * abilist/libpthread.abilist: Likewise.
4470         * abilist/libresolv.abilist: Likewise.
4471         * abilist/librt.abilist: Likewise.
4472         * abilist/libthread_db.abilist: Likewise.
4473         * abilist/libutil.abilist: Likewise.
4474         * abilist/libnss_db.abilist: New file.
4476         * scripts/abilist.awk: Add support for indirect functions.
4478         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4480         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4482         * shlib-versions: Remove entries for ports architectures.
4484         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
4485         files in ports.
4486         * elf/stackguard-macros.h: Remove support for IA-64.
4487         * elf/tst-auditmod1.c: Likewise.
4488         * sysdeps/generic/ldsodefs.h: Likewise.
4490         * sysdeps/unix/sysv/linux/configure.in: Ports should define
4491         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4492         configure files.
4494         [BZ #13552]
4495         * configure.in: Remove --enable-omitfp support.
4496         * FAQ.in: Adjust.
4497         * config.make.in: Likewise.
4498         * Makeconfig: Likewise.
4499         * manual/install.texi: Likewise.
4501         In case anyone cares, the IA-64 architecture could move to ports.
4502         * sysdeps/ia64/*: Removed.
4503         * sysdeps/unix/sysv/linux/ia64/*: Removed.
4504         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4506         [BZ #13555]
4507         * configure.in: Remove entries for unsupported architectures.
4509         [BZ #13533]
4510         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4511         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
4512         routines.
4513         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4514         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4515         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
4516         fall back to using wcrtomb.
4517         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4518         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
4519         renaming.
4520         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4521         * wcsmbs/tst-c16c32-1.c: New file.
4523         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4524         local variable.
4526         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4528         * elf/tst-unique3.cc: Add explicit declaration of gets.
4529         * elf/tst-unique3lib.cc: Likewise.
4530         * elf/tst-unique3lib2.cc: Likewise.
4531         * elf/tst-unique4.cc: Likewise.
4533         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4535 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
4537         [BZ #13566]
4538         * assert/assert.h (static_assert): Don't define for C++.
4539         * libio/stdio.h (gets): Do declare for C++ <= C++11.
4540         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4542 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
4544         * iconv/loop.c (single loop): Fix assertion in storing of
4545         remaining bytes.
4547         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4549 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
4551         * posix/getconf.c: Update copyright year.
4552         * nss/getent.c: Likewise.
4553         * nss/makedb.c: Likewise.
4554         * iconv/iconvconfig.c: Likewise.
4555         * iconv/iconv_prog.c: Likewise.
4556         * elf/ldconfig.c: Likewise.
4557         * elf/pldd.c: Likewise.
4558         * elf/sotruss.ksh: Likewise.
4559         * catgets/gencat.c: Likewise.
4560         * csu/version.c: Likewise.
4561         * elf/ldd.bash.in: Likewise.
4562         * elf/sprof.c (print_version): Likewise.
4563         * locale/programs/locale.c: Likewise.
4564         * locale/programs/localedef.c: Likewise.
4565         * login/programs/pt_chown.c: Likewise.
4566         * nscd/nscd.c (print_version): Likewise.
4567         * debug/xtrace.sh: Likewise.
4568         * malloc/memusage.sh: Likewise.
4569         * malloc/mtrace.pl: Likewise.
4570         * debug/catchsegv.sh: Likewise.
4572 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
4574         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4575         pure attribute.
4577 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
4579         [BZ #13533]
4580         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4581         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4582         transformations.
4583         * iconv/gconv_int.h: Likewise.
4584         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4585         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4586         from libc for GLIBC_2.16.
4587         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4588         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4589         * wcsmbs/uchar.h: Really define mbstate_t.
4590         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4591         * wcsmbs/c16rtomb.c: New file.
4592         * wcsmbs/mbrtoc16.c: New file.
4593         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4594         for C/POSIX locale.
4595         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4596         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4598         * wcsmbs/wchar.h: Add missing __restrict.
4600 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
4602         [BZ #13532]
4603         * time/Makefile (routines): Add timespec_get.
4604         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4605         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
4606         timespec for ISO C11.
4607         * time/timespec_get.c: New file.
4608         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4609         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4611         [BZ #13531]
4612         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4613         * stdlib/stdlib.h: Declare aligned_alloc.
4614         * Versions.def: Add GLIBC_2.16 for libc.
4615         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4617         [BZ 13527]
4618         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4619         ISO C11.
4621         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4622         code.
4624         [BZ #13528]
4625         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4627         [BZ #13529]
4628         * assert/assert.h (static_assert): Define.
4630         * version.h: Update for 2.16 development version.
4632         [BZ #13526]
4633         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4634         _ISOC11_SOURCE.
4636         * version.h (RELEASE): Bump for 2.15 release.
4637         * include/features.h (__GLIBC_MINOR__): Bump to 15.
4639         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4640         Patch by Marek Polacek <mpolacek@redhat.com>.
4642         * bits/byteswap.h: Protect long long constants with __extension__.
4643         * sysdeps/i386/bits/byteswap.h: Likewise.
4644         * sysdeps/ia64/bits/byteswap.h: Likewise.
4645         * sysdeps/s390/bits/byteswap.h: Likewise.
4646         * sysdeps/x86_64/bits/byteswap.h: Likewise.
4648 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4650         [BZ #13540]
4651         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4652         destination buffer.
4653         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4655 2011-12-23  Marek Polacek  <polacek@redhat.com>
4657         * elf/dl-addr.c (determine_info): Add inline keyword.
4658         * elf/tst-auditmod4b.c (check_avx): Likewise.
4659         * elf/tst-auditmod6b.c (check_avx): Likewise.
4660         * elf/tst-auditmod6c.c (check_avx): Likewise.
4661         * elf/tst-auditmod7b.c (check_avx): Likewise.
4663 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
4665         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4666         !__SSE_MATH__.
4668 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4670         [BZ #13540]
4671         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4672         processing for last bytes.
4674 2011-08-06  Bruno Haible  <bruno@clisp.org>
4676         [BZ #13061]
4677         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4678         U+0385, not to U+1FEE.
4680         [BZ #13062]
4681         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4682         entry for U+00A5 U+0301.
4684 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
4686         [BZ #13166]
4687         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4688         buffer for the output is too small.
4690         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4691         optimization.
4693         [BZ #13185]
4694         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4695         SSE flags if possible.
4697 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4699         [BZ #13540]
4700         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4701         processing for last bytes.
4703 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
4705         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4706         (syscall-list-default-options, syscall-list-default-condition)
4707         (syscall-list-includes): Define.
4708         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4709         list of ABIs and options and #if conditions for each ABI.  Do not
4710         handle common syscalls between ABIs specially.
4711         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4712         Remove.
4713         (syscall-list-variants, syscall-list-32bit-options)
4714         (syscall-list-32bit-condition, syscall-list-64bit-options)
4715         (syscall-list-64bit-condition): Define.
4716         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4717         (syscall-list-variants, syscall-list-32bit-options)
4718         (syscall-list-32bit-condition, syscall-list-64bit-options)
4719         (syscall-list-64bit-condition): Define.
4720         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4721         Remove.
4722         (syscall-list-variants, syscall-list-32bit-options)
4723         (syscall-list-32bit-condition, syscall-list-64bit-options)
4724         (syscall-list-64bit-condition): Define.
4725         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4726         Remove.
4727         (syscall-list-variants, syscall-list-32bit-options)
4728         (syscall-list-32bit-condition, syscall-list-64bit-options)
4729         (syscall-list-64bit-condition): Define.
4731 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
4733         * locale/iso-639.def: Add brx entry.
4735         [BZ #13328]
4736         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4737         Proposed by Mariusz_Cukr <marcukr@op.pl>.
4739         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4740         __feraiseexcept_renamed.
4742 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
4744         [BZ #13538]
4745         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4746         EPOLLET with unsigned values.
4747         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4748         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4750         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4751         to large cancellation.
4752         * math/s_cacoshf.c: Likewise.
4753         * math/s_cacoshl.c: Likewise.
4755 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
4757         [BZ #13305]
4758         [BZ #12786]
4759         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4760         * math/s_cacoshf.c: Likewise.
4761         * math/s_cacoshl.c: Likewise.
4763 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
4765         [BZ #13439]
4766         * iconv/gconv.h: Define __GCONV_SWAP.
4767         * iconvdata/unicode.c: The swap bit must be stored in __flags.
4768         * iconvdata/utf-16.c: Likewise.
4769         * iconvdata/utf-32.c: Likewise.
4771 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
4773         [BZ #13524]
4774         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4775         numerator after shifting it by one limb.
4777 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
4779         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4780         under [__USE_EXTERN_INLINES].
4782 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
4784         [BZ #13446]
4785         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4787 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4789         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4790         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4791         optimized code.
4792         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4793         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4794         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4795         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4796         for strncasecmp/strncasecmp_l compilation.
4797         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4798         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4800 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
4802         [BZ #13484]
4803         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4804         of __asm__.
4806 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
4808         [BZ #13506]
4809         * time/tzfile.c (__tzfile_read): Check values from file header.
4811 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
4813         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4814         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4815         * powerpc/powerpc32/dl-start.S: Likewise.
4816         * powerpc/powerpc32/elf/start.S: Likewise.
4817         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4818         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4819         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4820         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4821         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4822         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4823         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4824         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4825         * powerpc/powerpc32/fpu/s_round.S: Likewise.
4826         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4827         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4828         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4829         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4830         * powerpc/powerpc32/memset.S: Likewise.
4831         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4832         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4833         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4834         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4835         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4836         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4837         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4838         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4839         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4840         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4841         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4842         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4843         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4845 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4847         * math/libm-test.inc: Added more nearbyint tests.
4848         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4849         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4850         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4851         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4853 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
4855         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4856         FD_CLOEXEC.
4858 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4860         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4861         Add wcscpy-ssse3 wcscpy-c.
4862         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4863         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4864         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4865         * sysdeps/x86_64/wcschr.S: New file.
4866         * sysdeps/x86_64/wcsrchr.S: New file.
4867         * string/test-strcmp.c: Remove checking of wcscmp function for
4868         wrong alignments.
4869         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4870         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4871         wcsrchr-sse2 wcsrchr-c.
4872         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4873         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4874         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4875         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4876         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4877         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4878         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4879         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4880         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4881         * wcsmbc/wcschr.c (WCSCHR): New macro.
4883 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4885         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4886         * wcsmbs/test-wcsrchr.c: New file.
4887         * string/test-strrchr.c: Add wcsrchr support.
4888         (WIDE): New macro.
4889         * wcsmbs/test-wcscpy.c: New file.
4890         * string/test-strcpy.c: Add wcscpy support.
4891         (WIDE): New macro.
4893 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
4895         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4896         the inner loop.
4898 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
4900         [BZ #13472]
4901         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4903 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
4905         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
4906         Minor optimizations.
4908         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4909         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4910         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4912 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
4914         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4915         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4916         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4917         for gcc to avoid warnings.
4918         * inet/Makefile (tests): Add tst-checks.
4919         * inet/tst-checks.c: New file.
4921         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4922         warning.
4924         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4925         __wmemcmp_sse2.
4927         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4928         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4930         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4932 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
4934         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4935         problem.
4937         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4939 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
4941         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4942         conditional on GCC version.
4943         (__arch_compare_and_exchange_val_8_acq)
4944         (__arch_compare_and_exchange_val_16_acq)
4945         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4946         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4947         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4949 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
4951         * sysdeps/sh/backtrace.c: New file.
4953 2011-12-02  Andreas Schwab  <schwab@redhat.com>
4955         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
4956         parenthesis.
4958 2011-12-01  Andreas Schwab  <schwab@redhat.com>
4960         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4961         falling back to utime.
4963 2011-11-30  Andreas Schwab  <schwab@redhat.com>
4965         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4966         expectations for float.
4968 2011-11-29  Andreas Schwab  <schwab@redhat.com>
4970         * locale/weight.h (findidx): Add parameter len.
4971         * locale/weightwc.h (findidx): Likewise.
4972         * posix/fnmatch_loop.c (FCT): Adjust caller.
4973         * posix/regcomp.c (build_equiv_class): Likewise.
4974         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4975         * posix/regexec.c (check_node_accept_bytes): Likewise.
4976         * string/strcoll_l.c (STRCOLL): Likewise.
4977         * string/strxfrm_l.c (STRXFRM): Likewise.
4979 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
4981         * Makefile.in: Remove CVSOPT handling.
4982         * configure.in: Remove use of AC_REVISION.
4983         * iconvdata/Makefile (distribute): No need to filter out CVS.
4984         * scripts/list-sources.sh: Remove CVS, subversion and monotone
4985         handling.
4987 2011-11-16  Andreas Schwab  <schwab@redhat.com>
4989         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4990         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4991         [USE_AS_STRNCASECMP_L]: Likewise.
4992         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4993         NO_TLS_DIRECT_SEG_REFS.
4994         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4995         Fix argument offsets for non-PIC.
4996         [USE_AS_STRNCASECMP_L]: Likewise.
4997         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4998         NO_TLS_DIRECT_SEG_REFS.
5000 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5002         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5003         O_CLOEXEC.
5004         * locale/loadlocale.c (_nl_load_locale): Likewise.
5006 2011-11-15  Andreas Schwab  <schwab@redhat.com>
5008         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5009         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5010         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5011         (SYSCALL_GETTIME): Set errno on error.
5013         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5014         count references to noai6ai_cached.
5016 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
5018         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5020         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5021         FD_CLOEXEC for /proc/self/maps.
5023         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5024         FD_CLOEXEC for /proc/meminfo.
5026         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5027         gai.conf.
5029         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
5030         FD_CLOEXEC for given file.
5032         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5034         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5035         FD_CLOEXEC for /etc/hosts.
5036         (_gethtent): Likewise.
5038         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5040         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5041         cancellation and set FD_CLOEXEC for /etc/netgroup.
5043         * nss/nss_files/files-key.c (search): Don't allow cancellation when
5044         reading /etc/publickey.
5046         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5047         allow cancellation when reading /etc/group.
5049         * nss/nss_files/files-alias.c (internal_setent): Don't allow
5050         cancellation.
5051         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
5053         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5054         when using data file.
5056         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5058         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5059         (write_nis_obj): Use "c" and "e" in fopen.
5061         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5063         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5065         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5067         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5069         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5070         locale.alias.
5072         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5074         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5076         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5078         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5079         file parsing and set FD_CLOEXEC.
5081 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
5083         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5085 2011-11-14  Andreas Schwab  <schwab@redhat.com>
5087         * malloc/arena.c (arena_get2): Don't call reused_arena when
5088         _int_new_arena failed.
5090 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
5092         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5093         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5094         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5095         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5096         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5097         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5098         to compile strcasecmp and strncasecmp.
5099         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5100         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5102         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5104 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
5106         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5107         locale-defines.sym to gen-as-const-headers.
5108         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5109         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5110         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5111         to compile strcasecmp and strncasecmp.
5112         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5113         strcasecmp_l and strncasecmp_l.
5114         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5115         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5116         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5117         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5118         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5119         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5120         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5121         * sysdeps/i386/i686/multiarch/strncase.S: New file.
5122         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5123         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5124         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5126 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
5128         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5129         result of SYSDEP_GETTIME_CPU to retval.
5130         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5131         parameter list to macro.  Remove trailing semicolon.  Adjust users.
5133         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5134         variable.
5136         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5137         mantissa words.
5138         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5140         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5141         from unused variable.
5143         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5144         DWARF definitions.
5145         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5146         for assembling.
5148         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5149         over namespaces.
5151         * sunrpc/rpc_prot.c (rejected): Fix case value.
5153         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5154         unsigned long long int to avoid warnings in shift.
5156         * posix/regex_internal.c (re_string_reconstruct): Actually use result
5157         of use of trans.
5158         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5159         variable tmp.
5161         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5162         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5163         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5165         * nis/nis_table.c (nis_list): Use variable of correct type for
5166         result of __follow_path call.
5168 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5170         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5171         of math functions ceil, trunc, floor, round, and sqrt, when
5172         avaliable on the platform.
5173         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5174         name clash.
5175         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5176         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5177         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5179 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
5181         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5182         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5184 2011-11-11  Roland McGrath  <roland@hack.frob.com>
5186         * include/unistd.h: Fix __readlink return type.
5187         Reported by Chris Metcalf <cmetcalf@tilera.com>.
5189 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
5191         * stdlib/ucontext.h: Undo last change for makecontext.
5193 2011-11-11  Andreas Schwab  <schwab@redhat.com>
5195         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5197         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5198         * setjmp/setjmp.h: Mark functions as non-leaf.
5199         * setjmp/bits/setjmp2.h: Likewise.
5200         * stdlib/ucontext.h: Likewise.
5202 2011-11-10  Andreas Schwab  <schwab@redhat.com>
5204         * malloc/arena.c (_int_new_arena): Don't increment narenas.
5205         (reused_arena): Don't check arena limit.
5206         (arena_get2): Atomically check arena limit.
5208 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
5210         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5211         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5213         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5214         instructions.
5216 2011-11-07  Andreas Schwab  <schwab@redhat.com>
5218         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5219         handler when locking.
5221         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5222         Fix size of allocated buffer.
5224 2011-11-04  Andreas Schwab  <schwab@redhat.com>
5226         [BZ #10103]
5227         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5228         declarations for long double functions.
5229         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5231         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5233 2011-11-03  Andreas Schwab  <schwab@redhat.com>
5235         * nscd/nscd.c (main): Don't start AVC thread until credentials are
5236         installed.
5238         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5239         is disabled.
5241 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5243         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5245 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
5247         * include/alloca.h (stackinfo_alloca_round): Define.
5248         (extend_alloca): Use it.
5249         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5250         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5251         here.
5253         * scripts/check-local-headers.sh: Ignore libaudit.h.
5255         * nscd/Makefile (extra-objs): Make recursively expanded.
5257 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
5259         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5260         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5262         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5263         * posix/tst-rfc3484-2.c: Likewise.
5264         * posix/tst-rfc3484-3.c: Likewise.
5266         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5267         process_vm_writev.
5268         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5269         process_vm_writev.
5270         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5271         process_vm_writev from libc using GLIBC_2.15 version.
5273         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5275 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
5277         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5278         stack usage.
5280 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
5282         [BZ #13367]
5283         * nss/getent.c (initgroups_keys): Show error message in case no group
5284         names are given.
5286         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5287         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5288         __bump_nl_timestamp.
5289         * nscd/connections (nscd_init): When host database is served open
5290         netlink socket and request notification about configuration changes.
5291         (main_loop_poll): Track netlink file descriptor and bump timestamp
5292         in case data becomes available.
5293         (main_loop_epoll): Likewise.
5294         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5295         (database_pers_head): Add extra_data fileds.
5296         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5297         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5298         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5299         Adjust caller.
5300         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5301         in6ai data, call __free_in6ai.
5302         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5303         Add -DHAVE_NETLINK.
5304         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
5305         interface information.  Reuse previous data if netlink timestamp
5306         is not changed.
5307         (__bump_nl_timestamp): New function.
5308         (__free_in6ai): New function.
5310 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
5312         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5313         close_not_cancel_no_status here.
5314         (__check_pf): Reorganize code a bit to not call close twice if OOM.
5316 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
5318         [BZ #13276]
5319         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5320         return value.
5322         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5323         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5324         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5326 2011-07-03  Andreas Jaeger  <aj@suse.de>
5328         [BZ #10709]
5329         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5330         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5331         * math/libm-test.inc (sin_test): Add test case.
5333 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
5335         [BZ #13337]
5336         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5337         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5339         * elf/chroot_canon.c (chroot_canon): Cleanups.
5341         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5343         [BZ #13335]
5344         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5345         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5347         * string/test-strchr.c: Make usable for strchrnul testing.
5348         * string/test-strchrnul.c: New file.
5349         * string/Makefile (strop-tests): Add strchrnul.
5351         * po/it.po: Update from translation team.
5352         * po/es.po: Likewise.
5354 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
5356         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5357         the three constants needed as parameters.  Drop the others.
5358         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5359         __m128i_strloadu_tolower.
5360         Create and initialize variable zero and use it in all the places
5361         where _mm_setzero_si128 was used.
5363         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5364         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5365         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5366         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5367         anymore.
5368         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5369         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5370         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5371         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5372         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5373         __mpranred, __mptan.
5374         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5375         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5376         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5377         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5378         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5379         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5380         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5381         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5382         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5384 2011-10-28  Andreas Schwab  <schwab@redhat.com>
5386         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5387         redefine if SHARED.
5388         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5390         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5391         wide char related routines to wcsmbs subdir.
5393 2011-10-27  Andreas Schwab  <schwab@redhat.com>
5395         [BZ #13344]
5396         * misc/sys/cdefs.h (__THROWNL): Define.
5397         * posix/unistd.h: Use __THREADNL instead of __THREAD
5398         for memory synchronization functions.
5400 2011-10-26  Roland McGrath  <roland@hack.frob.com>
5402         [BZ #13349]
5403         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5404         doesn't exist.
5405         * manual/stdio.texi (Obstack Streams): Node removed.
5407 2011-10-26  Andreas Schwab  <schwab@redhat.com>
5409         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5410         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5411         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5413         * math/math_private.h (math_force_eval): Allow non-addressable
5414         arguments.
5415         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5417 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
5419         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5420         file is not needed.
5422         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5423         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5424         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5425         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5426         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5427         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5428         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5429         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5430         Add AVX variants.
5431         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5432         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5433         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5434         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5435         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5436         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5437         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5438         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5439         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5440         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5441         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5442         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5443         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5444         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5445         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5446         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5447         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5448         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5449         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5451         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5452         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
5454         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5455         place.  Use VEX encoding when compiling for AVX.
5457 2011-10-25  Andreas Schwab  <schwab@redhat.com>
5459         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5460         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5462         * string/test-strchr.c (do_test): Don't generate NUL bytes.
5464 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
5466         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5467         useless if() expression.
5468         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5469         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5470         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5471         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5472         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5473         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5474         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5475         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5476         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5477         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5478         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5479         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5480         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5481         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5482         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5483         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5484         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5485         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5486         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5488         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5490 2011-10-25  Andreas Schwab  <schwab@redhat.com>
5492         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5493         condition.
5494         * elf/dl-fini.c (_dl_sort_fini): Likewise.
5496 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
5498         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5499         .text section.  Avoid duplicate constants.
5500         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5501         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5502         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5503         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5504         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5505         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5506         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5507         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5508         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5509         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5510         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5511         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5512         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5513         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5514         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5515         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5516         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5517         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5518         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5519         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5520         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5521         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5522         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5523         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5524         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5525         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5526         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5527         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5528         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5529         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5530         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5531         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5532         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5533         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5534         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5535         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5536         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5537         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5538         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5539         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5540         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5541         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5542         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5543         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5544         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5546 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
5548         * sysdeps/x86_64/dla.h: Move to ...
5549         * sysdeps/x86_64/fpu/dla.h: ...here.
5550         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5551         situations.  Use __builtin_fma only for gcc 4.6 and up.
5553         * config.make.in: Add have-mfma4 entry.
5554         * configure.in: Substitute libc_cv_cc_fma4.
5555         * math/Makefile (dbl-only-routines): Add sincostab.
5556         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5557         Use __sincostab not sincos.
5558         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5559         name is a macro.
5560         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5561         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5562         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5563         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
5564         using __copysign.
5565         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
5566         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
5567         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5568         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5569         and __inv.
5570         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5571         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5572         __copysign.
5573         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
5574         define aliases when function name is a macro.
5575         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5576         sysdeps/ieee754/dbl-64/sincos.tbl.
5577         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5578         fma4-enabled routines.
5579         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5580         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5581         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5582         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5583         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5584         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5585         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5586         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5587         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5588         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5589         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5590         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5591         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5592         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5593         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5594         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5595         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5596         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5597         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5598         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5599         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5600         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5601         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5602         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5603         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5604         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5605         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5606         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5607         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5608         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5610         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5611         rename.
5612         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5613         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5614         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5615         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5616         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5617         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5618         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5619         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5621 2011-10-24  Andreas Schwab  <schwab@redhat.com>
5623         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5625 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
5627         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5629         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5630         prediction.
5631         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5633         * string/strnlen.c: Don't define STRNLEN, reverse logic.
5634         Remove unused variable magic_bits.
5635         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5637         * string/strnlen.c: Define and use STRNLEN macro.
5638         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5639         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5640         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5641         * wcsmbs/wcslen.c: Define and use WCSLEN.
5642         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5643         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5644         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5645         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5646         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5647         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5648         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5650 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5652         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5653         strnlen-sse2-no-bsf.
5654         Rename strlen-no-bsf to strlen-sse2-no-bsf.
5655         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5656         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5657         Add strnlen support.
5658         (USE_AS_STRNLEN): New macro.
5659         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5660         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5661         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5662         * sysdeps/x86_64/wcslen.S: New file.
5664 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
5666         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5667         XMM-moves are used for copying on small sizes.
5669 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5671         * wcsmbs/Makefile (strop-tests): Add wcschr.
5672         * wcsmbs/test-wcschr.c: New file.
5673         * string/test-strchr.c: Update.
5674         Add wcschr support.
5675         (WIDE): New macro.
5677 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5679         * wcsmbs/Makefile (strop-tests): Add wcslen.
5680         * wcsmbs/test-wcslen.c: New file.
5681         * string/test-strlen.c: Update.
5682         Add wcslen support.
5683         (WIDE): New macro.
5685 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
5687         * po/it.po: Update from translation team.
5689 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5691         * sysdeps/x86_64/wcscmp.S: Update.
5692         Fix wrong comparison semantics.
5693         wcscmp shall use signed comparison not unsigned.
5694         Don't use substraction to avoid overflow bug.
5695         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5696         * wcsmbc/wcscmp.c: Likewise.
5697         * string/test-strcmp.c: Likewise.
5698         Add new tests to check cases with negative values.
5700 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
5702         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5703         * sysdeps/x86_64/dla.h: ...here.  New file.
5704         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5705         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5706         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5707         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5708         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5709         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5710         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5711         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5712         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5714 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
5716         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5717         __ynl_finite aliases.
5719 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
5721         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5723         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5724         define DLA_FMA.
5725         [DLA_FMA] (EMULV): Use DLA_FMA.
5726         [DLA_FMA] (MUL12): Use EMULV.
5727         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5728         that are not needed.
5729         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5730         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5731         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5732         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5733         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5734         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5735         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5737 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
5739         * math/s_nan.c: Undef __nan.
5740         * math/s_nanf.c: Undef __nanf.
5741         * math/s_nanl.c: Undef __nanl.
5742         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5743         "math_private.h".
5745 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
5747         * math/s_catan.c: Add branch predictions.
5748         * math/s_catanf.c: Likewise.
5749         * math/s_catanh.c: Likewise.
5750         * math/s_catanhf.c: Likewise.
5751         * math/s_catanhl.c: Likewise.
5752         * math/s_catanl.c: Likewise.
5753         * math/s_cexp.c: Likewise.
5754         * math/s_cexpf.c: Likewise.
5755         * math/s_cexpl.c: Likewise.
5756         * math/s_clog.c: Likewise.
5757         * math/s_clog10.c: Likewise.
5758         * math/s_clog10f.c: Likewise.
5759         * math/s_clog10l.c: Likewise.
5760         * math/s_clogf.c: Likewise.
5761         * math/s_clogl.c: Likewise.
5762         * math/s_csqrt.c: Likewise.
5763         * math/s_csqrtf.c: Likewise.
5764         * math/s_csqrtl.c: Likewise.
5765         * math/s_ctanf.c: Likewise.
5766         * math/s_ctanh.c: Likewise.
5767         * math/s_ctanhf.c: Likewise.
5768         * math/s_ctanhl.c: Likewise.
5769         * math/s_ctanl.c: Likewise.
5771         * math/math_private.h: Define __nan, __nanf, __nanl.
5772         * math/s_cacosh.c: Include <math_private.h>.
5773         * math/s_cacoshl.c: Likewise.
5774         * math/s_casinh.c: Likewise.
5775         * math/s_casinhf.c: Likewise.
5776         * math/s_casinhl.c: Likewise.
5777         * math/s_ccos.c: Rely entire on ccosh.
5778         * math/s_ccosf.c: Rely entire on ccoshf.
5779         * math/s_ccosl.c: Rely entirely on ccoshl.
5780         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
5781         Remove tests for FE_INVALID.
5782         * math/s_ccoshf.c: Likewise.
5783         * math/s_ccoshl.c: Likewise.
5784         * math/s_csin.c: Likewise.
5785         * math/s_csinf.c: Likewise.
5786         * math/s_csinh.c Likewise.
5787         * math/s_csinhf.c: Likewise.
5788         * math/s_csinhl.c: Likewise.
5789         * math/s_csinl.c: Likewise.
5790         * math/s_ctan.c: Likewise.
5791         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5792         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5793         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5795 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
5797         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5798         compilation problems.
5800         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5801         __builtin_expect.
5803 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
5805         * sysdeps/i386/configure.in: Test for -mfma4 option.
5806         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5807         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5808         COMMON_CPUID_INDEX_80000001.
5809         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5810         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5811         use it if FMA3 is not supported.
5812         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5814         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5815         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5817 2011-10-20  Andreas Schwab  <schwab@redhat.com>
5819         [BZ #12892]
5820         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5821         it would create a cycle with a link time dependency.
5823 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
5825         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5826         instruction.
5827         * string/Makefile (strop-tests): Add rawmemchr.
5828         * string/test-rawmemchr.c: New file.
5830         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5831         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
5832         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
5833         when compiling str{,n}casecmp and when AVX is available.  Hook up
5834         new optimized code in initializers.
5836 2011-10-19  Andreas Schwab  <schwab@redhat.com>
5838         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5839         __feraiseexcept instead of feraiseexcept.
5841 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
5843         * math/math_private.h: Define defaults for libc_fetestexcept and
5844         libc_feupdateenv.
5845         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5846         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5847         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5848         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5849         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5850         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5851         libc_fetestexcept and libc_feupdateenv.
5853         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5854         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5855         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5856         * sysdeps/x86_64/fpu/math_private.h: Define special version of
5857         libc_feholdexcept_setround.
5859         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5860         Add s_nearbyint-c and s_nearbyintf-c.
5861         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5862         nearbyintf inlines.
5863         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5864         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5865         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5866         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5868         * math/math_private.h: Define defaults for libc_fegetround,
5869         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5870         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5871         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5872         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5873         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5874         standard functions.
5875         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5876         Remove comments and hacks for old compiler versions.
5877         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5878         libc_fegetround, libc_fesetround, libc_feholdexcept, and
5879         libc_feholdexceptl.
5881 2011-10-18  Andreas Schwab  <schwab@redhat.com>
5883         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
5884         (__feraiseexcept_renamed): Add __NTH.
5885         (feraiseexcept): Add __NTH.  Rename local variables to fix
5886         namespace violations.
5888 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
5890         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5892         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5894         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5895         recently added interfaces.
5896         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5898         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5899         about macro parameter expansion.
5901         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5902         __NO_MATH_INLINES is defined.  Cleanups.
5904         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5905         and __floorf is target has SSE4.1.
5906         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5907         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5908         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5909         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5911         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5912         name.
5913         (floorf): Likewise.
5915         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5917 2011-10-17  Andreas Schwab  <schwab@redhat.com>
5919         * misc/sys/cdefs.h: Fix last change.
5921         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5922         database lookup.
5924 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
5926         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5928         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5929         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5930         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5931         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5932         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5933         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5934         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5935         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5936         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5937         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5938         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5939         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5940         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5941         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5942         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5943         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5944         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5945         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5946         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5947         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5948         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5949         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5951         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5952         ceil, ceilf, floor, floorf.
5954         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5955         Perform IRELATIVE relocations last.
5957         * elf/do-rel.h: Add another parameter nrelative, replacing the
5958         local variable with the same name.  Change name of the function
5959         to end in Rel or Rela (uppercase).
5960         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5961         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
5962         elf_dynamic_do_##reloc function.
5964 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
5966         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5967         is sufficient, at least on modern CPUs.
5969         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5971         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5972         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5974         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5975         __expl_finite.
5976         * math/bits/math-finite.h: Add entries for exp.
5977         * math/e_expl.c: Add __*_finite alias.
5978         * sysdeps/i386/fpu/e_exp.S: Likewise.
5979         * sysdeps/i386/fpu/e_expf.S: Likewise.
5980         * sysdeps/i386/fpu/e_expl.c: Likewise.
5981         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5982         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5983         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5984         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5985         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5986         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5987         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5989         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5990         is sufficient, at least on modern CPUs.
5992         * ctype/ctype-info.c (__ctype_init): Define.
5993         * include/ctype.h (__ctype_init): Declare.
5994         (__ctype_b_loc): The variable is always initialized.
5995         (__ctype_toupper_loc): Likewise.
5996         (__ctype_tolower_loc): Likewise.
5997         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5998         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6000 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
6002         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6004         * configure.in: Also look in $cxxmachine/include for C++ system
6005         headers.
6007 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6009         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6010         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6011         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6012         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
6013         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6014         (USE_AS_WMEMCMP): New macro.
6015         Fixing indents.
6016         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6017         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6018         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6019         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6020         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6021         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6022         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6023         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6024         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6025         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6026         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6027         (USE_AS_WMEMCMP): New macro.
6028         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6029         * sysdeps/string/test-memcmp.c: Update.
6030         Fix simple_wmemcmp.
6031         Add new tests.
6032         * wcsmbs/wmemcmp.c: Update.
6033         (WMEMCMP): New macro.
6034         Fix overflow bug.
6036 2011-10-12  Andreas Jaeger  <aj@suse.de>
6038         [BZ #13268]
6039         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6041 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
6043         * libio/iofwide.c (do_length): Avoid warning.
6045         * ctype/ctype.h (__isctype_f): Add missing __THROW.
6047 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
6049         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6051         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6052         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6053         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6054         * sysdeps/i386/i686/fpu/e_log.S: New file.
6055         * sysdeps/i386/i686/fpu/e_logf.S: New file.
6056         * sysdeps/i386/i686/fpu/e_logl.S: New file.
6058         * ctype/ctype.h: Add support for inlined isXXX functions when
6059         compiling C++ code.
6061 2011-10-14  Andreas Schwab  <schwab@redhat.com>
6063         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6065         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6067 2011-10-13  Roland McGrath  <roland@hack.frob.com>
6069         [BZ #13291]
6070         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6072 2011-10-13  Andreas Schwab  <schwab@redhat.com>
6074         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6075         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6076         feraiseexcept.
6078         * sysdeps/x86_64/memrchr.S: Check for zero size.
6080         * string/stratcliff.c: Add memrchr tests.
6082 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6084         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6085         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6086         rawmemchr-sse2 rawmemchr-sse2-bsf.
6087         * sysdeps/i386/i686/multiarch/memchr.S: New file.
6088         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6089         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6090         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6091         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6092         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6093         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6094         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6095         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6096         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6097         * string/memrchr.c (MEMRCHR): New macro.
6099 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
6101         Add integration with gcc's -ffinite-math-only and optimize wrapper
6102         functions in libm.
6103         * Versions.def: Define GLIBC_2.15 version for libm.
6104         * math/Makefile (headers): Add bits/math-finite.h.
6105         * math/bits/math-finite.h: New file.
6106         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6107         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6108         * math/e_acoshl.c: Add __*_finite alias.
6109         * math/e_acosl.c: Likewise.
6110         * math/e_asinl.c: Likewise.
6111         * math/e_atan2l.c: Likewise.
6112         * math/e_atanhl.c: Likewise.
6113         * math/e_coshl.c: Likewise.
6114         * math/e_exp10.c: Likewise.
6115         * math/e_exp10f.c: Likewise.
6116         * math/e_exp10l.c: Likewise.
6117         * math/e_exp2l.c: Likewise.
6118         * math/e_fmodl.c: Likewise.
6119         * math/e_gammal_r.c: Likewise.
6120         * math/e_hypotl.c: Likewise.
6121         * math/e_j0l.c: Likewise.
6122         * math/e_j1l.c: Likewise.
6123         * math/e_jnl.c: Likewise.
6124         * math/e_lgammal_r.c: Likewise.
6125         * math/e_log10l.c: Likewise.
6126         * math/e_log2l.c: Likewise.
6127         * math/e_logl.c: Likewise.
6128         * math/e_powl.c: Likewise.
6129         * math/e_sinhl.c: Likewise.
6130         * math/e_sqrtl.c: Likewise.
6131         * math/e_scalb.c: Completely rewritten and optimized.
6132         * math/e_scalbf.c: Likewise.
6133         * math/e_scalbl.c: Likewise.
6134         * math/w_acos.c: Likewise.
6135         * math/w_acosf.c: Likewise.
6136         * math/w_acosl.c: Likewise.
6137         * math/w_acosh.c: Likewise.
6138         * math/w_acoshf.c: Likewise.
6139         * math/w_acoshl.c: Likewise.
6140         * math/w_asin.c: Likewise.
6141         * math/w_asinf.c: Likewise.
6142         * math/w_asinl.c: Likewise.
6143         * math/w_atan2.c: Likewise.
6144         * math/w_atan2f.c: Likewise.
6145         * math/w_atan2l.c: Likewise.
6146         * math/w_atanh.c: Likewise.
6147         * math/w_atanhf.c: Likewise.
6148         * math/w_atanhl.c: Likewise.
6149         * math/w_exp10.c: Likewise.
6150         * math/w_exp10f.c: Likewise.
6151         * math/w_exp10l.c: Likewise.
6152         * math/w_fmod.c: Likewise.
6153         * math/w_fmodf.c: Likewise.
6154         * math/w_fmodl.c: Likewise.
6155         * math/w_j0.c: Likewise.
6156         * math/w_j0f.c: Likewise.
6157         * math/w_j0l.c: Likewise.
6158         * math/w_j1.c: Likewise.
6159         * math/w_j1f.c: Likewise.
6160         * math/w_j1l.c: Likewise.
6161         * math/w_jn.c: Likewise.
6162         * math/w_jnf.c: Likewise.
6163         * math/w_log.c: Likewise.
6164         * math/w_logf.c: Likewise.
6165         * math/w_logl.c: Likewise.
6166         * math/w_log10.c: Likewise.
6167         * math/w_log10f.c: Likewise.
6168         * math/w_log10l.c: Likewise.
6169         * math/w_log2.c: Likewise.
6170         * math/w_log2f.c: Likewise.
6171         * math/w_log2l.c: Likewise.
6172         * math/w_pow.c: Likewise.
6173         * math/w_powf.c: Likewise.
6174         * math/w_powl.c: Likewise.
6175         * math/w_remainder.c: Likewise.
6176         * math/w_remainderf.c: Likewise.
6177         * math/w_remainderl.c: Likewise.
6178         * math/w_scalb.c: Likewise.
6179         * math/w_scalbf.c: Likewise.
6180         * math/w_scalbl.c: Likewise.
6181         * math/w_sqrt.c: Likewise.
6182         * math/w_sqrtf.c: Likewise.
6183         * math/w_sqrtl.c: Likewise.
6184         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6185         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
6186         used.
6187         * math/math_private.h: Declare __kernel_standard_f.
6188         * math/w_cosh.c: Remove cruft and optimize a bit.
6189         * math/w_coshf.c: Likewise.
6190         * math/w_coshl.c: Likewise.
6191         * math/w_exp2.c: Likewise.
6192         * math/w_exp2f.c: Likewise.
6193         * math/w_exp2l.c: Likewise.
6194         * math/w_hypot.c: Likewise.
6195         * math/w_hypotf.c: Likewise.
6196         * math/w_hypotl.c: Likewise.
6197         * math/w_lgamma.c: Likewise.
6198         * math/w_lgamma_r.c: Likewise.
6199         * math/w_lgammaf.c: Likewise.
6200         * math/w_lgammaf_r.c: Likewise.
6201         * math/w_lgammal.c: Likewise.
6202         * math/w_lgammal_r.c: Likewise.
6203         * math/w_sinh.c: Likewise.
6204         * math/w_sinhf.c: Likewise.
6205         * math/w_sinhl.c: Likewise.
6206         * math/w_tgamma.c: Likewise.
6207         * math/w_tgammaf.c: Likewise.
6208         * math/w_tgammal.c: Likewise.
6209         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6210         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6211         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6212         Minor optimizations.  Pretty printing.  Remove cruft.
6213         * sysdeps/i386/fpu/e_acosf.S: Likewise.
6214         * sysdeps/i386/fpu/e_acosh.S: Likewise.
6215         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6216         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6217         * sysdeps/i386/fpu/e_acosl.c: Likewise.
6218         * sysdeps/i386/fpu/e_asin.S: Likewise.
6219         * sysdeps/i386/fpu/e_asinf.S: Likewise.
6220         * sysdeps/i386/fpu/e_atan2.S: Likewise.
6221         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6222         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6223         * sysdeps/i386/fpu/e_atanh.S: Likewise.
6224         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6225         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6226         * sysdeps/i386/fpu/e_exp10.S: Likewise.
6227         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6228         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6229         * sysdeps/i386/fpu/e_exp2.S: Likewise.
6230         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6231         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6232         * sysdeps/i386/fpu/e_fmod.S: Likewise.
6233         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6234         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6235         * sysdeps/i386/fpu/e_hypot.S: Likewise.
6236         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6237         * sysdeps/i386/fpu/e_log.S: Likewise.
6238         * sysdeps/i386/fpu/e_log10.S: Likewise.
6239         * sysdeps/i386/fpu/e_log10f.S: Likewise.
6240         * sysdeps/i386/fpu/e_log10l.S: Likewise.
6241         * sysdeps/i386/fpu/e_log2.S: Likewise.
6242         * sysdeps/i386/fpu/e_log2f.S: Likewise.
6243         * sysdeps/i386/fpu/e_log2l.S: Likewise.
6244         * sysdeps/i386/fpu/e_logf.S: Likewise.
6245         * sysdeps/i386/fpu/e_logl.S: Likewise.
6246         * sysdeps/i386/fpu/e_pow.S: Likewise.
6247         * sysdeps/i386/fpu/e_powf.S: Likewise.
6248         * sysdeps/i386/fpu/e_powl.S: Likewise.
6249         * sysdeps/i386/fpu/e_remainder.S: Likewise.
6250         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6251         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6252         * sysdeps/i386/fpu/e_scalb.S: Likewise.
6253         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6254         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6255         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6256         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6257         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6258         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6259         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6260         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6261         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6262         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6263         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6264         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6265         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6266         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6267         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6268         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6269         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6270         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6271         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6272         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6273         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6274         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6275         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6276         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6277         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6278         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6279         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6280         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6281         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6282         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6283         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6284         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6285         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6286         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6287         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6288         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6289         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6290         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6291         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6292         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6293         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6294         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6295         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6296         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6297         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6298         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6299         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6300         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6301         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6302         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6303         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6304         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6305         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6306         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6307         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6308         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6309         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6310         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6311         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6312         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6313         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6314         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6315         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6316         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6317         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6318         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6319         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6320         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6321         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6322         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6323         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6324         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6325         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6326         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6327         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6328         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6329         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6330         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6331         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6332         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6333         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6334         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6335         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6336         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6337         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6338         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6339         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6340         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6341         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6342         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6343         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6344         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6345         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6346         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6347         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6348         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6349         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6350         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6351         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6352         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6353         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6354         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6355         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6356         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6357         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6358         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6359         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6360         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6361         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6362         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6363         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6364         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6365         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6366         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6367         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6368         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
6369         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6370         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6371         (__isnanf): Likewise.
6372         (__isinf_ns): Likewise.
6373         (__isinf_nsf): Likewise.
6374         (__finite): Likewise.
6375         (__finitef): Likewise.
6376         (__ieee754_sqrt): Define as macro.
6377         (__ieee754_sqrtf): Define as macro.
6378         (__ieee754_sqrtl): Define as macro.
6379         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6380         inlined copy.
6381         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6382         __FINITE_MATH_ONLY__ consistent.
6383         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6385 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
6387         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6388         of rawmemchr.
6390         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6392 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
6394         * po/ja.po: Update from translation team.
6396 2011-10-08  Roland McGrath  <roland@hack.frob.com>
6398         * locale/programs/locarchive.c (prepare_address_space): New function.
6399         (create_archive, enlarge_archive, open_archive): Use it.
6401         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6402         inside [SHARED], where it is used.
6404         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6406         * nss/getent.c (netgroup_keys): Remove unused variable.
6407         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6409 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
6411         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6412         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6413         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6414         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6415         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6416         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6417         * math/Makefile (libm-calls): Add s_isinf_ns.
6418         * math/divtc3.c: Use __isinf_nsl instead of isinf.
6419         * math/multc3.c: Likewise.
6420         * math/s_casin.c: Likewise.
6421         * math/s_casinf.c: Likewise.
6422         * math/s_casinl.c: Likewise.
6423         * math/s_ccos.c: Likewise.
6424         * math/s_ccosf.c: Likewise.
6425         * math/s_ccosl.c: Likewise.
6426         * math/s_ctan.c: Likewise.
6427         * math/s_ctanf.c: Likewise.
6428         * math/s_ctanh.c: Likewise.
6429         * math/s_ctanhf.c: Likewise.
6430         * math/s_ctanhl.c: Likewise.
6431         * math/s_ctanl.c: Likewise.
6432         * math/w_fmod.c: Likewise.
6433         * math/w_fmodf.c: Likewise.
6434         * math/w_fmodl.c: Likewise.
6435         * math/w_remainder.c: Likewise.
6436         * math/w_remainderf.c: Likewise.
6437         * math/w_remainderl.c: Likewise.
6438         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6439         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6440         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6441         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6442         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6443         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6444         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6445         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6447         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6448         of the number.
6449         * stdio-common/printf_fphex.c: Likewise.
6450         * stdio-common/printf_size.c: Likewise.
6452         * math/e_exp10.c: Include math_private.h using <...> not "...".
6453         * math/e_exp10f.c: Likewise.
6454         * math/e_exp10l.c: Likewise.
6455         * math/e_exp2l.c: Likewise.
6456         * math/e_j0l.c: Likewise.
6457         * math/e_j1l.c: Likewise.
6458         * math/e_jnl.c: Likewise.
6459         * math/e_lgammal_r.c: Likewise.
6460         * math/e_rem_pio2l.c: Likewise.
6461         * math/e_scalb.c: Likewise.
6462         * math/e_scalbf.c: Likewise.
6463         * math/e_scalbl.c: Likewise.
6464         * math/k_cosl.c: Likewise.
6465         * math/k_sinl.c: Likewise.
6466         * math/k_tanl.c: Likewise.
6467         * math/s_cacoshf.c: Likewise.
6468         * math/s_catan.c: Likewise.
6469         * math/s_catanf.c: Likewise.
6470         * math/s_catanh.c: Likewise.
6471         * math/s_catanhf.c: Likewise.
6472         * math/s_catanhl.c: Likewise.
6473         * math/s_catanl.c: Likewise.
6474         * math/s_ccosh.c: Likewise.
6475         * math/s_ccoshf.c: Likewise.
6476         * math/s_ccoshl.c: Likewise.
6477         * math/s_cexp.c: Likewise.
6478         * math/s_cexpf.c: Likewise.
6479         * math/s_cexpl.c: Likewise.
6480         * math/s_clog.c: Likewise.
6481         * math/s_clog10.c: Likewise.
6482         * math/s_clog10f.c: Likewise.
6483         * math/s_clog10l.c: Likewise.
6484         * math/s_clogf.c: Likewise.
6485         * math/s_clogl.c: Likewise.
6486         * math/s_csin.c: Likewise.
6487         * math/s_csinf.c: Likewise.
6488         * math/s_csinh.c: Likewise.
6489         * math/s_csinhf.c: Likewise.
6490         * math/s_csinhl.c: Likewise.
6491         * math/s_csinl.c: Likewise.
6492         * math/s_csqrt.c: Likewise.
6493         * math/s_csqrtf.c: Likewise.
6494         * math/s_csqrtl.c: Likewise.
6495         * math/s_ctan.c: Likewise.
6496         * math/s_ctanf.c: Likewise.
6497         * math/s_ctanh.c: Likewise.
6498         * math/s_ctanhf.c: Likewise.
6499         * math/s_ctanhl.c: Likewise.
6500         * math/s_ctanl.c: Likewise.
6501         * math/s_ldexp.c: Likewise.
6502         * math/s_ldexpf.c: Likewise.
6503         * math/s_ldexpl.c: Likewise.
6504         * math/s_significand.c: Likewise.
6505         * math/s_significandf.c: Likewise.
6506         * math/s_significandl.c: Likewise.
6507         * math/w_acos.c: Likewise.
6508         * math/w_acosf.c: Likewise.
6509         * math/w_acosh.c: Likewise.
6510         * math/w_acoshf.c: Likewise.
6511         * math/w_acoshl.c: Likewise.
6512         * math/w_acosl.c: Likewise.
6513         * math/w_asin.c: Likewise.
6514         * math/w_asinf.c: Likewise.
6515         * math/w_asinl.c: Likewise.
6516         * math/w_atan2.c: Likewise.
6517         * math/w_atan2f.c: Likewise.
6518         * math/w_atan2l.c: Likewise.
6519         * math/w_atanh.c: Likewise.
6520         * math/w_atanhf.c: Likewise.
6521         * math/w_atanhl.c: Likewise.
6522         * math/w_cosh.c: Likewise.
6523         * math/w_coshf.c: Likewise.
6524         * math/w_coshl.c: Likewise.
6525         * math/w_dremf.c: Likewise.
6526         * math/w_exp10.c: Likewise.
6527         * math/w_exp10f.c: Likewise.
6528         * math/w_exp10l.c: Likewise.
6529         * math/w_exp2.c: Likewise.
6530         * math/w_exp2f.c: Likewise.
6531         * math/w_fmod.c: Likewise.
6532         * math/w_fmodf.c: Likewise.
6533         * math/w_fmodl.c: Likewise.
6534         * math/w_hypot.c: Likewise.
6535         * math/w_hypotf.c: Likewise.
6536         * math/w_hypotl.c: Likewise.
6537         * math/w_j0.c: Likewise.
6538         * math/w_j0f.c: Likewise.
6539         * math/w_j0l.c: Likewise.
6540         * math/w_j1.c: Likewise.
6541         * math/w_j1f.c: Likewise.
6542         * math/w_j1l.c: Likewise.
6543         * math/w_jn.c: Likewise.
6544         * math/w_jnf.c: Likewise.
6545         * math/w_jnl.c: Likewise.
6546         * math/w_lgamma.c: Likewise.
6547         * math/w_lgamma_r.c: Likewise.
6548         * math/w_lgammaf.c: Likewise.
6549         * math/w_lgammaf_r.c: Likewise.
6550         * math/w_lgammal.c: Likewise.
6551         * math/w_lgammal_r.c: Likewise.
6552         * math/w_log.c: Likewise.
6553         * math/w_log10.c: Likewise.
6554         * math/w_log10f.c: Likewise.
6555         * math/w_log10l.c: Likewise.
6556         * math/w_log2.c: Likewise.
6557         * math/w_log2f.c: Likewise.
6558         * math/w_log2l.c: Likewise.
6559         * math/w_logf.c: Likewise.
6560         * math/w_logl.c: Likewise.
6561         * math/w_pow.c: Likewise.
6562         * math/w_powf.c: Likewise.
6563         * math/w_powl.c: Likewise.
6564         * math/w_remainder.c: Likewise.
6565         * math/w_remainderf.c: Likewise.
6566         * math/w_remainderl.c: Likewise.
6567         * math/w_scalb.c: Likewise.
6568         * math/w_scalbf.c: Likewise.
6569         * math/w_scalbl.c: Likewise.
6570         * math/w_sinh.c: Likewise.
6571         * math/w_sinhf.c: Likewise.
6572         * math/w_sinhl.c: Likewise.
6573         * math/w_sqrt.c: Likewise.
6574         * math/w_sqrtf.c: Likewise.
6575         * math/w_sqrtl.c: Likewise.
6576         * math/w_tgamma.c: Likewise.
6577         * math/w_tgammaf.c: Likewise.
6578         * math/w_tgammal.c: Likewise.
6580         * po/ja.po: Update from translation team.
6582 2011-09-29  Andreas Jaeger  <aj@suse.de>
6584         [BZ #13179]
6585         * sunrpc/netname.c (netname2host): Fix logic.
6587         [BZ #6779]
6588         [BZ #6783]
6589         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6590         correctly.
6591         * math/w_remainder.c (__remainder): Likewise.
6592         * math/w_remainderf.c (__remainderf): Likewise.
6593         * math/libm-test.inc (remainder_test): Add test cases.
6595 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6597         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
6598         sdiv_qrnnd.
6600 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
6602         * string/test-memcmp.c: Avoid unncessary #defines.
6603         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6605 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
6607         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6608         Use new sse2 version for core i3 - i7 as it's faster
6609         than sse42 version.
6610         (bit_Prefer_PMINUB_for_stringop): New.
6611         * sysdeps/x86_64/rawmemchr.S: Update.
6612         Replace with faster SSE2 version.
6613         * sysdeps/x86_64/memrchr.S: New file.
6614         * sysdeps/x86_64/memchr.S: Update.
6615         Replace with faster SSE2 version.
6617 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
6619         * elf/dl-load.c (lose): Add cast to avoid warning.
6621 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
6623         * po/ca.po: Update from translation team.
6625         * inet/getnetgrent_r.c: Hook up nscd.
6626         * nscd/Makefile (routines): Add nscd_netgroup.
6627         (nscd-modules): Add netgroupcache.
6628         (CFLAGS-netgroupcache.c): Define.
6629         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6630         (cache_search): Add const to second parameter.
6631         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6632         INNETGR.
6633         (dbs): Add netgrdb entry.
6634         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6635         (verify_persistent_db): Handle netgrdb.
6636         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6637         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6638         GETFDNETGR.
6639         (netgroup_response_header): Define.
6640         (innetgroup_response_header): Define.
6641         (datahead): Add netgroup_response_header and innetgroup_response_header
6642         elements.
6643         * nscd/nscd.conf: Add entries for netgroup cache.
6644         * nscd/nscd.h (dbtype): Add netgrdb.
6645         (_PATH_NSCD_NETGROUP_DB): Define.
6646         (netgroup_iov_disabled): Declare.
6647         (xmalloc, xcalloc, xrealloc): Move declarations here.
6648         (cache_search): Adjust prototype.
6649         Add netgroup-related prototypes.
6650         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6651         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6652         (__nscd_innetgr): Declare.
6653         * nscd/selinux.c (perms): Use access_vector_t as element type and
6654         add netgroup-related initializers.
6655         * nscd/netgroupcache.c: New file.
6656         * nscd/nscd_netgroup.c: New file.
6657         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6658         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6659         For four parameters use innetgr.
6660         * nss/nss_files/files-init.c: Add definition and callback for netgr.
6661         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6662         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6663         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6665         * nscd/connections.c (register_traced_file): Don't register file
6666         for disabled databases.
6668 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
6670         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6672         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6673         from tree and freeing node.
6675 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
6677         * nss/nsswitch.c (__nss_database_lookup): Handle
6678         nss_parse_service_list out of memory case.
6680 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
6682         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6683         out of memory case.
6685 2011-10-04  Andreas Schwab  <schwab@redhat.com>
6687         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6688         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6689         pass it down.
6690         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6691         elf_machine_rela, elf_machine_lazy_rel.
6692         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6693         (ELF_DYNAMIC_DO_REL): Likewise.
6694         (ELF_DYNAMIC_DO_RELA): Likewise.
6695         (ELF_DYNAMIC_RELOCATE): Likewise.
6696         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6697         to ELF_DYNAMIC_DO_REL.
6698         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6699         (dl_main): In trace mode always set __RTLD_NOIFUNC.
6700         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6701         elf_machine_rela.
6702         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6703         skip_ifunc, don't call ifunc function if non-zero.
6704         (elf_machine_rela): Likewise.
6705         (elf_machine_lazy_rel): Likewise.
6706         (elf_machine_lazy_rela): Likewise.
6707         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6708         (elf_machine_lazy_rel): Likewise.
6709         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6710         Likewise.
6711         (elf_machine_lazy_rel): Likewise.
6712         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6713         Likewise.
6714         (elf_machine_lazy_rel): Likewise.
6715         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6716         (elf_machine_lazy_rel): Likewise.
6717         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6718         (elf_machine_lazy_rel): Likewise.
6719         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6720         (elf_machine_lazy_rel): Likewise.
6721         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6722         (elf_machine_lazy_rel): Likewise.
6723         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6724         (elf_machine_lazy_rel): Likewise.
6725         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6726         (elf_machine_lazy_rel): Likewise.
6728 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
6730         * nss/nss_files/files-init.c (_nss_files_init): Use static
6731         initialization for all the *_traced_file variables.
6733 2011-09-28  Andreas Schwab  <schwab@redhat.com>
6735         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6737 2011-09-27  Roland McGrath  <roland@hack.frob.com>
6739         [BZ #13226]
6740         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6742 2011-09-27  Andreas Schwab  <schwab@redhat.com>
6744         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6745         Reread the line before reparsing it.
6747 2011-09-26  Andreas Schwab  <schwab@redhat.com>
6749         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6751 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
6752             Maxim Kuvyrkov  <maxim@codesourcery.com>
6753             Joseph Myers  <joseph@codesourcery.com>
6755         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6756         if needed for __stack_chk_guard.
6758 2011-09-19  Roland McGrath  <roland@hack.frob.com>
6760         * sysdeps/posix/spawni.c (script_execute): Always define it.
6761         It will be optimized away if unused.
6762         (maybe_script_execute): New function.
6763         (__spawni): Call it.
6765         * Makerules: Don't include tls.make.
6766         (config-tls): Always set to thread.
6767         * tls.make.c: File removed.
6769 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
6771         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6772         * config.make.in (CPPFLAGS-config): New substituted variable.
6774 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
6776         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6778         [BZ #13192]
6779         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6780         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6782 2011-09-15  Roland McGrath  <roland@hack.frob.com>
6784         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6785         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6786         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6787         (CALL_FAIL): Likewise.
6788         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6789         (CALL_FAIL): Macro removed.
6790         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6792 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
6794         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6795         for __FINITE_MATH_ONLY__ == 1.
6797 2011-09-15  Andreas Schwab  <schwab@redhat.com>
6799         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6800         __ieee754_sqrt instead of sqrt.
6801         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6802         __ieee754_sqrtf instead of sqrtf.
6803         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6804         __floorf instead of floorf.
6805         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6806         __floorf, __truncf instead of floorf, truncf.
6808 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
6810         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6812         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6813         __extern_always_inline.
6814         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6815         32-bit.
6817 2011-09-14  Andreas Schwab  <schwab@redhat.com>
6819         * elf/rtld.c (dl_main): Also relocate in dependency order when
6820         doing symbol dependency testing.
6822 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
6824         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6825         Always define `refsym'.
6827 2011-09-13  Andreas Schwab  <schwab@redhat.com>
6829         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6830         (__FD_ELT): Renamed from __FDELT.
6831         * misc/bits/select2.h (__FD_ELT): Likewise.
6832         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6833         __FD_MASK instead of __FDELT, __FDMASK.
6834         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6835         Likewise.
6836         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6837         Likewise.
6839         * elf/Makefile (gen-ldd): Fix pattern.
6841         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6842         (init_tls): Likewise.
6844 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
6846         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6848 2011-09-12  Andreas Schwab  <schwab@redhat.com>
6850         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6851         `struct cmsghdr *' instead of `void *'.
6852         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6853         Likewise.
6855 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
6857         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6858         if non-absolute.
6859         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6860         ldd_rewrite_script.
6862 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
6864         * configure.in: Remove --with-tls option.
6865         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6866         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6867         out in case it is missing.
6868         * sysdeps/ia64/elf/configure.in: Likewise.
6869         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6870         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6871         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6872         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6873         * sysdeps/sh/elf/configure.in: Likewise.
6874         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6875         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6876         * sysdeps/x86_64/elf/configure.in: Likewise.
6877         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6878         * sysdeps/mach/hurd/tls.h: Likewise.
6880         [BZ #13067]
6881         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6883         [BZ #13090]
6884         * configure.in: Fix use of AC_INIT.
6886         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6888 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
6890         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6891         __set_errno.
6892         * malloc/hooks.c: Likewise.
6894         [BZ #11929]
6895         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
6896         variables statically.
6897         (narenas): Initialize.
6898         (list_lock): Initialize.
6899         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
6900         initializtion of main_arena and list_lock.  Small cleanups.
6901         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6902         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
6903         Add initializers to main_arena and mp_.
6904         (malloc_state): Remove pagesize member.  Change all users to use
6905         GLRO(dl_pagesize).
6907         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6908         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
6909         is always initialized.
6911         * malloc/malloc.c: Removed unused configurations and dead code.
6912         * malloc/arena.c: Likewise.
6913         * malloc/hooks.c: Likewise.
6914         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
6916         * include/tls.h: Removed.  USE___THREAD must always be defined.
6917         * bits/libc-tsd.h: Don't handle !USE___THREAD.
6918         * elf/dl-libc.c: Likewise.
6919         * elf/dl-tsd.c: Likewise.
6920         * include/errno.h: Likewise.
6921         * include/netdb.h: Likewise.
6922         * include/resolv.h: Likewise.
6923         * inet/herrno-loc.c: Likewise.
6924         * inet/herrno.c: Likewise.
6925         * malloc/arena.c: Likewise.
6926         * malloc/hooks.c: Likewise.
6927         * malloc/malloc.c: Likewise.
6928         * resolv/res-state.c: Likewise.
6929         * resolv/res_libc.c: Likewise.
6930         * sysdeps/i386/dl-machine.h: Likewise.
6931         * sysdeps/ia64/dl-machine.h: Likewise.
6932         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6933         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6934         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6935         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6936         * sysdeps/sh/dl-machine.h: Likewise.
6937         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6938         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6939         * sysdeps/unix/i386/sysdep.S: Likewise.
6940         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6941         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6942         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6943         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6944         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6945         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6946         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6947         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6948         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6949         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6950         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6951         * sysdeps/x86_64/dl-machine.h: Likewise.
6952         * tls.make.c: Likewise.
6954         * configure.in: Remove --with-__thread option.  Make tests for
6955         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6956         tls_model attribute fail if no support is available.  Remove
6957         USE_IN_LIBIO.
6958         * Makeconfig: Adjust for dropped configure option.  All features are
6959         now mandatory.
6960         * Makerules: Likewise.
6961         * Versions.def: Likewise.
6962         * argp/argp-fmtstream.c: Likewise.
6963         * argp/argp-fmtstream.h: Likewise.
6964         * argp/argp-help.c: Likewise.
6965         * assert/assert.c: Likewise.
6966         * config.h.in: Likewise.
6967         * config.make.in: Likewise.
6968         * configure: Likewise.
6969         * configure.in: Likewise.
6970         * csu/Versions: Likewise.
6971         * csu/init.c: Likewise.
6972         * elf/tst-audit2.c: Likewise.
6973         * elf/tst-tls10.c: Likewise.
6974         * elf/tst-tls10.h: Likewise.
6975         * elf/tst-tls11.c: Likewise.
6976         * elf/tst-tls12.c: Likewise.
6977         * elf/tst-tls14.c: Likewise.
6978         * elf/tst-tlsmod11.c: Likewise.
6979         * elf/tst-tlsmod12.c: Likewise.
6980         * elf/tst-tlsmod13.c: Likewise.
6981         * elf/tst-tlsmod13a.c: Likewise.
6982         * elf/tst-tlsmod14a.c: Likewise.
6983         * elf/tst-tlsmod15b.c: Likewise.
6984         * elf/tst-tlsmod16a.c: Likewise.
6985         * elf/tst-tlsmod16b.c: Likewise.
6986         * elf/tst-tlsmod7.c: Likewise.
6987         * elf/tst-tlsmod8.c: Likewise.
6988         * elf/tst-tlsmod9.c: Likewise.
6989         * gmon/gmon.c: Likewise.
6990         * grp/fgetgrent_r.c: Likewise.
6991         * grp/putgrent.c: Likewise.
6992         * hurd/fopenport.c: Likewise.
6993         * include/libc-symbols.h: Likewise.
6994         * include/tls.h: Likewise.
6995         * intl/gettextP.h: Likewise.
6996         * intl/loadinfo.h: Likewise.
6997         * locale/global-locale.c: Likewise.
6998         * locale/localeinfo.h: Likewise.
6999         * mach/devstream.c: Likewise.
7000         * malloc/arena.c: Likewise.
7001         * malloc/set-freeres.c: Likewise.
7002         * misc/err.c: Likewise.
7003         * misc/getttyent.c: Likewise.
7004         * misc/mntent_r.c: Likewise.
7005         * posix/getopt.c: Likewise.
7006         * posix/wordexp.c: Likewise.
7007         * pwd/fgetpwent_r.c: Likewise.
7008         * resolv/Versions: Likewise.
7009         * resolv/res_hconf.c: Likewise.
7010         * shadow/fgetspent_r.c: Likewise.
7011         * shadow/putspent.c: Likewise.
7012         * stdio-common/printf_fphex.c: Likewise.
7013         * stdio-common/tmpfile.c: Likewise.
7014         * stdlib/abort.c: Likewise.
7015         * stdlib/fmtmsg.c: Likewise.
7016         * sunrpc/auth_unix.c: Likewise.
7017         * sunrpc/clnt_perr.c: Likewise.
7018         * sunrpc/clnt_tcp.c: Likewise.
7019         * sunrpc/clnt_udp.c: Likewise.
7020         * sunrpc/clnt_unix.c: Likewise.
7021         * sunrpc/openchild.c: Likewise.
7022         * sunrpc/svc_simple.c: Likewise.
7023         * sunrpc/svc_tcp.c: Likewise.
7024         * sunrpc/svc_udp.c: Likewise.
7025         * sunrpc/svc_unix.c: Likewise.
7026         * sunrpc/xdr.c: Likewise.
7027         * sunrpc/xdr_array.c: Likewise.
7028         * sunrpc/xdr_rec.c: Likewise.
7029         * sunrpc/xdr_ref.c: Likewise.
7030         * sunrpc/xdr_stdio.c: Likewise.
7032 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7034         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7036 2011-07-03  Andreas Jaeger  <aj@suse.de>
7038         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7039         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7040         regenerate with gen-libm-tests.pl.
7042 2010-05-12  Petr Baudis  <pasky@suse.cz>
7044         [BZ #11589]
7045         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7046         around j0() zero points by switching to j1().
7047         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7048         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7049         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7050         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7052 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7054         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7055         instead of 0.
7056         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7057         instead of 0.                              .
7058         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7059         Patch in part by Pavel Roskin <proski@gnu.org>.
7061         [BZ #13138]
7062         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7063         realloc.
7064         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
7065         Free memory block if necessary.
7067         [BZ #12847]
7068         * libio/genops.c (INTDEF): For string streams the _lock pointer can
7069         be NULL.  Don't lock in this case.
7071 2011-09-09  Roland McGrath  <roland@hack.frob.com>
7073         * elf/elf.h (ELFOSABI_GNU): New macro.
7074         (ELFOSABI_LINUX): Define to that.
7076 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
7078         * string/strncat.c (strncat): Undef the symbol in case it has been
7079         defined in bits/string.h.
7081 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
7083         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7085         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7086         link map.
7088 2011-08-17  Andreas Jaeger  <aj@suse.de>
7090         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7092 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7093             Ian Lance Taylor  <iant@google.com>
7095         * math/libm-test.inc (lround_test): New testcase.
7096         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7098 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
7100         * Makefile: Remove support for automatic cvs check-ins.
7101         * Makerules: Likewise.
7102         * config.make.in: Likewise.
7103         * configure.in: Likewise.
7104         * intl/Makefile: Likewise.
7105         * locale/Makefile: Likewise.
7106         * po/Makefile: Likewise.
7107         * posix/Makefile: Likewise.
7108         * sysdeps/gnu/Makefile: Likewise.
7109         * sysdeps/mach/hurd/Makefile: Likewise.
7110         * sysdeps/sparc/sparc32/Makefile: Likewise.
7112         [BZ #13118]
7113         * posix/Makefile (bug-regex32-ENV): Define.
7114         Patch by John Stanley <jpsinthemix@verizon.net>.
7116         * misc/Makefile (headers): Add bits/select2.h.
7117         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7118         * misc/bits/select2.h: New file.
7119         * include/bits/select2.h: New file.
7120         * debug/Makefile (routines): Add fdelt_chk.
7121         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7122         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7123         FD_ISSET.
7124         * debug/fdelt_chk.c: New file.
7126         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
7127         * wcsmbs/test-wmemcmp.c: Likewise.
7128         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7129         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7131 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7133         * string/Makefile (strop-tests): Add memcmp.
7134         * string/test-wmemcmp.c: New file.
7135         * string/test-memcmp.c: Add wmemcmp support.
7137 2011-09-08  Roland McGrath  <roland@hack.frob.com>
7139         [BZ #13153]
7140         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7141         2011-07-19 change.
7143         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7144         garbage value in a __mach_port_mod_refs call in the cases of the
7145         task-self and thread-self ports.
7147 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7149         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7151 2011-09-08  Andreas Schwab  <schwab@redhat.com>
7153         * elf/dl-load.c (lose): Check for non-null L.
7155 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
7157         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7159         * elf/dl-libc.c (dlerror_run): Pass back error code from
7160         dl_catch_error.
7162         [BZ #13123]
7163         * elf/dl-load.c (lose): Free l_origin if it is valid.
7165         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7166         names.
7167         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7168         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7169         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7170         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7171         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7172         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7174 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7176         * sysdeps/powerpc/fpu/e_hypot.c: New file.
7177         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7178         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7179         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7180         * sysdeps/powerpc/fpu/k_cosf.c: New file.
7181         * sysdeps/powerpc/fpu/k_sinf.c: New file.
7182         * sysdeps/powerpc/fpu/s_cosf.c: New file.
7183         * sysdeps/powerpc/fpu/s_sinf.c: New file.
7184         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7185         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7187 2011-08-15  Alan Modra  <amodra@gmail.com>
7189         [BZ #13092]
7190         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7191         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7192         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
7193         ppc_mcount to static-only-routines.
7194         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7195         __mcount_internal.
7196         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7197         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
7199 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
7201         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7202         for finite and infinity parameters.
7204 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
7206         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7207         and add nop instructions for throughput optimization.
7208         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7210 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
7212         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7213         aligned copy for power7 with vector-scalar instructions.
7214         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7216 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
7218         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7219         AVX check.
7221 2011-09-07  Andreas Schwab  <schwab@redhat.com>
7223         [BZ #13144]
7224         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7225         last change.
7227 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
7229         * sysdeps/unix/sysv/linux/x86_64/init-first.c
7230         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7231         syscall wrapper around clock_gettime in __vdso_clock_gettime.
7232         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7233         clock_gettime.
7235 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
7237         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7238         Forgot to demangle the pointer.
7240         * sysdeps/i386/sysdep.h: Define atom_text_section.
7241         * sysdeps/x86_64/sysdep.h: Likewise.
7242         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7243         section with atom_text_section.
7244         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7245         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7246         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7247         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7248         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7250         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7251         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7252         already be defined.  Change to take two parameters and don't assign
7253         result to variable.  Adjust all users.
7254         Define INTERNAL_GETTIME if not already defined.
7255         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7256         call.
7257         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7258         HAVE_CLOCK_GETTIME_VSYSCALL.
7259         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7261         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7262         gettimeofday vsyscall, just use time.
7264 2011-09-06  Andreas Schwab  <schwab@redhat.com>
7266         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7267         <errno.h>.
7269 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
7271         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7272         syscall on x86-64.
7273         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7274         syscall.
7275         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7276         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7277         syscall if possible.
7279 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7281         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7282         e_ident.  Don't pass to find_mapsXX.
7283         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7285 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7287         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7288         strchr-sse2-no-bsf strrchr-sse2-no-bsf
7289         * sysdeps/x86_64/multiarch/strchr.S: Update.
7290         Check bit_slow_BSF bit.
7291         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7292         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7293         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7295 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7297         [BZ #13134]
7298         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7299         before glibc 2.15.
7300         (tryshell): Define.
7301         (__spawni): Change last parameter to be flag.  Test
7302         SPAWN_XFLAGS_USE_PATH flag to use path or not.
7303         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7304         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7305         * posix/spawni.c: Likewise.
7306         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7307         * posix/spawnp.c: Likewise.  Change normal version to use
7308         SPAWN_XFLAGS_USE_PATH.
7309         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7310         SPAWN_XFLAGS_TRY_SHELL.
7312         [BZ #13150]
7313         * posix/glob.h: Remove gcc 1.x support.
7315         [BZ #13068]
7316         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7318 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7320         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7321         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7322         strrchr-sse2-bsf
7323         * sysdeps/i386/i686/multiarch/strchr.S: New file.
7324         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7325         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7326         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7327         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7328         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7330 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7332         * sysdeps/x86_64/wcscmp.S: New file.
7334         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7335         wcscmp-c wcscmp-sse2
7336         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7337         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7338         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7339         * wcsmbs/wcscmp.c: Allow renaming.
7341 2011-09-05  David S. Miller  <davem@davemloft.net>
7343         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7344         stack slot, rather than the struct return pointer slot.
7345         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7346         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7348         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7350 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
7352         * po/ja.po: Update from translation team.
7354         [BZ #13144]
7355         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7356         kernel in 64-bit binaries.
7358 2011-09-01  David S. Miller  <davem@davemloft.net>
7360         * elf/elf.h (HWCAP_SPARC_*): Move to..
7361         * sysdeps/sparc/sysdep.h: this new file and add new values.
7362         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7363         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7364         _DL_HWCAP_COUNT to 24.
7365         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7366         entries.
7367         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7368         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7369         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7370         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7371         instead of magic constants.
7372         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7374 2011-08-31  David S. Miller  <davem@davemloft.net>
7376         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7377         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7378         Reimplement to do errno handling inline.
7379         (SYSCALL_ERROR_HANDLER): New macro.
7380         (__SYSCALL_STRING): Do not do errno handling in asm.
7381         (__CLONE_SYSCALL_STRING): Delete.
7382         (__INTERNAL_SYSCALL_STRING): Delete.
7383         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7384         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7385         (PSEUDO): Reimplement to do errno handling inline.
7386         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7387         (SYSCALL_ERROR_HANDLER): New macro.
7388         (__SYSCALL_STRING): Do not do errno handling in asm.
7389         (__CLONE_SYSCALL_STRING): Delete.
7390         (__INTERNAL_SYSCALL_STRING): Delete.
7391         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7392         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7393         i386.
7394         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7395         (inline_syscall*): Add 'err' argument.
7396         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7397         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7398         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7399         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7401         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7402         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7404 2011-08-30  Andreas Schwab  <schwab@redhat.com>
7406         * elf/rtld.c (dl_main): Relocate objects in dependency order.
7408 2011-08-29  Jiri Olsa <jolsa@redhat.com>
7410         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7411         directive.
7413 2011-08-24  David S. Miller  <davem@davemloft.net>
7415         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7417 2011-08-24  Andreas Schwab  <schwab@redhat.com>
7419         * elf/Makefile: Add rules to build and run unload8 test.
7420         * elf/unload8.c: New file.
7421         * elf/unload8mod1.c: New file.
7422         * elf/unload8mod1x.c: New file.
7423         * elf/unload8mod2.c: New file.
7424         * elf/unload8mod3.c: New file.
7426         * elf/dl-close.c (_dl_close_worker): Reset private search list if
7427         it wasn't used.
7429 2011-08-23  David S. Miller  <davem@davemloft.net>
7431         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7432         subtract stack bias.
7433         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7434         %sp not %fp in calculations.
7435         (_JMPBUF_UNWINDS_ADJ): Likewise.
7437         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7438         (aio_suspend): Call it to force an exception region around the
7439         AIO_MISC_WAIT() invocation.
7441 2011-08-23  Andreas Schwab  <schwab@redhat.com>
7443         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7444         backslash.
7446 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
7448         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7449         protection macro.
7450         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7451         and <dl-machine.h>.
7452         (Elf64_FuncDesc): Remove.
7454 2011-08-22  David S. Miller  <davem@davemloft.net>
7456         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7457         sigaltstack check, add missing cfi directives.
7458         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7459         missing cfi directives, and sigaltstack handling.
7461 2011-08-16  Andreas Schwab  <schwab@redhat.com>
7463         [BZ #11724]
7464         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7465         object is seen twice.
7466         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7468         * elf/Makefile (distribute): Add tst-initorder2.c.
7469         (tests): Add tst-initorder2.
7470         (modules-names): Add tst-initorder2a tst-initorder2b
7471         tst-initorder2c tst-initorder2d.  Add rules to build them.
7472         ($(objpfx)tst-initorder2.out): New rule.
7473         * elf/tst-initorder2.c: New file.
7474         * elf/tst-initorder2.exp: New file.
7476 2011-08-22  Andreas Schwab  <schwab@redhat.com>
7478         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7480         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7481         dependencies back to end of function.
7483         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7484         $(elfobjdir)/ld.so.
7486 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
7488         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7489         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7490         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7491         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7492         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7493         of __vdso_gettimeofday.
7494         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7495         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
7496         attribute_hidden.
7497         (_libc_vdso_platform_setup): Remove initialization of
7498         __vdso_gettimeofday and __vdso_time.
7500 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
7502         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7503         and fgetc_unlocked.
7504         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7505         getc_unlocked.
7507         * elf/dl-open.c (add_to_global): Report additions to the global scope
7508         for LD_DEBUG=scopes.
7509         (dl_open_worker): Also print scope of newly loaded dependencies.
7510         (_dl_show_scope): Indicate if there is no scope.
7512         [BZ #13114]
7513         * stdio-common/Makefile (tests): Add bug24.
7514         * stdio-common/bug24.c: New file.
7516 2011-08-19  Andreas Jaeger  <aj@suse.de>
7518         [BZ #13114]
7519         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7520         non-existant file when using close-on-exec mode.
7522 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
7524         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7525         the very first instruction.
7527         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7528         the CFI state in the end.
7529         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7530         inclusion of dl-trampoline.h.
7531         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7533 2011-08-19  Andreas Schwab  <schwab@redhat.com>
7535         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7536         expectations for long double.
7538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7539         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7541 2011-08-14  David S. Miller  <davem@davemloft.net>
7543         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7544         artificual limit depends upon the system page size.
7546 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
7548         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7549         * resolv/Makefile: Define CFLAGS-libresolv.
7551 2011-08-17  Andreas Schwab  <schwab@redhat.com>
7553         * nss/makedb.c (compute_tables): Make variables used in nested
7554         function static.
7556 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
7558         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7559         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7560         if buffer was too small.
7562         * elf/pldd.c (main): Attach to all threads in the process.
7563         Rewrite /proc handling to use *at functions.
7565 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
7567         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7568         specifies first scope to show.
7569         (dl_open_worker): Update callers.  Move printing scope of new
7570         object to before the relocation.
7571         * elf/rtld.c (dl_main): Update _dl_show_scope call.
7572         * sysdeps/generic/ldsodefs.h: Update declaration.
7574         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7575         string for the scope number.
7577 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
7579         * nscd/servicescache.c (cache_addserv): Make sure written is always
7580         initialized.
7582 2011-08-14  Roland McGrath  <roland@hack.frob.com>
7584         * sysdeps/i386/i486/bits/atomic.h
7585         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7586         statement expression, so as to suppress "set but not used" warning.
7587         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7589         * string/strncat.c (STRNCAT): Use prototype definition.
7591         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7592         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7593         -Iprograms here.
7594         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7595         (localedef-modules): Add localedef.
7596         (locale-modules): Add locale.
7598         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7599         * elf/rtld.c (dl_main): Invert order of assignment in last change,
7600         to avoid a warning.
7602 2011-08-14  David S. Miller  <davem@davemloft.net>
7604         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7605         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7607 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
7609         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7610         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7611         * elf/rtld.c (dl_main): Set l_name of vDSO.
7612         Call _dl_show_scope when DL_DEBUG_SCOPES.
7613         (process_dl_debug): Recognize scopes flag and also set it for all.
7614         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7615         Declare _dl_show_scope.
7617         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7618         (do_dlopen): Pass caller_dlopen to dl_open.
7619         (__libc_dlopen_mode): Initialize caller_dlopen.
7621         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7622         of libc.  Make tolower call locale-independent.  Optimize a bit by
7623         using isdigit instead of isalnum.
7624         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7626 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
7628         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7629         was a dependency or dynamically loaded.
7631 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
7633         * intl/l10nflist.c: Allow architecture-specific pop function.
7634         * sysdeps/x86_64/l10nflist.c: New file.
7636         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7637         classification.
7639 2011-08-10  Andreas Schwab  <schwab@redhat.com>
7641         * include/dirent.h: Add libc_hidden_proto for scandirat and
7642         scandirat64.  Don't declare __scandirat64.
7643         * dirent/scandirat.c: Add libc_hidden_def.
7644         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7645         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7647 2011-08-10  David S. Miller  <davem@davemloft.net>
7649         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7650         enum.
7651         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7652         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7653         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7655 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
7657         * Versions.def [libc]: Add GLIBC_2.15.
7658         * dirent/Makefile (routines): Add scandirat and scandirat64.
7659         * dirent/Versions [libc]: Export scandirat and scandirat64 for
7660         GLIBC_2.15.
7661         * dirent/dirent.h: Declare scandirat and scandirat64.
7662         * dirent/scandirat.c: New file.
7663         * dirent/scandirat64.c: New file.
7664         * sysdeps/wordsize-64/scandirat.c: New file.
7665         * sysdeps/wordsize-64/scandirat64.c: New file.
7666         * dirent/opendir.c: Define opendirat.
7667         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
7668         using scandirat.
7669         * dirent/scandir64.c: Adjust for scandir.c change.
7670         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
7671         __scandirat64, and __scandir_cancel_handler.
7672         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
7673         additional parameter and use openat instead of open (outside of ld.so).
7674         Add new __opendir as wrapper around __opendirat.
7675         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7676         here without requiring old scandirat implementation.
7678 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
7680         * dirent/scandir.c (cancel_handler): Renamed to
7681         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
7682         defined.  Adjust users.
7683         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7684         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7686 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
7688         * string/test-string.h (IMPL): Use __STRING to expand name and then
7689         stringify it.
7691         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
7692         of cleanups.
7694 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7696         * string/Makefile: Update.
7697         (strop-tests): Append strncat.
7698         * string/test-wcscmp.c: New file.
7699         New comprehensive test for wcscmp.
7700         * string/test-strcmp.c: Update.
7701         (WIDE): New define.
7703 2011-07-22  Andreas Schwab  <schwab@redhat.com>
7705         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7706         line.
7708 2011-07-26  Andreas Schwab  <schwab@redhat.com>
7710         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7711         encoding to ACE if AI_IDN.
7713 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
7715         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7716         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7718 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7720         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7721         Fix overflow bug in strncat.
7722         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7724         * string/test-strncat.c: Update.
7725         Add new tests for checking overflow bugs.
7727 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7729         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7730         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7731         * sysdeps/i386/i686/multiarch/strcat.S: New file.
7732         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7733         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7734         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7735         * sysdeps/i386/i686/multiarch/strncat.S: New file.
7736         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7737         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7739         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7740         (USE_AS_STRCAT): Define.
7741         Add strcat and strncat support.
7742         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7744 2011-07-25  Andreas Schwab  <schwab@redhat.com>
7746         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7747         __n bigger than INT_MAX+1.
7748         (__strncmp_g): Likewise.
7750 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
7752         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7753         * libio/stido.h: Likewise.
7755         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7756         (AF_NFC): Define.
7757         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7758         (AF_NFC): Define.
7760         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7761         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7762         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7763         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7764         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7766         [BZ #13021]
7767         * scripts/test-installation.pl: Don't expect libnss_test1 to be
7768         installed.
7770         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7771         typo.
7772         (_dl_x86_64_save_sse): Likewise.
7774 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
7776         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7777         OSXSAVE.
7778         (_dl_x86_64_save_sse): Likewise.
7780         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7782         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7784 2011-07-21  Andreas Schwab  <schwab@redhat.com>
7786         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7787         change.
7788         (_dl_x86_64_save_sse): Use correct AVX check.
7790 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7792         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7793         bug in strncpy/strncat.
7794         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7796 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
7798         * string/tester.c (test_strcat): Add tests for different alignments
7799         of source and destination.
7800         (test_strncat): Likewise.
7802 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
7804         [BZ #12852]
7805         * posix/glob.c (glob): Check passed in values before using them in
7806         expressions to avoid some overflows.
7807         (glob_in_dir): Likewise.
7809         [BZ #13007]
7810         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7811         check for AVX enablement so that we don't crash with old kernels and
7812         new hardware.
7813         * elf/tst-audit4.c: Add same checks here.
7814         * elf/tst-audit6.c: Likewise.
7816         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
7818 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
7820         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7822 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
7824         * po/cs.po: Update from translation team.
7825         * po/bg.po: Likewise.
7827 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
7829         * misc/sys/cdefs.h: Add support for const attribute.
7830         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7831         to gnu_dev_{major,minor,makedev} functions.
7833 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
7835         * intl/dcigettext.c (get_output_charset): Add missing bracket.
7837 2011-07-20  Andreas Schwab  <schwab@redhat.com>
7839         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7840         strlen results.
7842 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7844         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7845         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7846         register in order to avoid conflicts with the soft frame pointer
7847         being held in r11 when necessary.
7848         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7849         (INTERNAL_VSYSCALL_NCS): Likewise.
7851 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
7853         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7854         * elf/dl-fini.c (_dl_fini): Adjust caller.
7855         * elf/dl-close.c (_dl_close_worker): Likewise.
7856         * sysdeps/generic/ldsodefs.h: Adjust declaration.
7858 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
7860         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7861         "aux_cache->nlibs < 0".
7863         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7864         in the reload-count case.
7866 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7868         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7869         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7870         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7871         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7872         * sysdeps/x86_64/multiarch/strcat.S: New file.
7873         * sysdeps/x86_64/multiarch/strncat.S: New file.
7874         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7875         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7876         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7877         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7878         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7879         (USE_AS_STRCAT): Define.
7880         Add strcat and strncat support.
7881         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7882         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7883         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7884         * string/strncat.c: Update.
7885         (USE_AS_STRNCAT): Define.
7886         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7887         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7888         and i7.
7889         * sysdeps/x86_64/multiarch/init-arch.h
7890         (bit_Prefer_PMINUB_for_stringop): New.
7891         (index_Prefer_PMINUB_for_stringop): Likewise.
7892         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7893         bit_Prefer_PMINUB_for_stringop.
7895 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
7897         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7898         buffer64.
7899         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7900         of casting of buffer.
7901         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7902         buffer32 and buffer64.
7903         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7904         writes instead of casting of buffer.
7905         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7906         buffer32.
7907         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7908         casting of buffer.
7910 2011-07-19  Andreas Schwab  <schwab@redhat.com>
7912         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7914 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
7916         * nscd/nscd.c (termination_handler): Don't do anything for a database
7917         if it has not yet been initialized.
7919 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
7921         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7923 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
7925         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7927 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
7929         * po/nl.po: Update from translation team.
7930         * po/sv.po: Likewise.
7932 2011-07-16  Roland McGrath  <roland@hack.frob.com>
7934         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7935         now disallowed by GCC.
7937         * configure.in (use-default-link): Default to yes if a test -shared
7938         link meets our qualifications.
7939         * configure: Regenerated.
7941         * config.make.in (output-format): New variable.
7942         * configure.in: Check for ld --print-output-format support.
7943         * configure: Regenerated.
7944         * Makerules ($(common-objpfx)format.lds)
7945         [$(output-format) != unknown]: Just use $(output-format),
7946         instead of the linker-script munging.
7948 2011-07-14  Roland McGrath  <roland@hack.frob.com>
7950         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7951         of $(common-objpfx)shlib.lds.
7952         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7954         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7955         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7957         * configure.in (-z relro check): Adjust test code to add a large
7958         writable data section after it.
7959         * configure: Regenerated.
7961 2011-07-11  Roland McGrath  <roland@hack.frob.com>
7963         * configure.in (-z relro check): Fix test code to make the variable
7964         truly const.
7965         * configure: Regenerated.
7967 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
7969         * nscd/nscd.h (struct traced_file): Define.
7970         (struct database_dyn): Remove inotify_descr, reset_res, and filename
7971         elements.  Add traced_files.
7972         (inotify_fd): Declare.
7973         (register_traced_file): Declare.
7974         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7975         (inotify_fd): Export.
7976         (resolv_conf_descr): Remove.
7977         (nscd_init): Move inotify descriptor creation to main.
7978         Don't register files for notification here.
7979         (register_traced_file): New function.
7980         (invalidate_cache): Don't use reset_res to determine whether to call
7981         res_init, go through the list of registered files.
7982         (main_loop_poll): The inotify descriptors are now stored in the
7983         structures for the traced files.
7984         (main_loop_epoll): Likewise
7985         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
7986         to __nss_disable_nscd.
7987         * nscd/cache.c (prune_cache): There is no single inotify descriptor
7988         for a database anymore.  Check the records for all the registered
7989         files instead.
7990         * nss/Makefile (libnss_files-routines): Add files-init.
7991         (libnss_db-routines): Add db-init.
7992         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7993         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7994         * nss/nss_db/db-init.c: New file.
7995         * nss/nss_files/files-init.c: New file.
7996         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
7997         __nss_lookup_function.
7998         (__nss_lookup_function): Call nss_load_library.
7999         (nss_load_all_libraries): New function.
8000         (__nss_disable_nscd): Take parameter with callback function for files
8001         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
8002         used for the cached services.
8003         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8004         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8005         options for features to all the files in nscd.
8007         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8009 2011-07-10  Roland McGrath  <roland@hack.frob.com>
8011         * csu/elf-init.c (__libc_csu_init): Comment typo.
8013 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
8015         * po/pl.po: Update from translation team.
8016         * po/ja.po: Likewise.
8017         * po/ru.po: Likewise.
8018         * po/ko.po: Likewise.
8019         * po/fr.po: Likewise.
8021 2011-07-09  Roland McGrath  <roland@hack.frob.com>
8023         * configure.in (.ctors/.dtors header and trailer check):
8024         Use an empirical test on a built program.
8025         * configure: Regenerated.
8027         * configure.in (-z relro check): Use an empirical test on a built DSO.
8028         Detect, but do not require, on ia64.
8029         * configure: Regenerated.
8031         * configure.in (READELF): Find it with AC_CHECK_TOOL.
8032         Update tests that use readelf to use $READELF instead.
8033         * configure: Regenerated.
8035 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
8037         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8038         if the result is not used.
8040 2011-07-05  Andreas Jaeger  <aj@suse.de>
8042         [BZ#9696]
8043         * stdlib/tst-strtod.c: Add testcase.
8045 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
8047         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8048         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8049         The latter has a higher limit.  Take additional parameter to pass to
8050         the new function.
8051         (__pathconf): Pass file to __statfs_link_max.
8052         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8053         __statfs_link_max.
8054         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8055         __statfs_link_max.
8057         [BZ #12868]
8058         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8059         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8060         Handle Lustre.
8061         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8062         (__statfs_filesize_max): Likewise.
8063         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8065 2011-07-05  Andreas Jaeger  <aj@suse.de>
8067         * resolv/res_comp.c (dn_skipname): Remove unused variable.
8069 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
8071         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8072         `status' variable.
8073         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8074         Likewise.
8076 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
8078         * Makefile (strop-tests): Add strncat.
8079         * string/test-strncat.c: New file.
8081 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
8083         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8085 2011-06-21  Andreas Jaeger  <aj@suse.de>
8087         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8088         Copy rule from iconvdata/Makefile.
8090 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
8092         [BZ #12922]
8093         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8094         but no long options are defined, just return 'W'.
8096 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
8098         [BZ #9696]
8099         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8101 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
8103         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8104         netgroups to read.
8105         (innetgr): Likewise.
8107 2011-07-05  Roland McGrath  <roland@hack.frob.com>
8109         * config.make.in (install_root): Default to $(DESTDIR).
8111 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
8113         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8115 2011-07-02  Roland McGrath  <roland@hack.frob.com>
8117         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8119         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8120         containing directory rather than embedding absolute directory names.
8122         * scripts/check-local-headers.sh: Rewritten using awk.
8123         Match by word, not by line.  Print error messages for matches.
8124         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8126         * Makerules [shlib-lds-flags empty]:
8127         ($(common-objpfx)libc_pic.opts): New target.
8128         ($(common-objpfx)libc_pic.os.clean): New target.
8129         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8131         * config.make.in (OBJCOPY): New variable.
8132         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8133         * configure: Regenerated.
8135         * config.make.in (use-default-link): New variable.
8136         * configure.in (use_default_link): Grok --with-default-link to set it.
8137         * configure: Regenerated.
8138         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8139         (shlib-lds, shlib-lds-flags): Define to empty.
8141         * Makerules (shlib-lds): New variable.
8142         (shlib-lds-flags): New variable.
8143         (build-shlib, build-moduile, build-module-asneeded): Use it.
8144         ($(common-objpfx)libc.so): Use $(shlib-lds).
8145         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8146         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8148         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8149         DT_FLAGS/DT_FLAGS_1 with zero flags.
8151         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8152         linker script munging.
8154 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
8156         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8157         as 128-bit value.
8158         * crypt/sha512.c (sha512_process_block): Perform total addition using
8159         128-bit if possible.
8160         (__sha512_finish_ctx): Likewise.
8161         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8162         as 64-bit value.
8163         * crypt/sha256.c (SWAP64): Define.
8164         (sha256_process_block): Perform total addition using 64-bit if
8165         possible.
8166         (__sha256_finish_ctx): Likewise.
8168 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
8170         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
8171         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8172         * nscd/hstcache.c (cache_addhst): Likewise.
8173         * nscd/grpcache.c (cache_addgr): Likewise.
8174         * nscd/aicache.c (addhstaiX): Likewise
8175         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8177 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
8179         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8180         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8181         * nscd/hstcache.c (cache_addhst): Likewise.
8182         * nscd/grpcache.c (cache_addgr): Likewise.
8183         * nscd/aicache.c (addhstaiX): Likewise
8185 2011-07-01  Andreas Schwab  <schwab@redhat.com>
8187         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8188         domain only when needed.
8190 2011-06-30  Andreas Schwab  <schwab@redhat.com>
8192         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8193         is always restored.
8195 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
8197         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8198         are re-adding the entry.
8199         * nscd/servicescache.c (cache_addserv): Likewise.
8201 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8203         * sysdeps/generic/dl-irel.h: fix protection against multiple
8204         inclusions.
8205         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8207 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
8209         [BZ #12935]
8210         * malloc/memusage.sh: Fix quoting in message.
8211         * debug/xtrace.sh: Likewise.
8213         * configure.in: Remove support for --experimental-malloc option, make
8214         it the default.
8215         * config.make.in: Likewise.
8216         * malloc/Makefile: Likewise.
8218 2011-06-27  Andreas Schwab  <schwab@redhat.com>
8220         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8221         two-byte characters.
8223 2011-06-27  Roland McGrath  <roland@hack.frob.com>
8225         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8226         AC_CACHE_CHECK invocation.
8227         * configure: Regenerated.
8229         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8231 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
8233         [BZ #12350]
8234         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
8235         bit from old_res_options.
8237         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8239         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8240         value type for setfct.
8242 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
8244         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8245         __gettimeofday instead of gettimeofday.
8247 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
8249         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8251 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8253         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8255         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8256         info.
8258 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
8260         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8261         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8262         strcpy-sse2-unaligned strncpy-sse2-unaligned
8263         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8264         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8265         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8266         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8267         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8268         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8269         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8270         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8271         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8272         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8273         (STRCPY): Support SSE2 and SSSE3 versions.
8275 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
8277         [BZ #12874]
8278         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8279         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8280         kernels which artificially limit size of requests.
8282 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
8284         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8285         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8286         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8287         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8288         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8289         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8290         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8291         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8292         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8293         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8294         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8295         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8296         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8297         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8298         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8299         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8300         Enable unaligned load optimization for Intel Core i3, i5 and i7
8301         processors.
8302         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8303         Define.
8304         (index_Fast_Unaligned_Load): Define.
8305         (HAS_FAST_UNALIGNED_LOAD): Define.
8307 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
8309         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8311 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
8313         [BZ #12907]
8314         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8315         until it is clear that the information is realy needed.
8316         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8318 2011-06-22  Andreas Schwab  <schwab@redhat.com>
8320         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8322 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
8324         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8325         /sys/devices/system/cpu/online if it is usable.
8327         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8328         reading the information from the /proc filesystem to once a second.
8330 2011-06-21  Andreas Jaeger  <aj@suse.de>
8332         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8333         NULL after inclusion of kernel headers.
8335 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
8337         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8338         calls to internal_setent.
8340         [BZ #12885]
8341         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8342         addresses using gethostbyname4_r ignore IPv4 addresses.
8344         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8345         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
8347         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8349 2011-06-20  David S. Miller  <davem@davemloft.net>
8351         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8352         inclusions.
8353         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8355         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8356         (elf_irel): Use it.
8357         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8358         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8359         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8360         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8361         * sysdeps/x86_64/dl-irel.h: Likewise.
8363         * elf/dl-runtime.c: Use elf_ifunc_invoke.
8364         * elf/dl-sym.c: Likewise.
8366 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
8368         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
8369         need to dereference resplen2.
8371 2011-06-14  Andreas Schwab  <schwab@redhat.com>
8373         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8375 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
8377         * Makeconfig: Define vardbdir and inst_vardbdir.
8378         * nss/Makefile: Add rules to install db-Makefile.
8380         * nss/nss_db/db-XXX.c: Cleanup.
8382         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8383         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8384         GLIBC_PRIVATE.
8385         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8386         * nss/makedb.c: Implement -g option to specify that value strings
8387         are generated and should not be added to table iterated over for
8388         get*ent calls.
8389         * nss/nss_db/db-initgroups.c: New file.
8391         * nss/getent.c: Add support for initgroups lookups through getgrouplist
8392         interface.
8394         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8395         (internal_getgrouplist): Adjust to name change.
8396         Update use_initgroups_entry if this is not the first call.
8397         * nss/databases.def: Add initgroups entry.
8399         * nss/makedb.c (compute_tables): Check result of multiple hash table
8400         sizes to minimize maximum chain length.
8402 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
8404         * Versions.def: Add entry for libnss_db.
8405         * shlib-versions: Likewise.
8406         * nss/Makefile: Add rules to build libnss_db.
8407         * nss/Versions: Add libnss_db information.  Organize libnss_files
8408         entries better.
8409         * nss/db-Makefile: Add gshadow support.  Change rules for the new
8410         makedb progra.  Some minor improvements to generate smaller files.
8411         * nss/nss_db/nss_db.h: Move NSS database header data structures to
8412         here from...
8413         * nss/makedb.c: ...here.
8414         Improve database format to be smaller and require less memory at
8415         runtime.
8416         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
8417         db anymore.
8418         * nss/nss_db/db-netgrp.c: Likewise.
8419         * nss/nss_db/db-open.c: Likewise.
8420         * nss/nss_files/flies-XXX.x: Adjust comments.
8421         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8422         * nss/nss_files/files-grp.c: Likewise.
8423         * nss/nss_files/files-hosts.c: Likewise.
8424         * nss/nss_files/files-network.c: Likewise.
8425         * nss/nss_files/files-proto.c: Likewise.
8426         * nss/nss_files/files-pwd.c: Likewise.
8427         * nss/nss_files/files-rpc.c: Likewise.
8428         * nss/nss_files/files-service.c: Likewise.
8429         * nss/nss_files/files-sgrp.c: Likewise.
8430         * nss/nss_files/files-spwd.c: Likewise.
8431         * nss/nss_db/db-alias.c: Removed.
8432         * nss/nss_db/dummy-db.h: Removed.
8434 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
8436         * nss/makedb.c: Rewritten to not use database library.
8437         * nss/Makefile: Update to build new makedb program.
8439 2011-06-14  Andreas Jaeger  <aj@suse.de>
8441         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8442         memset declaration.
8444 2011-06-10  Andreas Schwab  <schwab@redhat.com>
8446         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8447         tmpbuf.
8449 2011-06-10  Roland McGrath  <roland@hack.frob.com>
8451         * Makerules (shlib.lds): Fail if the linker script comes out empty.
8452         * elf/Makefile ($(objpfx)ld.so): Likewise.
8454         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8455         Don't list ld.so twice in dependencies.
8457         * posix/bug-regex31.c: Include <stdlib.h>.
8459         * nscd/hstcache.c (cache_addhst): Remove unused variable.
8461         * nis/nss_compat/compat-spwd.c
8462         (getspent_next_nss_netgr): Remove unused variable.
8463         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8465         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8466         nonmembers" output to use the right array.
8468         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8470         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8472         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8473         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8474         * catgets/gencat.c (read_input_file): Likewise.
8475         * locale/programs/locarchive.c (enlarge_archive): Likewise.
8477         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8478         variable definition inside #if's controlling its use.
8480         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8482         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8484         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8486         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8487         unreachable code.
8489         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8491         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8492         * configure: Regenerated.
8494         * Makerules: Revert last change.
8495         * elf/Makefile: Likewise.
8497 2011-06-09  Roland McGrath  <roland@hack.frob.com>
8499         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8500         * elf/Makefile ($(objpfx)librtld.os): Likewise.
8501         (reloc-link): Likewise.
8503 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
8505         * elf/Makefile: Add rules to build pldd.
8506         * elf/pldd.c: New file.
8507         * elf/pldd-xx.c: New file.
8509 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
8511         * version.h: Update for 2.15 development version.
8513 2011-06-07  David S. Miller  <davem@davemloft.net>
8515         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8516         ifuncs.
8517         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8518         elf_machine_lazy_rel): Likewise.
8519         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8520         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8521         elf_machine_lazy_rel): Likewise.
8522         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8523         dl_hwcap via passed in argument.
8524         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8525         Likewise.
8527 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8529         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
8531 2011-06-06  Roland McGrath  <roland@hack.frob.com>
8533         [BZ #12849]
8534         * manual/fdl-1.1.texi: New file, verbatim from:
8535         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8536         * manual/lgpl-2.1.texi: New file, verbatim from:
8537         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8538         * manual/Makefile (licenses): New variable, list those new file names.
8539         (texis): Use it.
8540         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8542         * manual/fdl.texi: File removed.
8543         * manual/lesser.texi: File removed.
8544         * manual/libc.texinfo (Copying, Documentation License):
8545         Use new @include file names, put @appendix directive before @include.
8547 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
8549         [BZ #12841]
8550         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8551         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8552         (mq_open): Add __NTH.
8554 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
8556         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8557         Assume Intel Core i3/i5/i7 processor if AVX is available.
8559 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
8561         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8562         typo.
8564 2011-05-31  Andreas Schwab  <schwab@redhat.com>
8566         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8567         memory.  Use alloca_account.  Fix memory leak when retrying.
8569 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
8571         * version.h (RELEASE): Bump for 2.14 release.
8572         * include/features.h (__GLIBC_MINOR__): Bump to 14.
8574         * config.make.in (RANLIB): Remove entry.
8576 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
8578         * po/Makefile (po-sed-cmd): Add ksh to extensions.
8579         (libc.pot): Work around missing support for .ksh extension in xgettext.
8581         [BZ #12684]
8582         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8583         if both request failed.
8584         (send_dg): In case of server errors clear resplen or *resplen2.
8586         [BZ #12454]
8587         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8588         when there are multiple maps.
8589         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8590         (_dl_fini): Remove test here.
8592         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8594 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
8596         [BZ #12350]
8597         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8598         bit from old_res_options.
8599         (gaih_inet): Likewise.
8601         [BZ #11099]
8602         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8603         as signed.
8605         * resolv/res_init.c (res_setoptions): Make the code more compact.
8607         [BZ #11558]
8608         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8609         set RES_USEVC.
8611         [BZ #11634]
8612         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8614         * malloc/malloc.h: Mark malloc hook variables as deprecated.
8616         [BZ #11781]
8617         * malloc/malloc.h: Declare malloc hook variables as volatile.
8619         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8620         in last patch.
8622         [BZ #11799]
8623         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8624         raise in the comment.
8625         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8626         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8627         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8629 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
8631         [BZ #12811]
8632         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8633         grow the buffers more if it already has to be sufficient.
8634         (build_wcs_upper_buffer): Likewise.
8635         * posix/regexec.c (check_matching): Likewise.
8636         (clean_state_log_if_needed): Likewise.
8637         (extend_buffers): Don't enlarge buffers beyond size of the input
8638         buffer.
8639         Patches mostly by Emil Wojak <emil@wojak.eu>.
8640         * posix/bug-regex32.c: New file.
8641         * posix/Makefile (tests): Add bug-regex32.
8643         * locale/findlocale.c (_nl_find_locale): Return right away if
8644         _nl_explode_name failed.
8645         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8647         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8649         * debug/xtrace.sh: Unify messages.
8650         * malloc/memusage.sh: Likewise.
8652         [BZ #12813]
8653         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8654         time symbol from vDSO.  Substitute with vsyscall if not available.
8655         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8656         __vdso_time.
8658         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8659         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8660         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8661         Add sendmmsg and internal_sendmmsg.
8662         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8663         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8664         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8666         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8667         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8668         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8670 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
8672         [BZ #12813]
8673         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8674         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
8675         available.
8676         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8677         __vdso_getcpu.
8679         [BZ #12814]
8680         * iconvdata/Makefile (tests): Add bug-iconv9.
8681         * iconvdata/bug-iconv9.c: New file.
8683 2011-05-27  Andreas Schwab  <schwab@redhat.com>
8685         [BZ #12814]
8686         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8688 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
8690         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8691         (struct user_regs_struct): Change intcs field back to cs.
8693 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
8695         * po/ja.po: Update from translation team.
8697 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
8699         [BZ #12795]
8700         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8701         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8703 2011-05-20  Andreas Schwab  <schwab@redhat.com>
8705         * stdlib/longlong.h: Update from GCC.
8707 2011-05-23  Andreas Schwab  <schwab@redhat.com>
8709         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8710         parameter name.
8711         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8712         Add parameter name.
8713         (__sysconf): Pass it down.
8715 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
8717         [BZ #12671]
8718         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8719         some situations.
8720         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8721         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8722         add in in __libc_use_alloca calls.  Adjust callers.
8723         (glob): Use malloc in some situations.
8725         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8726         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8727         pltexit.
8729 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
8731         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8732         and CLOCK_BOOTTIME_ALARM.
8734         [BZ #12782]
8735         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8736         is returned.
8738         * string/_strerror.c (__strerror_r): Print negative errors as signed
8739         numbers.
8741         [BZ #12777]
8742         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8743         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8744         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8746         * configure.in: Fix typo in redirection and correct removal of test
8747         files in two cases.
8749         [BZ #12788]
8750         * locale/setlocale.c (new_composite_name): Fix test to check for
8751         identical name of all categories.
8753         [BZ #12792]
8754         * libio/filedoalloc.c (local_isatty): New function.
8755         (_IO_file_doallocate): Use local_isatty.
8756         * stdio-common/perror.c (perror): In case a new stream is used
8757         forward the stream error.
8758         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8759         error flag.
8761 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
8763         [BZ #11869]
8764         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8765         alloca.
8766         * include/alloca.h (extend_alloca_account): Define.
8768         [BZ #11857]
8769         * posix/regex.h: Fix comments with documentation of user-accessible
8770         fields after compilation and describe correct free'ing of pattern
8771         after re_compile_pattern.
8772         Patch by Reuben Thomas <rrt@sc3d.org>.
8774 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
8776         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8777         and -mno-altivec to prevent the compiler from using Altivec and/or
8778         VSX instructions when the corresponding registers are not available.
8780 2011-05-19  Andreas Schwab  <schwab@redhat.com>
8782         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8784 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
8786         * libio/freopen.c (freopen): Use __dup2, not dup2.
8787         * libio/freopen64.c (freopen64): Likewise.
8789 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8791         [BZ #12775]
8792         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8793         * math/Makefile (tests): Add test-powl.
8794         (CFLAGS-test-powl.c): Define.
8795         * math/test-powl.c: New file.
8797 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
8799         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8801 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
8803         [BZ #11837]
8804         * iconvdata/gb18030.c: Update to GB18020-2005.
8806 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
8808         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8809         RE_SYNTAX_POSIX_AWK): Update to match recent development.
8810         Patch by Aharon Robbins <arnold@skeeve.com>.
8812         [BZ #11892]
8813         * stdlib/putenv.c (putenv): Don't always create copy of the variable
8814         on the stack.
8816         [BZ #11895]
8817         * misc/pselect.c (__pselect): Handle timeout value errors hidden
8818         through underflows.
8820         [BZ #12766]
8821         * misc/error.c (error_at_line): Ensure file_name and old_file_name
8822         point to strings before performing equality test for error_one_per_line
8823         mode.
8825         [BZ #11697]
8826         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8828         [BZ #11820]
8829         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8830         (struct user_fpregs_struct): Avoid __uint*_t types.
8832         [BZ #6420]
8833         * malloc/mtrace.c (tr_where): Add additional parameter to point to
8834         symbol info.  Use it instead of calling _dl_addr locally.
8835         (lock_and_info): New function.
8836         (tr_freehook): Call lock_and_info and pass symbol info as additional
8837         parameter to tr_where.
8838         (tr_mallochook): Likewise.
8839         (tr_reallochook): Likewise.
8840         (tr_memalignhook): Likewise.
8842         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
8843         used and couldn't be at all thread-safe.
8845 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
8847         * libio/freopen.c (freopen): Don't close old file descriptor
8848         before the new one is opened.  Instead dup the new file descriptor
8849         to the old one after the new stream is created.
8850         * libio/freopen64.c (freopen64): Likewise.
8851         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8852         * libio/fileops.c (_IO_new_file_close_it): Handle new
8853         _IO_FLAGS2_NOCLOSE flag.
8854         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8855         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8856         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8857         _IO_FLAGS2_NOCLOSE flag.
8858         * include/unistd.h: Add hidden_proto for dup3.
8859         Define __have_dup3.
8860         * io/dup3.c: Define hidden symbol.
8861         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8863         [BZ #7101]
8864         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8865         when an incomplete long option is used.
8866         * posix/tst-getopt_long1.c: New file.
8867         * posix/Makefile (tests): Add tst-getopt_long1.
8869         [BZ #10138]
8870         * scripts/config.guess: Update from autoconf-2.68.
8871         * scripts/config.sub: Likewise.
8873         [BZ #10157]
8874         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8875         tests into ...
8876         (has_cpuclock): ...this.  New function.
8877         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8878         macro here based on has_cpuclock code.
8880         [BZ #10149]
8881         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8882         First byte (not low byte) is now always NUL.
8883         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8885         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8886         Use non-cancelable interfaces.
8888         [BZ #9809]
8889         * locale/iso-639.def: Add entry for Sorani.
8891         [BZ #11901]
8892         * include/stdlib.h: Move include protection to the right place.
8893         Define abort_msg_s.  Declare __abort_msg with it.
8894         * stdlib/abort.c (__abort_msg): Adjust type.
8895         * assert/assert.c (__assert_fail_base): New function.  Majority
8896         of code from __assert_fail.  Allocate memory for __abort_msg with
8897         mmap.
8898         (__assert_fail): Now call __assert_fail_base.
8899         * assert/assert-perr.c: Remove bulk of implementation.  Use
8900         __assert_fail_base.
8901         * include/assert.hL Declare __assert_fail_base.
8902         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8903         mmap.
8904         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8906 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
8908         [BZ #11952]
8909         [BZ #12453]
8910         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8911         until all modules are registered in the DTV.
8912         * elf/Makefile: Add rules to build and run tst-tls19.
8913         * elf/tst-tls19.c: New file.
8914         * elf/tst-tls19mod1.c: New file.
8915         * elf/tst-tls19mod2.c: New file.
8916         * elf/tst-tls19mod3.c: New file.
8917         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8919         [BZ #12083]
8920         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8921         correctly.
8923         [BZ #12601]
8924         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8925         two-byte sequence errors.
8926         * iconvdata/Makefile (tests): Add bug-iconv8.
8927         * iconvdata/bug-iconv8.c: New file.
8929         [BZ #12626]
8930         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8931         buf2 definition.
8933         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8935         [BZ #12432]
8936         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8937         (dummy_getcfa): New function.
8938         (init): Get _Unwind_GetCFA address, use dummy if not found.
8939         (backtrace_helper): In recursion check, also check whether CFA changes.
8940         (__backtrace): Completely initialize arg.
8942         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
8943         storing incomplete byte sequence in state object.  Avoid testing for
8944         guaranteed too small input if we know there is enough data available.
8946 2011-05-11  Andreas Schwab  <schwab@redhat.com>
8948         * Makeconfig (+link-pie): Indent.
8949         * Rules (binaries-pie): Define if $(have-fpie) and
8950         $(build-shared).
8951         (binaries-shared): Also filter out $(binaries-pie).
8952         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8953         * nscd/Makefile (others-pie): Add nscd.
8954         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8955         ($(objpfx)nscd): Remove command override.
8956         * login/Makefile (others-pie): Add pt_chown.
8957         ($(objpfx)pt_chown): Remove command override.
8958         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8959         remove command overrides.
8961 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
8963         * libio/tst_putwc.c: Fix error messages.
8965         [BZ #12724]
8966         * libio/fileops.c (_IO_new_file_close_it): Always flush when
8967         currently writing and seek to current position when not.
8968         * libio/Makefile (tests): Add bug-fclose1.
8969         * libio/bug-fclose1.c: New file.
8971 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
8973         [BZ #12511]
8974         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8975         don't set DF_1_NODELETE here.
8976         (do_lookup_x): When entering new entry test for copy relocation
8977         and if necessary set DF_1_NODELETE flag.
8978         * elf/tst-unique4.cc: New file.
8979         * elf/tst-unique4.h: New file.
8980         * elf/tst-unique4lib.cc: New file.
8981         * elf/Makefile: Add rules to build and run tst-unique4.
8982         Patch by Piotr Bury <pbury@goahead.com>.
8984 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
8986         [BZ #12052]
8987         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8989         [BZ #12625]
8990         * misc/mntent_r.c (addmntent): Flush the stream after the output
8992         [BZ #12393]
8993         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8994         (is_trusted_path_normalize): Skip initial colon.  Append slash
8995         to empty buffer.  Duplicate is_trusted_path code but allow
8996         constructed patch to be prefix.
8997         (is_dst): Allow $ORIGIN followed by /.
8998         (_dl_dst_substitute): Correct clearing of check_for_trusted.
8999         Correct testing of result of is_trusted_path_normalize
9000         (decompose_rpath): Fix warning.
9002 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
9004         [BZ #11257]
9005         * grp/initgroups.c (internal_getgrouplist): When we found the service
9006         list through the initgroups entry in nsswitch.conf do not always
9007         continue on a successful lookup.  Don't always use the
9008         __nss_group_database value if it is set.
9009         * nss/nsswitch.conf (initgroups): Change action for successful db
9010         lookup to continue for compatibility.
9012 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
9014         [BZ #11532]
9015         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9016         and CP774 modules.
9017         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9018         and CP774 modules.
9019         * iconvdata/tst-tables.sh: Likewise.
9020         * iconvdata/cp770.c: New file.
9021         * iconvdata/cp771.c: New file.
9022         * iconvdata/cp772.c: New file.
9023         * iconvdata/cp773.c: New file.
9024         * iconvdata/cp774.c: New file.
9025         * iconvdata/testdata/CP770: New file.
9026         * iconvdata/testdata/CP770..UTF8: New file.
9027         * iconvdata/testdata/CP771: New file.
9028         * iconvdata/testdata/CP771..UTF8: New file.
9029         * iconvdata/testdata/CP772: New file.
9030         * iconvdata/testdata/CP772..UTF8: New file.
9031         * iconvdata/testdata/CP773: New file.
9032         * iconvdata/testdata/CP773..UTF8: New file.
9033         * iconvdata/testdata/CP774: New file.
9034         * iconvdata/testdata/CP774..UTF8: New file.
9036         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9037         END CHARMAP line.
9038         * iconvdata/gen-8bit-gap.sh: Likewise.
9039         * iconvdata/gen-8bit.sh: Likewise.
9041         * locale/iso-639.def: Add ary entry.
9043         [BZ #11258]
9044         * locale/C-translit.h.in: Add U20A1 transliteration.
9046         [BZ #12178]
9047         * locale/iso-639.def: Add wae entry.
9048         Patch by Kevin Bortis <bortis@translate-wae.ch>.
9050         [BZ #12545]
9051         * locale/programs/localedef.c (construct_output_path): Use ssize_t
9052         for n.
9054         [BZ #12711]
9055         * locale/C-translit.h.in: Add entry for U20B9.
9056         Patch by pravin.d.s@gmail.com.
9058 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
9060         [BZ #12713]
9061         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9062         ENAMETOOLONG use generic getcwd.
9063         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
9064         in rtld.  Use *stat64.
9065         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9066         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9067         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9068         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9069         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9070         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9071         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9072         __fstatat64 macros.
9073         * include/dirent.h: Add libc_hidden_proto for rewinddir.
9074         * dirent/rewinddir.c: Add libc_hidden_def.
9075         * sysdeps/mach/hurd/rewinddir.c: Likewise.
9076         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
9078         * include/dirent.h (__alloc_dir): Add flags parameter.
9079         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9080         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9081         __alloc_dir.
9082         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
9083         from fdopendir if O_CLOEXEC is already set.
9085 2011-03-15  Alan Modra  <amodra@gmail.com>
9087         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9088         l_tls_firstbyte_offset non-zero.  Save padding offset in
9089         l_tls_firstbyte_offset for later use.
9090         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9091         freeing static tls block.
9093 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
9095         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9096         where #ifdef was intended.  The intent is to prevent ARG_MAX from
9097         being defined by the kernel headers.
9099 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
9101         [BZ #12734]
9102         * resolv/resolv.h: Define RES_NOTLDQUERY.
9103         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9104         no-tld-query and set RES_NOTLDQUERY.
9105         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9106         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9107         modern BIND to search name as TLD unless forbidden.
9109 2011-05-07  Petr Baudis  <pasky@suse.cz>
9110             Ulrich Drepper  <drepper@gmail.com>
9112         [BZ #12393]
9113         * elf/dl-load.c (fillin_rpath): Move trusted path check...
9114         (is_trusted_path): ...to here.
9115         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9116         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9117         using is_trusted_path_normalize() in setuid scripts.
9119 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
9121         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9122         __BEGIN/__END_DECLS.
9124 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
9126         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9127         NSS_STATUS_NOTFOUND if no record was found.
9129 2011-05-05  Andreas Schwab  <schwab@redhat.com>
9131         * sunrpc/Makefile (headers): Add rpc/netdb.h.
9132         (headers-not-in-tirpc): Remove rpc/netdb.h
9133         * resolv/netdb.h: Revert last change.
9135 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9137         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9138         circular dependency between libgcc.a and libc.a.
9140 2011-05-05  Andreas Schwab  <schwab@redhat.com>
9142         * resolv/netdb.h: Don't include <rpc/netdb.h>.
9143         * nis/Makefile: Don't install rpcsvc/*.
9144         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9145         instead of <rpc/types.h>.
9146         (MAXHOSTNAMELEN): Define.
9148 2011-05-03  Andreas Schwab  <schwab@redhat.com>
9150         * elf/ldconfig.c (add_dir): Don't crash on empty path.
9152 2011-04-28  Maciej Babinski  <mbabinski@google.com>
9154         [BZ #12714]
9155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9156         gethostbyname4_r when IPv6 results are possible.
9158 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
9160         [BZ #12723]
9161         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9162         _PC_PIPE_BUF handling.
9164 2011-04-30  Bruno Haible  <bruno@clisp.org>
9166         [BZ #12717]
9167         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9168         * resolv/netdb.h (getnameinfo): Change type of flags parameter
9169         to 'int'.
9170         * inet/getnameinfo.c (getnameinfo): Likewise.
9172 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
9174         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9175         to groups setting in database lookup.
9176         * nss/nsswitch.conf: Add initgroups entry.
9178 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
9180         [BZ #12685]
9181         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9182         mode string.
9183         Patch by Eric Blake <eblake@redhat.com>.
9185 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
9187         * sunrpc/Makefile (need-export-routines): Add svc_run.
9188         (routines): Remove svc_run.
9189         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9190         * sunrpc/clnt_perr.c (clnt_perrno): Export.
9191         * sunrpc/svc_run.c (svc_run): Likewise.
9192         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9194 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
9196         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9197         problem in reallocation in last patch.
9199 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
9201         * sunrpc/Makefile: Move inclusion of Rules.
9203 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
9205         * nss/nss_files/files-initgroups.c: New file.
9206         * nss/Makefile (libnss_files-routines): Add files-initgroups.
9207         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9208         _nss_files_initgroups_dyn.
9210 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
9212         * elf/elf.h (R_ARM_IRELATIVE): Define.
9214 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
9216         * po/ru.po: Update from translation team.
9218 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
9220         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9221         dependencies.
9223 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
9225         [BZ #12653]
9226         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9227         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9228         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9229         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9230         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9232 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
9234         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9235         differing bytes.
9236         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9237         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9238         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9240 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
9242         [BZ #12420]
9243         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9244         storing it.
9245         * stdlib/bug-getcontext.c: New file.
9246         * stdlib/Makefile: Add rules to build and run bug-getcontext.
9248 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9250         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9251         instructions into .machine "z9-109".
9252         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9253         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9255 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9257         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9258         between environment variables and auxiliary vector.
9260 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
9262         * Makefile: Add rules to build linkobj/libc.so.
9263         * include/libc-symbols.h: Define libc_hidden_nolink.
9264         * include/rpc/auth.h: Mark functions which are to be hidden.
9265         * include/rpc/auth_des.h: Likewise.
9266         * include/rpc/auth_unix.h: Likewise.
9267         * include/rpc/clnt.h: Likewise.
9268         * include/rpc/des_crypt.h: Likewise.
9269         * include/rpc/key_prot.h: Likewise.
9270         * include/rpc/pmap_clnt.h: Likewise.
9271         * include/rpc/pmap_prot.h: Likewise.
9272         * include/rpc/pmap_rmt.h: Likewise.
9273         * include/rpc/rpc_msg.h: Likewise.
9274         * include/rpc/svc.h: Likewise.
9275         * include/rpc/svc_auth.h: Likewise.
9276         * include/rpc/xdr.h: Likewise.
9277         * nis/Makefile: Link all DSOs against linkobj/libc.so.
9278         * nss/Makefile: Likewise.
9279         * sunrpc/Makefile: Don't install headers.  Build library with normal
9280         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
9281         * sunrpc/auth_des.c: Hide exported symbols by default, export some
9282         for the compat linking library.  Remove use of INTDEF/INTUSE.
9283         * sunrpc/auth_none.c: Likewise.
9284         * sunrpc/auth_unix.c: Likewise.
9285         * sunrpc/authdes_prot.c: Likewise.
9286         * sunrpc/authuxprot.c: Likewise.
9287         * sunrpc/clnt_gen.c: Likewise.
9288         * sunrpc/clnt_perr.c: Likewise.
9289         * sunrpc/clnt_raw.c: Likewise.
9290         * sunrpc/clnt_simp.c: Likewise.
9291         * sunrpc/clnt_tcp.c: Likewise.
9292         * sunrpc/clnt_udp.c: Likewise.
9293         * sunrpc/clnt_unix.c: Likewise.
9294         * sunrpc/des_crypt.c: Likewise.
9295         * sunrpc/des_soft.c: Likewise.
9296         * sunrpc/get_myaddr.c: Likewise.
9297         * sunrpc/key_call.c: Likewise.
9298         * sunrpc/key_prot.c: Likewise.
9299         * sunrpc/netname.c: Likewise.
9300         * sunrpc/pm_getmaps.c: Likewise.
9301         * sunrpc/pm_getport.c: Likewise.
9302         * sunrpc/pmap_clnt.c: Likewise.
9303         * sunrpc/pmap_prot.c: Likewise.
9304         * sunrpc/pmap_prot2.c: Likewise.
9305         * sunrpc/pmap_rmt.c: Likewise.
9306         * sunrpc/publickey.c: Likewise.
9307         * sunrpc/rpc_cmsg.c: Likewise.
9308         * sunrpc/rpc_common.c: Likewise.
9309         * sunrpc/rpc_dtable.c: Likewise.
9310         * sunrpc/rpc_prot.c: Likewise.
9311         * sunrpc/rpc_thread.c: Likewise.
9312         * sunrpc/rtime.c: Likewise.
9313         * sunrpc/svc.c: Likewise.
9314         * sunrpc/svc_auth.c: Likewise.
9315         * sunrpc/svc_authux.c: Likewise.
9316         * sunrpc/svc_raw.c: Likewise.
9317         * sunrpc/svc_run.c: Likewise.
9318         * sunrpc/svc_simple.c: Likewise.
9319         * sunrpc/svc_tcp.c: Likewise.
9320         * sunrpc/svc_udp.c: Likewise.
9321         * sunrpc/svc_unix.c: Likewise.
9322         * sunrpc/svcauth_des.c: Likewise.
9323         * sunrpc/xcrypt.c: Likewise.
9324         * sunrpc/xdr.c: Likewise.
9325         * sunrpc/xdr_array.c: Likewise.
9326         * sunrpc/xdr_float.c: Likewise.
9327         * sunrpc/xdr_intXX_t.c: Likewise.
9328         * sunrpc/xdr_mem.c: Likewise.
9329         * sunrpc/xdr_rec.c: Likewise.
9330         * sunrpc/xdr_ref.c: Likewise.
9331         * sunrpc/xdr_sizeof.c: Likewise.
9332         * sunrpc/xdr_stdio.c: Likewise.
9334 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
9336         [BZ #12650]
9337         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9338         * sysdeps/ia64/dl-tls.h: Likewise.
9339         * sysdeps/powerpc/dl-tls.h: Likewise.
9340         * sysdeps/s390/dl-tls.h: Likewise.
9341         * sysdeps/sh/dl-tls.h: Likewise.
9342         * sysdeps/sparc/dl-tls.h: Likewise.
9343         * sysdeps/x86_64/dl-tls.h: Likewise.
9344         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9346 2011-03-14  Andreas Schwab  <schwab@redhat.com>
9348         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9349         rpath element also skip the following colon.
9350         (expand_dynamic_string_token): Add is_path parameter and pass
9351         down to DL_DST_REQUIRED and _dl_dst_substitute.
9352         (decompose_rpath): Call expand_dynamic_string_token with
9353         non-zero is_path.  Ignore empty rpaths.
9354         (_dl_map_object_from_fd): Call expand_dynamic_string_token
9355         with zero is_path.
9357 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
9359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9360         Make cancelable.
9362 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
9364         [BZ #12655]
9365         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9366         Patch by Filipe David Manana <fdmanana@apache.org>.
9368 2011-04-07  Andreas Schwab  <schwab@redhat.com>
9370         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9371         Maintain aligned stack.
9372         (CHECK_RSP): Remove unused macro.
9374 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
9376         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9377         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9379 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
9381         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9383         * include/features.h: Mention __USE_XOPEN2K8 in comment.
9385 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
9387         [BZ #12518]
9388         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9389         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9390         * sysdeps/x86_64/memmove.c: New file.
9391         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9392         (memcpy): Renamed to ...
9393         (__new_memcpy): This.
9394         (memcpy): Provide GLIBC_2_14 memcpy.
9395         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9396         (memcpy): Provide GLIBC_2_2_5 memcpy.
9398 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9400         [BZ #12631]
9401         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9403 2011-03-30  Andreas Schwab  <schwab@redhat.com>
9405         * misc/syncfs.c: New file.
9406         * misc/Makefile (routines): Add syncfs.
9407         * posix/unistd.h: Declare syncfs.
9408         * sysdeps/unix/syscalls.list: Add syncfs.
9410 2011-04-01  Andreas Schwab  <schwab@redhat.com>
9412         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9413         open_by_handle_at.
9414         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9415         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9416         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9417         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9418         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9419         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9420         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9422 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9424         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9425         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9426         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9427         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9428         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9429         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9430         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9432         * io/Makefile: Compile fallocate.c, fallocate64.c, and
9433         sync_file_range.c with -fexceptions.
9434         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9435         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9436         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9437         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9438         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9439         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9440         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9441         sync_file_range as cancellation point
9442         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
9443         now a wrapper around __call_sync_file_range with cancellation handling.
9444         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9445         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
9446         function name to __call_sync_file_range.
9447         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9448         Add call_sync_file_range.
9450 2011-04-01  Andreas Schwab  <schwab@redhat.com>
9452         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9453         bits/timex.h.
9455 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
9457         * iconv/iconv.h: Fix typo in comment.
9458         * io/fcntl.h: Likewise.
9459         * libio/stdio.h: Likewise.
9460         * posix/spawn.h: Likewise.
9461         * posix/unistd.h: Likewise.
9462         * stdlib/stdlib.h: Likewise.
9463         * time/time.h: Likewise.
9464         * wcsmbs/wchar.h: Likewise.
9466         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9467         open_by_handle): Add.
9468         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9469         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
9470         Augment a few comments.
9471         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9472         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9473         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9474         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9475         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9476         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9477         open_by_handle.
9479         * io/fcntl.h (AT_EMPTY_PATH): Define.
9481 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
9483         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9484         * sysdeps/unix/sysv/linux/bits/time.h: New file.
9485         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9486         to...
9487         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
9488         * Versions.def: Add GLIBC_2.14.
9489         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9490         Export.
9492 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
9494         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9495         round counter.
9496         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9498 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
9500         [BZ #12597]
9501         * string/test-strncmp.c (do_page_test): New function.
9502         (check2): Likewise.
9503         (test_main): Call check2.
9504         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9506 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
9508         [BZ #12587]
9509         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9510         Handle cache information in CPU leaf 4.
9511         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9513 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
9515         [BZ #12583]
9516         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9517         character representation.
9518         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9520 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
9522         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9523         END(__isnan) to END(__isnanf) to match function entry point/label
9524         EALIGN(__isnanf,...).
9526 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
9528         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9530 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
9532         [BZ #12510]
9533         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9534         copy from the symbol referenced in the relocation to initialize the
9535         used variable.
9536         Patch by Piotr Bury <pbury@goahead.com>.
9537         * elf/Makefile: Add rules to build and tst-unique3.
9538         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9539         * elf/tst-unique3.cc: New file.
9540         * elf/tst-unique3.h: New file.
9541         * elf/tst-unique3lib.cc: New file.
9542         * elf/tst-unique3lib2.cc: New file.
9544         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9546 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
9548         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9549         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
9550         to _start.
9552 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
9554         * elf/dl-load.c (_dl_map_object): If we are looking for the first
9555         to-be-loaded object along a path to loader is ld.so.
9557 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
9558             Ulrich Drepper  <drepper@gmail.com>
9560         * sysdeps/x86_64/memset.S: After aligning destination, code
9561         branches to different locations depending on the value of
9562         misalignment, when multiarch is enabled. Fix this.
9564 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
9566         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9567         Set _x86_64_preferred_memory_instruction for AMD processsors.
9568         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9569         Set bit_Prefer_SSE_for_memop for AMD processors.
9571 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
9573         * libio/fmemopen.c (fmemopen): Optimize a bit.
9575 2011-03-03  Andreas Schwab  <schwab@redhat.com>
9577         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9579 2011-03-03  Roland McGrath  <roland@redhat.com>
9581         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9583 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
9585         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9586         __bzero_ultra1 instead of __memset_ultra1.
9588 2011-02-23  Andreas Schwab  <schwab@redhat.com>
9589             Ulrich Drepper  <drepper@gmail.com>
9591         [BZ #12509]
9592         * include/link.h (struct link_map): Add l_orig_initfini.
9593         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9594         returning unsuccessfully.
9595         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9596         close of a file loaded at startup, restore the original l_initfini
9597         list.
9598         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9599         list, store the pointer.
9600         * elf/Makefile ($(objpfx)noload-mem): New rule.
9601         (noload-ENV): Define.
9602         (tests): Add $(objpfx)noload-mem.
9603         * elf/noload.c: Include <memcheck.h>.
9604         (main): Call mtrace.  Close all opened handles.
9606 2011-02-17  Andreas Schwab  <schwab@redhat.com>
9608         [BZ #12454]
9609         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9610         dependencies are missing.
9612 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9614         Fix __if_freereq crash: Unlike the generic version which uses free,
9615         Hurd needs munmap.
9616         * sysdeps/mach/hurd/ifreq.h: New file.
9618 2011-01-27  Petr Baudis  <pasky@suse.cz>
9619             Ulrich Drepper  <drepper@gmail.com>
9621         [BZ 12445]#
9622         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9623         to extend_alloca().
9624         * stdio-common/bug23.c: New file.
9625         * stdio-common/Makefile (tests): Add bug23.
9627 2010-09-28  Andreas Schwab  <schwab@redhat.com>
9628             Ulrich Drepper  <drepper@gmail.com>
9630         [BZ #12489]
9631         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9632         before performing relro protection.  At old place add assertion
9633         to make sure nothing changed.
9635 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
9636             Glauber de Oliveira Costa  <glommer@gmail.com>
9638         * elf/elf.h: Add new ARM TLS relocs.
9640 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
9642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9643         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9644         cast from r3.
9645         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
9646         'tests' variable.
9647         * sysdeps/wordsize-64/tst-writev.c: New file.
9649 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
9651         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9652         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9653         insns in _dl_start to prevent a TOC reference before relocs are
9654         resolved.
9656 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
9658         [BZ #12469]
9659         * Makeconfig: Remove RANLIB definition.
9660         * Makerules: Don't use RANLIB.
9661         * aclocal.m4: Remove ranlib test.
9662         * configure.in: No need to check for ranlib.
9663         * elf/rtld-Rules: Don't use RANLIB.
9665 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9667         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9668         protection macro.
9669         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9670         inclusion protection macro.
9672         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9673         SIGRTMIN and SIGRTMAX and print information in that case only when
9674         SIGRTMIN is defined.
9676 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
9678         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9679         arginfo fn returning -1.
9681         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9682         and thousands string is zero terminated.
9684 2011-02-03  Andreas Schwab  <schwab@redhat.com>
9686         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9687         sysdeps/unix/sysv/linux/bits/socket.h.
9689 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9691         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9692         (__CPU_COUNT): Remove old macros.
9693         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9694         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9695         (__CPU_ALLOC, __CPU_FREE): Add macros.
9696         (__sched_cpualloc, __sched_cpufree): Add declarations.
9698 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
9700         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9701         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9702         * nscd/aicache.c (addhstaiX): Return timeout of added value.
9703         (readdhstai): Return value of addhstaiX call.
9704         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9705         (addgrbyX): Return value returned by cache_addgr.
9706         (readdgrbyname): Return value returned by addgrbyX.
9707         (readdgrbygid): Likewise.
9708         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9709         (addpwbyX): Return value returned by cache_addpw.
9710         (readdpwbyname): Return value returned by addhstbyX.
9711         (readdpwbyuid): Likewise.
9712         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9713         (addservbyX): Return value returned by cache_addserv.
9714         (readdservbyname): Return value returned by addservbyX:
9715         (readdservbyport): Likewise.
9716         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9717         (addhstbyX): Return value returned by cache_addhst.
9718         (readdhstbyname): Return value returned by addhstbyX.
9719         (readdhstbyaddr): Likewise.
9720         (readdhstbynamev6): Likewise.
9721         (readdhstbyaddrv6): Likewise.
9722         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9723         (readdinitgroups): Return value returned by addinitgroupsX.
9724         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9725         (prune_cache): Keep track of timeout value of re-added entries.
9726         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9727         * nscd/nscd.h: Adjust prototypes of readd* functions.
9729 2011-02-04  Roland McGrath  <roland@redhat.com>
9731         * nis/nis_server.c (nis_servstate): Use the right name for 0.
9732         (nis_stats): Likewise.
9733         * nis/nis_modify.c (nis_modify): Likewise.
9734         * nis/nis_remove.c (nis_remove): Likewise.
9735         * nis/nis_add.c (nis_add): Likewise.
9737         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9739         * posix/fnmatch_loop.c: Add some consts.
9741         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9743 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
9745         [BZ #12460]
9746         * config.make.in (config-cflags-novzeroupper): Define.
9747         * configure.in: Substitute libc_cv_cc_novzeroupper.
9748         * elf/Makefile (AVX-CFLAGS): Define.
9749         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9750         (CFLAGS-tst-auditmod4a.c): Likewise.
9751         (CFLAGS-tst-auditmod4b.c): Likewise.
9752         (CFLAGS-tst-auditmod6b.c): Likewise.
9753         (CFLAGS-tst-auditmod6c.c): Likewise.
9754         (CFLAGS-tst-auditmod7b.c): Likewise.
9755         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9757 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
9759         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9760         function to the callback.
9761         Patch partly by Jiri Olsa <jolsa@redhat.com>.
9763 2011-02-02  Andreas Schwab  <schwab@redhat.com>
9765         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9766         of errno.
9768 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
9770         [BZ #11724]
9771         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9772         of constructors.
9773         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9774         of destructors.
9775         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9777         [BZ #11724]
9778         * elf/Makefile: Add rules to build and run new test.
9779         * elf/tst-initorder.c: New file.
9780         * elf/tst-initorder.exp: New file.
9781         * elf/tst-initordera1.c: New file.
9782         * elf/tst-initordera2.c: New file.
9783         * elf/tst-initordera3.c: New file.
9784         * elf/tst-initordera4.c: New file.
9785         * elf/tst-initorderb1.c: New file.
9786         * elf/tst-initorderb2.c: New file.
9787         * elf/tst-order-a1.c: New file.
9788         * elf/tst-order-a2.c: New file.
9789         * elf/tst-order-a3.c: New file.
9790         * elf/tst-order-a4.c: New file.
9791         * elf/tst-order-b1.c: New file.
9792         * elf/tst-order-b2.c: New file.
9793         * elf/tst-order-main.c: New file.
9794         New test case by George Gensure <werkt0@gmail.com>.
9796 2010-10-01  Andreas Schwab  <schwab@redhat.com>
9798         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9799         decoding ACE if AI_CANONIDN.
9801 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
9803         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9805 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
9807         * version.h (RELEASE): Bump for 2.13 release.
9808         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9810         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9812         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9813         MADV_NOHUGEPAGE.
9814         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9815         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9816         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9817         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9818         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9819         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9821         * posix/getconf.c: Update copyright year.
9822         * catgets/gencat.c: Likewise.
9823         * csu/version.c: Likewise.
9824         * debug/catchsegv.sh: Likewise.
9825         * debug/xtrace.sh: Likewise.
9826         * elf/ldconfig.c: Likewise.
9827         * elf/ldd.bash.in: Likewise.
9828         * elf/sprof.c (print_version): Likewise.
9829         * iconv/iconv_prog.c: Likewise.
9830         * iconv/iconvconfig.c: Likewise.
9831         * locale/programs/locale.c: Likewise.
9832         * locale/programs/localedef.c: Likewise.
9833         * malloc/memusage.sh: Likewise.
9834         * malloc/mtrace.pl: Likewise.
9835         * nscd/nscd.c (print_version): Likewise.
9836         * nss/getent.c: Likewise.
9838         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9839         PF_CAIF, and PF_ALG.
9840         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9842 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
9844         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9845         (modules-names): Use them.
9846         (ifunc-test-modules, ifunc-pie-tests): Define.
9847         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9848         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9849         (test-extras): Likewise.
9850         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9851         $(compile-command.c).
9852         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9853         (all-built-dso): Define.
9854         (check-textrel.out, check-execstack.out): Depend on it.
9856         * configure.in: Don't override --enable-multi-arch.
9858 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
9860         [BZ #6812]
9861         * nscd/hstcache.c (tryagain): Define.
9862         (cache_addhst): Return tryagain not notfound for temporary errors.
9863         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9864         failed.
9866 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
9868         [BZ #10563]
9869         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9870         to make the syscall.
9871         * sysdeps/unix/sysv/linux/setgroups.c: New file.
9873         [BZ #12378]
9874         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9875         and fall back to matching as normal character if the string ends before
9876         the matching ']' is found.  This is what POSIX requires.
9877         * posix/testfnm.c: Adjust test result.
9878         * posix/globtest.sh: Adjust test result.  Add new test.
9879         * posix/tst-fnmatch.input: Likewise.
9880         * posix/tst-fnmatch2.c: Add new test.
9882 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
9884         * elf/Makefile (check-execstack): Revert last change.  Depend on
9885         check-execstack.h.
9886         (check-execstack.h): New target.
9887         (generated): Add check-execstack.h.
9888         * elf/check-execstack.c: Include "check-execstack.h".
9889         (main): Revert last change.
9890         (handle_file): Return zero if GNU_STACK is absent and
9891         DEFAULT_STACK_PERMS doesn't include PF_X.
9893 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
9895         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9896         in child fails because the descriptor is already closed.
9897         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9898         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9899         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9901         [BZ #12397]
9902         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9903         syscall.
9905         [BZ #10484]
9906         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9907         temporary buffer used to handle multi lookups locally.
9908         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
9910 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
9912         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9913         loader is ld.so.
9915 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
9917         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9918         alignment for SSE2.
9920 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
9922         [BZ #12394]
9923         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9924         characters.  When rounding increased number of integer digits recompute
9925         number of groups.
9926         * stdio-common/tst-grouping.c: New file.
9927         * stdio-common/Makefile: Add rules to build and run tst-grouping.
9929 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
9931         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9932         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
9934         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9935         void.
9936         * bits/select.h: Likewise.
9938 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
9940         * po/ja.po: Update from translation team.
9942 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
9944         [BZ #11155]
9945         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9946         implementation just like for lxstat, fxstatat, et al.
9948 2010-12-27  Jim Meyering  <meyering@redhat.com>
9950         [BZ #12348]
9951         * posix/regexec.c (build_trtable): Return failure indication upon
9952         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
9954 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
9956         [BZ #12201]
9957         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9958         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9959         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9960         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9962         [BZ #12207]
9963         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9965         [BZ #12204]
9966         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9967         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9969 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9971         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9972         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9973         script has SORT_BY_INIT_PRIORITY.
9974         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9975         NO_CTORS_DTORS_SECTIONS is defined.
9976         * elf/soinit.c: Likewise.
9977         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9978         NO_CTORS_DTORS_SECTIONS is defined.
9979         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9980         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9981         * sysdeps/sh/init-first.c: Likewise.
9982         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9984 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
9986         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9987         always use the slow path.
9989 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
9991         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9992         similar rule which adds the sysdep directories to the header search in
9993         order to pick up the correct platform stackinfo.h.
9994         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9995         perform test if it is, otherwise return successfully without testing.
9996         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9997         DEFAULT_STACK_PERMS define in stackinfo.h.
9998         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9999         defined in stackinfo.h.
10000         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10001         DEFAULT_STACK_PERMS defined in stackinfo.h.
10002         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10003         * sysdeps/ia64/stackinfo.h: Likewise.
10004         * sysdeps/s390/stackinfo.h: Likewise.
10005         * sysdeps/sh/stackinfo.h: Likewise.
10006         * sysdeps/sparc/stackinfo.h: Likewise.
10007         * sysdeps/x86_64/stackinfo.h: Likewise.
10008         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10009         PF_X for powerpc64.  Retain PF_X for powerpc32.
10011 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
10013         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10014         accurately.
10015         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10016         GETDENTS_64BIT_ALIGNED.
10018 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
10020         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10022 2010-12-10  Andreas Schwab  <schwab@redhat.com>
10024         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10025         _GNU_SOURCE.
10027         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10028         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10029         Remove __restrict.
10030         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10031         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10033 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
10035         [BZ #11655]
10036         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10037         are initialized.
10039 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
10041         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10043 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
10045         * po/it.po: Update from translation team.
10047 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10049         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10050         unused codes.
10052 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
10054         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10056 2010-11-24  Andreas Schwab  <schwab@redhat.com>
10058         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10059         specially.
10060         (gaih_getanswer_slice): Likewise.
10062 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
10064         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10066 2010-05-31  Petr Baudis  <pasky@suse.cz>
10068         [BZ #11149]
10069         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10070         silently even in the chroot mode.
10072 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
10074         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10075         last patch a bit.  Pretty printing
10077 2010-05-31  Petr Baudis <pasky@suse.cz>
10079         [BZ #10085]
10080         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10081         initialization of skip_initgroups_dyn.
10083 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
10085         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10086         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10088 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
10090         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10092 2010-11-11  Andreas Schwab  <schwab@redhat.com>
10094         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10095         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10096         (tst-fnmatch-ENV): Set MALLOC_TRACE.
10097         ($(objpfx)tst-fnmatch-mem): New rule.
10098         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10099         * posix/tst-fnmatch.c (main): Call mtrace.
10101 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
10103         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10104         Support Intel processor model 6 and model 0x2c.
10106 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
10108         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10109           signed comparison.
10111 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
10113         [BZ #12205]
10114         * string/test-strncasecmp.c (check_result): New function.
10115         (do_one_test): Use it.
10116         (check1): New function.
10117         (test_main): Use it.
10118         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10119         Support strcasecmp and strncasecmp.
10121 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
10123         [BZ #12194]
10124         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10125         * sysdeps/x86_64/bits/byteswap.h: Likewise.
10127 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10129         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10130         IFUNC support.
10131         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10132         memset-x86-64.
10133         * sysdeps/x86_64/multiarch/bzero.S: New file.
10134         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10135         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10136         * sysdeps/x86_64/multiarch/memset.S: New file.
10137         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10138         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10139         Set bit_Prefer_SSE_for_memop for Intel processors.
10140         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10141         Define.
10142         (index_Prefer_SSE_for_memop): Define.
10143         (HAS_PREFER_SSE_FOR_MEMOP): Define.
10145 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
10147         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10148         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10150 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
10152         [BZ #12191]
10153         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10154         (__x86_64_raw_data_cache_size_half): Likewise.
10155         (__x86_64_raw_shared_cache_size): Likewise.
10156         (__x86_64_raw_shared_cache_size_half): Likewise.
10158         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10159         (__x86_64_raw_data_cache_size_half): Likewise.
10160         (__x86_64_raw_shared_cache_size): Likewise.
10161         (__x86_64_raw_shared_cache_size_half): Likewise.
10162         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10163         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10164         and __x86_64_raw_shared_cache_size_half.  Round
10165         __x86_64_data_cache_size_half, __x86_64_data_cache_size
10166         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10167         to multiple of 256 bytes.
10169 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
10171         [BZ #12167]
10172         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10173         of inacessible symlinks.  Verify result of symlink before returning it.
10174         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10175         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10177 2010-10-28  Erich Ritz  <erichritz@gmail.com>
10179         * math/math.h (isinf): Fix typo in comment.
10181 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
10183         * po/da.po: Update from translation team.
10185 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
10187         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10188         is added to the list.
10190 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10191             Ulrich Drepper  <drepper@gmail.com>
10193         * elf/dl-object.c (_dl_new_object): Don't append the new object to
10194         the global list here.  Move code to...
10195         (_dl_add_to_namespace_list): ...here.  New function.
10196         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10197         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10198         * elf/dl-load.c (lose): Don't remove the element from the list.
10199         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10200         (_dl_map_object): Likewise.
10202 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
10204         [BZ #12159]
10205         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10206         into all bytes of SSE register.
10207         Patch by Richard Li <richardpku@gmail.com>.
10209 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
10211         [BZ #12140]
10212         * malloc/malloc.c (_int_free): Fill correct number of bytes when
10213         perturbing.
10215 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
10217         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10218         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10219         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10220         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10222         submachine.
10223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10225 2010-10-22  Andreas Schwab  <schwab@redhat.com>
10227         * include/dlfcn.h (__RTLD_SECURE): Define.
10228         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
10229         mode & __RTLD_SECURE instead.
10230         (open_path): Rename preloaded parameter to secure.
10231         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10232         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10233         * elf/dl-deps.c (openaux): Likewise.
10234         * elf/rtld.c (struct map_args): Remove is_preloaded.
10235         (map_doit): Don't use it.
10236         (dl_main): Likewise.
10237         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10238         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10240 2010-09-09  Andreas Schwab  <schwab@redhat.com>
10242         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10243         (sysd-rules-targets): Remove duplicates.
10244         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10245         rtld-%.$o dependency.
10247 2010-10-18  Andreas Schwab  <schwab@redhat.com>
10249         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10250         _dl_map_object do it.
10252 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
10254         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10255         fast fma builtins, define the macros in the C99 standard.
10256         (FP_FAST_FMAF): Likewise.
10257         (FP_FAST_FMAL): Likewise.
10258         * sysdeps/x86_64/bits/mathdef.h: Likewise.
10260         * bits/mathdef.h: Update copyright year.
10261         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10263 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
10265         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10266         builtins, define the macros in the C99 standard.
10267         (FP_FAST_FMAF): Likewise.
10268         (FP_FAST_FMAL): Likewise.
10269         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10270         multiply/add.
10271         (FP_FAST_FMAF): Likewise.
10273 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
10275         [BZ #3268]
10276         * math/libm-test.inc (fma_test): Some new testcases.
10277         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10278         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10279         y and infinite z.  Do multiplication by C already in long double.
10280         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10281         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10282         y and infinite z.  Do bitwise or of inexact bit into u.d.
10283         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10284         * sysdeps/i386/fpu/s_fmaf.S: Removed.
10285         * sysdeps/i386/fpu/s_fma.S: Removed.
10286         * sysdeps/i386/fpu/s_fmal.S: Removed.
10288 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
10290         [BZ #3268]
10291         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10292         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10293         computation is not scheduled after fetestexcept.  Fix value
10294         of minimum denormal long double.
10296 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
10298         [BZ #3268]
10299         * math/libm-test.inc (fma_test): Add some more tests.
10300         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10301         correctly.
10303 2010-10-15  Andreas Schwab  <schwab@redhat.com>
10305         * scripts/data/localplt-s390-linux-gnu.data: New file.
10306         * scripts/data/localplt-s390x-linux-gnu.data: New file.
10308 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
10310         [BZ #3268]
10311         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10312         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10313         instead of dbl-64.
10314         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10315         inlines.
10316         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10317         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10318         if one of x and y is very large and the other is subnormal.
10319         * sysdeps/s390/fpu/s_fmaf.c: New file.
10320         * sysdeps/s390/fpu/s_fma.c: New file.
10321         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10322         * sysdeps/powerpc/fpu/s_fma.S: New file.
10323         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10324         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10325         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10327 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
10329         [BZ #3268]
10330         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10331         fma tests.
10332         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10333         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10334         * sysdeps/i386/i686/multiarch/s_fma.c: Include
10335         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10336         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10337         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10338         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10340 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
10342         [BZ #12078]
10343         * posix/regcomp.c (parse_branch): One more memory leak plugged.
10344         * posix/bug-regex31.input: Add test case.
10346 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
10348         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10349         * posix/bug-regex31.input: New file.
10351         [BZ #12078]
10352         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10353         (parse_sub_exp): Fix last change, use postorder.
10355         * posix/bug-regex31.c: New file.
10356         * posix/Makefile: Add rules to build and run bug-regex31.
10358         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10360         [BZ #12078]
10361         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10363         [BZ #12108]
10364         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10365         to have entries in sys_siglist.
10367         [BZ #12093]
10368         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10369         be NULL.
10371 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
10373         [BZ #3268]
10374         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10375         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10376         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10377         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10378         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10379         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10380         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10381         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10382         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10383         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10384         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10385         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10386         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10387         * math/ftestexcept.c (fetestexcept): Likewise.
10388         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10389         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10390         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10391         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10392         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10393         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10394         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10396 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
10398         [BZ #12107]
10399         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10400         newline.
10402 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
10404         * string/bug-strstr1.c: New file.
10405         * string/Makefile: Add rules to build and run bug-strstr1.
10407 2010-10-05  Eric Blake  <eblake@redhat.com>
10409         [BZ #12092]
10410         * string/str-two-way.h (two_way_long_needle): Always clear memory
10411         when skipping input due to the shift table.
10413 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
10415         [BZ #12005]
10416         * malloc/mcheck.c: Handle large requests.
10418         [BZ #12077]
10419         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10420         for strncmp and strncasecmp.
10421         * string/stratcliff.c: Add tests for strcmp and strncmp.
10422         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10424 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
10426         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10427         __set_fpscr.
10429 2010-09-30  Andreas Jaeger  <aj@suse.de>
10431         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10432         (CGROUP_SUPER_MAGIC): Define.
10433         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10434         Handle btrfs and cgroup file systems.
10435         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10436         Likewise.
10438 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
10440         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10441         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10443 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10445         [BZ #12067]
10446         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10447         trying to locate the ELF header.
10449 2010-09-27  Andreas Schwab  <schwab@redhat.com>
10451         [BZ #11611]
10452         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10453         Mask out sign-bit copies when constructing f_fsid.
10455 2010-09-24  Petr Baudis <pasky@suse.cz>
10457         * debug/stack_chk_fail_local.c: Add missing licence exception.
10458         * debug/warning-nop.c: Likewise.
10460 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
10462         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10463         implementing getdents64 using getdents syscall, set d_type if
10464         __ASSUME_GETDENTS32_D_TYPE.
10466 2010-09-16  Andreas Schwab  <schwab@redhat.com>
10468         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10469         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10471 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
10473         [BZ #12037]
10474         * posix/unistd.h: Undo change of feature selection for ftruncate from
10475         2010-01-11.
10477 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
10479         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10480         detection.
10482 2010-09-20  Andreas Schwab  <schwab@redhat.com>
10484         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10485         fanotify_mark.
10486         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10488 2010-09-14  Andreas Schwab  <schwab@redhat.com>
10490         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10491         variables after CHECK_SP call.
10492         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10494 2010-09-13  Andreas Schwab  <schwab@redhat.com>
10495             Ulrich Drepper  <drepper@redhat.com>
10497         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10498         re-relocationg ld.so.
10499         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10500         _dl_init_paths call.
10501         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
10502         here anymore.
10504 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
10506         * resolv/res_init.c (__res_vinit): Count the default server we added.
10508 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
10509             Ulrich Drepper  <drepper@redhat.com>
10511         [BZ #11968]
10512         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10513         (____longjmp_chk): Use %ebx for saving value across system call.
10514         Add unwind info.
10516 2010-09-06  Andreas Schwab  <schwab@redhat.com>
10518         * manual/Makefile: Don't mix pattern rules with normal rules.
10520 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
10522         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10523         operation.
10524         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10525         * libio/iofopncook.c (_IO_cookie_init): Likewise.
10526         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10527         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10528         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10529         Likewise.
10531 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
10533         [BZ #11979]
10534         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10535         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10537 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
10539         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10540         * sysdeps/x86_64/addmul_1.S: Likewise.
10541         * sysdeps/x86_64/lshift.S: Likewise.
10542         * sysdeps/x86_64/mul_1.S: Likewise.
10543         * sysdeps/x86_64/rshift.S: Likewise.
10544         * sysdeps/x86_64/sub_n.S: Likewise.
10545         * sysdeps/x86_64/submul_1.S: Likewise.
10547 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10549         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10550         Define __sched_param instead of SCHED_* and sched_param when
10551         <bits/sched.h> is included with __need_schedparam defined.
10552         * bits/sched.h [__need_schedparam]
10553         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10554         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10555         (__defined_schedparam): Define to 1.
10556         (__sched_param): New structure, identical to sched_param.
10557         (__need_schedparam): Undefine.
10559 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
10561         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10562         (epoll_create1): Declare.
10564         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10566 2010-08-31  Andreas Schwab  <schwab@redhat.com>
10568         [BZ #7066]
10569         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10570         shifting retval into place.
10572 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
10574         * nis/rpcsvc/nis.h: Update copyright notice.
10575         * nis/rpcsvc/nis.x: Likewise.
10576         * nis/rpcsvc/nis_callback.h: Likewise.
10577         * nis/rpcsvc/nis_callback.x: Likewise.
10578         * nis/rpcsvc/nis_object.x: Likewise.
10579         * nis/rpcsvc/nis_tags.h: Likewise.
10580         * nis/rpcsvc/yp.h: Likewise.
10581         * nis/rpcsvc/yp.x: Likewise.
10582         * nis/rpcsvc/ypupd.h: Likewise.
10583         * nis/yp_xdr.c: Likewise.
10584         * nis/ypupdate_xdr.c: Likewise.
10586         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
10587         mainly the body of pmap_getport.  Add parameters to specify timeouts.
10588         (pmap_getport): Use __libc_rpc_getport.
10589         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10590         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10591         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10593 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
10595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10596         fanotify_mark.
10598 2010-08-27  Roland McGrath  <roland@redhat.com>
10600         * sysdeps/i386/i686/multiarch/Makefile
10601         (CFLAGS-varshift.c): New variable.
10603 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
10605         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10606         * sysdeps/i386/i686/multiarch/varshift.c: New file.
10608         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10610         * sysdeps/x86_64/strlen.S: Minimal code improvement.
10612 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
10614         * sysdeps/x86_64/strlen.S: Unroll the loop.
10615         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10616         strlen-sse2 strlen-sse2-bsf.
10617         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10618         __strlen_no_bsf if bit_Slow_BSF is set.
10619         (__strlen_sse42): Removed.
10620         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10621         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10623 2010-08-25  Roland McGrath  <roland@redhat.com>
10625         * sysdeps/x86_64/multiarch/varshift.S: File removed.
10626         * sysdeps/x86_64/multiarch/varshift.c: New file.
10627         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10628         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10629         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10630         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10632 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
10634         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10635         strlen-sse2 strlen-sse2-bsf.
10636         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10637         __strlen_sse2_bsf if bit_Slow_BSF is unset.
10638         (__strlen_sse2): Removed.
10639         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10640         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10641         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10642         bit_Slow_BSF for Atom.
10643         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10644         (index_Slow_BSF): Define.
10645         (HAS_SLOW_BSF): Define.
10647 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
10649         [BZ #10851]
10650         * resolv/res_init.c (__res_vinit): When no server address at all
10651         is given default to loopback.
10653 2010-08-24  Roland McGrath  <roland@redhat.com>
10655         * configure.in: Remove config-name.h generation.
10656         * configure: Regenerated.
10657         * config-name.in: File removed.
10658         * scripts/config-uname.sh: New file.
10659         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10660         ($(objdir)config-name.h): New target.
10662         * sunrpc/rpc_parse.h: Avoid nested comment.
10664 2010-08-24  Richard Henderson  <rth@redhat.com>
10665             Ulrich Drepper  <drepper@redhat.com>
10666             H.J. Lu  <hongjiu.lu@intel.com>
10668         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10669         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10670         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10671         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
10672         _mm_alignr_epi8 with _mm_loadu_si128.
10673         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10674         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10675         (__m128i_shift_right): Removed.
10676         * sysdeps/i386/i686/multiarch/varshift.h: New file.
10677         * sysdeps/i386/i686/multiarch/varshift.S: New file.
10678         * sysdeps/x86_64/multiarch/varshift.h: New file.
10679         * sysdeps/x86_64/multiarch/varshift.S: New file.
10681 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
10683         * configure.in: Move assembler checks to before sysdep dir checking.
10685 2010-08-20  Petr Baudis  <pasky@suse.cz>
10687         * LICENSES: Sync the sunrpc license.
10689 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
10691         * sunrpc/auth_des.c: Update copyright notice once again.
10692         * sunrpc/auth_none.c: Likewise.
10693         * sunrpc/auth_unix.c: Likewise.
10694         * sunrpc/authdes_prot.c: Likewise.
10695         * sunrpc/authuxprot.c: Likewise.
10696         * sunrpc/bindrsvprt.c: Likewise.
10697         * sunrpc/clnt_gen.c: Likewise.
10698         * sunrpc/clnt_perr.c: Likewise.
10699         * sunrpc/clnt_raw.c: Likewise.
10700         * sunrpc/clnt_simp.c: Likewise.
10701         * sunrpc/clnt_tcp.c: Likewise.
10702         * sunrpc/clnt_udp.c: Likewise.
10703         * sunrpc/clnt_unix.c: Likewise.
10704         * sunrpc/des_crypt.c: Likewise.
10705         * sunrpc/des_soft.c: Likewise.
10706         * sunrpc/get_myaddr.c: Likewise.
10707         * sunrpc/getrpcport.c: Likewise.
10708         * sunrpc/key_call.c: Likewise.
10709         * sunrpc/key_prot.c: Likewise.
10710         * sunrpc/openchild.c: Likewise.
10711         * sunrpc/pm_getmaps.c: Likewise.
10712         * sunrpc/pm_getport.c: Likewise.
10713         * sunrpc/pmap_clnt.c: Likewise.
10714         * sunrpc/pmap_prot.c: Likewise.
10715         * sunrpc/pmap_prot2.c: Likewise.
10716         * sunrpc/pmap_rmt.c: Likewise.
10717         * sunrpc/rpc/auth.h: Likewise.
10718         * sunrpc/rpc/auth_unix.h: Likewise.
10719         * sunrpc/rpc/clnt.h: Likewise.
10720         * sunrpc/rpc/des_crypt.h: Likewise.
10721         * sunrpc/rpc/key_prot.h: Likewise.
10722         * sunrpc/rpc/netdb.h: Likewise.
10723         * sunrpc/rpc/pmap_clnt.h: Likewise.
10724         * sunrpc/rpc/pmap_prot.h: Likewise.
10725         * sunrpc/rpc/pmap_rmt.h: Likewise.
10726         * sunrpc/rpc/rpc.h: Likewise.
10727         * sunrpc/rpc/rpc_des.h: Likewise.
10728         * sunrpc/rpc/rpc_msg.h: Likewise.
10729         * sunrpc/rpc/svc.h: Likewise.
10730         * sunrpc/rpc/svc_auth.h: Likewise.
10731         * sunrpc/rpc/types.h: Likewise.
10732         * sunrpc/rpc/xdr.h: Likewise.
10733         * sunrpc/rpc_clntout.c: Likewise.
10734         * sunrpc/rpc_cmsg.c: Likewise.
10735         * sunrpc/rpc_common.c: Likewise.
10736         * sunrpc/rpc_cout.c: Likewise.
10737         * sunrpc/rpc_dtable.c: Likewise.
10738         * sunrpc/rpc_hout.c: Likewise.
10739         * sunrpc/rpc_main.c: Likewise.
10740         * sunrpc/rpc_parse.c: Likewise.
10741         * sunrpc/rpc_parse.h: Likewise.
10742         * sunrpc/rpc_prot.c: Likewise.
10743         * sunrpc/rpc_sample.c: Likewise.
10744         * sunrpc/rpc_scan.c: Likewise.
10745         * sunrpc/rpc_scan.h: Likewise.
10746         * sunrpc/rpc_svcout.c: Likewise.
10747         * sunrpc/rpc_tblout.c: Likewise.
10748         * sunrpc/rpc_util.c: Likewise.
10749         * sunrpc/rpc_util.h: Likewise.
10750         * sunrpc/rpcinfo.c: Likewise.
10751         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10752         * sunrpc/rpcsvc/key_prot.x: Likewise.
10753         * sunrpc/rpcsvc/klm_prot.x: Likewise.
10754         * sunrpc/rpcsvc/mount.x: Likewise.
10755         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10756         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10757         * sunrpc/rpcsvc/rex.x: Likewise.
10758         * sunrpc/rpcsvc/rstat.x: Likewise.
10759         * sunrpc/rpcsvc/rusers.x: Likewise.
10760         * sunrpc/rpcsvc/sm_inter.x: Likewise.
10761         * sunrpc/rpcsvc/spray.x: Likewise.
10762         * sunrpc/rpcsvc/yppasswd.x: Likewise.
10763         * sunrpc/rtime.c: Likewise.
10764         * sunrpc/svc.c: Likewise.
10765         * sunrpc/svc_auth.c: Likewise.
10766         * sunrpc/svc_authux.c: Likewise.
10767         * sunrpc/svc_raw.c: Likewise.
10768         * sunrpc/svc_run.c: Likewise.
10769         * sunrpc/svc_simple.c: Likewise.
10770         * sunrpc/svc_tcp.c: Likewise.
10771         * sunrpc/svc_udp.c: Likewise.
10772         * sunrpc/svc_unix.c: Likewise.
10773         * sunrpc/svcauth_des.c: Likewise.
10774         * sunrpc/xcrypt.c: Likewise.
10775         * sunrpc/xdr.c: Likewise.
10776         * sunrpc/xdr_array.c: Likewise.
10777         * sunrpc/xdr_float.c: Likewise.
10778         * sunrpc/xdr_mem.c: Likewise.
10779         * sunrpc/xdr_rec.c: Likewise.
10780         * sunrpc/xdr_ref.c: Likewise.
10781         * sunrpc/xdr_sizeof.c: Likewise.
10782         * sunrpc/xdr_stdio.c: Likewise.
10784         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10785         handling.
10787 2010-08-19  Andreas Schwab  <schwab@redhat.com>
10789         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10791 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
10793         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10794         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10795         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10796         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10797         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10798         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10799         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10800         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10801         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10802         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10803         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10804         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10805         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10806         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10808 2010-07-26  Anton Blanchard  <anton@samba.org>
10810         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10811         * malloc/arena.c (heap_trim): Likewise.
10813 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
10815         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10816         here.  Not...
10817         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10818         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10820 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
10822         * sysdeps/i386/elf/Makefile: New file.
10824 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
10826         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10827         from fanotify_init.
10828         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10829         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10831 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
10833         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10834         of strncasecmp_l.
10835         * sysdeps/multiarch/strcmp.S: Likewise.
10837 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
10839         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10840         strncase_l-nonascii.
10841         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10842         Add strncase_l-ssse3.
10843         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10844         * sysdeps/x86_64/strcmp.S: Likewise.
10845         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10846         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10847         * sysdeps/x86_64/strncase.S: New file.
10848         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10849         * sysdeps/x86_64/strncase_l.S: New file.
10850         * string/Makefile (strop-tests): Add strncasecmp.
10851         * string/test-strncasecmp.c: New file.
10853         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10854         warning.
10856         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10857         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10859 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
10861         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10863 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
10865         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10866         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10867         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10869 2010-05-01  Alan Modra  <amodra@gmail.com>
10871         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10872         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10873         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10874         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10875         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10876         tidying.  Don't tail-call __sigjmp_save for static lib.
10877         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10878         save location.
10879         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10880         (CALL_MCOUNT): Add eh info, and nop after bl.
10881         (TAIL_CALL_SYSCALL_ERROR): New macro.
10882         (PSEUDO_RET): Use it.
10883         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10884         Correct save location of integer regs and cr.
10885         (_dl_profile_resolve): Correct cr save location.  Delete nops
10886         after bl when SHARED.  Reduce cfi size a little by better
10887         placement of cfi directives.
10888         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10889         make a stack frame.  Instead use parm save area as a temp.
10890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10891         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
10892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10893         Don't make a stack frame for parent, use parm save area.
10894         Increase child stack frame to 112 bytes.  Don't save unused reg,
10895         and adjust reg usage.  Set up cfi on error recovery and
10896         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10898         (__makecontext): Add dummy nop after jump to exit.
10899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10900         Use correct parm save area and cr save, reduce stack frame.
10901         Correct cfi for possible PSEUDO_RET frame setup.
10902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10903         Branch to local label emitted by PSEUDO_RET rather than
10904         __syscall_error.
10906 2010-08-12  Andreas Schwab  <schwab@redhat.com>
10908         [BZ #11904]
10909         * locale/programs/locale.c (print_assignment): New function.
10910         (show_locale_vars): Use it.
10912 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
10914         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10915         field.
10916         (struct statfs64): Likewise.
10917         (_STATFS_F_FLAGS): Define.
10918         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10919         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10920         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10921         (ST_VALID): Define locally.
10922         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10923         __statvfs_getflags, use the provided value.
10924         * sysdeps/unix/sysv/linux/kernel-features.h: Define
10925         __ASSUME_STATFS_F_FLAGS.
10927         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10929         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10930         Add sys/fanotify.h.
10931         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10932         fanotify_mask for GLIBC_2.13.
10933         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10934         fanotify_init and fanotify_mark.
10935         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10936         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10938         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10939         Add prlimit.
10940         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10941         prlimit64 for GLIBC_2.13.
10942         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10943         prlimit64.
10944         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10945         syscall.
10946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10947         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10948         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10949         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10950         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
10951         add prlimit alias.
10952         * sysdeps/unix/sysv/linux/prlimit.c: New file.
10954         [BZ #11903]
10955         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10956         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10958         * nss/Makefile: Add rules to build and run tst-nss-test1.
10959         * shlib-versions: Add entry for libnss_test1.
10960         * nss/nss_test1.c: New file.
10961         * nss/tst-nss-test1.c: New file.
10963         * nss/nsswitch.c (__nss_database_custom): Define new variable.
10964         (__nss_configure_lookup): Set appropriate entry in
10965         __nss_configure_lookup to true.
10966         * nss/nsswitch.h: Define enum with indeces of databases in
10967         databases and __nss_database_custom arrays.  Declare
10968         __nss_database_custom.
10969         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10970         to avoid using nscd when custom rules are installed.
10971         * nss/getXXbyYY_r.c: Likewise.
10972         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10974         * nss/nss_files/files-parse.c: Whitespace fixes.
10976 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
10978         [BZ #11883]
10979         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10980         * posix/fnmatch_loop.c: Likewise.
10982 2010-07-17  Andi Kleen  <ak@linux.intel.com>
10984         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10985         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10986         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10987         * Versions.def [GLIBC_2.13]: Add.
10989 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
10991         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10992         Also fail if tpwd after pwuid call is NULL.
10994 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10996         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10997         when converting to ms.
10999 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11001         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11002         EOPNOTSUPP errors with ENOTTY.
11003         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11004         EOPNOTSUPP errors with ENOTTY.
11006 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
11008         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11009         Add strcasecmp_l-ssse3.
11010         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11011         strcasecmp.
11012         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11013         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11014         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11016 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
11018         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11020         * string/Makefile (strop-tests): Add strcasecmp.
11021         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11022         strcasecmp_l-nonascii.
11023         (gen-as-const-headers): Add locale-defines.sym.
11024         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11025         * sysdeps/x86_64/strcasecmp.S: New file.
11026         * sysdeps/x86_64/strcasecmp_l.S: New file.
11027         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11028         * sysdeps/x86_64/locale-defines.sym: New file.
11029         * string/test-strcasecmp.c: New file.
11031         * string/test-strcasestr.c: Test both ends of the range of characters.
11032         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11034 2010-07-29  Roland McGrath  <roland@redhat.com>
11036         [BZ #11856]
11037         * manual/locale.texi (Yes-or-No Questions): Fix example code.
11039 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
11041         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11042         for ld.so.
11044 2010-07-27  Andreas Schwab  <schwab@redhat.com>
11046         * manual/memory.texi (Malloc Tunable Parameters): Document
11047         M_PERTURB.
11049 2010-07-26  Roland McGrath  <roland@redhat.com>
11051         [BZ #11840]
11052         * configure.in (-fgnu89-inline check): Set and substitute
11053         gnu89_inline, not libc_cv_gnu89_inline.
11054         * configure: Regenerated.
11055         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11057 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
11059         * string/test-strnlen.c: New file.
11060         * string/Makefile (strop-tests): Add strnlen.
11061         * string/tester.c (test_strnlen): Add a few more test cases.
11062         * string/tst-strlen.c: Better error reporting.
11064         * sysdeps/x86_64/strnlen.S: New file.
11066 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
11068         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11069         lower-latency instructions.
11071 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
11073         * string/test-strcasestr.c: New file.
11074         * string/test-strstr.c: New file.
11075         * string/Makefile (strop-tests): Add strstr and strcasestr.
11076         * string/str-two-way.h: Don't undefine MAX.
11077         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11079 2010-07-21  Andreas Schwab  <schwab@redhat.com>
11081         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11082         strcasestr-nonascii.
11083         (CFLAGS-strcasestr-nonascii.c): Define.
11084         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11085         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11086         Remove unused attribute.
11088 2010-07-20  Roland McGrath  <roland@redhat.com>
11090         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11091         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
11092         ld.so.cache was broken.  With it, there is no way to disable dsocaps
11093         like LD_HWCAP_MASK can disable hwcaps.
11095 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
11097         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11099 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
11101         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11102         call in strcasestr.
11103         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11104         __strcasestr_sse42_nonascii.
11105         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11106         strcasestr-nonascii.c.
11107         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11109 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
11111         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11112         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11113         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11114         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11116 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
11118         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11119         fcntl.
11121 2010-07-06  Andreas Schwab  <schwab@redhat.com>
11123         [BZ #11577]
11124         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11125         dl_signal_cerror.
11127 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
11129         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11130         _PC_PIPE_BUF using F_GETPIPE_SZ.
11132 2010-07-05  Roland McGrath  <roland@redhat.com>
11134         * manual/arith.texi (Rounding Functions): Fix rint description
11135         implicit in round description.
11137 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
11139         * elf/Makefile: Fix linking for a few tests to make recent linker
11140         happy.
11142 2010-06-30  Andreas Schwab  <schwab@redhat.com>
11144         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11145         $(common-objpfx)libc_nonshared.a.
11147 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
11149         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11150         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11151         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11152         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11153         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11154         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11155         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11156         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11171         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11172         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11173         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11174         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11175         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11176         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11177         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11178         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11179         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11180         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11181         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11182         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11198 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
11200         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11201         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
11202         * string/memmove.c (memmove): Renamed to ...
11203         (MEMMOVE): ...this.  Default to memmove.
11204         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11205         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11206         (END_CHK): Define.
11207         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11208         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11209         mempcpy-ssse3-back memmove-ssse3-back.
11210         * sysdeps/x86_64/multiarch/bcopy.S: New file .
11211         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11212         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11213         * sysdeps/x86_64/multiarch/memcpy.S: New file.
11214         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11215         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11216         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11217         * sysdeps/x86_64/multiarch/memmove.c: New file.
11218         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11219         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11220         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11221         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11222         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11223         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11224         Define.
11225         (index_Fast_Copy_Backward): Define.
11226         (HAS_ARCH_FEATURE): Define.
11227         (HAS_FAST_REP_STRING): Define.
11228         (HAS_FAST_COPY_BACKWARD): Define.
11230 2010-06-21  Andreas Schwab  <schwab@redhat.com>
11232         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11233         Restore proper fallback handling.
11235 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
11237         [BZ #11701]
11238         * posix/group_member.c (__group_member): Correct checking loop.
11240         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11241         OOM in getpwuid_r correctly.  Return error number when the caller
11242         should return, otherwise -1.
11243         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11244         call returning > 0 value.
11245         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11247 2010-06-07  Andreas Schwab  <schwab@redhat.com>
11249         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11250         libc_nonshared.a from targets in modules-names.
11252 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
11254         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11255         requires it.
11257 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
11259         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11260         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11261         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11262         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11264 2010-06-02  Andreas Schwab  <schwab@redhat.com>
11266         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11268 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
11270         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11271         and F_GETPIPE_SZ.
11272         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11273         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11274         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11275         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11276         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11277         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11279 2010-06-14  Roland McGrath  <roland@redhat.com>
11281         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11283 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
11285         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11286         __REDIRECT followed by __THROW.
11287         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11288         * posix/getopt.h (getopt): Likewise.
11290 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
11292         * hurd/lookup-at.c (__file_name_lookup_at): Accept
11293         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
11294         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11295         in AT_FLAGS.
11296         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11297         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11299 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
11301         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11303 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
11305         [BZ #11640]
11306         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11307         Properly check family and model.
11309 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
11311         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11313 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
11315         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11317 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
11319         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11320         symbol reference.
11322 2010-05-19  Andreas Schwab  <schwab@redhat.com>
11324         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11325         symbol reference.
11327 2010-05-21  Andreas Schwab  <schwab@redhat.com>
11329         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11330         and internal_recvmmsg.
11331         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11332         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11333         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11334         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11336         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11337         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11338         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11340 2010-05-20  Andreas Schwab  <schwab@redhat.com>
11342         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11344 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
11346         POWER7 optimizations.
11347         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11348         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11350 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
11352         * version.h: Update for 2.13 development version.
11354 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
11356         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11357         exceptions.  Return 0.
11359 2010-05-07  Roland McGrath  <roland@redhat.com>
11361         * elf/ldconfig.c (main): Add a const.
11363 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
11365         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11366         (args_options): Add no-idn option.
11367         (ahosts_keys_int): Add idn_flags to ai_flags.
11368         (parse_option): Handle 'i' option to clear idn_flags.
11370         * malloc/malloc.c (_int_free): Possible race in the most recently
11371         added check.  Only act on the data if no current modification
11372         happened.
11374 See ChangeLog.17 for earlier changes.