Update powerpc libm ULPs
[glibc.git] / ChangeLog
blobb1cde0d9c0d6cafec18af9a1b068c9744421f775
1 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
3         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9         (__cpymn): Likewise.
10         (norm): Remove commented code.
11         (denorm): Likewise.
12         (__mp_dbl): Likewise.
13         (__inv): Likewise.
14         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15         (__cpymn): Likewise.
16         (norm): Remove commented code.
17         (denorm): Likewise.
18         (__mp_dbl): Likewise.
19         (__inv): Likewise.
21         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22         mp_no value for 1.0 and 2.0.
23         (norm): Use RADIXI instead of radixi.d.
24         (denorm): Likewise.
25         (__mul): Use 0.0 instead of zero.d.
26         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27         mp_no value for 1.0 and 2.0.
28         (norm): Use RADIXI instead of radixi.d.
29         (denorm): Likewise.
30         (__mul): Use 0.0 instead of zero.d.
32 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
34         [BZ #14994]
35         * math/s_casinh.c (__casinh): Reduce finite argument to first
36         quadrant then set signs of results at the end.
37         * math/s_casinhf.c (__casinhf): Likewise.
38         * math/s_casinhl.c (__casinhl): Likewise.
39         * math/libm-test.inc (casin_test): Add more tests.
40         (casinh_test): Likewise.
41         * sysdeps/i386/fpu/libm-test-ulps: Update.
42         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
48         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
50         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
51         declarations.
52         (denorm): Likewise.
53         (__mp_dbl): Likewise.
54         (__inv): Likewise.
56         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
57         and adjust the header comment.
59         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
60         variable name from declaration.
62 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
64         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65         Initialize COMMON_CPUID_INDEX_7 element.
66         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
67         (CPUID_RTM): Likewise.
68         (HAS_RTM): Likewise.
69         (COMMON_CPUID_INDEX_7): New enum.
71 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
73         [BZ #14981]
74         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
75         size is zero, record memory as freed.
77 2013-01-03  Andreas Jaeger  <aj@suse.de>
79         * po/ia.po: Add new Interlingua translation.
81 2012-01-03  Allan McRae  <allan@archlinux.org>
83         * locale/programs/localedef.c: Fix description of '--posix' flag.
85 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
87         * NEWS: Update dates in second copyright notice.
88         * README: Update copyright dates in example.
89         * manual/libc.texinfo: Update copyright dates.
90         * scripts/test-installation.pl: Update copyright date in --version
91         output.
93         * hurd/ctty-input.c: Fix copyright notice formatting.
94         * hurd/ctty-output.c: Likewise.
95         * hurd/dtable.c: Likewise.
96         * hurd/hurd-raise.c: Likewise.
97         * hurd/hurdprio.c: Likewise.
98         * hurd/msgportdemux.c: Likewise.
99         * misc/sys/file.h: Likewise.
100         * misc/sys/ioctl.h: Likewise.
101         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
102         * sysdeps/mach/hurd/chdir.c: Likewise.
103         * sysdeps/mach/hurd/fchdir.c: Likewise.
104         * sysdeps/mach/hurd/rename.c: Likewise.
105         * sysdeps/mach/hurd/rmdir.c: Likewise.
106         * sysdeps/mach/hurd/seekdir.c: Likewise.
107         * sysdeps/mach/hurd/setsid.c: Likewise.
108         * sysdeps/posix/wait3.c: Likewise.
110         * All files with FSF copyright notices: Update copyright dates
111         using scripts/update-copyrights.
112         * intl/plural.c: Regenerated.
113         * locale/programs/charmap-kw.h: Likewise.
114         * locale/programs/locfile-kw.h: Likewise.
116 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
118         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
119         four values.
121         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
122         calculation loop and add branch prediction.
124         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
125         check access beyond bounds of m1np.
127         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
128         MPTWO.
129         (__inv): Remove local variable MPTWO to use the global
130         constant.
131         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
132         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
133         variable MPTWO.
134         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
135         MP3HALFS static const.
137 2013-01-01  David S. Miller  <davem@davemloft.net>
139         * po/ca.po: Update from translation team.
141 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
143         * scripts/update-copyrights: New file.
144         * Makeconfig: Reformat copyright notice.
145         * ctype/ctype.h: Likewise.
146         * debug/swprintf_chk.c: Likewise.
147         * elf/dl-cache.c: Likewise.
148         * elf/dl-debug.c: Likewise.
149         * elf/dl-object.c: Likewise.
150         * grp/initgroups.c: Likewise.
151         * hurd/Makefile: Likewise.
152         * hurd/hurd/signal.h: Likewise.
153         * hurd/hurdfault.c: Likewise.
154         * hurd/hurdioctl.c: Likewise.
155         * hurd/hurdlookup.c: Likewise.
156         * hurd/intr-msg.c: Likewise.
157         * iconv/gconv_open.c: Likewise.
158         * libio/swprintf.c: Likewise.
159         * locale/lc-ctype.c: Likewise.
160         * locale/nl_langinfo.c: Likewise.
161         * mach/Machrules: Likewise.
162         * mach/Makefile: Likewise.
163         * malloc/obstack.h: Likewise.
164         * manual/Makefile: Likewise.
165         * manual/tsort.awk: Likewise.
166         * misc/bits/stab.def: Likewise.
167         * nis/nis_print_group_entry.c: Likewise.
168         * nis/nis_table.c: Likewise.
169         * nis/nss_compat/compat-pwd.c: Likewise.
170         * nis/nss_compat/compat-spwd.c: Likewise.
171         * po/Makefile: Likewise.
172         * posix/fnmatch.c: Likewise.
173         * posix/regex.h: Likewise.
174         * resolv/Makefile: Likewise.
175         * resolv/nss_dns/dns-network.c: Likewise.
176         * resolv/res_hconf.c: Likewise.
177         * scripts/gen-sorted.awk: Likewise.
178         * soft-fp/soft-fp.h: Likewise.
179         * stdio-common/printf.h: Likewise.
180         * stdlib/monetary.h: Likewise.
181         * stdlib/random.c: Likewise.
182         * stdlib/random_r.c: Likewise.
183         * sysdeps/generic/Makefile: Likewise.
184         * sysdeps/gnu/Makefile: Likewise.
185         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
186         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
187         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
188         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
189         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
190         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
191         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
192         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
193         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
194         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
195         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
196         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
197         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
198         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
199         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
200         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
201         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
202         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
203         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
204         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
205         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
206         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
207         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
208         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
209         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
210         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
211         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
212         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
213         * sysdeps/mach/hurd/errnos.awk: Likewise.
214         * sysdeps/mach/hurd/fork.c: Likewise.
215         * sysdeps/mach/hurd/getcwd.c: Likewise.
216         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
217         * sysdeps/mach/hurd/mmap.c: Likewise.
218         * sysdeps/mach/hurd/utimes.c: Likewise.
219         * sysdeps/mach/hurd/xmknod.c: Likewise.
220         * sysdeps/posix/profil.c: Likewise.
221         * sysdeps/posix/readdir_r.c: Likewise.
222         * sysdeps/powerpc/bits/mathdef.h: Likewise.
223         * sysdeps/powerpc/bits/setjmp.h: Likewise.
224         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
225         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
226         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
227         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
228         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
229         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
230         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
231         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
232         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
233         * sysdeps/pthread/lio_listio.c: Likewise.
234         * sysdeps/sparc/dl-procinfo.h: Likewise.
235         * sysdeps/unix/i386/sysdep.S: Likewise.
236         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
237         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
238         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
239         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
241         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
242         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
243         * sysdeps/unix/sysv/linux/speed.c: Likewise.
244         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
245         * sysdeps/wordsize-32/divdi3.c: Likewise.
246         * time/sys/time.h: Likewise.
247         * wcsmbs/Makefile: Likewise.
249 2013-01-01  David S. Miller  <davem@davemloft.net>
251         * po/fr.po: Update from translation team.
253         * catgets/gencat.c: Update copyright year.
254         * csu/version.c: Likewise.
255         * debug/catchsegv.sh: Likewise.
256         * debug/pcprofiledump.c: Likewise.
257         * debug/xtrace.sh: Likewise.
258         * elf/ldconfig.c: Likewise.
259         * elf/ldd.bash.in: Likewise.
260         * elf/pldd.c: Likewise.
261         * elf/sotruss.ksh: Likewise.
262         * elf/sprof.c: Likewise.
263         * iconv/iconv_prog.c: Likewise.
264         * iconv/iconvconfig.c: Likewise.
265         * locale/programs/locale.c: Likewise.
266         * locale/programs/localedef.c: Likewise.
267         * login/programs/pt_chown.c: Likewise.
268         * malloc/memusage.sh: Likewise.
269         * malloc/memusagestat.c: Likewise.
270         * malloc/mtrace.pl: Likewise.
271         * nscd/nscd.c: Likewise.
272         * nss/getent.c: Likewise.
273         * nss/makedb.c: Likewise.
274         * posix/getconf.c: Likewise.
276 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
278         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
279         numbers.
281 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
283         * math/bits/mathcalls.h (modf): Use __nonnull.
285 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
287         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
288         (split): Use macro CN instead of the bare value.
289         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
290         could be used.
291         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
292         instead of the bare value.
293         (power1): Likewise.
295 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
297         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
298         __ATAN_TWOM.
299         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
301         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
302         their values.
303         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
304         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
305         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
306         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
308 2012-12-28  Andreas Jaeger  <aj@suse.de>
310         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
311         values are from Linux 3.7.
313         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
314         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
316 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
318         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
319         TRUE case.
321         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
322         (norm): Likewise.
323         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
324         variables with preprocessor constants.
325         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
326         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
327         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
329 2012-12-27  Bruno Haible  <bruno@clisp.org>
331         [BZ #14317]
332         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
333         only if needed.
335 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
337         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
338         and use variable directly.
339         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
341         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
342         MPONE.
343         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
344         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
345         variable MPONE.
346         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
347         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
348         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
349         include directive.  Remove local variable MPONE.
350         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
351         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
352         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
354 2012-12-25  David S. Miller  <davem@davemloft.net>
356         * version.h (RELEASE): Set to "development".
357         (VERSION): Set to "2.17.90".
358         * NEWS: Add 2.18 section.
360 2012-12-21  David S. Miller  <davem@davemloft.net>
362         * po/hr.po: Update from translation team.
364 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
366         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
368 2012-12-19  Steve Ellcey  <sellcey@mips.com>
370         * NEWS:  Mention new memcpy for MIPS.
372 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
374         * manual/contrib.texi (Contributors): Spelling correction.
376 2012-12-15  David S. Miller  <davem@davemloft.net>
378         * po/ru.po: Update from translation team.
380 2012-12-13  David S. Miller  <davem@davemloft.net>
382         * NEWS: Mention IFUNC testsuite enhancements.
384         * po/pl.po: Update from translation team.
385         * po/bg.po: Likewise.
387         * manual/contrib.texi (Contributors): Update entries for Hongjiu
388         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
390 2012-12-11  David S. Miller  <davem@davemloft.net>
392         * po/sv.po: Update from translation team.
394         * po/vi.po: Update from translation team.
396         * po/cs.po: Update from translation team.
398         * po/de.po: Update from translation team.
399         * po/eo.po: Likewise.
400         * po/nl.po: Likewise.
402 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
404         [BZ #14246]
405         * manual/argp.texi (Argp Helper Functions): Move node to follow
406         Argp Parsing State.
408         [BZ #14872]
409         * manual/conf.texi (Limits on File System Capacity): Mention if
410         terminating null is included in the max size.
412 2012-12-10  Andreas Jaeger  <aj@suse.de>
414         * po/cs.po: Update from translation team.
416 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
418         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
419         void pointer and cast to uintptr_t.
420         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
421         path.
422         * sysdeps/s390/s390-64/memcpy.S: Likewise.
423         * sysdeps/s390/s390-64/memset.S: Likewise.
425 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
427         [BZ #14833]
428         * menual/message.texi (Message Translation): Fix typos.
429         (Helper programs for gettext): Likewise.
431 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
433         [BZ #14898]
434         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
435         Change to -1.
437 2012-12-07  David S. Miller  <davem@davemloft.net>
439         * po/libc.pot: Update.
441 2012-12-07  Richard Henderson  <rth@redhat.com>
443         [BZ #10114]
444         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
445         normal/normal case to before the switch.
446         (_FP_DIV): Likewise.
448 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
449             Mike Frysinger  <vapier@gentoo.org>
451         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
452         check for __NR_fadvise64_64.
454 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
456         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
457         0, not just to plain "0" as a statement.
458         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
459         with cw.
461 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
463         * NEWS: Use sourceware.org in Bugzilla URL.
465 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
468         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
470         * stdio-common/tst-put-error.c (do_test): Add newline to the
471         padded test to ensure flush.
473 2012-12-05  Jeff Law  <law@redhat.com>
475         * sunrpc/etc.rpc (fedfs_admin): Add entry.
477 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
479         * README: Don't refer to ports add-on as distributed separately.
480         Mention AArch64 in list of systems supported in the ports add-on.
482         * LICENSES: Add more non-FSF copyright and license notices.
484         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
485         ((unused)).
487         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
489         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
490         10000 as width of padded output.
492 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
494         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
496         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
497         variable LX with __attribute__ ((unused)).
498         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
499         Likewise.
500         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
501         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
502         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
503         with __attribute__ ((unused)).
505 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
507         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
509 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
511         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
512         (CFLAGS-nldbl-acos.c): New variable.
513         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
514         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
515         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
516         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
517         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
518         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
519         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
520         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
521         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
522         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
523         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
524         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
525         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
526         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
527         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
528         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
529         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
530         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
531         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
532         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
533         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
534         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
535         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
536         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
537         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
538         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
539         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
540         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
541         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
542         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
543         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
544         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
545         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
546         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
547         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
548         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
549         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
550         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
551         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
552         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
553         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
554         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
555         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
556         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
557         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
558         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
559         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
560         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
561         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
562         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
563         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
564         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
565         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
566         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
567         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
568         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
569         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
570         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
571         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
572         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
573         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
574         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
575         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
576         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
577         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
578         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
579         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
580         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
581         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
582         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
583         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
584         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
585         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
586         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
587         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
588         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
589         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
590         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
591         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
592         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
593         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
594         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
595         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
596         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
597         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
598         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
599         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
600         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
601         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
602         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
603         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
604         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
605         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
606         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
607         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
608         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
609         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
612         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
614         [BZ #14914]
615         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
616         whole low double instead of just low 47 bits when splitting values
617         into two parts.
619 2012-12-03  Allan McRae  <allan@archlinux.org>
621         * manual/stdio.texi (Predefined Printf Handlers): Remove
622         @hsep and @vsep usage.
624 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
626         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
627         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
629 2012-12-03  Jeff Law  <law@redhat.com>
631         * time/sys/time.h (settimeofday): Do not mark TV argument
632         as __nonnull.
634 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
636         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
637         when currently writing and seek to current position when not.
638         * libio/Makefile (tests): Remove bug-fclose1.
639         * libio/bug-fclose1.c: Delete.
641 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
643         * manual/arith.texi (feenableexcept): Fix typo.
644         (fedisableexcept): Likewise.
646 2012-11-30  Roland McGrath  <roland@hack.frob.com>
648         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
649         second, differently-typed declaration, rather than a cast.
651 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
653         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
654         * include/rpc/svc.h: ... here.
656 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
658         [BZ #13013]
659         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
660         depending n and resplen2 to catch cases where answer
661         equals answerp2.
663 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
665         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
666         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
668 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
670         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
672 2012-11-29  Roland McGrath  <roland@hack.frob.com>
674         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
676 2012-11-28  Jeff Law  <law@redhat.com>
678         [BZ #13761]
679         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
680         dataset_temporary.  Track alloca usage into alloca_used.
681         If dataset is large allocate and release it via malloc/free.
683 2012-06-04  Florian Weimer  <fweimer@redhat.com>
685         [BZ #14197]
686         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
688 2012-11-28  David S. Miller  <davem@davemloft.net>
690         * sysdeps/sparc/fpu/libm-test-ulps: Update.
692 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
694         [BZ #14803]
695         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
696         of pi/2 rounded to nearest to 64 bits.
697         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
698         nearest to 64 bits.
699         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
700         bits.
702 2012-11-28  Jeff Law <law@redhat.com>
703             Martin Osvald <mosvald@redhat.com>
705         [BZ #14889]
706         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
707         * sunrpc/svc.c: Include time.h.
708         (__svc_accept_failed): New function.
709         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
710         any reason other than EINTR, call __svc_accept_failed.
711         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
712         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
714 2012-11-28  Andreas Schwab  <schwab@suse.de>
716         * scripts/abilist.awk: Also handle indirect functions in .opd
717         section.
719 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
721         [BZ #13881]
722         * sysdeps/x86/fpu/powl_helper.c: New file.
723         * sysdeps/x86/fpu/Makefile: Likewise.
724         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
725         (p3): New object.
726         (__ieee754_powl): Use __powl_helper for finite arguments except
727         integer exponents below 8.
728         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
729         (p3): New object.
730         (__ieee754_powl): Use __powl_helper for finite arguments except
731         integer exponents below 8.
732         * math/libm-test.inc (pow_test): Add more tests and enable some
733         previously disabled tests.
734         * sysdeps/i386/fpu/libm-test-ulps: Update.
735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
737 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
738             Carlos O'Donell  <carlos_odonell@mentor.com>
740         * nss/makedb.c (is_prime): Assert that input is odd and greater
741         than 4.  Note that fact in a comment too.
742         (next_prime): Add 4 to input.
744 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
746         [BZ #11741]
747         * libio/Makefile (tests): Add test case tst-fwrite-error.
748         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
749         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
750         * libio/tst-fwrite-error.c: New test case.
752 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
754         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
755         before casting to void *.
756         * include/libc-internal.h (__pointer_type): New macro.
757         (__integer_if_pointer_type_sub): Likewise.
758         (__integer_if_pointer_type): Likewise.
759         (cast_to_integer): Likewise.
760         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
761         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
762         before casting to atomic64_t.
763         (atomic_exchange_acq): Likewise.
764         (__arch_exchange_and_add_body): Likewise.
765         (__arch_add_body): Likewise.
766         (atomic_add_negative): Likewise.
767         (atomic_add_zero): Likewise.
769 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
771         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
772         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
773         (add_fdes): Likewise.
774         (linear_search_fdes): Likewise.
775         (binary_search_unencoded_fdes): Likewise.
777 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
779         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
781 2012-11-24  Adam Conrad  <adconrad@0c3.net>
783         * configure.in: Autodetect C++ header directories.
784         * configure: Regenerated.
786 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
788         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
790 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
792         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
794 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
796         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
797         LDBL_MANT_DIG == 106]: Disable some tests.
798         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
799         Likewise.
800         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
801         Likewise.
803         [BZ #14871]
804         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
805         input for small inputs.  Return +/- pi/2 for large inputs.
806         * math/libm-test.inc (atan_test): Add more tests.
808         * sysdeps/generic/unwind-dw2-fde-glibc.c
809         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
810         __attribute__ ((unused)).
812         [BZ #14645]
813         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
814         x * y if x and y are nonzero and z is zero.
816         [BZ #14811]
817         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
818         nonzero exponents with absolute value below 0x1p-117 to +/-
819         0x1p-117.
821         [BZ #14869]
822         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
823         up arguments below 2**-450, not just those below 2**-500.
824         * math/libm-test.inc (hypot_test): Add another test.
826         [BZ #14868]
827         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
828         Return a+b for ratio over 2**120, not 2**60.
829         * math/libm-test.inc (hypot_test): Add another test.
831         * math/libm-test.inc (clog_test): Use
832         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
833         (clog10_test): Likewise.
835         [BZ #6778]
836         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
838 2012-11-22  Andreas Schwab  <schwab@suse.de>
840         * sysdeps/i386/fpu/libm-test-ulps: Update.
842 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
844         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
845         printf output with newline.
847 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
849         [BZ #14865]
850         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
851         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
852         -z nodlopen, -z initfirst and -z execstack support.
853         * configure: Regenerated.
855         * elf/elf.h (DF_1_NODIRECT): New macro.
856         (DF_1_IGNMULDEF): Likewise.
857         (DF_1_NOKSYMS): Likewise.
858         (DF_1_NOHDR): Likewise.
859         (DF_1_EDITED): Likewise.
860         (DF_1_NORELOC): Likewise.
861         (DF_1_SYMINTPOSE): Likewise.
862         (DF_1_GLOBAUDIT): Likewise.
863         (DF_1_SINGLETON): Likewise.
864         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
865         DT_1_SUPPORTED_MASK bits.
866         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
868 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
870         * sysdeps/unix/make-syscalls.sh: Document prefixes.
872 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
874         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
875         macro.
877         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
878         (sendmmsg): Move declarations...
879         * socket/sys/socket.h: ... here.
880         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
881         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
882         include it from...
883         * socket/recvmmsg.c: ... this new file.
884         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
885         (sendmmsg): Rename to __sendmmsg, create weak alias and make
886         definition of __sendmmsg hidden.
887         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
888         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
889         Move ENOSYS stub into and include it from...
890         * socket/sendmmsg.c: ... this new file.
891         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
892         (sysdep_routines): Move recvmmsg and sendmmsg...
893         * socket/Makefile (routines): ... here.
894         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
895         (GLIBC_PRIVATE): Add __sendmmsg.
896         * include/sys/socket.h (__sendmmsg): Add declarations.
897         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
898         sendmmsg.
900 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
902         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
903         variable I1 with __attribute__ ((unused)).
904         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
906 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
908         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
909         DUMMY variables with __attribute__ ((unused)).
911         * bits/byteswap.h: Include <bits/types.h>.
912         (__bswap_64): Use __uint64_t instead of unsigned long long int.
914 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
916         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
917         string_t.  Do not manually set errno.
918         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
919         length with __strnlen.  Make sure to both set errno and return it on
920         failure.
922 2012-11-19  David S. Miller  <davem@davemloft.net>
924         With help from Joseph Myers.
925         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
926         very large arguments properly.
927         * math/libm-test.inc (atan_test): New tests.
928         (atan2_test): New tests.
929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
930         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
932 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
934         [BZ #14856]
935         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
936         Define to 3.
938         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
939         [POSIX] (EADDRNOTAVAIL): Likewise.
940         [POSIX] (EAFNOSUPPORT): Likewise.
941         [POSIX] (EALREADY): Likewise.
942         [POSIX] (ECONNABORTED): Likewise.
943         [POSIX] (ECONNREFUSED): Likewise.
944         [POSIX] (ECONNRESET): Likewise.
945         [POSIX] (EDESTADDRREQ): Likewise.
946         [POSIX] (EDQUOT): Likewise.
947         [POSIX] (EHOSTUNREACH): Likewise.
948         [POSIX] (EIDRM): Likewise.
949         [POSIX] (EISCONN): Likewise.
950         [POSIX] (ELOOP): Likewise.
951         [POSIX] (EMULTIHOP): Likewise.
952         [POSIX] (ENETDOWN): Likewise.
953         [POSIX] (ENETUNREACH): Likewise.
954         [POSIX] (ENOBUFS): Likewise.
955         [POSIX] (ENODATA): Likewise.
956         [POSIX] (ENOLINK): Likewise.
957         [POSIX] (ENOMSG): Likewise.
958         [POSIX] (ENOPROTOOPT): Likewise.
959         [POSIX] (ENOSR): Likewise.
960         [POSIX] (ENOSTR): Likewise.
961         [POSIX] (ENOTCONN): Likewise.
962         [POSIX] (ENOTSOCK): Likewise.
963         [POSIX] (EOPNOTSUPP): Likewise.
964         [POSIX] (EOVERFLOW): Likewise.
965         [POSIX] (EPROTO): Likewise.
966         [POSIX] (EPROTONOSUPPORT): Likewise.
967         [POSIX] (EPROTOTYPE): Likewise.
968         [POSIX] (ESTALE): Likewise.
969         [POSIX] (ETIME): Likewise.
970         [POSIX] (ETXTBSY): Likewise.
971         [POSIX] (EWOULDBLOCK): Likewise.
972         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
973         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
974         [POSIX] (SEEK_CUR): Likewise.
975         [POSIX] (SEEK_END): Likewise.
976         [POSIX || UNIX98] (mode_t): Do not require.
977         [POSIX] (off_t): Likewise.
978         [POSIX] (pid_t): Likewise.
979         [POSIX] (sys/stat.h): Do not allow header.
980         [POSIX] (unistd.h): Likewise.
981         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
982         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
983         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
984         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
985         require.
986         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
987         sigevent): Specify elements.
988         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
989         entry.
990         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
991         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
993         * conform/data/cpio.h-data [POSIX]: Disable whole file.
994         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
995         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
996         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
997         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
998         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
999         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1000         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1001         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1002         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1003         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1004         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1005         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1006         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1007         Likewise.
1008         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1009         Likewise.
1010         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1011         Likewise.
1012         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1013         Likewise.
1014         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1015         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1016         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1017         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1018         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1019         Specify lower bound on value.
1020         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1021         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1022         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1023         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1024         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1025         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1026         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1027         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1028         value.
1029         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1030         as optional.
1031         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1032         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1033         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1034         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1035         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1036         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1037         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1038         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1039         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1040         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1041         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1042         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1043         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1044         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1045         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1046         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1047         entry.
1048         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1049         optional.
1050         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1051         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1052         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1053         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1054         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1055         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1056         Likewise.
1057         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1058         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1059         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1060         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1061         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
1062         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1063         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1064         as optional.
1065         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1066         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1067         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1068         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1069         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1070         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1071         specify as optional.
1072         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1073         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1074         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1075         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1076         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1077         [XPG3] (NL_LANGMAX): Likewise.
1078         [POSIX || XPG3] (NL_MSGMAX): Likewise.
1079         [POSIX || XPG3] (NL_NMAX): Likewise.
1080         [POSIX || XPG3] (NL_SETMAX): Likewise.
1081         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1082         [XPG3] (NZERO): Likewise.
1083         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1084         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1085         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1086         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1087         (REG_ERANGE): Expect.
1088         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1089         optional-constant.
1090         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1091         Use (void) in prototype.
1092         [POSIX] (*_t): Allow.
1093         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1094         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1095         (WRDE_BADVAL): Expect.
1097         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1098         expect.
1099         [XPG3 || XPG4] (O_RSYNC): Likewise.
1100         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1101         Likewise.
1102         [XPG3 || XPG4] (pthread_sigmask): Likewise.
1103         [XPG3 || XPG4] (sigqueue): Likewise.
1104         [XPG3 || XPG4] (sigtimedwait): Likewise.
1105         [XPG3 || XPG4] (sigwaitinfo): Likewise.
1106         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1107         [XPG3 || XPG4] (vsnprintf): Likewise.
1108         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1109         Likewise.
1110         [XPG3 || XPG4] (blksize_t): Likewise.
1111         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1112         Likewise.
1113         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1114         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1115         [XPG3 || XPG4] (struct itimerspec): Likewise.
1116         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1117         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1118         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1119         [XPG3 || XPG4] (clockid_t): Likewise.
1120         [XPG3 || XPG4] (timer_t): Likewise.
1121         [XPG3 || XPG4] (clock_getres): Likewise.
1122         [XPG3 || XPG4] (clock_gettime): Likewise.
1123         [XPG3 || XPG4] (clock_settime): Likewise.
1124         [XPG3 || XPG4] (nanosleep): Likewise.
1125         [XPG3 || XPG4] (timer_create): Likewise.
1126         [XPG3 || XPG4] (timer_delete): Likewise.
1127         [XPG3 || XPG4] (timer_gettime): Likewise.
1128         [XPG3 || XPG4] (timer_getoverrun): Likewise.
1129         [XPG3 || XPG4] (timer_settime): Likewise.
1130         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1131         [XPG3 || XPG4] (getlogin_r): Likewise.
1132         [XPG3 || XPG4] (pread): Likewise.
1133         [XPG3 || XPG4] (pthread_atfork): Likewise.
1134         [XPG3 || XPG4] (pwrite): Likewise.
1136         [BZ #14835]
1137         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1138         <bits/siginfo.h>.
1140 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
1142         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1143         finalizing MALLSTREAM.
1145         * sysdeps/mach/hurd/syncfs.c: New file.
1147 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1149         [BZ #14719]
1150         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1151         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1152         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1153         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1154         (_nss_dns_gethostbyname4_r): Likewise.
1155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1156         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1158 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
1160         [BZ #13763]
1161         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1163 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
1165         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1166         * elf/cache.c (print_entry): Print ",AArch64" for
1167         FLAG_AARCH64_LIB64
1169         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1170         * elf/cache.c (print_entry): Print ",hard-float" for
1171         FLAG_ARM_LIBHF.
1173 2012-11-18  David S. Miller  <davem@davemloft.net>
1175         With help from Joseph Myers.
1176         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1177         cutoff to 2**-13.
1178         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1179         cutoff to 2**-25.
1180         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1181         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1182         small.
1183         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1184         * math/libm-test.inc (y0_test): New tests.
1185         (y1_test): New tests.
1186         * sysdeps/i386/fpu/libm-test-ulps: Update.
1187         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1188         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1190 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
1192         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1193         64-bit targets.
1194         * configure: Regenerated.
1196 2012-11-17  David S. Miller  <davem@davemloft.net>
1198         [BZ #14811]
1199         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1200         nonzero exponents with absolute value below 0x1p-128 to +/-
1201         0x1p-128.
1203 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
1205         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1207         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1209         * posix/getconf-speclist.c: New file.
1210         * posix/posix-envs.def: Likewise.
1211         * posix/confstr.c (START_ENV_GROUP): New macro.
1212         (END_ENV_GROUP): Likewise.
1213         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1214         (KNOWN_PRESENT_ENV_STRING): Likewise.
1215         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1216         (UNKNOWN_ENVIRONMENT): Likewise.
1217         (confstr): Include posix-envs.def instead of handling
1218         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1219         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1220         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1221         (END_ENV_GROUP): Likewise.
1222         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1223         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1224         (UNKNOWN_ENVIRONMENT): Likewise.
1225         (__sysconf): Include posix-envs.def instead of handling associated
1226         cases directly here.
1227         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1228         preprocessing getconf-speclist.c rather than running getconf or
1229         generating empty file.
1231 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
1233         * scripts/check-local-headers.sh: Ignore 'mach' headers.
1235 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
1237         [BZ #14672]
1238         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1240 2012-11-16  David S. Miller  <davem@davemloft.net>
1242         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1243         smaller than LDBL_EPSILON/2.0L, just return xm1.
1245 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
1247         * elf/tst-array1.c (init): Set constructor priority to 1000.
1248         (fini): Set destructor priority to 1000.
1249         * elf/tst-array2dep.c: Likewise.
1251 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1253         [BZ #11741]
1254         * libio/fileops.c (_IO_new_file_write): Correctly return error.
1255         (_IO_new_file_xsputn): Also return EOF if none of the input
1256         data was written when overflow failed.
1257         * libio/iopadn.c (_IO_padn): Likewise.
1258         * libio/iowpadn.c (_IO_wpadn): Likewise.
1259         * stdio-common/tst-put-error.c: Add copyright notice.
1260         (do_test): Add case for printing padded string.
1261         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1262         _IO_padn returned error.
1263         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1264         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1265         return EOF.
1267 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1269         * libio/libioP.h: Add comment note that the references to C++
1270         bits are now obsolete.
1272 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1274         * math/libm-test.inc (check_complex): Use asprintf.
1276 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
1278         * debug/pcprofiledump.c (print_version): Update copyright year.
1279         * malloc/memusagestat.c (print_version): Likewise.
1281 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1283         [BZ #14831]
1284         * elf/Makefile (tests): Add tst-audit8.
1285         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1286         ($(objpfx)tst-audit8.out): New target.
1287         (tst-audit8-ENV): New variable.
1288         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1289         audit if l_reloc_result is NULL.
1290         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1291         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1292         * elf/tst-audit8.c: New file.
1294 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1296         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1297         * misc/Makefile (CFLAGS-select.c): Define.
1298         * posix/Makefile (CFLAGS-pause.c): Define.
1300 2012-11-13  David S. Miller  <davem@davemloft.net>
1302         * crypt/Makefile: Move test targets after toplevel Rules
1303         inclusion.  Grab any necessary sysdep routines when linking.
1304         * crypt/md5.c (md5_process_block): Remove define, we will always
1305         name it __md5_process_block.
1306         (md5_finish_ctx): Update md5_process_block call.
1307         (md5_stream): Likewise.
1308         (md5_process_bytes): Likewise.
1309         (md5_process_block): Rename to __md5_process_block and move to ...
1310         * crypt/md5-block.c: ... here.
1311         * crypt/sha256.c (sha256_process_block): Move to ...
1312         * crypt/sha256-block.c: ... here.
1313         * crypt/sha512.c (sha512_process_block): Move to ...
1314         * crypt/sha512-block.c: ... here.
1315         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1316         path.
1317         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1318         * sysdeps/sparc/sparc64/multiarch/Makefile
1319         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1320         crypt subdir.
1321         (localedef-aux): Add md5 crypto assembler when in locale subdir.
1322         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1323         multiarch changes.
1324         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1325         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1326         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1327         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1328         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1329         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1330         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1331         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1332         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1333         file.
1334         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1335         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1336         file.
1337         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1339 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
1341         * timezone/tzselect.ksh: Update from tzcode git revision
1342         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1343         * timezone/zdump.c: Likewise.
1344         * timezone/zic.c: Likewise.
1345         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1346         in TZVERSION setting, not $(PKGVERSION).
1347         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
1348         REPORT_BUGS_TO settings.
1350         [BZ #14838]
1351         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1352         macro.
1354 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1356         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1357         detection to immediately after _FP_ROUND().
1358         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1359         bits are 0.
1361 2012-11-11  David S. Miller  <davem@davemloft.net>
1363         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1364         inttypes.h
1365         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1366         __close rather than their public counterparts.
1368 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
1370         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1371         file.
1372         [UNIX98] (sem_timedwait): Do not expect.
1373         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1374         [XPG4 || UNIX98] (sockatmark): Do not expect.
1375         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1376         (clock_getcpuclockid): Do not expect.
1377         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1378         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1379         Do not expect.
1380         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1381         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1382         [UNIX98] (vwscanf): Likewise.
1383         [UNIX98] (vswscanf): Likewise.
1385 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
1387         * timezone/version.h: Remove file.
1388         * timezone/README: Do not refer to version.h.
1389         * timezone/Makefile ($(objpfx)zic.o): New dependency on
1390         $(objpfx)version.h.
1391         ($(objpfx)zdump.o): Likewise.
1392         ($(objpfx)version.h): New target.
1394         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1395         2012i.
1396         * timezone/README: Don't mention modification to tzselect.ksh.
1397         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1398         work on unmodified tzselect.ksh.  Substitute version numbers in
1399         tzselect.ksh.
1401         * Makefile (format-me): Remove.
1402         (INSTALL): Adjust indentation.  Use commands directly instead of
1403         using $(format-me).
1405         * aclocal.m4 (ACX_PKGVERSION): New macro.
1406         (ACX_BUGURL): Likewise.
1407         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1408         (PKGVERSION): New AC_DEFINE_UNQUOTED.
1409         (REPORT_BUGS_TO): Likewise.
1410         * configure: Regenerated.
1411         * config.h.in (PKGVERSION): New macro.
1412         (REPORT_BUGS_TO): Likewise.
1413         * config.make.in (PKGVERSION): New variable.
1414         (PKGVERSION_TEXI): Likewise.
1415         (REPORT_BUGS_TO): Likewise.
1416         (REPORT_BUGS_TEXI): Likewise.
1417         * Makefile (format-me): Use -I$(common-objpfx)manual.
1418         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1419         ($(common-objpfx)manual/%): New target.
1420         (manual/%): Remove target.
1421         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1422         (print_version): Use PKGVERSION.
1423         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1424         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1425         and REPORT_BUGS_TO.
1426         ($(objpfx)xtrace): Likewise.
1427         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1428         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1429         (print_version): Use PKGVERSION.
1430         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1431         (do_version): Use PKGVERSION.
1432         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1433         REPORT_BUGS_TO.
1434         (common-ldd-rewrite): Likewise.
1435         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1436         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1437         (print_version): Use PKGVERSION.
1438         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1439         * elf/pldd.c (argp_program_bug_address): Remove variable.
1440         (more_help): New function.
1441         (argp): Use more_help.
1442         (print_version): Use PKGVERSION.
1443         * elf/sln.c (main): Use PKGVERSION.
1444         (usage): Use REPORT_BUGS_TO.
1445         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1446         (top level): Use PKGVERSION.
1447         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1448         (print_version): Use PKGVERSION.
1449         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1450         (print_version): Use PKGVERSION.
1451         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1452         (print_version): Use PKGVERSION.
1453         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1454         (print_version): Use PKGVERSION.
1455         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1456         (print_version): Use PKGVERSION.
1457         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1458         (print_version): Use PKGVERSION.
1459         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1460         and BUGURL.
1461         ($(objpfx)memusage): Likewise.
1462         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1463         (do_version): Use PKGVERSION.
1464         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1465         (print_version): Use PKGVERSION.
1466         * malloc/mtrace.pl ($PACKAGE): Remove variable.
1467         ($PKGVERSION): New variable.
1468         ($REPORT_BUGS_TO): Likewise.
1469         (usage): Use $REPORT_BUGS_TO.
1470         (top level): Use $PKGVERSION.
1471         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1472         ($(objpfx)pkgvers.texi): New rule.
1473         ($(objpfx)stamp-pkgvers): Likewise.
1474         * manual/install.texi: Include pkgvers.texi.
1475         (--with-pkgversion): Document new configure option.
1476         (--with-bugurl): Likewise.
1477         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1478         than necessarily for this particular distribution.  Use
1479         REPORT_BUGS_TO for where to report bugs.
1480         * INSTALL: Regenerated.
1481         * manual/libc.texinfo: Include pkgvers.texi.
1482         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1483         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1484         (print_version): Use PKGVERSION.
1485         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1486         (print_version): Use PKGVERSION.
1487         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1488         (print_version): Use PKGVERSION.
1489         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1490         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1491         macro.
1492         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1493         (print_version): Use PKGVERSION.
1494         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1495         (print_version): Use PKGVERSION.
1496         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1497         and PKGVERSION.
1499         * timezone/checktab.awk: Update from tzcode 2012i.
1500         * timezone/ialloc.c: Likewise.
1501         * timezone/private.h: Likewise.
1502         * timezone/scheck.c: Likewise.
1503         * timezone/tzfile.h: Likewise.
1504         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1505         (TZVERSION): Hardcode tzcode version number.
1506         * timezone/zdump.c: Update from tzcode 2012i.
1507         * timezone/zic.c: Likewise.
1508         * timezone/version.h: New file.
1509         * timezone/README: Describe version.h.  Update upstream location.
1511         [BZ #14824]
1512         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1513         (mktemp): Enable declaration.
1514         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1515         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1516         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1517         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1518         Likewise.
1519         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1520         Likewise.
1521         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1522         Likewise.
1523         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1524         Likewise.
1525         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1526         Likewise.
1527         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1528         Likewise.
1530         [BZ #14821]
1531         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1532         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
1533         for copies of such integer values.
1534         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1535         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1537 2012-11-09  Andreas Jaeger  <aj@suse.de>
1539         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1540         definitions and declarations that are provided by
1541         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1543 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1545         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1546         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1547         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1548         definition.
1550 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1552         * elf/elf.h: Update comment before AArch64 relocations.
1554 2012-11-07  David S. Miller  <davem@davemloft.net>
1556         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1557         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1558         (__start_context): Declare.
1559         (__makecontext_ret): Delete.
1560         (__makecontext): Hook up __start_context instead of
1561         __makecontext_ret.
1562         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1563         (sysdep_routines): Add __start_context when in stdlib.
1565 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1567         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1568         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1569         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
1570         hardcoded "nm".
1571         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
1572         (READELF): New variable.  Use it instead of hardcoded "readelf".
1574 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
1576         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1577         * sysdeps/x86/Makefile: Here.
1578         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1579         * sysdeps/x86/tst-xmmymm.sh: This.
1581 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1583         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1584         expectations.
1585         [UNIX98] (pthread_barrier_t): Do not expect.
1586         [UNIX98] (pthread_barrierattr_t): Likewise.
1587         [UNIX98] (pthread_spinlock_t): Likewise.
1588         [UNIX98] (pthread_barrier_destroy): Likewise.
1589         [UNIX98] (pthread_barrier_init): Likewise.
1590         [UNIX98] (pthread_barrier_wait): Likewise.
1591         [UNIX98] (pthread_barrierattr_destroy): Likewise.
1592         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1593         [UNIX98] (pthread_barrierattr_init): Likewise.
1594         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1595         [UNIX98] (pthread_getcpuclockid): Likewise.
1596         [UNIX98] (pthread_mutex_timedlock): Likewise.
1597         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1598         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1599         [UNIX98] (pthread_sigmask): Likewise.
1600         [UNIX98] (pthread_spin_destroy): Likewise.
1601         [UNIX98] (pthread_spin_init): Likewise.
1602         [UNIX98] (pthread_spin_lock): Likewise.
1603         [UNIX98] (pthread_spin_trylock): Likewise.
1604         [UNIX98] (pthread_spin_unlock): Likewise.
1605         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1606         Do not expect.
1607         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1608         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1609         [XPG3 || XPG4] (pthread_cond_t): Likewise.
1610         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1611         [XPG3 || XPG4] (pthread_key_t): Likewise.
1612         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1613         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1614         [XPG3 || XPG4] (pthread_once_t): Likewise.
1615         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1616         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1617         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1618         [XPG3 || XPG4] (pthread_t): Likewise.
1620         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1621         not expect.
1622         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1624         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1625         Change function return type to int.
1627         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1628         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1629         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1630         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1631         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1632         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1633         [!POSIX] (posix_madvise): Likewise.
1634         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1635         && !UNIX98].
1636         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1637         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1638         (mode_t): Likewise.
1639         (posix_mem_offset): Likewise.
1640         (posix_typed_mem_get_info): Likewise.
1641         (posix_typed_mem_open): Likewise.
1643         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1644         Change condition to [XOPEN2K8].
1646         * conform/conformtest.pl: Preprocess allow-header data with -x c
1647         instead of from stdin.
1648         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1649         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1650         [C99-based standards] (cerfc): Likewise.
1651         [C99-based standards] (cexp2): Likewise.
1652         [C99-based standards] (cexpm1): Likewise.
1653         [C99-based standards] (clog10): Likewise.
1654         [C99-based standards] (clog1p): Likewise.
1655         [C99-based standards] (clog2): Likewise.
1656         [C99-based standards] (clgamma): Likewise.
1657         [C99-based standards] (ctgamma): Likewise.
1658         [C99-based standards] (cerff): Likewise.
1659         [C99-based standards] (cerfcf): Likewise.
1660         [C99-based standards] (cexp2f): Likewise.
1661         [C99-based standards] (cexpm1f): Likewise.
1662         [C99-based standards] (clog10f): Likewise.
1663         [C99-based standards] (clog1pf): Likewise.
1664         [C99-based standards] (clog2f): Likewise.
1665         [C99-based standards] (clgammaf): Likewise.
1666         [C99-based standards] (ctgammaf): Likewise.
1667         [C99-based standards] (cerfl): Likewise.
1668         [C99-based standards] (cerfcl): Likewise.
1669         [C99-based standards] (cexp2l): Likewise.
1670         [C99-based standards] (cexpm1l): Likewise.
1671         [C99-based standards] (clog10l): Likewise.
1672         [C99-based standards] (clog1pl): Likewise.
1673         [C99-based standards] (clog2l): Likewise.
1674         [C99-based standards] (clgammal): Likewise.
1675         [C99-based standards] (ctgammal): Likewise.
1676         * conform/data/inttypes.h-data [C99-based standards]: Include
1677         stdint.h-data.  Remove all expectations for stdint.h contents.
1678         [C99-based standards] (PRI*): Do not allow.
1679         [C99-based standards] (SCN*): Likewise.
1680         [C99-based standards] (*_t): Likewise.
1681         [C99-based-standards] (PRId8): Expect macro.
1682         [C99-based-standards] (PRIi8): Likewise.
1683         [C99-based-standards] (PRIo8): Likewise.
1684         [C99-based-standards] (PRIu8): Likewise.
1685         [C99-based-standards] (PRIx8): Likewise.
1686         [C99-based-standards] (PRIX8): Likewise.
1687         [C99-based-standards] (SCNd8): Likewise.
1688         [C99-based-standards] (SCNi8): Likewise.
1689         [C99-based-standards] (SCNo8): Likewise.
1690         [C99-based-standards] (SCNu8): Likewise.
1691         [C99-based-standards] (SCNx8): Likewise.
1692         [C99-based-standards] (PRIdLEAST8): Likewise.
1693         [C99-based-standards] (PRIiLEAST8): Likewise.
1694         [C99-based-standards] (PRIoLEAST8): Likewise.
1695         [C99-based-standards] (PRIuLEAST8): Likewise.
1696         [C99-based-standards] (PRIxLEAST8): Likewise.
1697         [C99-based-standards] (PRIXLEAST8): Likewise.
1698         [C99-based-standards] (SCNdLEAST8): Likewise.
1699         [C99-based-standards] (SCNiLEAST8): Likewise.
1700         [C99-based-standards] (SCNoLEAST8): Likewise.
1701         [C99-based-standards] (SCNuLEAST8): Likewise.
1702         [C99-based-standards] (SCNxLEAST8): Likewise.
1703         [C99-based-standards] (PRIdFAST8): Likewise.
1704         [C99-based-standards] (PRIiFAST8): Likewise.
1705         [C99-based-standards] (PRIoFAST8): Likewise.
1706         [C99-based-standards] (PRIuFAST8): Likewise.
1707         [C99-based-standards] (PRIxFAST8): Likewise.
1708         [C99-based-standards] (PRIXFAST8): Likewise.
1709         [C99-based-standards] (SCNdFAST8): Likewise.
1710         [C99-based-standards] (SCNiFAST8): Likewise.
1711         [C99-based-standards] (SCNoFAST8): Likewise.
1712         [C99-based-standards] (SCNuFAST8): Likewise.
1713         [C99-based-standards] (SCNxFAST8): Likewise.
1714         [C99-based-standards] (PRId16): Likewise.
1715         [C99-based-standards] (PRIi16): Likewise.
1716         [C99-based-standards] (PRIo16): Likewise.
1717         [C99-based-standards] (PRIu16): Likewise.
1718         [C99-based-standards] (PRIx16): Likewise.
1719         [C99-based-standards] (PRIX16): Likewise.
1720         [C99-based-standards] (SCNd16): Likewise.
1721         [C99-based-standards] (SCNi16): Likewise.
1722         [C99-based-standards] (SCNo16): Likewise.
1723         [C99-based-standards] (SCNu16): Likewise.
1724         [C99-based-standards] (SCNx16): Likewise.
1725         [C99-based-standards] (PRIdLEAST16): Likewise.
1726         [C99-based-standards] (PRIiLEAST16): Likewise.
1727         [C99-based-standards] (PRIoLEAST16): Likewise.
1728         [C99-based-standards] (PRIuLEAST16): Likewise.
1729         [C99-based-standards] (PRIxLEAST16): Likewise.
1730         [C99-based-standards] (PRIXLEAST16): Likewise.
1731         [C99-based-standards] (SCNdLEAST16): Likewise.
1732         [C99-based-standards] (SCNiLEAST16): Likewise.
1733         [C99-based-standards] (SCNoLEAST16): Likewise.
1734         [C99-based-standards] (SCNuLEAST16): Likewise.
1735         [C99-based-standards] (SCNxLEAST16): Likewise.
1736         [C99-based-standards] (PRIdFAST16): Likewise.
1737         [C99-based-standards] (PRIiFAST16): Likewise.
1738         [C99-based-standards] (PRIoFAST16): Likewise.
1739         [C99-based-standards] (PRIuFAST16): Likewise.
1740         [C99-based-standards] (PRIxFAST16): Likewise.
1741         [C99-based-standards] (PRIXFAST16): Likewise.
1742         [C99-based-standards] (SCNdFAST16): Likewise.
1743         [C99-based-standards] (SCNiFAST16): Likewise.
1744         [C99-based-standards] (SCNoFAST16): Likewise.
1745         [C99-based-standards] (SCNuFAST16): Likewise.
1746         [C99-based-standards] (SCNxFAST16): Likewise.
1747         [C99-based-standards] (PRId32): Likewise.
1748         [C99-based-standards] (PRIi32): Likewise.
1749         [C99-based-standards] (PRIo32): Likewise.
1750         [C99-based-standards] (PRIu32): Likewise.
1751         [C99-based-standards] (PRIx32): Likewise.
1752         [C99-based-standards] (PRIX32): Likewise.
1753         [C99-based-standards] (SCNd32): Likewise.
1754         [C99-based-standards] (SCNi32): Likewise.
1755         [C99-based-standards] (SCNo32): Likewise.
1756         [C99-based-standards] (SCNu32): Likewise.
1757         [C99-based-standards] (SCNx32): Likewise.
1758         [C99-based-standards] (PRIdLEAST32): Likewise.
1759         [C99-based-standards] (PRIiLEAST32): Likewise.
1760         [C99-based-standards] (PRIoLEAST32): Likewise.
1761         [C99-based-standards] (PRIuLEAST32): Likewise.
1762         [C99-based-standards] (PRIxLEAST32): Likewise.
1763         [C99-based-standards] (PRIXLEAST32): Likewise.
1764         [C99-based-standards] (SCNdLEAST32): Likewise.
1765         [C99-based-standards] (SCNiLEAST32): Likewise.
1766         [C99-based-standards] (SCNoLEAST32): Likewise.
1767         [C99-based-standards] (SCNuLEAST32): Likewise.
1768         [C99-based-standards] (SCNxLEAST32): Likewise.
1769         [C99-based-standards] (PRIdFAST32): Likewise.
1770         [C99-based-standards] (PRIiFAST32): Likewise.
1771         [C99-based-standards] (PRIoFAST32): Likewise.
1772         [C99-based-standards] (PRIuFAST32): Likewise.
1773         [C99-based-standards] (PRIxFAST32): Likewise.
1774         [C99-based-standards] (PRIXFAST32): Likewise.
1775         [C99-based-standards] (SCNdFAST32): Likewise.
1776         [C99-based-standards] (SCNiFAST32): Likewise.
1777         [C99-based-standards] (SCNoFAST32): Likewise.
1778         [C99-based-standards] (SCNuFAST32): Likewise.
1779         [C99-based-standards] (SCNxFAST32): Likewise.
1780         [C99-based-standards] (PRId64): Likewise.
1781         [C99-based-standards] (PRIi64): Likewise.
1782         [C99-based-standards] (PRIo64): Likewise.
1783         [C99-based-standards] (PRIu64): Likewise.
1784         [C99-based-standards] (PRIx64): Likewise.
1785         [C99-based-standards] (PRIX64): Likewise.
1786         [C99-based-standards] (SCNd64): Likewise.
1787         [C99-based-standards] (SCNi64): Likewise.
1788         [C99-based-standards] (SCNo64): Likewise.
1789         [C99-based-standards] (SCNu64): Likewise.
1790         [C99-based-standards] (SCNx64): Likewise.
1791         [C99-based-standards] (PRIdLEAST64): Likewise.
1792         [C99-based-standards] (PRIiLEAST64): Likewise.
1793         [C99-based-standards] (PRIoLEAST64): Likewise.
1794         [C99-based-standards] (PRIuLEAST64): Likewise.
1795         [C99-based-standards] (PRIxLEAST64): Likewise.
1796         [C99-based-standards] (PRIXLEAST64): Likewise.
1797         [C99-based-standards] (SCNdLEAST64): Likewise.
1798         [C99-based-standards] (SCNiLEAST64): Likewise.
1799         [C99-based-standards] (SCNoLEAST64): Likewise.
1800         [C99-based-standards] (SCNuLEAST64): Likewise.
1801         [C99-based-standards] (SCNxLEAST64): Likewise.
1802         [C99-based-standards] (PRIdFAST64): Likewise.
1803         [C99-based-standards] (PRIiFAST64): Likewise.
1804         [C99-based-standards] (PRIoFAST64): Likewise.
1805         [C99-based-standards] (PRIuFAST64): Likewise.
1806         [C99-based-standards] (PRIxFAST64): Likewise.
1807         [C99-based-standards] (PRIXFAST64): Likewise.
1808         [C99-based-standards] (SCNdFAST64): Likewise.
1809         [C99-based-standards] (SCNiFAST64): Likewise.
1810         [C99-based-standards] (SCNoFAST64): Likewise.
1811         [C99-based-standards] (SCNuFAST64): Likewise.
1812         [C99-based-standards] (SCNxFAST64): Likewise.
1813         [C99-based-standards] (PRIdMAX): Likewise.
1814         [C99-based-standards] (PRIiMAX): Likewise.
1815         [C99-based-standards] (PRIoMAX): Likewise.
1816         [C99-based-standards] (PRIuMAX): Likewise.
1817         [C99-based-standards] (PRIxMAX): Likewise.
1818         [C99-based-standards] (PRIXMAX): Likewise.
1819         [C99-based-standards] (SCNdMAX): Likewise.
1820         [C99-based-standards] (SCNiMAX): Likewise.
1821         [C99-based-standards] (SCNoMAX): Likewise.
1822         [C99-based-standards] (SCNuMAX): Likewise.
1823         [C99-based-standards] (SCNxMAX): Likewise.
1824         [C99-based-standards] (PRIdPTR): Likewise.
1825         [C99-based-standards] (PRIiPTR): Likewise.
1826         [C99-based-standards] (PRIoPTR): Likewise.
1827         [C99-based-standards] (PRIuPTR): Likewise.
1828         [C99-based-standards] (PRIxPTR): Likewise.
1829         [C99-based-standards] (PRIXPTR): Likewise.
1830         [C99-based-standards] (SCNdPTR): Likewise.
1831         [C99-based-standards] (SCNiPTR): Likewise.
1832         [C99-based-standards] (SCNoPTR): Likewise.
1833         [C99-based-standards] (SCNuPTR): Likewise.
1834         [C99-based-standards] (SCNxPTR): Likewise.
1835         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1836         allow.
1837         * conform/data/stdint.h-data: Update comments to clarify
1838         requirements.
1839         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
1840         type.
1841         [C99-based standards] (INT8_MAX): Likewise.
1842         [C99-based standards] (INT16_MIN): Likewise.
1843         [C99-based standards] (INT16_MAX): Likewise.
1844         [C99-based standards] (INT32_MIN): Likewise.
1845         [C99-based standards] (INT32_MAX): Likewise.
1846         [C99-based standards] (INT64_MIN): Likewise.
1847         [C99-based standards] (INT64_MAX): Likewise.
1848         [C99-based standards] (UINT8_MAX): Likewise.
1849         [C99-based standards] (UINT16_MAX): Likewise.
1850         [C99-based standards] (UINT32_MAX): Likewise.
1851         [C99-based standards] (UINT64_MAX): Likewise.
1852         [C99-based standards] (INT_LEAST8_MIN): Likewise.
1853         [C99-based standards] (INT_LEAST8_MAX): Likewise.
1854         [C99-based standards] (INT_LEAST16_MIN): Likewise.
1855         [C99-based standards] (INT_LEAST16_MAX): Likewise.
1856         [C99-based standards] (INT_LEAST32_MIN): Likewise.
1857         [C99-based standards] (INT_LEAST32_MAX): Likewise.
1858         [C99-based standards] (INT_LEAST64_MIN): Likewise.
1859         [C99-based standards] (INT_LEAST64_MAX): Likewise.
1860         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1861         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1862         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1863         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1864         [C99-based standards] (INT_FAST8_MIN): Likewise.
1865         [C99-based standards] (INT_FAST8_MAX): Likewise.
1866         [C99-based standards] (INT_FAST16_MIN): Likewise.
1867         [C99-based standards] (INT_FAST16_MAX): Likewise.
1868         [C99-based standards] (INT_FAST32_MIN): Likewise.
1869         [C99-based standards] (INT_FAST32_MAX): Likewise.
1870         [C99-based standards] (INT_FAST64_MIN): Likewise.
1871         [C99-based standards] (INT_FAST64_MAX): Likewise.
1872         [C99-based standards] (UINT_FAST8_MAX): Likewise.
1873         [C99-based standards] (UINT_FAST16_MAX): Likewise.
1874         [C99-based standards] (UINT_FAST32_MAX): Likewise.
1875         [C99-based standards] (UINT_FAST64_MAX): Likewise.
1876         [C99-based standards] (INTPTR_MIN): Likewise.
1877         [C99-based standards] (INTPTR_MAX): Likewise.
1878         [C99-based standards] (UINTPTR_MAX): Likewise.
1879         [C99-based standards] (INTMAX_MIN): Likewise.
1880         [C99-based standards] (INTMAX_MAX): Likewise.
1881         [C99-based standards] (UINTMAX_MAX): Likewise.
1882         [C99-based standards] (PTRDIFF_MIN): Likewise.
1883         [C99-based standards] (PTRDIFF_MAX): Likewise.
1884         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1885         [C99-based standards] (SIZE_MAX): Likewise.
1886         [C99-based standards] (WCHAR_MAX): Likewise.
1887         [C99-based standards] (WINT_MAX): Likewise.
1888         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
1889         constraint on value.
1890         [C99-based standards] (WCHAR_MIN): Likewise.
1891         [C99-based standards] (WINT_MIN): Likewise.
1892         [C99-based standards] (*_t): Allow.
1893         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1894         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1895         Include math.h-data and complex.h-data.  Remove all expectations
1896         of math.h and complex.h contents.
1897         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1898         at end of line.
1899         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1900         (struct tm): Expect tag.
1901         [C99-based-standards] (wcstof): Expect function.
1902         [C99-based-standards] (wcstold): Likewise.
1903         [C99-based-standards] (wcstoll): Likewise.
1904         [C99-based-standards] (wcstoull): Likewise.
1905         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1906         macro-int-constant.  Specify type.
1907         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
1908         constraint on value.
1909         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1910         Specify type.
1911         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1912         Specify value.
1913         [ISO C standards]: Do not allow headers.
1914         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1915         wcs[abcdefghijklmnopqrstuvwxyz]*.
1916         [ISO C standards] (*_t): Do not allow.
1917         * conform/data/wctype.h-data [C99-based standards] (iswblank):
1918         Expect function.
1919         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1920         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1921         Specify type.
1922         [ISO C standards]: Do not allow headers.
1923         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1924         is[abcdefghijklmnopqrstuvwxyz]*.
1925         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1926         to[abcdefghijklmnopqrstuvwxyz]*.
1927         [ISO C standards] (*_t): Do not allow.
1928         * conform/data/stdalign.h-data: New file.
1929         * conform/data/stdbool.h-data: Likewise.
1930         * conform/data/stdnoreturn.h-data: Likewise.
1932 2012-11-07  Roland McGrath  <roland@hack.frob.com>
1934         [BZ #14815]
1935         * manual/filesys.texi (Directory Entries): Typo fix.
1936         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1938 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1940         * elf/elf.h (EM_AARCH64): New macro.
1941         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1942         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1943         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1944         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1945         (R_AARCH64_TLSDESC): Likewise.
1946         (NT_ARM_TLS): Likewise.
1947         (NT_ARM_HW_BREAK): Likewise.
1948         (NT_ARM_HW_WATCH): Likewise.
1950 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1952         [BZ #14811]
1953         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1954         (__ieee754_powl): Saturate nonzero exponents with absolute value
1955         below 0x1p-79 to +/- 0x1p-79.
1956         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1957         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1958         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1959         nonzero exponents with absolute value below 0x1p-32 to +/-
1960         0x1p-32.
1961         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1962         (__ieee754_powl): Saturate nonzero exponents with absolute value
1963         below 0x1p-79 to +/- 0x1p-79.
1964         * math/libm-test.inc (pow_test): Add more tests.
1966 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1968         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1969         _dl_s390_cap_flags with kernel. Increase string length.
1970         (_dl_s390_platforms): Add z196 and zEC12.
1972 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
1974         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1975         Change XOPEN21K to XOPEN2K.
1977 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
1979         * string/memmove.c: Use memcpy when possible.
1981 2012-11-06  Andreas Jaeger  <aj@suse.de>
1983         * po/eo.po: Update from translation team.
1985 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
1987         [BZ #14793]
1988         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1989         exponent and small x and y exponents, scale x or y up.  Increase
1990         by 2 the exponent used in scaling up.
1991         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1992         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1993         * math/libm-test.inc (fma_test): Add more tests.
1994         (fma_test_towardzero): Likewise.
1995         (fma_test_downward): Likewise.
1996         (fma_test_upward): Likewise.
1998 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
2000         [BZ #14805]
2001         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2002         fenv_t *.
2004         [BZ #14801]
2005         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2006         namespace for names of struct fields.
2007         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2008         fenv_t fields.
2009         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2010         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2012 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2014         [BZ #3665]
2015         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2017 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
2019         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2020         PTR_DEMANGLE.
2022         [BZ #5246]
2023         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2024         PTR_DEMANGLE.
2026 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
2028         [BZ #14797]
2029         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2030         definitely overflow as x * y not x * y + z.
2031         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2032         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2033         * math/libm-test.inc (fma_test): Add more tests.
2034         (fma_test_towardzero): Likewise.
2035         (fma_test_downward): Likewise.
2036         (fma_test_upward): Likewise.
2038 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
2040         [BZ #157]
2042         * include/stub-tag.h: Remove file.
2043         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2044         '#include' of it.
2045         * manual/maint.texi (Porting): Don't reference it.
2046         * Makerules ($(objpfx)stubs): Likewise.
2047         * dirent/closedir.c: Don't include <stub-tag.h>.
2048         * dirent/dirfd.c: Likewise.
2049         * dirent/fdopendir.c: Likewise.
2050         * dirent/getdents.c: Likewise.
2051         * dirent/getdents64.c: Likewise.
2052         * dirent/opendir.c: Likewise.
2053         * dirent/readdir.c: Likewise.
2054         * dirent/readdir64.c: Likewise.
2055         * dirent/readdir64_r.c: Likewise.
2056         * dirent/readdir_r.c: Likewise.
2057         * dirent/rewinddir.c: Likewise.
2058         * dirent/seekdir.c: Likewise.
2059         * dirent/telldir.c: Likewise.
2060         * gmon/profil.c: Likewise.
2061         * grp/setgroups.c: Likewise.
2062         * inet/if_index.c: Likewise.
2063         * io/access.c: Likewise.
2064         * io/chdir.c: Likewise.
2065         * io/chmod.c: Likewise.
2066         * io/chown.c: Likewise.
2067         * io/close.c: Likewise.
2068         * io/dup.c: Likewise.
2069         * io/dup2.c: Likewise.
2070         * io/dup3.c: Likewise.
2071         * io/euidaccess.c: Likewise.
2072         * io/faccessat.c: Likewise.
2073         * io/fchdir.c: Likewise.
2074         * io/fchmod.c: Likewise.
2075         * io/fchmodat.c: Likewise.
2076         * io/fchown.c: Likewise.
2077         * io/fchownat.c: Likewise.
2078         * io/fcntl.c: Likewise.
2079         * io/flock.c: Likewise.
2080         * io/fstatfs.c: Likewise.
2081         * io/fstatfs64.c: Likewise.
2082         * io/fstatvfs.c: Likewise.
2083         * io/fstatvfs64.c: Likewise.
2084         * io/futimens.c: Likewise.
2085         * io/fxstat.c: Likewise.
2086         * io/fxstat64.c: Likewise.
2087         * io/fxstatat.c: Likewise.
2088         * io/fxstatat64.c: Likewise.
2089         * io/getcwd.c: Likewise.
2090         * io/isatty.c: Likewise.
2091         * io/lchmod.c: Likewise.
2092         * io/lchown.c: Likewise.
2093         * io/link.c: Likewise.
2094         * io/linkat.c: Likewise.
2095         * io/lseek.c: Likewise.
2096         * io/lseek64.c: Likewise.
2097         * io/lxstat64.c: Likewise.
2098         * io/mkdir.c: Likewise.
2099         * io/mkdirat.c: Likewise.
2100         * io/mkfifo.c: Likewise.
2101         * io/mkfifoat.c: Likewise.
2102         * io/open.c: Likewise.
2103         * io/open64.c: Likewise.
2104         * io/openat.c: Likewise.
2105         * io/openat64.c: Likewise.
2106         * io/pipe.c: Likewise.
2107         * io/pipe2.c: Likewise.
2108         * io/poll.c: Likewise.
2109         * io/posix_fadvise.c: Likewise.
2110         * io/posix_fadvise64.c: Likewise.
2111         * io/posix_fallocate.c: Likewise.
2112         * io/posix_fallocate64.c: Likewise.
2113         * io/read.c: Likewise.
2114         * io/readlink.c: Likewise.
2115         * io/readlinkat.c: Likewise.
2116         * io/rmdir.c: Likewise.
2117         * io/sendfile.c: Likewise.
2118         * io/sendfile64.c: Likewise.
2119         * io/statfs.c: Likewise.
2120         * io/statfs64.c: Likewise.
2121         * io/statvfs.c: Likewise.
2122         * io/statvfs64.c: Likewise.
2123         * io/symlink.c: Likewise.
2124         * io/symlinkat.c: Likewise.
2125         * io/ttyname.c: Likewise.
2126         * io/ttyname_r.c: Likewise.
2127         * io/umask.c: Likewise.
2128         * io/unlink.c: Likewise.
2129         * io/unlinkat.c: Likewise.
2130         * io/utime.c: Likewise.
2131         * io/utimensat.c: Likewise.
2132         * io/write.c: Likewise.
2133         * io/xmknod.c: Likewise.
2134         * io/xmknodat.c: Likewise.
2135         * io/xstat.c: Likewise.
2136         * io/xstat64.c: Likewise.
2137         * login/getpt.c: Likewise.
2138         * login/grantpt.c: Likewise.
2139         * login/unlockpt.c: Likewise.
2140         * math/e_acoshl.c: Likewise.
2141         * math/e_acosl.c: Likewise.
2142         * math/e_asinl.c: Likewise.
2143         * math/e_atan2l.c: Likewise.
2144         * math/e_atanhl.c: Likewise.
2145         * math/e_coshl.c: Likewise.
2146         * math/e_expl.c: Likewise.
2147         * math/e_fmodl.c: Likewise.
2148         * math/e_gammal_r.c: Likewise.
2149         * math/e_hypotl.c: Likewise.
2150         * math/e_j0l.c: Likewise.
2151         * math/e_j1l.c: Likewise.
2152         * math/e_jnl.c: Likewise.
2153         * math/e_lgammal_r.c: Likewise.
2154         * math/e_log10l.c: Likewise.
2155         * math/e_log2l.c: Likewise.
2156         * math/e_logl.c: Likewise.
2157         * math/e_powl.c: Likewise.
2158         * math/e_rem_pio2l.c: Likewise.
2159         * math/e_sinhl.c: Likewise.
2160         * math/e_sqrtl.c: Likewise.
2161         * math/fclrexcpt.c: Likewise.
2162         * math/fedisblxcpt.c: Likewise.
2163         * math/feenablxcpt.c: Likewise.
2164         * math/fegetenv.c: Likewise.
2165         * math/fegetexcept.c: Likewise.
2166         * math/fegetround.c: Likewise.
2167         * math/feholdexcpt.c: Likewise.
2168         * math/fesetenv.c: Likewise.
2169         * math/fesetround.c: Likewise.
2170         * math/feupdateenv.c: Likewise.
2171         * math/fgetexcptflg.c: Likewise.
2172         * math/fraiseexcpt.c: Likewise.
2173         * math/fsetexcptflg.c: Likewise.
2174         * math/ftestexcept.c: Likewise.
2175         * math/k_cosl.c: Likewise.
2176         * math/k_rem_pio2l.c: Likewise.
2177         * math/k_sinl.c: Likewise.
2178         * math/k_tanl.c: Likewise.
2179         * math/s_asinhl.c: Likewise.
2180         * math/s_atanl.c: Likewise.
2181         * math/s_cbrtl.c: Likewise.
2182         * math/s_erfl.c: Likewise.
2183         * math/s_expm1l.c: Likewise.
2184         * math/s_log1pl.c: Likewise.
2185         * math/s_tanhl.c: Likewise.
2186         * misc/acct.c: Likewise.
2187         * misc/brk.c: Likewise.
2188         * misc/chflags.c: Likewise.
2189         * misc/chroot.c: Likewise.
2190         * misc/fchflags.c: Likewise.
2191         * misc/fgetxattr.c: Likewise.
2192         * misc/flistxattr.c: Likewise.
2193         * misc/fremovexattr.c: Likewise.
2194         * misc/fsetxattr.c: Likewise.
2195         * misc/fsync.c: Likewise.
2196         * misc/ftruncate.c: Likewise.
2197         * misc/futimes.c: Likewise.
2198         * misc/futimesat.c: Likewise.
2199         * misc/getdomain.c: Likewise.
2200         * misc/getdtsz.c: Likewise.
2201         * misc/gethostid.c: Likewise.
2202         * misc/gethostname.c: Likewise.
2203         * misc/getloadavg.c: Likewise.
2204         * misc/getpagesize.c: Likewise.
2205         * misc/getsysstats.c: Likewise.
2206         * misc/getxattr.c: Likewise.
2207         * misc/gtty.c: Likewise.
2208         * misc/ioctl.c: Likewise.
2209         * misc/lgetxattr.c: Likewise.
2210         * misc/listxattr.c: Likewise.
2211         * misc/llistxattr.c: Likewise.
2212         * misc/lremovexattr.c: Likewise.
2213         * misc/lsetxattr.c: Likewise.
2214         * misc/lutimes.c: Likewise.
2215         * misc/madvise.c: Likewise.
2216         * misc/mincore.c: Likewise.
2217         * misc/mlock.c: Likewise.
2218         * misc/mlockall.c: Likewise.
2219         * misc/mmap.c: Likewise.
2220         * misc/mprotect.c: Likewise.
2221         * misc/msync.c: Likewise.
2222         * misc/munlock.c: Likewise.
2223         * misc/munlockall.c: Likewise.
2224         * misc/munmap.c: Likewise.
2225         * misc/preadv.c: Likewise.
2226         * misc/preadv64.c: Likewise.
2227         * misc/ptrace.c: Likewise.
2228         * misc/pwritev.c: Likewise.
2229         * misc/pwritev64.c: Likewise.
2230         * misc/readv.c: Likewise.
2231         * misc/reboot.c: Likewise.
2232         * misc/remap_file_pages.c: Likewise.
2233         * misc/removexattr.c: Likewise.
2234         * misc/revoke.c: Likewise.
2235         * misc/select.c: Likewise.
2236         * misc/setdomain.c: Likewise.
2237         * misc/setegid.c: Likewise.
2238         * misc/seteuid.c: Likewise.
2239         * misc/sethostid.c: Likewise.
2240         * misc/sethostname.c: Likewise.
2241         * misc/setregid.c: Likewise.
2242         * misc/setreuid.c: Likewise.
2243         * misc/setxattr.c: Likewise.
2244         * misc/sstk.c: Likewise.
2245         * misc/stty.c: Likewise.
2246         * misc/swapoff.c: Likewise.
2247         * misc/swapon.c: Likewise.
2248         * misc/sync.c: Likewise.
2249         * misc/syncfs.c: Likewise.
2250         * misc/syscall.c: Likewise.
2251         * misc/truncate.c: Likewise.
2252         * misc/ualarm.c: Likewise.
2253         * misc/usleep.c: Likewise.
2254         * misc/ustat.c: Likewise.
2255         * misc/utimes.c: Likewise.
2256         * misc/vhangup.c: Likewise.
2257         * misc/writev.c: Likewise.
2258         * posix/_exit.c: Likewise.
2259         * posix/alarm.c: Likewise.
2260         * posix/execve.c: Likewise.
2261         * posix/fexecve.c: Likewise.
2262         * posix/fork.c: Likewise.
2263         * posix/fpathconf.c: Likewise.
2264         * posix/getaddrinfo.c: Likewise.
2265         * posix/getegid.c: Likewise.
2266         * posix/geteuid.c: Likewise.
2267         * posix/getgid.c: Likewise.
2268         * posix/getgroups.c: Likewise.
2269         * posix/getlogin.c: Likewise.
2270         * posix/getlogin_r.c: Likewise.
2271         * posix/getpgid.c: Likewise.
2272         * posix/getpid.c: Likewise.
2273         * posix/getppid.c: Likewise.
2274         * posix/getresgid.c: Likewise.
2275         * posix/getresuid.c: Likewise.
2276         * posix/getsid.c: Likewise.
2277         * posix/getuid.c: Likewise.
2278         * posix/glob64.c: Likewise.
2279         * posix/nanosleep.c: Likewise.
2280         * posix/pathconf.c: Likewise.
2281         * posix/pause.c: Likewise.
2282         * posix/posix_madvise.c: Likewise.
2283         * posix/pread.c: Likewise.
2284         * posix/pread64.c: Likewise.
2285         * posix/pwrite.c: Likewise.
2286         * posix/pwrite64.c: Likewise.
2287         * posix/sched_getaffinity.c: Likewise.
2288         * posix/sched_getp.c: Likewise.
2289         * posix/sched_gets.c: Likewise.
2290         * posix/sched_primax.c: Likewise.
2291         * posix/sched_primin.c: Likewise.
2292         * posix/sched_rr_gi.c: Likewise.
2293         * posix/sched_setaffinity.c: Likewise.
2294         * posix/sched_setp.c: Likewise.
2295         * posix/sched_sets.c: Likewise.
2296         * posix/sched_yield.c: Likewise.
2297         * posix/setgid.c: Likewise.
2298         * posix/setlogin.c: Likewise.
2299         * posix/setpgid.c: Likewise.
2300         * posix/setresgid.c: Likewise.
2301         * posix/setresuid.c: Likewise.
2302         * posix/setsid.c: Likewise.
2303         * posix/setuid.c: Likewise.
2304         * posix/sleep.c: Likewise.
2305         * posix/spawni.c: Likewise.
2306         * posix/sysconf.c: Likewise.
2307         * posix/times.c: Likewise.
2308         * posix/wait.c: Likewise.
2309         * posix/wait3.c: Likewise.
2310         * posix/wait4.c: Likewise.
2311         * posix/waitpid.c: Likewise.
2312         * resolv/gai_sigqueue.c: Likewise.
2313         * resource/getpriority.c: Likewise.
2314         * resource/getrlimit.c: Likewise.
2315         * resource/getrusage.c: Likewise.
2316         * resource/nice.c: Likewise.
2317         * resource/setpriority.c: Likewise.
2318         * resource/setrlimit.c: Likewise.
2319         * resource/ulimit.c: Likewise.
2320         * rt/aio_cancel.c: Likewise.
2321         * rt/aio_fsync.c: Likewise.
2322         * rt/aio_read.c: Likewise.
2323         * rt/aio_sigqueue.c: Likewise.
2324         * rt/aio_suspend.c: Likewise.
2325         * rt/aio_write.c: Likewise.
2326         * rt/clock_getres.c: Likewise.
2327         * rt/clock_gettime.c: Likewise.
2328         * rt/clock_nanosleep.c: Likewise.
2329         * rt/clock_settime.c: Likewise.
2330         * rt/lio_listio.c: Likewise.
2331         * rt/mq_close.c: Likewise.
2332         * rt/mq_getattr.c: Likewise.
2333         * rt/mq_notify.c: Likewise.
2334         * rt/mq_open.c: Likewise.
2335         * rt/mq_receive.c: Likewise.
2336         * rt/mq_send.c: Likewise.
2337         * rt/mq_setattr.c: Likewise.
2338         * rt/mq_timedreceive.c: Likewise.
2339         * rt/mq_timedsend.c: Likewise.
2340         * rt/mq_unlink.c: Likewise.
2341         * rt/shm_open.c: Likewise.
2342         * rt/shm_unlink.c: Likewise.
2343         * rt/timer_create.c: Likewise.
2344         * rt/timer_delete.c: Likewise.
2345         * rt/timer_getoverr.c: Likewise.
2346         * rt/timer_gettime.c: Likewise.
2347         * rt/timer_settime.c: Likewise.
2348         * setjmp/__longjmp.c: Likewise.
2349         * setjmp/setjmp.c: Likewise.
2350         * signal/kill.c: Likewise.
2351         * signal/killpg.c: Likewise.
2352         * signal/raise.c: Likewise.
2353         * signal/sigaction.c: Likewise.
2354         * signal/sigaltstack.c: Likewise.
2355         * signal/sigblock.c: Likewise.
2356         * signal/sigignore.c: Likewise.
2357         * signal/sigintr.c: Likewise.
2358         * signal/signal.c: Likewise.
2359         * signal/sigpause.c: Likewise.
2360         * signal/sigpending.c: Likewise.
2361         * signal/sigqueue.c: Likewise.
2362         * signal/sigreturn.c: Likewise.
2363         * signal/sigset.c: Likewise.
2364         * signal/sigsetmask.c: Likewise.
2365         * signal/sigstack.c: Likewise.
2366         * signal/sigsuspend.c: Likewise.
2367         * signal/sigtimedwait.c: Likewise.
2368         * signal/sigvec.c: Likewise.
2369         * signal/sigwait.c: Likewise.
2370         * signal/sigwaitinfo.c: Likewise.
2371         * signal/sysv_signal.c: Likewise.
2372         * socket/accept.c: Likewise.
2373         * socket/accept4.c: Likewise.
2374         * socket/bind.c: Likewise.
2375         * socket/connect.c: Likewise.
2376         * socket/getpeername.c: Likewise.
2377         * socket/getsockname.c: Likewise.
2378         * socket/getsockopt.c: Likewise.
2379         * socket/isfdtype.c: Likewise.
2380         * socket/listen.c: Likewise.
2381         * socket/recv.c: Likewise.
2382         * socket/recvfrom.c: Likewise.
2383         * socket/recvmsg.c: Likewise.
2384         * socket/send.c: Likewise.
2385         * socket/sendmsg.c: Likewise.
2386         * socket/sendto.c: Likewise.
2387         * socket/setsockopt.c: Likewise.
2388         * socket/shutdown.c: Likewise.
2389         * socket/sockatmark.c: Likewise.
2390         * socket/socket.c: Likewise.
2391         * socket/socketpair.c: Likewise.
2392         * stdio-common/ctermid.c: Likewise.
2393         * stdio-common/cuserid.c: Likewise.
2394         * stdio-common/remove.c: Likewise.
2395         * stdio-common/rename.c: Likewise.
2396         * stdio-common/renameat.c: Likewise.
2397         * stdio-common/tempname.c: Likewise.
2398         * stdlib/getcontext.c: Likewise.
2399         * stdlib/makecontext.c: Likewise.
2400         * stdlib/setcontext.c: Likewise.
2401         * stdlib/swapcontext.c: Likewise.
2402         * stdlib/system.c: Likewise.
2403         * streams/fattach.c: Likewise.
2404         * streams/fdetach.c: Likewise.
2405         * streams/getmsg.c: Likewise.
2406         * streams/getpmsg.c: Likewise.
2407         * streams/putmsg.c: Likewise.
2408         * streams/putpmsg.c: Likewise.
2409         * sysdeps/unix/bsd/getpt.c: Likewise.
2410         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2411         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2412         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2414         Likewise.
2415         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2416         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2417         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2418         * sysvipc/msgctl.c: Likewise.
2419         * sysvipc/msgget.c: Likewise.
2420         * sysvipc/msgrcv.c: Likewise.
2421         * sysvipc/msgsnd.c: Likewise.
2422         * sysvipc/semctl.c: Likewise.
2423         * sysvipc/semget.c: Likewise.
2424         * sysvipc/semop.c: Likewise.
2425         * sysvipc/semtimedop.c: Likewise.
2426         * sysvipc/shmat.c: Likewise.
2427         * sysvipc/shmctl.c: Likewise.
2428         * sysvipc/shmdt.c: Likewise.
2429         * sysvipc/shmget.c: Likewise.
2430         * termios/tcdrain.c: Likewise.
2431         * termios/tcflow.c: Likewise.
2432         * termios/tcflush.c: Likewise.
2433         * termios/tcgetattr.c: Likewise.
2434         * termios/tcgetpgrp.c: Likewise.
2435         * termios/tcsendbrk.c: Likewise.
2436         * termios/tcsetattr.c: Likewise.
2437         * termios/tcsetpgrp.c: Likewise.
2438         * time/adjtime.c: Likewise.
2439         * time/clock.c: Likewise.
2440         * time/getitimer.c: Likewise.
2441         * time/gettimeofday.c: Likewise.
2442         * time/setitimer.c: Likewise.
2443         * time/settimeofday.c: Likewise.
2444         * time/stime.c: Likewise.
2445         * time/time.c: Likewise.
2447 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
2449         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2450         /usr/old/bin.
2452         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2453         instead of spaces.
2454         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2456 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
2458         [BZ #14796]
2459         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2460         FE_TONEAREST before applying Dekker multiplication and Knuth
2461         addition.  Clear inexact exceptions and check for exact zero
2462         results afterwards.
2463         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2464         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2465         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2466         * math/libm-test.inc (fma_test): Add more tests.
2467         (fma_test_towardzero): Likewise.
2468         (fma_test_downward): Likewise.
2469         (fma_test_upward): Likewise.
2470         * sysdeps/generic/math_private.h (default_libc_fesetround): New
2471         function.
2472         (libc_fesetround): New macro.
2473         (libc_fesetroundf): Likewise.
2474         (libc_fesetroundl): Likewise.
2475         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2476         function.
2477         (libc_fesetround_387): Likewise.
2478         (libc_fesetroundf): New macro.
2479         (libc_fesetround): Likewise.
2480         (libc_fesetroundl): Likewise.
2481         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2482         function.
2483         (libc_fesetroundf): New macro.
2484         (libc_fesetround): Likewise.
2485         (libc_fesetroundl): Likewise.
2486         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2487         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2488         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2489         libm_hidden_ver.
2490         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2491         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2492         libm_hidden_def.
2493         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2494         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2495         libm_hidden_ver.
2496         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2497         libm_hidden_def.
2499         [BZ #3439]
2500         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2501         integer constant usable in #if and use that to give value to enum
2502         constant.
2503         (FE_DIVBYZERO): Likewise.
2504         (FE_UNDERFLOW): Likewise.
2505         (FE_OVERFLOW): Likewise.
2506         (FE_INVALID): Likewise.
2507         (FE_INVALID_SNAN): Likewise.
2508         (FE_INVALID_ISI): Likewise.
2509         (FE_INVALID_IDI): Likewise.
2510         (FE_INVALID_ZDZ): Likewise.
2511         (FE_INVALID_IMZ): Likewise.
2512         (FE_INVALID_COMPARE): Likewise.
2513         (FE_INVALID_SOFTWARE): Likewise.
2514         (FE_INVALID_SQRT): Likewise.
2515         (FE_INVALID_INTEGER_CONVERSION): Likewise.
2516         (FE_TONEAREST): Likewise.
2517         (FE_TOWARDZERO): Likewise.
2518         (FE_UPWARD): Likewise.
2519         (FE_DOWNWARD): Likewise.
2520         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2521         (FE_DIVBYZERO): Likewise.
2522         (FE_OVERFLOW): Likewise.
2523         (FE_UNDERFLOW): Likewise.
2524         (FE_INEXACT): Likewise.
2525         (FE_TONEAREST): Likewise.
2526         (FE_DOWNWARD): Likewise.
2527         (FE_UPWARD): Likewise.
2528         (FE_TOWARDZERO): Likewise.
2529         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2530         (FE_UNDERFLOW): Likewise.
2531         (FE_OVERFLOW): Likewise.
2532         (FE_DIVBYZERO): Likewise.
2533         (FE_INVALID): Likewise.
2534         (FE_TONEAREST): Likewise.
2535         (FE_TOWARDZERO): Likewise.
2536         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2537         (FE_OVERFLOW): Likewise.
2538         (FE_UNDERFLOW): Likewise.
2539         (FE_DIVBYZERO): Likewise.
2540         (FE_INEXACT): Likewise.
2541         (FE_TONEAREST): Likewise.
2542         (FE_TOWARDZERO): Likewise.
2543         (FE_UPWARD): Likewise.
2544         (FE_DOWNWARD): Likewise.
2545         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2546         (FE_DIVBYZERO): Likewise.
2547         (FE_OVERFLOW): Likewise.
2548         (FE_UNDERFLOW): Likewise.
2549         (FE_INEXACT): Likewise.
2550         (FE_TONEAREST): Likewise.
2551         (FE_DOWNWARD): Likewise.
2552         (FE_UPWARD): Likewise.
2553         (FE_TOWARDZERO): Likewise.
2555 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
2557         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2559 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
2561         * scripts/cross-test-ssh.sh (command): Use newlines to separate
2562         commands.  Quote $PWD.
2563         (blacklist_exports): Don't use remove_newlines.  Replace "declare
2564         -x" by "export".
2565         (remove_newlines): Remove.
2567 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
2569         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2570         * stdlib/stdlib.h (atof): Moved to ...
2571         * include/bits/stdlib-float.h: Here.  New file.
2572         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2573         * stdlib/bits/stdlib-float.h: New file.
2574         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2575         -mno-sse -mno-mmx.
2576         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2577         <xmmintrin.h>.
2579 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
2581         * conform/conformtest.pl (@headers): Add fenv.h.
2582         * conform/data/fenv.h-data: New file.
2583         * include/fenv.h [_ISOMAC]: Disable all contents of file except
2584         include of <math/fenv.h>.
2586         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2587         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2588         && !UNIX98].  Enables tests for XOPEN2K8.
2589         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2590         POSIX2008]: Likewise.
2592         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2593         (struct rusage): Do not expect type or its members.
2595         [BZ #3439]
2596         * math/math.h (FP_NAN): Define macro to integer constant usable in
2597         #if and use that to give value to enum constant.
2598         (FP_INFINITE): Likewise.
2599         (FP_ZERO): Likewise.
2600         (FP_SUBNORMAL): Likewise.
2601         (FP_NORMAL): Likewise.
2603 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
2605         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2606         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2607         arguments.
2609 2012-11-02  Roland McGrath  <roland@hack.frob.com>
2611         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2612         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2613         autoconf-time if not.
2614         * configure.in: Remove AC_PREREQ.
2616 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2618         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2619         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2620         of the internal implementation.
2622 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
2624         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2625         except include of <misc/sys/syslog.h>.
2627 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
2629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2630         function returns with a NULL context exit with zero.
2632 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2634         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2636 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
2638         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2639         (run_program_cmd): This.
2640         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2641         (tst_langinfo): New variable.  Use it.
2643 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
2645         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2646         floating point opcodes.
2648 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2650         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2651         variable.
2653         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2655         * sysdeps/mach/hurd/powerpc: Remove directory.
2656         * sysdeps/mach/powerpc: Likewise.
2658 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
2660         * scripts/check-local-headers.sh: Ignore c++ headers.
2662 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2664         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2665         __libc_cleanup_region_start argument.
2667 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
2669         [BZ #14784]
2670         [BZ #14785]
2671         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2672         x * y using scaling, not as x * y + z.
2673         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2674         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2675         * math/libm-test.inc (fma_test): Add more tests.
2676         (fma_test_towardzero): Likewise.
2677         (fma_test_downward): Likewise.
2678         (fma_test_upward): Likewise.
2680 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
2682         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2684 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
2686         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2687         New variable.
2689 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
2691         * rt/tst-shm.c (worker): Correct checking for mmap failure.
2693 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
2695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2696         Fix sort order.
2697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2698         Likewise.
2700 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2703         Fix the order of the list for glibc 2.17.
2704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2705         Likewise.
2707 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
2709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2711 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
2713         [BZ #14610]
2714         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2715         for low part of x being zero before using __atanl (y).
2716         * math/libm-test.inc (atan2_test): Add another test.
2718         * manual/install.texi (Configuring and compiling): Document
2719         general use of test-wrapper and test-wrapper-env.
2720         * INSTALL: Regenerated.
2722         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2723         (__fma): Do not extract and scale down low bits on after-rounding
2724         systems when result rounded to normal precision would have normal
2725         exponent.
2726         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2727         (__fmal): Do not extract and scale down low bits on after-rounding
2728         systems when result rounded to normal precision would have normal
2729         exponent.
2730         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2731         (__fmal): Do not extract and scale down low bits on after-rounding
2732         systems when result rounded to normal precision would have normal
2733         exponent.
2734         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2735         macro.
2736         (fma_test): Add more tests.
2737         (fma_test_towardzero): Likewise.
2738         (fma_test_downward): Likewise.
2739         (fma_test_upward): Likewise.
2741 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
2743         * sysdeps/i386/tininess.h: Renamed to ...
2744         * sysdeps/x86/tininess.h: This.
2745         * sysdeps/x86_64/tininess.h: Removed.
2747 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
2749         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2750         input.  Use $(build-program-cmd).
2751         ($(objpfx)tst-array1-static.out): Likewise.
2752         ($(objpfx)tst-array2.out): Likewise.
2753         ($(objpfx)tst-array3.out): Likewise.
2754         ($(objpfx)tst-array4.out): Likewise.
2755         ($(objpfx)tst-array5.out): Likewise.
2756         ($(objpfx)tst-array5-static.out): Likewise.
2758 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
2760         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2761         if defined.
2763         * nss/nsswitch.h (nss_interface_function): Provide new
2764         macro for use with NSS functions.
2765         * grp/initgroups.c: Use new macro.
2766         * nss/getXXbyYY.c: Likewise.
2767         * nss/getXXbyYY_r.c: Likewise.
2768         * nss/getXXent.c: Likewise.
2769         * nss/getXXent_r.c: Likewise.
2770         * sysdeps/posix/getaddrinfo.c: Likewise.
2772 2012-10-30  Andreas Jaeger  <aj@suse.de>
2774         * po/ru.po: Update Russion translation from translation project.
2776 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
2778         [BZ #14152]
2779         [BZ #14783]
2780         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2781         result and shift together with sticky bit instead of replicating
2782         round-to-nearest rounding.
2783         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2784         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2785         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
2786         missing underflow exceptions.
2787         (fma_test_towardzero): Add more tests.
2788         (fma_test_downward): Likewise.
2789         (fma_test_upward): Likewise.
2791         [BZ #14047]
2792         * sysdeps/generic/tininess.h: New file.
2793         * sysdeps/i386/tininess.h: Likewise.
2794         * sysdeps/sh/tininess.h: Likewise.
2795         * sysdeps/x86_64/tininess.h: Likewise.
2796         * stdlib/tst-strtod-underflow.c: Likewise.
2797         * stdlib/tst-tininess.c: Likewise.
2798         * stdlib/strtod_l.c: Include <tininess.h>.
2799         (round_and_return): Do not set errno for exact underflow cases.
2800         Force an underflow exception when setting errno for underflow.
2801         Determine underflow based on rounding to normal precision if
2802         TININESS_AFTER_ROUNDING.
2803         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2804         ERANGE for exact underflow cases.
2805         * stdlib/Makefile (tests): Add tst-tininess and
2806         tst-strtod-underflow.
2807         ($(objpfx)tst-tininess): Use $(link-libm).
2808         ($(objpfx)tst-strtod-underflow): Likewise.
2810 2012-10-30  Andreas Jaeger  <aj@suse.de>
2812         [BZ#14767]
2813         * elf/Makefile (tests): Remove conditional for have-initfini-array
2814         since this is now always required and the variable does not exist
2815         anymore.
2816         (tests-static): Likewise.
2817         (modules-names): Likewise.
2819         * po/eo.po: Add Esperanto translation from translation project.
2821         * elf/tst-array1.c (fini_array): Make writeable so that it can be
2822         merged with constructor/destructor.
2823         (init_array): Likewise.
2824         * elf/tst-array2dep.c (fini_array): Likewise.
2825         (init_array): Likewise.
2827 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
2829         * manual/message.texi: Delete @cartouche tags.
2831 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
2833         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2834         EOPNOTSUPP.
2835         * sysdeps/mach/hurd/fsync.c: Likewise.
2837         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2838         [_POSIX_REALTIME_SIGNALS]: Change condition to
2839         [_POSIX_REALTIME_SIGNALS > 0].
2841 2012-10-27  Andreas Jaeger  <aj@suse.de>
2843         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2844         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2845         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2846         [__WORDSIZE != 64]: Likewise.
2848 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
2850         *  iconvdata/tst-table.sh: Remove ${SHELL}.
2851         *  iconvdata/tst-tables.sh: Likewise.
2853 2012-10-25  David S. Miller  <davem@davemloft.net>
2855         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2856         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2857         of strtoull.
2859         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2860         ifunc-impl-list.c
2861         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2862         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2863         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2864         file.
2866 2012-10-25  Roland McGrath  <roland@hack.frob.com>
2868         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2869         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2870         __getdirentries.
2872 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
2873             Jim Blandy  <jimb@codesourcery.com>
2875         * scripts/cross-test-ssh.sh: New file.
2876         * manual/install.texi (Configuring and compiling): Document use of
2877         cross-test-ssh.sh.
2878         * INSTALL: Regenerated.
2880 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
2882         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2883         EOPNOTSUPP.
2885 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
2887         * Makeconfig (run-program-prefix): Fix comment.
2889 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
2890             Jim Blandy  <jimb@codesourcery.com>
2892         * Makeconfig (test-wrapper): New variable,
2893         (test-wrapper-env): Likewise.
2894         [$(cross-compiling) = yes && $(test-wrapper) != ""]
2895         (run-built-tests): Define to yes.
2896         (run-program-prefix): Use $(test-wrapper).
2897         (built-program-cmd): Likewise.
2898         * Rules (make-test-out): Use $(test-wrapper-env) and
2899         $(host-built-program-cmd).
2900         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2901         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2902         tst-pathopt.sh.
2903         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2904         $(test-wrapper-env) to tst-rtld-load-self.sh.
2905         ($(objpfx)order2.out): Use $(test-wrapper).
2906         ($(objpfx)tst-initorder.out): Likewise.
2907         ($(objpfx)tst-initorder2.out): Likewise.
2908         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2909         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2910         (test_wrapper_env): New variable.  Use it to run ld.so.
2911         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2912         Use it to run ld.so.
2913         (test_wrapper_env): Likewise.
2914         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2915         $(test-wrapper) to run-iconv-test.sh.
2916         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2917         (ICONV): Use $test_wrapper.
2918         * posix/Makefile ($(objpfx)globtest.out): Pass
2919         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2920         globtest.sh, not $(run-program-prefix).
2921         * posix/globtest.sh (run_via_rtld_prefix): New variable.
2922         (test_wrapper): Likewise.
2923         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
2924         set together with run_via_rtld_prefix.
2925         (run_program_prefix): Define in terms of test_wrapper and
2926         run_via_rtld_prefix.
2928 2012-10-24  Roland McGrath  <roland@hack.frob.com>
2930         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2931         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2932         Targets removed.
2934         [BZ #14743]
2935         * include/time.h: Remove librt_hidden_proto (clock_gettime).
2936         Declare __clock_getres, __clock_gettime, __clock_settime,
2937         __clock_nanosleep, and __clock_getcpuclockid.
2938         * rt/clock_gettime.c: Define __clock_gettime as an alias.
2939         Remove librt_hidden_def (clock_gettime).
2940         * sysdeps/unix/clock_gettime.c: Likewise.
2941         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2942         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2943         * rt/clock_getres.c: Define __clock_getres as an alias.
2944         * sysdeps/posix/clock_getres.c: Likewise.
2945         * rt/clock_settime.c: Define __clock_settime as an alias.
2946         * sysdeps/unix/clock_settime.c: Likewise.
2947         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2948         * sysdeps/unix/clock_nanosleep.c: Likewise.
2949         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2950         * rt/clock-compat.c: New file.
2951         * rt/Makefile (librt-routines): Add clock-compat and move
2952         $(clock-routines) to ...
2953         (routines): ... here, new variable.
2954         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2955         Don't add get_clockfreq here.
2956         * rt/Versions (libc: GLIBC_2.17): New version set.
2957         Add clock_* symbols here.
2958         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
2959         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2960         (GLIBC_2.17): Add clock_* symbols.
2961         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2962         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2963         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2965         Likewise.
2966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2967         Likewise.
2968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2972         * NEWS: Mention the move.
2974         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2975         Use __open, __read, __close rather than their public counterparts.
2976         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2977         (__get_clockfreq_via_cpuinfo): Likewise.
2978         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2979         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2981         * config.h.in (HAVE_IFUNC): New #undef.
2982         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2983         was successful.
2984         * configure: Regenerated.
2986 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
2988         * configure.in: Move READELF check to start of file.
2989         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2990         libc_cv_asm_gnu_indirect_function in the process.
2991         * configure: Regenerated.
2993 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
2995         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2996         send the output to /dev/null.
2997         (libc_cv_cc_with_libunwind): Likewise.
2998         (libc_cv_as_noexecstack): Likewise.
2999         * configure: Regenerate.
3001 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
3003         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3005         * posix/globtest.sh (TMPDIR): Do not set.
3006         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3007         (testout): Likewise.
3009 2012-10-24  Andreas Jaeger  <aj@suse.de>
3011         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3012         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3013         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3014         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3015         posix_fadvise64, posix_fallocate64.
3017         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3018         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3019         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3020         Likewise.
3021         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3022         Likewise.
3023         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3025         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3026         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3027         <bits/fcntl-linux.h>.
3028         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3030         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3031         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3032         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3033         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3034         [__WORDSIZE != 64]: Likewise.
3036 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
3038         * Makeconfig (run-built-tests): New variable.
3039         * Rules [$(cross-compiling) = yes]: Change condition to
3040         [$(run-built-tests) = no].
3041         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3042         to [$(run-built-tests) = yes].
3043         * elf/Makefile [$(cross-compiling) = no]: Likewise
3044         * grp/Makefile [$(cross-compiling) = no]: Likewise.
3045         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3046         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3047         * intl/Makefile [$(cross-compiling) = no]: Likewise.
3048         * io/Makefile [$(cross-compiling) = no]: Likewise.
3049         * libio/Makefile [$(cross-compiling) = no]: Likewise.
3050         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3051         * misc/Makefile [$(cross-compiling) = no]: Likewise.
3052         * posix/Makefile [$(cross-compiling) = no]: Likewise.
3053         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3054         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3055         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3056         * string/Makefile [$(cross-compiling) = no]: Likewise.
3058         * posix/Makefile ($(objpfx)globtest.out): Pass
3059         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3060         $(rtld-installed-name).
3061         * posix/globtest.sh (elf_objpfx): Remove variable.
3062         (rtld_installed_name): Likewise.
3063         (library_path): Likewise.
3064         (run_program_prefix): New variable.  Use for running globtest
3065         binary.
3067 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
3068             Joseph Myers  <joseph@codesourcery.com>
3070         * Makeconfig (host-built-program-cmd): New variable.
3071         * elf/Makefile (tst-stackguard1-ARGS): Use
3072         $(host-built-program-cmd).
3073         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3074         (tst-spawn-ARGS): Likewise.
3075         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3077 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
3078             Jim Blandy  <jimb@codesourcery.com>
3080         * Makeconfig (run-via-rtld-prefix): New variable.
3081         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3082         (built-program-cmd): Likewise.
3084 2012-10-22  Andreas Jaeger  <aj@suse.de>
3086         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3087         __O_RSYNC if it exists, otherwise to O_SYNC.
3089 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
3090             Joseph Myers  <joseph@codesourcery.com>
3092         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3093         /dev/null.
3094         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3095         from /dev/null
3096         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3097         /dev/null.
3099 2012-10-22  Andreas Jaeger  <aj@suse.de>
3101         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3102         Define always.
3103         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3105         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3106         bits/fcntl-linux.h.
3108         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3109         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3111         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3112         to __O_LARGEFILE.
3113         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3114         to __O_LARGEFILE.
3116 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
3117             Joseph Myers  <joseph@codesourcery.com>
3119         * config.make.in (NM): New variable.
3121 2012-10-21  Andreas Jaeger  <aj@suse.de>
3123         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3124         definitions and declarations that are provided by
3125         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3127 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
3129         [BZ #14683]
3130         * elf/Makefile (tests-static): Add tst-leaks1-static.
3131         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3132         ($(objpfx)tst-leaks1-static): New rule.
3133         ($(objpfx)tst-leaks1-static-mem): Likewise.
3134         (tst-leaks1-static-ENV): New macro.
3135         * elf/dl-open.c (dl_open_worker): Check the main application
3136         only if SHARED is defined.
3137         * elf/tst-leaks1-static.c: New file.
3139 2012-10-20  Andreas Jaeger  <aj@suse.de>
3141         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3142         generic values for Linux.
3143         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3144         and declarations that are provided by <bits/fcntl-linux.h> and
3145         include <bits/fcntl-linux.h>.
3146         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3147         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3149 2012-10-20  Roland McGrath  <roland@hack.frob.com>
3151         * io/fcntl.h: Move include of <bits/types.h> to the top and
3152         include it unconditionally.
3154 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
3156         * wcsmbs/Makefile (tests-ifunc): New variable.
3157         (tests): Add $(tests-ifunc).
3158         * wcsmbs/test-wcschr-ifunc.c: New file.
3159         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3160         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3161         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3162         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3163         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3165         * string/Makefile (tests-ifunc): New variable.
3166         (tests): Add $(tests-ifunc).
3167         * string/test-memccpy.c (TEST_NAME): New macro.
3168         * string/test-memchr.c (TEST_NAME): Likewise.
3169         * string/test-memcmp.c (TEST_NAME): Likewise.
3170         * string/test-memcpy.c (TEST_NAME): Likewise.
3171         * string/test-memmem.c (TEST_NAME): Likewise.
3172         * string/test-memmove.c (TEST_NAME): Likewise.
3173         * string/test-memset.c (TEST_NAME): Likewise.
3174         * string/test-rawmemchr.c (TEST_NAME): Likewise.
3175         * string/test-stpcpy.c (TEST_NAME): Likewise.
3176         * string/test-stpncpy.c (TEST_NAME): Likewise.
3177         * string/test-strcasecmp.c (TEST_NAME): Likewise.
3178         * string/test-strcasestr.c (TEST_NAME): Likewise.
3179         * string/test-strcat.c (TEST_NAME): Likewise.
3180         * string/test-strchr.c (TEST_NAME): Likewise.
3181         * string/test-strcmp.c(TEST_NAME): Likewise.
3182         * string/test-strcpy.c (TEST_NAME): Likewise.
3183         * string/test-strcspn.c (TEST_NAME): Likewise.
3184         * string/test-strlen.c (TEST_NAME): Likewise.
3185         * string/test-strncasecmp.c (TEST_NAME): Likewise.
3186         * string/test-strncmp.c (TEST_NAME): Likewise.
3187         * string/test-strncpy.c (TEST_NAME): Likewise.
3188         * string/test-strnlen.c (TEST_NAME): Likewise.
3189         * string/test-strpbrk.c (TEST_NAME): Likewise.
3190         * string/test-strrchr.c (TEST_NAME): Likewise.
3191         * string/test-strspn.c (TEST_NAME): Likewise.
3192         * string/test-strstr.c (TEST_NAME): Likewise.
3193         * string/test-bcopy-ifunc.c: New file.
3194         * string/test-bzero-ifunc.c: Likewise.
3195         * string/test-memccpy-ifunc.c: Likewise.
3196         * string/test-memchr-ifunc.c: Likewise.
3197         * string/test-memcmp-ifunc.c: Likewise.
3198         * string/test-memcpy-ifunc.c: Likewise.
3199         * string/test-memmem-ifunc.c: Likewise.
3200         * string/test-memmove-ifunc.c: Likewise.
3201         * string/test-mempcpy-ifunc.c: Likewise.
3202         * string/test-memset-ifunc.c: Likewise.
3203         * string/test-rawmemchr-ifunc.c: Likewise.
3204         * string/test-stpcpy-ifunc.c: Likewise.
3205         * string/test-stpncpy-ifunc.c: Likewise.
3206         * string/test-strcasecmp-ifunc.c: Likewise.
3207         * string/test-strcasestr-ifunc.c: Likewise.
3208         * string/test-strcat-ifunc.c: Likewise.
3209         * string/test-strchr-ifunc.c: Likewise.
3210         * string/test-strchrnul-ifunc.c: Likewise.
3211         * string/test-strcmp-ifunc.c: Likewise.
3212         * string/test-strcpy-ifunc.c: Likewise.
3213         * string/test-strcspn-ifunc.c: Likewise.
3214         * string/test-strlen-ifunc.c: Likewise.
3215         * string/test-strncasecmp-ifunc.c: Likewise.
3216         * string/test-strncat-ifunc.c: Likewise.
3217         * string/test-strncmp-ifunc.c: Likewise.
3218         * string/test-strncpy-ifunc.c: Likewise.
3219         * string/test-strnlen-ifunc.c: Likewise.
3220         * string/test-strpbrk-ifunc.c: Likewise.
3221         * string/test-strrchr-ifunc.c: Likewise.
3222         * string/test-strspn-ifunc.c: Likewise.
3223         * string/test-strstr-ifunc.c: Likewise.
3225         * debug/Makefile (tests-ifunc): New variable.
3226         (tests): Add $(tests-ifunc).
3227         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3228         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3229         * debug/test-stpcpy_chk-ifunc.c: New file.
3230         * debug/test-strcpy_chk-ifunc.c: Likewise.
3232 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3234         [BZ #13601]
3235         * elf/dl-load.c (open_verify): Retry read if the entire ELF
3236         header is not read in.
3238 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
3240         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
3241         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
3242         directly.  Pass built executable to script as
3243         $(built-program-cmd).
3244         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
3245         $testprogram without using LD_LIBRARY_PATH and $ldso.
3247         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3248         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3249         $(rtld-installed-name).
3250         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3251         (rtld_installed_name): Likewise.
3252         (library_path): Likewise.
3253         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
3254         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3255         $(run-program-prefix) to tst-tables.sh.
3256         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
3257         it to run tst-table-from and tst-table-to.
3258         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3259         Pass it to tst-table.sh.
3260         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3261         $(run-program-prefix) to tst-gettext.sh.
3262         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3263         tst-translit.sh.
3264         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3265         tst-gettext2.sh.
3266         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
3267         to run tst-gettext.
3268         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
3269         to run tst-gettext2.
3270         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
3271         to run tst-translit.
3272         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3273         $(run-program-prefix) to tst-mtrace.sh.
3274         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
3275         to run tst-mtrace.
3276         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3277         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3278         $(rtld-installed-name).
3279         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3280         (rtld_installed_name): Likewise.
3281         (run_program_prefix): New variable.  Use it to run wordexp-test.
3283         * Makeconfig (ARCH): Remove all definitions.
3284         (machine): Likewise.
3285         [ARCH]: Remove conditional code.
3286         [!objdir]: Give error.
3287         [!objdir] (objpfx): Remove.
3288         [!objdir] (common-objpfx): Likewise.
3289         [!objdir] (common-objdir): Likewise.
3290         * configure.in (config_makefile): Remove.  Hardcode Makefile in
3291         AC_CONFIG_FILES call.
3292         * configure: Regenerated.
3294         [BZ #13888]
3295         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3296         or TMPDIR.
3297         (testout): Likewise.
3299         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3300         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3301         $(rtld-installed-name).
3302         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3303         (rtld_installed_name): Likwise.
3304         (runit): Remove function.
3305         (run_getconf): New variable,  Use it for running getconf binary.
3307 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
3309         [BZ #14716]
3310         * string/test-memmem.c (check_result): New function.
3311         (do_one_test): Use it.
3312         (check1): New function.
3313         (test_main): Use it.
3315 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
3317         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3319 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
3321         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3322         (_G_LSEEK64): Likewise.
3323         (_G_MMAP64): Likewise.
3324         (_G_FSTAT64): Likewise.
3325         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3326         (_G_LSEEK64): Likewise.
3327         (_G_MMAP64): Likewise.
3328         (_G_FSTAT64): Likewise.
3329         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3330         unconditional.  Call __mmap64 directly.
3331         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3332         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
3333         __lseek64 directly.
3334         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3335         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
3336         __mmap64 directly.
3337         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3338         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
3339         __lseek64 directly.
3340         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3341         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
3342         __lseek64 directly.
3343         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3344         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
3345         __lseek64 directly.
3346         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3347         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
3348         __fxstat64 directly.
3349         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3350         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3351         unconditional.
3352         (freopen64) [!_G_OPEN64]: Remove conditional code.
3353         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3354         unconditional.
3355         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3356         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3357         unconditional.
3358         (ftello64) [!_G_LSEEK64]: Remove conditional code.
3359         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3360         unconditional.
3361         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3362         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3363         unconditional.
3364         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3365         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3366         unconditional.
3367         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3368         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3369         unconditional.
3370         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3371         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3372         unconditional.
3373         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3375 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3377         [BZ #12140]
3378         * manual/memory.texi (Malloc Tunable Parameters): Add note
3379         about free list pointers overwriting some perturb bytes.
3380         Wording suggested by Roland McGrath.
3382 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
3384         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3385         (lgamma_test): Likewise.
3386         (tgamma_test): Likewise.
3388 2012-10-16  Florian Weimer  <fweimer@redhat.com>
3390         [BZ #14700]
3391         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3392         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3394 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
3396         * NEWS: Mention BZ #14716.
3397         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3398         when removing AVAILABLE1_USES_J macro.
3400 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
3402         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3403         (__bswap_64): __uint64_t for unsigned 64-bit int.
3405 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
3407         * include/string.h (memmem): Declare libc hidden alias.
3408         * string/memmem.c (memmem): Define libc hidden alias.
3409         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3410         __read, __close instead of open, read, close.
3412 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
3414         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3415         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3416         global and hidden.
3417         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3418         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3419         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3420         Likewise.
3421         (__rawmemchr_sse2): Likewise.
3422         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3423         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3424         (__strchr_sse2): Likewise.
3425         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3426         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3427         (__strcasecmp_sse2): Likewise.
3428         (__strncasecmp_sse2): Likewise.
3429         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3430         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3431         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3432         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3433         (__strrchr_sse2): Likewise.
3434         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3435         ifunc-impl-list.c.
3436         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3437         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3438         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3439         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3440         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3441         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3442         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3443         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3444         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3445         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3446         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3447         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3448         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3449         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3450         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3451         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3452         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3453         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3454         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3455         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3456         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3457         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3458         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3459         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3460         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3461         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3462         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3463         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3464         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3465         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3467         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3468         global and hidden.
3469         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3470         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3471         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3472         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3473         Likewise.
3474         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3475         Likewise.
3476         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3477         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3478         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3479         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3480         ifunc-impl-list.c.
3481         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3482         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3483         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3484         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3485         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3486         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3487         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3488         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3489         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3490         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3491         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3492         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3493         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3494         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3495         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3496         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3497         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3498         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3499         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3500         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3501         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3502         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3503         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3504         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3505         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3506         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3507         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3508         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3509         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3510         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3511         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3512         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3513         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3514         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3515         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3516         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3517         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3518         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3519         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3520         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3521         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3523         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3524         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3525         * include/ifunc-impl-list.h: New file.
3526         * misc/ifunc-impl-list.c: Likewise.
3527         * misc/Makefile (routines): Add ifunc-impl-list.
3528         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3529         * string/test-string.h: Include <ifunc-impl-list.h>.
3530         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3531         impl_array): New variables.
3532         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3533         are defined.
3534         (test_init): Call __libc_ifunc_impl_list to initialize
3535         func_list if TEST_IFUNC and TEST_NAME are defined.
3537         * string/Makefile (strop-tests): Add bcopy and bzero.
3538         * string/test-bcopy.c: New file.
3539         * string/test-bzero.c: Likewise.
3540         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3541         defined.
3542         * string/test-memset.c: Support bzero test if TEST_BZERO is
3543         defined.
3544         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3545         __libc_memmove.
3546         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3547         __libc_memset.
3548         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3549         of memset.
3551 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
3553         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3554         * configure: Regenerated.
3556         * Makeconfig (+link-static-before-libc): Don't include
3557         $(link-static-libc).
3559         * libio/libio.h (_IO_pos_t): Remove.
3561 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3563         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
3564         McGrath.
3566 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3568         * crypt/crypt-entry.c: Include fips-private.h.
3569         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3570         * crypt/md5c-test.c (main): Tolerate disabled MD5.
3571         * sysdeps/unix/sysv/linux/fips-private.h: New file.
3572         * sysdeps/generic/fips-private.h: New file, dummy fallback.
3574 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
3576         * crypt/crypt-private.h: Include stdbool.h.
3577         (_ufc_setup_salt_r): Return bool.
3578         * crypt/crypt-entry.c: Include errno.h.
3579         (__crypt_r): Return NULL with EINVAL for bad salt.
3580         * crypt/crypt_util.c (bad_for_salt): New.
3581         (_ufc_setup_salt_r): Check that salt is long enough and within
3582         the specified alphabet.
3583         * crypt/badsalttest.c: New file.
3584         * crypt/Makefile (tests): Add it.
3585         ($(objpfx)badsalttest): New.
3587 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
3589         * NEWS: Add entry for BZ #14602.
3591 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
3593         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3594         type-generic.
3595         * math/libm-test.inc: Update comment listing what functions and
3596         macros are tested.
3597         (isgreater_test): New function.
3598         (isgreaterequal_test): Likewise.
3599         (isless_test): Likewise.
3600         (islessequal_test): Likewise.
3601         (islessgreater_test): Likewise.
3602         (isunordered_test): Likewise.
3603         (main): Call the new functions.
3605 2012-10-09  Roland McGrath  <roland@hack.frob.com>
3607         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3608         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3609         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3610         * sysdeps/i386/configure: Regenerated.
3611         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3612         * sysdeps/mach/configure: Regenerated.
3613         * sysdeps/mach/hurd/configure: Regenerated.
3614         * sysdeps/powerpc/configure: Regenerated.
3615         * sysdeps/powerpc/powerpc32/configure: Regenerated.
3616         * sysdeps/powerpc/powerpc64/configure: Regenerated.
3617         * sysdeps/s390/s390-32/configure: Regenerated.
3618         * sysdeps/s390/s390-64/configure: Regenerated.
3619         * sysdeps/sh/configure: Regenerated.
3620         * sysdeps/sparc/configure: Regenerated.
3621         * sysdeps/unix/sysv/linux/configure: Regenerated.
3622         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3623         * sysdeps/x86_64/configure: Regenerated.
3625         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3626         defined.  Don't check if MAP is NULL.
3628 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
3630         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3631         (_G_stat64): Likewise.
3632         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3633         (_G_stat64): Likewise.
3634         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3635         instead of struct _G_stat64.
3636         * libio/fileops.c (mmap_remap_check): Likewise.
3637         (decide_maybe_mmap): Likewise.
3638         (_IO_new_file_seekoff): Likewise.
3639         (_IO_file_stat): Likewise.
3640         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3641         _G_off64_t.
3642         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3643         instead of struct _G_stat64.
3644         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3646 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
3648         [BZ #14602]
3649         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3650         Replace with ...
3651         (CHECK_EOL): New macro.
3652         (two_way_short_needle): Check beginning of haystack for EOL.  Use
3653         CHECK_EOL.
3654         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3655         Replace with CHECK_EOL.
3656         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3657         Replace with CHECK_EOL.
3659 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
3661         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3662         type-generic.
3663         * math/libm-test.inc: Update comment listing what functions and
3664         macros are tested.
3665         (finite_test): New function.
3666         (isinf_test): Likewise.
3667         (isnan_test): Likewise.
3668         (fpclassify_test): Test subnormal input.
3669         (isfinite_test): Likewise.
3670         (isnormal_test): Likewise.
3671         (main): Call the new functions.
3673 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
3675         [BZ #14660]
3676         * Makerules (%.dynsym): Force C locale when running
3677         $(OBJDUMP) --dynamic-syms.
3679 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
3681         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3682         <stdint.h>.
3684 2012-10-06  David S. Miller  <davem@davemloft.net>
3686         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3687         upper 32-bits of the length value in %o2 since we use branch-on-register
3688         tests which consider the entire 64-bit register.
3690 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
3692         * string/test-strstr.c (check2): Add a test for page boundary.
3694 2012-10-05  David S. Miller  <davem@davemloft.net>
3696         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3697         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3698         file.
3699         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3700         sysdep_routines.
3701         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3702         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3703         and bzero when HWCAP_SPARC_CRYPTO is present.
3705 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
3707         [BZ #14602]
3708         * string/test-strstr.c (check2): New function.
3709         (test_main): Call check2.
3711         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3712         and bug-strchr1.
3713         * string/bug-strcasestr1.c (do_test): Moved to ...
3714         * string/test-strcasestr.c (check1): Here.  New function.
3715         (do_one_test): Break out result checking code into ...
3716         (check_result): This.  New function.
3717         (do_one_test): Call check_result.
3718         (test_main): Call check1.
3719         * string/bug-strchr1.c (do_test): Moved to ...
3720         * string/test-strchr.c (check1): Here.  New function.
3721         (do_one_test): Break out result checking code into ...
3722         (check_result): This.  New function.
3723         (do_one_test): Call check_result.
3724         (test_main): Call check1.
3725         * string/bug-strstr1.c (main): Moved to ...
3726         * string/test-strchr.c (check1): Here.  New function.
3727         (do_one_test): Break out result checking code into ...
3728         (check_result): This.  New function.
3729         (do_one_test): Call check_result.
3730         (test_main): Call check1.
3731         * string/bug-strcasestr1.c: Removed.
3732         * string/bug-strchr1.c: Likewise.
3733         * string/bug-strstr1.c: Likewise.
3735         * elf/Makefile (dl-routines): Add hwcaps.
3736         * elf/dl-support.c (_dl_important_hwcaps): Removed.
3737         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3738         (_dl_important_hwcaps): Moved to ...
3739         * elf/dl-hwcaps.c: Here.  New file.
3740         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3742         [BZ #14557]
3743         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3744         if IS_IN_rtld isn't defined.
3746         * elf/dl-support.c (_dl_sysinfo_map): New.
3747         Include "get-dynamic-info.h" and "setup-vdso.h".
3748         (_dl_non_dynamic_init): Call setup_vdso.
3749         * elf/dynamic-link.h: Don't include <assert.h>.
3750         (elf_get_dynamic_info): Moved to ...
3751         * elf/get-dynamic-info.h: Here.  New file.
3752         * elf/dynamic-link.h: Include "get-dynamic-info.h".
3753         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3754         * elf/setup-vdso.h: Here.  New file.
3755         * elf/rtld.c: Include "setup-vdso.h".
3756         (dl_main): Call setup_vdso.
3758 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
3760         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3761         creal in comment listing functions tested.  List finite, isinf,
3762         isnan, isless, islessequal, isgreater, isgreaterequal,
3763         islessgreater, isunordered, lgamma_r and pow10 as functions and
3764         macros not tested.  Mention which functions not tested are aliases
3765         for other functions.  Fix typo.  Note that signs of NaNs are not
3766         tested.
3768         * scripts/config.guess: Update from config.git.
3769         * scripts/config.sub: Likewise.
3771 2012-10-04  Roland McGrath  <roland@hack.frob.com>
3773         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3774         * misc/madvise.c (madvise): Renamed to __madvise.
3775         Make madvise a weak alias.
3776         * include/sys/mman.h: Declare __madvise.
3777         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3778         * sysdeps/unix/syscalls.list
3779         (madvise): Make __madvise the strong name, and madvise a weak alias.
3780         * sysdeps/unix/sysv/linux/syscalls.list
3781         (madvise, mmap): Remove redundant entries.
3782         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3783         * malloc/malloc.c (mtrim): Likewise.
3784         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3786 2012-10-03  Roland McGrath  <roland@hack.frob.com>
3788         * sysdeps/mach/hurd/dl-cache.c: File removed.
3789         * config.h.in (USE_LDCONFIG): New #undef.
3790         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3791         * configure: Regenerated.
3792         * elf/Makefile (dl-routines): Add dl-cache only under
3793         [$(use-ldconfig) = yes].
3794         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3795         cache on [USE_LDCONFIG].
3796         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3797         [USE_LDCONFIG].
3798         * elf/rtld.c (dl_main): Likewise.
3800 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
3802         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3803         _SC_LEVEL4_CACHE_LINESIZE.
3805 2012-10-03  Roland McGrath  <roland@hack.frob.com>
3807         * sysdeps/unix/bsd/confstr.h: File removed.
3809 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
3811         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3812         sys/sdt-config.h.
3814 2012-10-02  Roland McGrath  <roland@hack.frob.com>
3816         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3817         Make 'mapoff' field ElfW(Off) rather than off_t.
3819 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
3821         * nscd/Makefile: Remove nscd-cflags and all its users.
3822         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3823         (CFLAGS-nonlib): Add compiler flags for nscd modules.
3825         [BZ #10631]
3826         * malloc.c (malloc_printerr): Clarify error message.
3828 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
3830         [BZ #14648]
3831         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3832         Set bit_FMA_Usable if FMA is supported.
3833         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3834         macro.
3835         (bit_FMA4_Usable): Updated.
3836         (index_FMA_Usable): New macro.
3837         (CPUID_FMA): Likewise
3838         (HAS_FMA): Defined with bit_FMA_Usable.
3840 2012-10-01  Roland McGrath  <roland@hack.frob.com>
3842         * bits/types.h (__swblk_t): Type removed.
3843         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3844         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3845         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3846         (__SWBLK_T_TYPE): Likewise.
3847         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3848         (__SWBLK_T_TYPE): Likewise.
3849         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3850         (__SWBLK_T_TYPE): Likewise.
3851         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3852         (__SWBLK_T_TYPE): Likewise.
3854 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
3855             Honza Horak <hhorak@redhat.com>
3857         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3858         (xdr_mapname): Use YPMAXMAP as maxsize.
3859         (xdr_peername): Use YPMAXPEER as maxsize.
3860         (xdr_keydat): Use YPAXRECORD as maxsize.
3861         (xdr_valdat): Use YPMAXRECORD as maxsize.
3863 2012-10-01  Roland McGrath  <roland@hack.frob.com>
3865         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3867         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3868         * csu/init-first.c: ... here.
3869         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3870         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3871         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3872         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3873         * sysdeps/i386/init-first.c: File removed.
3874         * sysdeps/sh/init-first.c: File removed.
3876 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
3878         [BZ #14645]
3879         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3880         if x * y might underflow to zero and z is zero.
3881         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3882         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3883         * math/libm-test.inc (min_subnorm_value): New variable.
3884         (fma_test): Add more tests.
3885         (fma_test_towardzero): Likewise.
3886         (fma_test_downward): Likewise
3887         (fma_test_upward): Likewise.
3888         (initialize): Set min_subnorm_value.
3890 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
3892         [BZ #14638]
3893         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3894         0 + 0.
3895         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3896         mode for addition resulting in exact zero.
3897         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3898         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3899         exact 0 + 0.
3900         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3901         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3902         * math/libm-test.inc (fma_test): Add more tests.
3903         (fma_test_towardzero): New function.
3904         (fma_test_downward): Likewise.
3905         (fma_test_upward): Likewise.
3906         (main): Call the new functions.
3908 2012-09-28  David S. Miller  <davem@davemloft.net>
3910         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3912 2012-09-28  Roland McGrath  <roland@hack.frob.com>
3914         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3915         instead of SIGALRM.
3917         * sysdeps/gnu/_G_config.h: Moved to ...
3918         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3919         * sysdeps/mach/hurd/_G_config.h: Moved to ...
3920         * sysdeps/generic/_G_config.h: ... here.
3922         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
3924         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3926         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3927         Conditionalize target on [libnss_test1.so-version].
3929         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3931         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3932         (elfobjdir): Move out of conditionals.
3934         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3935         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3936         (__nss_lookup_function): Conditionalize label remove_from_tree on
3937         [!DO_STATIC_NSS || SHARED], matching its only use.
3939 2012-09-28  David S. Miller  <davem@davemloft.net>
3941         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3942         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3943         file.
3944         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3945         sysdep_routines.
3946         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3947         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3948         when HWCAP_SPARC_CRYPTO is present.
3950 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
3952         * io/tst-mknodat.c: Create a FIFO instead of a socket.
3954 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
3956         [BZ #6530]
3957         * stdio-common/vfprintf.c (process_string_arg): Revert
3958         2000-07-22 change.
3960 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
3962         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3963         for testcase.
3964         * stdio-common/tst-sprintf.c: Include <locale.h>
3965         (main): Test sprintf's handling of incomplete multibyte
3966         characters.
3968 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
3970         * elf/dl-runtime.c (VERSYMIDX): Removed.
3971         * elf/dl-version.c (VERSYMIDX): Likewise.
3972         * elf/do-rel.h (VERSYMIDX): Likewise.
3973         (VALIDX): Likewise.
3974         * elf/dynamic-link.h (VERSYMIDX): Likewise.
3975         * elf/rtld.c (VALIDX): Likewise.
3976         (ADDRIDX): Likewise.
3977         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3978         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3979         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
3980         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3981         (VALIDX): Likewise.
3982         (ADDRIDX): Likewise.
3984 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
3986         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3988 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
3990         [BZ #11438]
3991         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3992         to global scope.
3993         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3994         addresses are in the same scope as 192.0.2/24.
3995         * posix/gai.conf: Document new scope table defaults.
3997 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3999         [BZ #5298]
4000         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4001         for ftell.  Compute offsets from write pointers instead.
4002         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4004 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4006         [BZ #14543]
4007         * libio/Makefile (tests): New test case tst-fseek.
4008         * libio/tst-fseek.c: New test case to verify that fseek/ftell
4009         combination works in wide mode.
4010         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4011         state when the external buffer state changes.
4013 2012-09-27  David S. Miller  <davem@davemloft.net>
4015         [BZ #14376]
4016         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4017         pass reloc->r_addend in as the 'high' argument to
4018         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4022 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
4024         * rt/tst-aio2.c: Include <pthread.h>.
4025         * rt/tst-aio3.c: Likewise.
4027 2012-09-27  Steve Ellcey  <sellcey@mips.com>
4029         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4031 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
4033         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4034         contents on [SHARED].
4036 2012-09-26  Marek Polacek  <polacek@redhat.com>
4038         [BZ #14530]
4039         [BZ #13741]
4040         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4041         for C++ and GCC <4.3 as well as for non GCC compilers.
4043 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
4045         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4047 2012-09-25  Roland McGrath  <roland@hack.frob.com>
4049         * Makefile.in (all, install): Declare with .PHONY.
4050         Reported by Michael Hope <michael.hope@linaro.org>.
4052 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4054         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4055         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4056         system header.
4057         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4058         Likewise.
4059         (sydep_routines): Add the new and the internal functions.
4060         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4061         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4063         (GLIBC_2.17): Add the new function.
4064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4065         (GLIBC_2.17): Likewise.
4066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4067         (GLIBC_2.17): Likewise.
4068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4069         (GLIBC_2.17): Likewise.
4070         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4072 2012-09-25  Alan Modra  <amodra@gmail.com>
4074         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4075         Add release barrier before setting once_control to say
4076         initialisation is done.  Add hints on lwarx.  Use macro in
4077         place of isync.
4078         (clear_once_control): Add release barrier.
4080 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
4082         [BZ #13629]
4083         * math/s_clog.c (__clog): Handle more values close to |z| = 1
4084         specially.
4085         * math/s_clog10.c (__clog10): Likewise.
4086         * math/s_clog10f.c (__clog10f): Likewise.
4087         * math/s_clog10l.c (__clog10l): Likewise.
4088         * math/s_clogf.c (__clogf): Likewise.
4089         * math/s_clogl.c (__clogl): Likewise.
4090         * math/Makefile (libm-calls): Add x2y2m1.
4091         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4092         (__x2y2m1): Likewise.
4093         (__x2y2m1l): Likewise.
4094         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4095         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4096         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4097         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4098         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4099         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4100         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4101         * sysdeps/i386/fpu/libm-test-ulps: Update.
4102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4104         [BZ #14621]
4105         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4106         int as type of variable DEPTH.
4107         (glob): Use size_t instead of int as type of variables NEWCOUNT
4108         and OLD_PATHC.
4110 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4112         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4113         Add s_sincosf-sse2.
4114         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4115         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4116         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4117         macros for using routine as __sincosf_ia32.
4118         Use macro for function declaration and weak_alias.
4119         * sysdeps/i386/fpu/libm-test-ulps: Update.
4121         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4122         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4124         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
4125         subnormal argument.
4126         * math/s_cexpf.c (__cexpf): Likewise.
4127         * math/s_csinf.c (__csinf): Likewise.
4128         * math/s_csinhf.c (__csinhf): Likewise.
4129         * math/s_ctanf.c (__ctanf): Likewise.
4130         * math/s_ctanhf.c (__ctanhf): Likewise.
4131         * math/s_ccosh.c (__ccoshf): Likewise.
4132         * math/s_cexp.c (__cexpl): Likewise.
4133         * math/s_csin.c (__csin): Likewise.
4134         * math/s_csinh.c (__csinh): Likewise.
4135         * math/s_ctan.c (__ctan): Likewise.
4136         * math/s_ctanh.c (ctanh): Likewise.
4137         * math/s_ccoshl.c (__ccoshl): Likewise.
4138         * math/s_cexpl.c (__cexpl): Likewise.
4139         * math/s_csinl.c (__csinl): Likewise.
4140         * math/s_csinhl.c (__csinhl): Likewise.
4141         * math/s_ctanl.c (__ctanl): Likewise.
4142         * math/s_ctanhl.c (__ctanhl): Likewise.
4144 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
4146         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4147         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4148         (_IO_off_t): Define to __off_t, not _G_off_t.
4149         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4150         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4151         (_IO_wint_t): Define to wint_t, not _G_wint_t.
4152         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4153         type of __dummy and __dummy2 fields.
4154         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4155         (_G_ssize_t): Likewise.
4156         (_G_off_t): Likewise.
4157         (_G_pid_t): Likewise.
4158         (_G_uid_t): Likewise.
4159         (_G_wchar_t): Likewise.
4160         (_G_wint_t): Likewise.
4161         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4162         (_G_ssize_t): Likewise.
4163         (_G_off_t): Likewise.
4164         (_G_pid_t): Likewise.
4165         (_G_uid_t): Likewise.
4166         (_G_wchar_t): Likewise.
4167         (_G_wint_t): Likewise.
4168         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4169         (_G_ssize_t): Likewise.
4170         (_G_off_t): Likewise.
4171         (_G_pid_t): Likewise.
4172         (_G_uid_t): Likewise.
4173         (_G_wchar_t): Likewise.
4174         (_G_wint_t): Likewise.
4176 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4178         * malloc/arena.c: Include malloc-sysdep.h.
4179         (shrink_heap): Use check_may_shrink_heap to decide if madvise
4180         is sufficient to shrink the heap or an unmap is needed.
4181         * sysdeps/generic/malloc-sysdep.h: New file.  Define
4182         new function check_may_shrink_heap.
4183         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
4184         new function check_may_shrink_heap.
4186 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4188         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4189         comments.
4191 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
4193         * catgets/test-gencat.sh: Add "set -e".
4194         * elf/tst-pathopt.sh: Likewise.
4195         * grp/tst_fgetgrent.sh: Likewise.
4196         * iconvdata/run-iconv-test.sh: Likewise.
4197         * intl/tst-gettext.sh: Likewise.
4198         * intl/tst-gettext2.sh: Likewise.
4199         * intl/tst-gettext4.sh: Likewise.
4200         * intl/tst-gettext6.sh: Likewise.
4201         * intl/tst-translit.sh: Likewise.
4202         * io/ftwtest-sh: Likewise.
4203         * libio/test-freopen.sh: Likewise.
4204         * malloc/tst-mtrace.sh: Likewise.
4205         * posix/globtest.sh: Likewise.
4206         * posix/tst-getconf.sh: Likewise.
4207         * posix/wordexp-tst.sh: Likewise.
4208         * stdio-common/tst-printf.sh: Likewise.
4209         * stdio-common/tst-unbputc.sh: Likewise.
4210         * stdlib/tst-fmtmsg.sh: Likewise.
4211         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4212         * catgets/Makefile: Do not specify -e option when running
4213         testsuite shell scripts.
4214         * elf/Makefile: Likewise.
4215         * grp/Makefile: Likewise.
4216         * iconvdata/Makefile: Likewise.
4217         * intl/Makefile: Likewise.
4218         * io/Makefile: Likewise.
4219         * libio/Makefile: Likewise.
4220         * malloc/Makefile: Likewise.
4221         * posix/Makefile: Likewise.
4222         * stdio-common/Makefile: Likewise.
4223         * stdlib/Makefile: Likewise.
4224         * sysdeps/x86_64/Makefile: Likewise.
4226         * io/ftwtest-sh: Add copyright header.
4227         * posix/globtest.sh: Likewise.
4228         * posix/tst-getconf.sh: Likewise.
4229         * posix/wordexp-tst.sh: Likewise.
4230         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4232 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
4234         [BZ #13679]
4235         * Makeconfig (+link): Defined as $(+link-static) if
4236         $(build-shared) isn't yes.
4237         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4238         isn't yes.
4239         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4241         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4243         [BZ #14562]
4244         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4245         new chunk size with MALLOC_ALIGN_MASK.
4247 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
4249         [BZ #5044]
4250         * stdio-common/printf_fphex.c: Include <stdbool.h> and
4251         <rounding-mode.h>.
4252         (__printf_fphex): Determine rounding using get_rounding_mode and
4253         round_away.
4254         * stdio-common/tst-printf-round.c (struct hex_test): New
4255         structure.
4256         (hex_tests): New variable.
4257         (test_hex_in_one_mode): New function.
4258         (do_test): Also run tests for hex float output.
4260 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
4262         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4263         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4264         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4265         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4266         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4267         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4268         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4269         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4271 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
4273         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4274         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4275         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4276         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4278 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
4280         [BZ #14579]
4281         * elf/rtld.c (dl_main): Limit the check for self loading to normal
4282         mode only.
4283         * elf/tst-rtld-load-self.sh: New test.
4284         * elf/Makefile: Run it.
4286 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
4288         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4289         (tst-writev-ENV): Remove.
4290         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4292 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
4294         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4296 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
4298         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4299         unconditional.
4300         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4301         Likewise.
4302         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4303         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4304         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4305         Likewise.
4307 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
4309         [BZ #14587]
4310         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4311         * config.make.in (have-cpp-asm-debuginfo): Removed.
4312         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4313         * configure: Regenerated.
4315 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
4317         [BZ #5044]
4318         * stdio-common/printf_fp.c: Include <stdbool.h> and
4319         <rounding-mode.h>.
4320         (___printf_fp): Determine rounding using get_rounding_mode and
4321         round_away.
4322         * stdio-common/tst-printf-round.c: New file.
4323         * stdio-common/Makefile (tests): Add tst-printf-round.
4324         (link-libm): New variable.
4325         ($(objpfx)tst-printf-round): Depend in $(link-libm).
4327 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
4329         [BZ #14576]
4330         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4331         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4332         Likewise.
4333         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4334         Likewise.
4336 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
4338         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4339         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4340         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4341         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4343 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
4345         [BZ #14518]
4346         * include/rounding-mode.h: New file.
4347         * sysdeps/generic/get-rounding-mode.h: Likewise.
4348         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4349         * stdlib/strtod_l.c: Include <rounding-mode.h>.
4350         (MAX_VALUE): New macro.
4351         (MIN_VALUE): Likewise.
4352         (overflow_value): New function.
4353         (underflow_value): Likewise.
4354         (round_and_return): Use overflow_value and underflow_value to
4355         determine return values in overflow and underflow cases.  Use
4356         round_away to determine rounding depending on rounding mode.
4357         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4358         determine return values in overflow and underflow cases.
4359         * stdlib/tst-strtod-round.c: Include <fenv.h>.
4360         (struct test_results): New structure.
4361         (struct test): Use struct test_results to store expected results
4362         for all rounding modes.
4363         (TEST): Include expected results for all rounding modes.
4364         (test_in_one_mode): New function.
4365         (do_test): Use test_in_one_mode to compute and check results.
4366         Check results for all rounding modes.
4367         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4368         $(link-libm).
4370 2012-12-09  Allan McRae  <allan@archlinux.org>
4372         * sysdeps/i386/fpu/libm-test-ulps: Update
4374 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
4376         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4377         (_G_int32_t): Likewise.
4378         (_G_uint16_t): Likewise.
4379         (_G_uint32_t): Likewise.
4380         (_G_HAVE_BOOL): Likewise.
4381         (_G_HAVE_ATEXIT): Likewise.
4382         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4383         (_G_HAVE_IO_FILE_OPEN): Likewise.
4384         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4385         (_G_int32_t): Likewise.
4386         (_G_uint16_t): Likewise.
4387         (_G_uint32_t): Likewise.
4388         (_G_HAVE_BOOL): Likewise.
4389         (_G_HAVE_ATEXIT): Likewise.
4390         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4391         (_G_HAVE_IO_FILE_OPEN): Likewise.
4392         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4393         (_G_int32_t): Likewise.
4394         (_G_uint16_t): Likewise.
4395         (_G_uint32_t): Likewise.
4396         (_G_HAVE_BOOL): Likewise.
4397         (_G_HAVE_ATEXIT): Likewise.
4398         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4399         (_G_HAVE_IO_FILE_OPEN): Likewise.
4401 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
4403         * csu/libc-tls.c: Update copyright years.
4405 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
4407         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4408         [!_G_USING_THUNKS]: Remove conditional code.
4409         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4410         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4412         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4413         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4414         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4415         (_G_VTABLE_LABEL_PREFIX): Likewise.
4416         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4417         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4418         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4419         (_G_VTABLE_LABEL_PREFIX): Likewise.
4420         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4421         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4422         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4423         (_G_VTABLE_LABEL_PREFIX): Likewise.
4424         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4426 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
4428         * libio/Makefile: Include ../Makeconfig before tests.
4429         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4430         only if $(build-shared) is yes.
4432         * iconv/gconv_db.c: Update copyright years.
4434 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4436         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4437         unwind info if defined PIC. Fix special cases description.
4438         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4440         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4441         DP_HI_MASK entry.
4442         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4444 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
4446         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4448         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4449         is NULL.
4451         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4452         (LDLIBS-tst-chk4): This.
4453         (LDFLAGS-tst-chk5): Renamed to ...
4454         (LDLIBS-tst-chk5): This.
4455         (LDFLAGS-tst-chk6): Renamed to ...
4456         (LDLIBS-tst-chk6): This.
4457         (LDFLAGS-tst-lfschk4): Renamed to ...
4458         (LDLIBS-tst-lfschk4): This.
4459         (LDFLAGS-tst-lfschk5): Renamed to ...
4460         (LDLIBS-tst-lfschk5): This.
4461         (LDFLAGS-tst-lfschk6): Renamed to ...
4462         (LDLIBS-tst-lfschk6): This.
4464         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4465         on $(common-objpfx)soversions.mk.
4467 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
4469         [BZ #10014]
4470         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4471         example host name.
4473 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4475         * malloc/arena.c (arena_get_retry): New function that gets
4476         another arena for the caller to try its request on.
4477         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4478         current arena cannot fulfill the request.
4479         (__libc_memalign): Likewise.
4480         (__libc_memalign): Likewise.
4481         (__libc_pvalloc): Likewise.
4482         (__libc_calloc): Likewise.
4484 2012-09-05  John Tobey  <john.tobey@gmail.com>
4486         [BZ #13542]
4487         * manual/arith.texi (Operations on Complex): Fix description
4488         of carg branch cut.
4490 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
4492         [BZ #10014]
4493         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4494         host name.
4496         [BZ #10038]
4497         * manual/memory.texi (Memory): Make order of menu items match
4498         order of sections.
4500 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4502         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4503         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
4504         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4506 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4508         * csu/libc-tls.c (static_dtv): Renamed to ...
4509         (_dl_static_dtv): This.  Make it global.
4510         (_dl_initial_dtv): Removed.
4511         (__libc_setup_tls): Updated.
4512         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4513         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4514         DL_INITIAL_DTV.
4516 2012-09-06  Petr Machata  <pmachata@redhat.com>
4518         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4519         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4520         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4521         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4523 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4525         [BZ #14545]
4526         * csu/libc-tls.c (_dl_initial_dtv): New variable.
4527         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4528         freeing dtv[-1].
4530 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4532         [BZ #14544]
4533         * Makeconfig (link-static-before-libc): Replace $(+prector)
4534         with $(+prectorT).
4535         (link-static-after-libc): Replace $(+postctor) with
4536         $(+postctorT).
4537         (link-bounded): Replace $(+prector)/$(+postctor) with
4538         $(+prectorT)/$(+postctorT).
4539         (+prectorT): New macro.
4540         (+postctorT): Likewise.
4542 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
4544         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4545         (round_str): Handle values above the maximum for IBM long double
4546         as inexact.
4547         * stdlib/tst-strtod-round.c (tests): Regenerated.
4549 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4551         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4552         assembler flag.
4553         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4554         zarch_nohighgprs around the zarch optimized routines.
4555         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4556         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4557         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4558         for zarch.
4560 2012-09-05  David S. Miller  <davem@davemloft.net>
4562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4564         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4565         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4566         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4567         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4568         entries.
4570 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4572         * malloc/arena.c: Fold copyright years.
4573         * malloc/mcheck.c, malloc/memusage.c: Likewise.
4575 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4577         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4579 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4581         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
4583 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4585         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4586         change internal state upon failure.
4588 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
4590         * malloc/mcheck.c (mcheck_check_all): Fix typo.
4591         * malloc/memusage.c (mmap): Likewise.
4592         (mmap64, mremap): Likewise.  Adjust name in comment.
4594 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4596         * libio/fileops.c: Fix typos in comments.
4597         * libio/oldfileops.c: Likewise.
4598         * libio/wfileops.c: Likewise.
4600 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4602         [BZ #1349]
4603         * malloc/Makefile (tests): Add tst-malloc-usable test case.
4604         (tst-malloc-usable-ENV): Set environment for test case.
4605         * malloc/hooks.c (malloc_check_get_size): New function to get
4606         requested size.
4607         * malloc/malloc.c (musable): Use malloc_check_get_size.
4608         * malloc/tst-malloc-usable.c: New test case.
4610 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
4612         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4614 2012-09-05  Allan McRae  <allan@archlinux.org>
4616         [BZ #13966]
4617         * configure.in (CXX_SYSINCLUDES): Use compiler output to
4618         determine header location.
4619         * configure: Regenerated.
4621 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
4623         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4624         float format.
4625         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
4626         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4627         format.
4628         (test): Regenerate.
4630 2012-09-04  David S. Miller  <davem@davemloft.net>
4632         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4633         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4634         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4636 2012-09-04  Florian Weimer  <fweimer@redhat.com>
4638         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4639         failures.
4641         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4643 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
4645         [BZ #9914]
4646         * libio/iogetdelim.c: Include <limits.h>.
4647         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4648         + len + 1 would overflow.
4650 2012-09-03  Andreas Jaeger  <aj@suse.de>
4652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4653         * sysdeps/i386/fpu/libm-test-ulps: Update.
4655 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
4657         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4658         Add s_sinf-sse2, s_conf-sse2.
4660         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4661         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4662         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4663         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4665         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4666         for using routine as __sinf_ia32.
4667         Use macro for function declaration and weak_alias.
4668         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4669         for using routine as __cosf_ia32.
4670         Use macro for function declaration and weak_alias.
4672         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4673         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4675         * sysdeps/x86_64/fpu/s_sinf.S: New file.
4676         * sysdeps/x86_64/fpu/s_cosf.S: New file.
4677         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4679         * math/libm-test.inc (cos_test): Add more test cases.
4680         (sin_test): Likewise.
4681         (sincos_test): Likewise.
4683 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4685         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4686         (IFUNC_RESOLVE): Make pointers to the specialized implementations
4687         hidden.
4688         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4690 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
4692         [BZ #14538]
4693         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4694         first element of the GOT.
4695         (elf_machine_load_address): Return the difference between
4696         the runtime address of _DYNAMIC and elf_machine_dynamic ().
4698 2012-09-01  Allan McRae  <allan@archlinux.org>
4700         [BZ #13412]
4701         * configure.in (AWK): Require gawk version 3.0 or later.
4702         * configure: Regenerated.
4704 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
4706         * sysdeps/unix/sysv/linux/kernel-features.h
4707         (__ASSUME_POSIX_CPU_TIMERS): Remove.
4708         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4709         [__NR_clock_getres]: Make code unconditional.
4710         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4711         (clock_getcpuclockid): Remove code left unreachable by removal of
4712         conditionals.
4713         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4714         code unconditional.
4715         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4716         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4717         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4718         Make code unconditional.
4719         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4720         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4721         * sysdeps/unix/sysv/linux/clock_settime.c
4722         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4723         conditional code.
4724         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4725         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4727 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
4729         [BZ #14476]
4730         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4731         scripts/test-installation.pl.
4733         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4734         and $ld_so_version if it is set.
4736 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4738         [BZ #14516]
4739         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4740         failure if reading from procfs failed.
4741         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4743 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
4745         * sysdeps/unix/sysv/linux/kernel-features.h
4746         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4747         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4748         Remove conditional code.
4749         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4750         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4751         Remove conditional code.
4752         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4753         * sysdeps/unix/sysv/linux/i386/fxstat.c
4754         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4755         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4756         * sysdeps/unix/sysv/linux/i386/fxstatat.c
4757         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4758         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4759         * sysdeps/unix/sysv/linux/i386/lxstat.c
4760         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4761         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4762         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4763         Remove conditional code.
4764         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4765         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4766         Remove conditional code.
4767         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4768         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4769         <kernel-features.h>.
4770         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4771         Remove.
4772         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4773         Remove conditional code.
4774         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4775         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4776         Remove conditional.
4778 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
4780         [BZ #5400]
4781         * NEWS: Add fixed bug number.
4783 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
4785         [BZ #14519]
4786         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4787         underflowing exponent in case of negative sign.
4788         * stdlib/tst-strtod-round-data: Add more tests.
4789         * stdlib/tst-strtod-round.c (tests): Regenerated.
4791         [BZ #3479]
4792         * stdlib/strtod_l.c (NDIG): Remove.
4793         (HEXNDIG): Likewise.
4794         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4795         smallest representable value.
4796         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4797         lie within an exact representation of 1/2 ulp of the result.
4798         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4799         unconditionally.
4800         (TENS_P9_IDX): Define unconditionally.
4801         (TENS_P9_SIZE): Likewise.
4802         (TENS_P10_IDX): Likewise.
4803         (TENS_P10_SIZE): Likewise.
4804         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4805         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4806         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4807         entries for 10^2^13 and 10^2^14.
4808         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4809         (TENS_P13_IDX): Define.
4810         (TENS_P13_SIZE): Likewise.
4811         (TENS_P14_IDX): Likewise.
4812         (TENS_P14_SIZE): Likewise.
4813         (_fpioconst_pow10): Change array size to
4814         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
4815         unconditional.
4816         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4817         1024]: Add entries for 10^2^13 and 10^2^14.
4818         [LAST_POW10 > _LAST_POW10]: Remove #error.
4819         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4820         (_fpioconst_pow10): Change array size to
4821         FPIOCONST_POW10_ARRAY_SIZE.
4822         * stdlib/gen-fpioconst.c: New file.
4823         * stdlib/gen-tst-strtod-round.c: Likewise.
4824         * stdlib/tst-strtod-round-data: Likewise.
4825         * stdlib/tst-strtod-round.c: Likewise.
4826         * stdlib/Makefile (tests): Add tst-strtod-round.
4828         [BZ #14459]
4829         * stdlib/strtod_l.c: Include <stdint.h>.
4830         (NDEBUG): Do not define.
4831         (round_and_return): Change EXPONENT parameter to type intmax_t.
4832         Rearrange calculations to avoid internal overflow possibilities.
4833         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4834         Rearrange calculations to avoid internal overflow possibilities.
4835         Assert that number fits inside MPNSIZE limbs.
4836         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4837         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
4838         calculations and add assertions to avoid internal overflow
4839         possibilities.  Add casts to avoid signed/unsigned operations.
4840         * stdlib/tst-strtod-overflow.c: New file.
4841         * stdlib/Makefile (tests): Add tst-strtod-overflow.
4843 2012-08-25  Marek Polacek  <polacek@redhat.com>
4845         * time/time.h: Fix some typos in comments.
4847 2012-08-23  Roland McGrath  <roland@hack.frob.com>
4849         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4850         * posix/tst-rfc3484-2.c: Likewise.
4851         * posix/tst-rfc3484-3.c: Likewise.
4853 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
4855         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4856         (EF_ARM_ABI_FLOAT_HARD): Likewise.
4858 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
4860         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4861         #include of fxstatat64.c.
4863 2012-08-22  Roland McGrath  <roland@hack.frob.com>
4865         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4866         * shadow/getspent_r.c: Likewise.
4867         * shadow/getspnam.c: Likewise.
4868         * shadow/getspnam_r.c: Likewise.
4869         * gshadow/getsgent.c: Likewise.
4870         * gshadow/getsgent_r.c: Likewise.
4871         * gshadow/getsgnam.c: Likewise.
4872         * gshadow/getsgnam_r.c: Likewise.
4873         * inet/getnetbyad.c: Likewise.
4874         * inet/getnetbyad_r.c: Likewise.
4875         * inet/getnetbynm.c: Likewise.
4876         * inet/getnetbynm_r.c: Likewise.
4877         * inet/getnetent.c: Likewise.
4878         * inet/getnetent_r.c: Likewise.
4879         * inet/getproto.c: Likewise.
4880         * inet/getproto_r.c: Likewise.
4881         * inet/getprtent.c: Likewise.
4882         * inet/getprtent_r.c: Likewise.
4883         * inet/getprtname.c: Likewise.
4884         * inet/getprtname_r.c: Likewise.
4885         * inet/getrpcbyname.c: Likewise.
4886         * inet/getrpcbyname_r.c: Likewise.
4887         * inet/getrpcbynumber.c: Likewise.
4888         * inet/getrpcbynumber_r.c: Likewise.
4889         * inet/getrpcent.c: Likewise.
4890         * inet/getrpcent_r.c: Likewise.
4891         * inet/getaliasent.c: Likewise.
4892         * inet/getaliasent_r.c: Likewise.
4893         * inet/getaliasname.c: Likewise.
4894         * inet/getaliasname_r.c: Likewise.
4895         * nscd/getgrgid_r.c: Likewise.
4896         * nscd/getgrnam_r.c: Likewise.
4897         * nscd/gethstbyad_r.c: Likewise.
4898         * nscd/gethstbynm3_r.c: Likewise.
4899         * nscd/getpwnam_r.c: Likewise.
4900         * nscd/getpwuid_r.c: Likewise.
4901         * nscd/getsrvbynm_r.c: Likewise.
4902         * nscd/getsrvbypt_r.c: Likewise.
4903         * nscd/gai.c: Likewise.
4905         * configure.in (build_nscd): New substituted variable, set
4906         by --disable-build-nscd and defaults to $use_nscd.
4907         * configure: Regenerated.
4908         * config.make.in (build-nscd): New substituted variable.
4909         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4910         Change conditional to require [$(build-nscd) = yes] as well.
4911         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4913         [BZ# 13696]
4914         * configure.in (use_nscd): New substituted variable, set by
4915         --disable-nscd.  If enabled, define USE_NSCD.
4916         * configure: Regenerated.
4917         * config.h.in: Add USE_NSCD.
4918         * config.make.in (use-nscd): New substituted variable.
4919         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4920         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4921         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4922         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4923         (CFLAGS-getgrnam_r.c): Likewise.
4924         (CFLAGS-initgroups.c): Likewise.
4925         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4926         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4927         Variables removed.
4928         * inet/getnetgrent_r.c
4929         (nscd_setnetgrent): New function, broken out of ...
4930         (setnetgrent): ... here.  Call it.
4931         (innetgr): Conditionalize nscd bits on [USE_NSCD].
4932         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4933         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4934         * nscd/Makefile (routines, aux): Move definitions after include of
4935         Makeconfig.  Conditionalize on [$(use-nscd) != no].
4936         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4937         Conditionalize on [USE_NSCD].
4938         (is_nscd, nscd_init_cb): Likewise.
4939         (nss_load_library): Conditionalize init callback on [USE_NSCD].
4940         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4941         * nss/nss_db/db-init.c: Likewise.
4942         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4943         [USE_NSCD].
4944         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4945         (make_request): Use it.
4946         (cache_valid_p): New function.
4947         (__check_pf): Use it.
4948         * NEWS: Add item for --disable-nscd.
4950 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
4952         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4953         to support sed >= 4.2.1-20-ga9bf076.
4954         * configure: Regenerated.
4956 2012-08-22  Roland McGrath  <roland@hack.frob.com>
4958         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4959         Conditionalize whole body on [IREL].
4961 2012-08-22  Jeff Law <law@redhat.com>
4963         [BZ #14505]
4964         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4965         if the family is PF_UNSPEC.
4967 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
4969         * Makerules (lib-version): Rename from V.
4970         (install-lib-nosubdir): Change V to lib-version.
4972 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
4974         [BZ #14252]
4975         * powerpc32/power6/wcschr.c: New file.
4976         * powerpc32/power6/wcscpy.c: New file.
4977         * powerpc32/power6/wcsrchr.c: New file.
4978         * powerpc64/power6/wcschr.c: New file.
4979         * powerpc64/power6/wcscpy.c: New file.
4980         * powerpc64/power6/wcsrchr.c: New file.
4982 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
4984         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4985         (two_way_short_needle): Use it.
4986         * string/strstr.c (AVAILABLE1_USES_J): Define.
4987         * string/strcasestr.c: Likewise.
4989         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4990         array references.
4991         * string/strcasestr.c (TOLOWER): Make side-effect safe.
4993         [BZ #11607]
4994         * NEWS: Add an entry.
4995         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4996         define their defaults.
4997         (two_way_short_needle): Detect end-of-string on-the-fly.
4998         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4999         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5000         * string/bug-strcasestr1.c: New test.
5001         * string/Makefile: Run it.
5003 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
5005         [BZ #11607]
5006         * string/str-two-way.h (two_way_short_needle): Optimize matching of
5007         the first character.
5009 2012-08-21  Roland McGrath  <roland@hack.frob.com>
5011         * csu/elf-init.c (__libc_csu_irel): Function removed.
5012         * csu/libc-start.c (apply_irel): New function.
5013         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5015 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
5017         * sysdeps/unix/sysv/linux/kernel-features.h
5018         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5019         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5020         <kernel-features.h>.
5021         [__NR_fadvise64_64]: Make code unconditional.
5022         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5023         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5024         !__NR_fadvise64_64)]: Likewise.
5025         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5026         !__NR_fadvise64_64))]: Likewise.
5027         [__NR_fadvise64]: Make code unconditional.
5028         [!__NR_fadvise64]: Remove conditional code.
5029         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5030         <kernel-features.h>.
5031         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5032         unconditional.
5033         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5034         conditional code.
5035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5036         not include <kernel-features.h>.
5037         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5038         unconditional.
5039         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5040         conditional code.
5041         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5042         include <kernel-features.h>.
5043         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5044         unconditional.
5045         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5046         conditional code.
5048 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
5050         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5051         slight instruction rearrangements per scrollpipe analysis.
5052         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5054 2012-08-20  Roland McGrath  <roland@hack.frob.com>
5056         * manual/syslog.texi (syslog; vsyslog, closelog):
5057         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5058         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5060         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5061         DSOCAPS to match condition on defining it.
5063 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
5065         * sysdeps/unix/sysv/linux/kernel-features.h
5066         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5068         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5069         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5071         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5072         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5074         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5075         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5077         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5078         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5080         * sysdeps/unix/sysv/linux/kernel-features.h
5081         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5082         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5083         unconditional.
5084         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5085         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5086         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5087         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5088         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5089         Make code unconditional.
5090         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5091         (__mmap64) [!__NR_mmap2]: Likewise.
5092         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5093         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5094         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5095         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5096         [__NR_mmap2]: Make code unconditional.
5097         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5098         (__mmap64) [!__NR_mmap2]: Likewise.
5100 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5102         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5104 2012-08-18  Andreas Jaeger  <aj@suse.de>
5106         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5108 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
5110         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5111         * include/unistd.h (__have_sock_cloexec): Likewise.
5112         (__have_pipe2): Likewise.
5113         (__have_dup3): Likewise.
5115 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
5117         [BZ #9685]
5118         * include/unistd.h (__have_pipe2): Change define into an extern int.
5119         (__have_dup3): Likewise.
5120         * socket/have_sock_cloexec.c: Include fcntl.h.
5121         (__have_pipe2): New variable.
5122         (__have_dup3): Likewise.
5124 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
5126         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5128 2012-08-17  Marek Polacek  <polacek@redhat.com>
5130         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5131         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5133 2012-08-17  Roland McGrath  <roland@hack.frob.com>
5135         * configure.in: Add AC_SUBST for sysheaders.
5136         * configure: Regenerated.
5137         * config.make.in (sysheaders): New substituted variable.
5139         * sysdeps/unix/mkfifo.c: Moved ...
5140         * sysdeps/posix/mkfifo.c: ... here.
5141         * sysdeps/unix/mkfifoat.c: Moved ...
5142         * sysdeps/posix/mkfifoat.c: ... here.
5144         * sysdeps/unix/utime.c: Moved ...
5145         * sysdeps/posix/utime.c: ... here.
5147         * sysdeps/unix/time.c: Moved ...
5148         * sysdeps/posix/time.c: ... here.
5149         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5150         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
5152         * sysdeps/unix/nice.c: Moved ...
5153         * sysdeps/posix/nice.c: ... here.
5155         * sysdeps/unix/alarm.c: Moved ...
5156         * sysdeps/posix/alarm.c: ... here.
5158         * intl/Makefile ($(codeset_mo)): Depend on the input file.
5160 2012-08-17  Jeff Law <law@redhat.com>
5162         * intl/Makefile (codeset_mo): New variable.
5163         ($(codeset_mo)): New target.
5164         (tst-codeset.out): Depend on that.  Remove explicit rule.
5165         (tst-gettext3.out, tst-gettext5.out): Likewise.
5166         (LOCPATH-ENV, tst-codeset-ENV): New variables.
5167         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5168         * intl/tst-codeset.sh: Remove.
5169         * intl/tst-gettext3.sh: Likewise.
5170         * intl/tst-gettext5.sh: Likewise.
5172 2012-08-17  Roland McGrath  <roland@hack.frob.com>
5174         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
5175         * sysdeps/unix/syscalls.list: ... here.
5177         * sysdeps/posix/getaddrinfo.c
5178         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5179         (gaiconf_init, gaiconf_reload): Use them.
5180         [!_STATBUF_ST_NSEC]
5181         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5182         Define using time_t rather than struct timespec.
5184         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5185         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5186         Macros removed.
5187         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5188         [!NO_THREADS].
5189         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5190         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5191         Likewise.
5193         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5194         __libc_cleanup_push argument.
5196         * bits/param.h: New file.
5197         * misc/sys/param.h: New file.
5198         * include/sys/param.h: New file.
5199         * misc/Makefile (headers): Add bits/param.h.
5200         * sysdeps/generic/sys/param.h: File removed.
5201         * sysdeps/unix/sysv/linux/bits/param.h: New file.
5202         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5203         * sysdeps/mach/hurd/bits/param.h: New file.
5204         * sysdeps/mach/hurd/sys/param.h: File removed.
5206         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5207         last change.
5209         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5210         [_IO_MTSAFE_IO].
5211         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5212         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5213         New macros.
5215         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5216         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5217         rather than -D_IO_MTSAFE_IO conditionally.
5218         * stdio-common/Makefile (CPPFLAGS): Likewise.
5219         * wcsmbs/Makefile (CPPFLAGS): Likewise.
5220         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5221         Use $(libio-mtsafe).
5222         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5223         of -D_IO_MTSAFE_IO.
5224         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5225         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5226         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5227         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5228         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5229         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5230         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5231         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5232         (CFLAGS-fread_u_chk.c): Likewise.
5233         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5234         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5235         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5236         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5237         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5238         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5239         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5240         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5241         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5243         * libio/Makefile: Test [$(libc-reentrant) = yes]
5244         instead of [$(filter %REENTRANT, $(defines)) nonempty].
5246         * Makeconfig
5247         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5248         * sysdeps/pthread/configure: File removed.
5249         * sysdeps/pthread/Makeconfig: New file.
5250         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5251         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5253 2012-08-16  Gary Benson  <gbenson@redhat.com>
5255         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5256         unmapping the first object in a namespace.
5258 2012-08-16  Roland McGrath  <roland@hack.frob.com>
5260         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5261         (__internal_setnetgrent): ... this.  Add internal_function to
5262         definition.  Add libc_hidden_def.
5263         (setnetgrent): Update caller.
5264         (internal_endnetgrent): Renamed to ...
5265         (__internal_endnetgrent): ... this.  Add internal_function to
5266         definition.  Add libc_hidden_def.
5267         (endnetgrent): Update caller.
5268         (internal_getnetgrent_r): Renamed to ...
5269         (__internal_getnetgrent_r): ... this.  Add internal_function to
5270         definition.  Add libc_hidden_def.
5271         (__getnetgrent_r): Update caller.
5272         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
5274 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
5276         * stdlib/longlong.h: Update from GCC.
5278 2012-08-16  Roland McGrath  <roland@hack.frob.com>
5280         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5281         on _QL, which is set by umul_ppmm but never used.
5282         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5283         variables, which are set by GMP macros but never used.
5284         * stdio-common/_itowa.c (_itowa): Likewise.
5285         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5286         * stdlib/mod_1.c (mpn_mod_1): Likewise.
5288 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
5290         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5291         struct La_sh_regs is not constant.
5292         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5293         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5294         and struct La_sparc64_regs are not constant.
5296 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
5298         * sysdeps/unix/sysv/linux/kernel-features.h
5299         (__ASSUME_POSIX_TIMERS): Remove.
5300         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5301         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5302         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5303         Make code unconditional.
5304         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5305         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5306         Make code unconditional.
5307         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5308         * sysdeps/unix/sysv/linux/clock_nanosleep.c
5309         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5310         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5311         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5312         Make code unconditional.
5313         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5314         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5315         (__libc_missing_posix_timers): Remove.
5317 2012-08-15  Roland McGrath  <roland@hack.frob.com>
5319         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5320         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5322         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5324         * elf/dl-sym.c: Include <stdlib.h>.
5326         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5327         constants, which avoids warnings in 32-bit builds.
5329         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5330         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5332         * misc/lseek.c: File moved to ...
5333         * io/lseek.c: ... here.
5335         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5337         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5338         shifting LEN more than 31 bits at once.
5340 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
5342         [BZ #14195]
5343         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5344         segmentation fault for a case of two empty input strings.
5345         * string/test-strncasecmp.c (check1): Renamed to...
5346         (bz12205): ...this.
5347         (bz14195): Add new testcase for two empty input strings and N > 0.
5348         (test_main): Call new testcase, adapt for renamed function.
5350 2012-08-15  Andreas Jaeger  <aj@suse.de>
5352         [BZ #14090]
5353         * crypt/md5test2.c: New test, based on test supplied by Serge
5354         Belyshev <belyshev@depni.sinp.msu.ru>.
5355         * crypt/Makefile (xtests): Add md5test-giant..
5356         * crypt/Makefile ($(objpfx)md5test-giant): Add.
5358 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
5360         [BZ #14090]
5361         * crypt/md5.c (md5_process_block): Don't assume the buffer
5362         length is less than 2**32.
5363         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5364         length is less than 2**64.
5366 2012-08-15  Roland McGrath  <roland@hack.frob.com>
5368         * string/str-two-way.h: Include <sys/param.h>.
5369         (MAX): Macro removed.
5371         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5372         Move #define and #undef of memmove to just before and after
5373         including <string.h>.
5375         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5376         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5377         and after including <string.h>.  Move declarations of
5378         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5379         to before #include "string/memmove.c".
5381         * include/dirent.h: Declare __getdirentries.
5383         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5384         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5386 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
5388         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5389         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5390         * sysdeps/i386/configure: Regenerated.
5391         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5392         STABS_CURRENT_FILE, and STABS_FUN.
5393         (END): Remove call to STABS_FUN_END.
5394         (STABS_CURRENT_FILE1): Delete.
5395         (STABS_CURRENT_FILE): Likewise.
5396         (STABS_FUN): Likewise.
5397         (STABS_FUN_END): Likewise.
5398         (STABS_FUN2): Likewise.
5399         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5400         * sysdeps/x86_64/configure: Regenerated.
5402 2012-08-14  Roland McGrath  <roland@hack.frob.com>
5404         * elf/dl-open.c: Include <atomic.h>.
5405         * elf/dl-lookup.c: Likewise.
5407 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
5409         * sysdeps/unix/sysv/linux/kernel-features.h
5410         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5411         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5412         unconditionally.
5413         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5414         unconditionally.
5415         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5416         condition on __ASSUME_CLONE_THREAD_FLAGS.
5418 2012-08-14  Andreas Jaeger  <aj@suse.de>
5420         * sysdeps/i386/fpu/libm-test-ulps: Update.
5422 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
5424         * include/atomic.h (atomic_exchange_and_add): Split into ...
5425         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5426         New atomic macros.
5428 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
5430         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5432 2012-08-13  Jeff Law <law@redhat.com>
5434         * manual/stdio.texi (snprintf): Clarify handling of the trailing
5435         null byte in the output string.
5437 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
5439         * sysdeps/unix/sysv/linux/kernel-features.h
5440         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5441         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5442         (__ASSUME_ARG_MAX_STACK_BASED): Define.
5443         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5444         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5445         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
5446         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5448 2012-08-09  Jeff Law <law@redhat.com>
5450         [BZ #13939]
5451         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5452         When avoid_arena is set, don't retry in the that arena.  Pick the
5453         next one, whatever it might be.
5454         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5455         (arena_lock): Pass in new parameter to arena_get2.
5456         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5457         arena_get2.
5458         (__libc_malloc): Unify retrying after main arena failure with
5459         __libc_memalign version.
5460         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5462 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
5464         [BZ #14166]
5465         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5466         to __redirect_strstr.
5467         (__strstr_sse42): Use typeof __redirect_strstr.
5468         (__strstr_ia32): Likewise.
5469         (__libc_strstr): New prototype.
5470         (strstr): Renamed to ...
5471         (__libc_strstr): This.
5472         (strstr): New strong alias of __libc_strstr.
5473         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5474         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5475         __redirect_time.
5476         Include <time.h>.
5477         (__libc_time): New prototype.
5478         (time_ifunc): Replace time with __libc_time.
5479         (time): New strong alias and hidden definition of __libc_time.
5480         (__GI_time): Remove strong alias.
5481         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5482         Include <stddef.h>.
5483         (memmove): Redefined to __redirect_memmove.
5484         (__memmove_sse2): Use typeof __redirect_memmove.
5485         (__memmove_ssse3): Likewise.
5486         (__memmove_ssse3_back): Likewise.
5487         (__libc_memmove): New prototype.
5488         (memmove): Renamed to ...
5489         (__libc_memmove): This.
5490         (memmove): New strong alias of __libc_memmove.
5492 2012-08-08  Mark Salter  <msalter@redhat.com>
5494         * elf/elf.h
5495         (R_MN10300_TLS_GD): Define.
5496         (R_MN10300_TLS_LD): Likewise.
5497         (R_MN10300_TLS_LDO): Likewise.
5498         (R_MN10300_TLS_GOTIE): Likewise.
5499         (R_MN10300_TLS_IE): Likewise.
5500         (R_MN10300_TLS_LE): Likewise.
5501         (R_MN10300_TLS_DTPMOD): Likewise.
5502         (R_MN10300_TLS_DTPOFF): Likewise.
5503         (R_MN10300_TLS_TPOFF): Likewise.
5504         (R_MN10300_SYM_DIFF): Likewise.
5505         (R_MN10300_ALIGN): Likewise.
5506         (R_MN10300_NUM): Update.
5508 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
5510         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5511         Remove.
5513 2012-08-08  Roland McGrath  <roland@hack.frob.com>
5515         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5517         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5518         sysdeps/unix -> sysdeps/posix move.
5519         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5521 2012-08-07      Allan McRae     <allan@archlinux.org>
5523         [BZ #14303]
5524         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5525         (SUNOS_CPP): Likewise.
5526         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5527         not found.
5528         (open_input): Call CPP using execvp.
5530 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
5532         * sysdeps/unix/sysv/linux/kernel-features.h
5533         (__ASSUME_PROT_GROWSUPDOWN): Remove.
5534         (__ASSUME_NO_CLONE_DETACHED): Likewise.
5535         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5536         (__ASSUME_WAITID_SYSCALL): Likewise.
5537         * sysdeps/unix/sysv/linux/dl-execstack.c
5538         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5539         code unconditional.
5540         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5541         conditional code.
5542         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5543         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5544         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5545         code.
5546         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5547         unconditional.
5548         [__ASSUME_WAITID_SYSCALL]: Likewise.
5549         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5551 2012-08-07  Roland McGrath  <roland@hack.frob.com>
5553         * sysdeps/unix/closedir.c: Renamed to ...
5554         * sysdeps/posix/closedir.c: ... here.
5555         * sysdeps/unix/dirfd.c: Renamed to ...
5556         * sysdeps/posix/dirfd.c: ... here.
5557         * sysdeps/unix/dirstream.h: Renamed to ...
5558         * sysdeps/posix/dirstream.h: ... here.
5559         * sysdeps/unix/fdopendir.c: Renamed to ...
5560         * sysdeps/posix/fdopendir.c: ... here.
5561         * sysdeps/unix/opendir.c: Renamed to ...
5562         * sysdeps/posix/opendir.c: ... here.
5563         * sysdeps/unix/readdir.c: Renamed to ...
5564         * sysdeps/posix/readdir.c: ... here.
5565         * sysdeps/unix/readdir_r.c: Renamed to ...
5566         * sysdeps/posix/readdir_r.c: ... here.
5567         * sysdeps/unix/rewinddir.c: Renamed to ...
5568         * sysdeps/posix/rewinddir.c: ... here.
5569         * sysdeps/unix/seekdir.c: Renamed to ...
5570         * sysdeps/posix/seekdir.c: ... here.
5571         * sysdeps/unix/telldir.c: Renamed to ...
5572         * sysdeps/posix/telldir.c: ... here.
5573         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5574         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5575         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5576         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5578         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5579         * bits/fcntl.h: ... here.
5581         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5582         not 0.
5583         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5584         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5585         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5586         (struct flock): Move l_start, l_len to the beginning.
5587         Use __pid_t for l_pid.
5588         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5589         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5590         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5591         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5592         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5593         [__USE_LARGEFILE64] (struct flock64): New type.
5594         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5596         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5597         * bits/dirent.h: ... here.
5599         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5600         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5602 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
5604         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5605         Change from 2.6.0 to 2.6.16.
5606         * sysdeps/unix/sysv/linux/configure: Regenerated.
5607         * sysdeps/unix/sysv/linux/kernel-features.h
5608         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5609         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5610         version.
5611         (__ASSUME_UTIMES): Likewise.
5612         (__ASSUME_CLONE_STOPPED): Remove.
5613         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5614         architectures, not kernel version.
5615         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5616         (__ASSUME_NO_CLONE_DETACHED): Likewise.
5617         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5618         (__ASSUME_WAITID_SYSCALL): Likewise.
5619         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5620         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5621         * README: State 2.6.16 as minimum Linux kernel version.  Do not
5622         refer to older versions.
5624 2012-08-06  Roland McGrath  <roland@hack.frob.com>
5626         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5627         Define alphasort64 as an alias.
5628         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5629         Define versionsort64 as an alias.
5630         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5631         Define scandir64 as an alias.
5632         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5633         Define scandirat64 as an alias.
5634         * dirent/alphasort64.c (alphasort64):
5635         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5636         * dirent/versionsort64.c: Likewise.
5637         * dirent/scandir64.c: Likewise.
5638         * dirent/scandirat64.c: Likewise.
5639         * sysdeps/wordsize-64/alphasort.c: File removed.
5640         * sysdeps/wordsize-64/alphasort64.c: File removed.
5641         * sysdeps/wordsize-64/scandir.c: File removed.
5642         * sysdeps/wordsize-64/scandir64.c: File removed.
5643         * sysdeps/wordsize-64/scandirat.c: File removed.
5644         * sysdeps/wordsize-64/scandirat64.c: File removed.
5645         * sysdeps/wordsize-64/versionsort.c: File removed.
5646         * sysdeps/wordsize-64/versionsort64.c: File removed.
5647         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5648         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5649         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5650         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5651         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5652         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5653         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5654         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5656         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5657         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5658         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5659         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5660         [defined __arch64__ || defined __sparcv9]
5661         (__INO_T_MATCHES_INO64_T): New macro.
5662         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5663         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5664         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5665         * sysdeps/unix/sysv/linux/bits/dirent.h
5666         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5667         (_DIRENT_MATCHES_DIRENT64): New macro.
5669         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5670         Define lockf64 as an alias.
5671         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5672         Define fseeko64 as an alias.
5673         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5674         Define ftello64 as an alias.
5675         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5676         Define _IO_fgetpos64 and fgetpos64 as aliases.
5677         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5678         Define _IO_fsetpos64 and fsetpos64 as aliases.
5679         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5680         Conditionalize body on this.
5681         * libio/fseeko64.c: Likewise.
5682         * libio/ftello64.c: Likewise.
5683         * libio/iofgetpos64.c: Likewise.
5684         * libio/iofsetpos64.c: Likewise.
5685         * sysdeps/wordsize-64/lockf.c: File removed.
5686         * sysdeps/wordsize-64/lockf64.c: File removed.
5687         * sysdeps/wordsize-64/fseeko.c: File removed.
5688         * sysdeps/wordsize-64/fseeko64.c: File removed.
5689         * sysdeps/wordsize-64/ftello.c: File removed.
5690         * sysdeps/wordsize-64/ftello64.c: File removed.
5691         * sysdeps/wordsize-64/iofgetpos.c: File removed.
5692         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5693         * sysdeps/wordsize-64/iofsetpos.c: File removed.
5694         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5695         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5696         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5697         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5698         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5699         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5700         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5701         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5702         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5703         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5704         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5706         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5707         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5708         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5709         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5710         [defined __arch64__ || defined __sparcv9]
5711         (__OFF_T_MATCHES_OFF64_T): New macro.
5712         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5713         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5714         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5715         (__OFF_T_MATCHES_OFF64_T): New macro.
5717 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
5719         * stdlib/secure-getenv.c (__secure_getenv): Replace
5720         GLIBC_2_16 with GLIBC_2_17.
5722 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
5724         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5725         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5727 2012-08-03  David S. Miller  <davem@davemloft.net>
5729         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5731 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
5733         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5734         Remove.
5735         (__ASSUME_CORRECT_SI_PID): Likewise.
5736         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5737         (__ASSUME_TMPFS_NAME): Likewise.
5738         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5739         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5740         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5741         (HAVE_AUX_SECURE): Make definition unconditional.
5742         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5743         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5745 2012-08-03  Roland McGrath  <roland@hack.frob.com>
5747         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5748         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5749         * sysdeps/mach/hurd/eloop-threshold.h: New file.
5750         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5751         __eloop_threshold instead of SYMLOOP_MAX.
5753         * sysdeps/generic/eloop-threshold.h: New file.
5754         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5755         of MAXSYMLINKS.
5756         * elf/chroot_canon.c (chroot_canon): Likewise.
5758 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
5760         [BZ #13717]
5761         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5762         Change to 2.6.0 everywhere.
5763         * sysdeps/unix/sysv/linux/configure: Regenerated.
5764         * sysdeps/unix/sysv/linux/kernel-features.h
5765         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5766         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5767         kernel versions.
5768         (__ASSUME_POSIX_TIMERS): Define unconditionally.
5769         (__ASSUME_FUTEX_REQUEUE): Remove.
5770         (__ASSUME_STATFS64): Define unconditionally.
5771         (__ASSUME_AT_SECURE): Likewise.
5772         (__ASSUME_CORRECT_SI_PID): Likewise.
5773         (__ASSUME_TGKILL): Define without depending on kernel version for
5774         i386.
5775         (__ASSUME_UTIMES): Likewise.
5776         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5777         kernel version.
5778         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5779         (__ASSUME_TMPFS_NAME): Likewise.
5780         * README: Update reference to Linux kernel versions.
5782 2012-08-02  Marek Polacek  <polacek@redhat.com>
5784         [BZ# 14150]
5785         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
5786         libc_cv_asm_type_prefix with %.
5787         * configure: Regenerated.
5788         * include/libc-symbols.h: Remove comment about
5789         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5790         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5791         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5792         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5793         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5794         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5795         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5796         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5797         * elf/tst-unique2mod1.c: Likewise.
5798         * elf/tst-unique1mod2.c: Likewise.
5799         * elf/tst-unique1mod1.c: Likewise.
5800         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5801         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5802         Replace ASM_TYPE_DIRECTIVE with .type.
5803         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5804         * sysdeps/i386/sysdep.h: Likewise.
5805         * sysdeps/x86_64/sysdep.h: Likewise.
5806         * sysdeps/sh/sysdep.h: Likewise.
5807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5808         Do not define ASM_TYPE_DIRECTIVE.
5809         * sysdeps/powerpc/sysdep.h: Likewise.
5810         * sysdeps/powerpc/powerpc32/sysdep.h:
5811         Replace ASM_TYPE_DIRECTIVE with .type.
5812         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5813         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5814         * sysdeps/i386/fpu/e_powf.S: Likewise.
5815         * sysdeps/i386/fpu/e_expl.S: Likewise.
5816         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5817         * sysdeps/i386/fpu/e_acosh.S: Likewise.
5818         * sysdeps/i386/fpu/e_pow.S: Likewise.
5819         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5820         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5821         * sysdeps/i386/fpu/s_expm1.S: Likewise.
5822         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5823         * sysdeps/i386/fpu/e_log2.S: Likewise.
5824         * sysdeps/i386/fpu/e_log2l.S: Likewise.
5825         * sysdeps/i386/fpu/e_scalb.S: Likewise.
5826         * sysdeps/i386/fpu/e_powl.S: Likewise.
5827         * sysdeps/i386/fpu/e_log10f.S: Likewise.
5828         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5829         * sysdeps/i386/fpu/e_logl.S: Likewise.
5830         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5831         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5832         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5833         * sysdeps/i386/fpu/e_log2f.S: Likewise.
5834         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5835         * sysdeps/i386/fpu/e_log.S: Likewise.
5836         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5837         * sysdeps/i386/fpu/e_logf.S: Likewise.
5838         * sysdeps/i386/fpu/e_log10l.S: Likewise.
5839         * sysdeps/i386/fpu/e_atanh.S: Likewise.
5840         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5841         * sysdeps/i386/fpu/e_log10.S: Likewise.
5842         * sysdeps/i386/fpu/s_frexp.S: Likewise.
5843         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5844         * sysdeps/i386/fpu/s_asinh.S: Likewise.
5845         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5846         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5847         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5848         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5849         * sysdeps/i386/i686/strtok.S: Likewise.
5850         * sysdeps/i386/i386-mcount.S: Likewise.
5851         * sysdeps/i386/strtok.S: Likewise.
5852         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5853         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5854         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5855         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5856         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5857         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5858         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5859         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5860         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5861         * sysdeps/x86_64/_mcount.S: Likewise.
5862         * sysdeps/x86_64/strtok.S: Likewise.
5863         * sysdeps/sh/_mcount.S: Likewise.
5865 2012-08-01  Roland McGrath  <roland@hack.frob.com>
5867         * libio/iofopen.c: Include <fcntl.h>.
5868         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5869         (_IO_fopen64, fopen64): Define as aliases.
5870         * libio/iofopen64.c: Include <fcntl.h>.
5871         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5872         Conditionalize body on this.
5873         * sysdeps/wordsize-64/iofopen.c: File removed.
5874         * sysdeps/wordsize-64/iofopen64.c: File removed.
5876 2012-08-01  Marek Polacek  <polacek@redhat.com>
5878         * libc/Makeconfig: Use elf in place of binfmt-subdir.
5879         Use dlfcn directly instead of a variable.
5880         (binfmt-subdir): Do not define.
5881         (dlfcn): Likewise.
5883 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
5885         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5886         Remove all definitions.
5887         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5888         <kernel-features.h>.
5889         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5890         (miss_F_GETOWN_EX): Remove all definitions.
5891         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5892         macro definition.
5893         [!__ASSUME_FCNTL64]: Remove conditional code.
5894         [__ASSUME_FCNTL64]: Make code unconditional.
5895         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5896         <kernel-features.h>.
5897         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5898         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5899         (lockf64) [__NR_fcntl64]: Make code unconditional.
5900         (lockf64) [__ASSUME_FCNTL64]: Likewise.
5902         * sysdeps/unix/sysv/linux/kernel-features.h
5903         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5904         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5905         Make code unconditional.
5906         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5907         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5909         [__NR_vfork]: Make code unconditional.
5910         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5911         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5913         [__NR_vfork]: Make code unconditional.
5914         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5915         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5917 2012-08-01  Roland McGrath  <roland@hack.frob.com>
5919         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5920         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5922         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5923         Define mkstemp64 as an alias.
5924         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5925         Define mkstemps64 as an alias.
5926         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5927         Define mkostemp64 as an alias.
5928         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5929         Define mkostemps64 as an alias.
5930         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5931         Conditionalize body on this.
5932         * misc/mkostemp64.c: Likewise.
5933         * misc/mkostemps64.c: Likewise.
5934         * misc/mkstemps64.c: Likewise.
5935         * sysdeps/wordsize-64/mkstemp64.c: File removed.
5936         * sysdeps/wordsize-64/mkostemp64.c: File removed.
5937         * sysdeps/wordsize-64/mkostemp.c: File removed.
5938         * sysdeps/wordsize-64/mkstemp.c: File removed.
5939         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5940         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5941         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5942         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5944         [BZ #14138]
5945         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5946         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5947         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5948         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5950         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5951         compat_symbol macros from <shlib-compat.h> rather than the underlying
5952         default_symbol_version and symbol_version macros, so that DEFAULT
5953         lines in shlib-versions are respected.
5954         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5956 2012-08-01  Florian Weimer  <fweimer@redhat.com>
5958         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5959         Declare with warn_unused_result.
5960         (setgid, setregid, setegid, setresgid): Likewise.
5961         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5962         Likewise.
5963         * WUR-REPORT: Remove set*id functions.
5965 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
5967         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5969 2012-07-31  Roland McGrath  <roland@hack.frob.com>
5971         * include/sys/socket.h (__libc_accept, __libc_accept4):
5972         Add attribute_hidden.
5973         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5975         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5976         use of PTR_MANGLE.
5977         * inet/getnetgrent_r.c (setup): Likewise.
5979         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5981 2012-07-31  David S. Miller  <davem@davemloft.net>
5983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5985 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
5987         [BZ #13629]
5988         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5989         value between 1.0 and 2.0 and smaller part has absolute value less
5990         than 1.0.
5991         * math/s_clog10.c (__clog10): Likewise.
5992         * math/s_clog10f.c (__clog10f): Likewise.
5993         * math/s_clog10l.c (__clog10l): Likewise.
5994         * math/s_clogf.c (__clogf): Likewise.
5995         * math/s_clogl.c (__clogl): Likewise.
5996         * math/libm-test.inc (clog_test): Add more tests.
5997         (clog10_test): Likewise.
5998         * sysdeps/i386/fpu/libm-test-ulps: Update.
5999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6001 2012-07-31  Florian Weimer  <fweimer@redhat.com>
6003         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6004         Exit with zero in case no suitable GID is found, and write a
6005         message to standard error.
6007 2012-07-30  Roland McGrath  <roland@hack.frob.com>
6009         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6010         rather than to 1.
6011         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6012         (MAXPATHLEN): Removed.
6013         (NOGROUP, NODEV): New macros.
6014         (setbit, clrbit, isset, isclr): New macros.
6015         (howmany, roundup, powerof2): New macros.
6016         (DEV_BSIZE): New macro.
6018         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6019         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6021         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6022         definition on [!__NO_LONG_DOUBLE_MATH].
6024         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6025         PTR_MANGLE and PTR_DEMANGLE.
6027         * socket/accept4.c (accept4): Rename to __libc_accept4.
6028         Define accept4 as a weak alias.
6030         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6031         on [_DIRENT_HAVE_D_TYPE].
6032         * io/ftw.c (ftw_dir): Likewise.
6034         * io/xmknod.c (__xmknod): Don't check PATH for being null.
6036         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6038         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6039         Use the BSD numbers rather than the arbitrary ones we had.
6040         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6041         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6042         (SIGXCPU, SIGXFSZ): New macros.
6043         (_NSIG): Now 32.
6045         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6046         initializer on [_LIBC_REENTRANT].
6048         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6049         definitions inside [_POSIX_MAPPED_FILES].
6051         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6053         * dirent/opendir.c: Include <fcntl.h>.
6055         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6056         (__libc_getspecific): Likewise.
6057         (__libc_key_create): Likewise.
6059         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6060         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6061         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6062         (tmpfile64): Define as alias.
6063         * sysdeps/wordsize-64/tmpfile.c: File removed.
6064         * sysdeps/wordsize-64/tmpfile64.c: File removed.
6065         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6066         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6068         * stdio-common/vfscanf.c: Include <stdbool.h>.
6069         * nss/makedb.c: Likewise.
6070         * stdio-common/_i18n_number.h: Likewise.
6071         * argp/argp-help.c: Likewise.
6072         * posix/wordexp.c: Likewise.
6073         * sysdeps/posix/spawni.c: Likewise.
6074         * nss/nss_files/files-initgroups.c: Likewise.
6075         * stdio-common/reg-modifier.c: Include <stdlib.h>.
6076         * nss/nss_files/files-initgroups.c: Likewise.
6077         * nss/nss_db/db-netgrp.c: Likewise.
6078         * nss/nss_db/db-initgroups.c: Likewise.
6079         * io/fchmodat.c: Include <sys/stat.h>.
6081         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6082         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6084         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6085         [HAVE_MMAP].
6087         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6088         Add multiple inclusion protection.
6090 2012-07-27  David S. Miller  <davem@davemloft.net>
6092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6094 2012-07-27  Gary Benson  <gbenson@redhat.com>
6096         [BZ #14298]
6097         * elf/rtld.c: Include <stap-probe.h>.
6098         (dl_main): Added static probes "init_start" and "init_complete".
6099         * elf/dl-load.c: Include <stap-probe.h>.
6100         (lose): Take new parameter "nsid".
6101         Added static probe "map_failed".
6102         (_dl_map_object_from_fd): Pass namespace id to lose.
6103         Added static probe "map_start".
6104         (open_verify): Pass namespace id to lose.
6105         * elf/dl-open.c: Include <stap-probe.h>.
6106         (dl_open_worker) Added static probes "map_complete", "reloc_start"
6107         and "reloc_complete".
6108         * elf/dl-close.c: Include <stap-probe.h>.
6109         (_dl_close_worker): Added static probes "unmap_start" and
6110         "unmap_complete".
6111         * elf/rtld-debugger-interface.txt: New file documenting the above.
6113 2012-07-26  Roland McGrath  <roland@hack.frob.com>
6115         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6116         rather than a string variable.
6117         * sunrpc/rpc_main.c (h_output): Likewise.
6118         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6120 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
6122         * inet/check_native.c: New file.
6124 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
6126         [BZ #13629]
6127         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6128         if larger part has absolute value 1.0.
6129         * math/s_clog10.c (__clog10): Likewise.
6130         * math/s_clog10f.c (__clog10f): Likewise.
6131         * math/s_clog10l.c (__clog10l): Likewise.
6132         * math/s_clogf.c (__clogf): Likewise.
6133         * math/s_clogl.c (__clogl): Likewise.
6134         * math/libm-test.inc (clog_test): Add more tests.
6135         (clog10_test): Likewise.
6136         * sysdeps/i386/fpu/libm-test-ulps: Update.
6137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6139         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6140         (pltexit): Likewise.
6141         (La_regs): Likewise.
6142         (La_retval): Likewise.
6143         (int_retval): Likewise.
6144         Update #error for removed macros to refer only to definitions in
6145         tst-audit.h.
6146         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6147         macro.
6148         (pltexit): Likewise.
6149         (La_regs): Likewise.
6150         (La_retval): Likewise.
6151         (int_retval): Likewise.
6152         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6153         macro.
6154         (pltexit): Likewise.
6155         (La_regs): Likewise.
6156         (La_retval): Likewise.
6157         (int_retval): Likewise.
6158         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6159         macro.
6160         (pltexit): Likewise.
6161         (La_regs): Likewise.
6162         (La_retval): Likewise.
6163         (int_retval): Likewise.
6164         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6165         macro.
6166         (pltexit): Likewise.
6167         (La_regs): Likewise.
6168         (La_retval): Likewise.
6169         (int_retval): Likewise.
6170         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6171         macro.
6172         (pltexit): Likewise.
6173         (La_regs): Likewise.
6174         (La_retval): Likewise.
6175         (int_retval): Likewise.
6176         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6177         macro.
6178         (pltexit): Likewise.
6179         (La_regs): Likewise.
6180         (La_retval): Likewise.
6181         (int_retval): Likewise.
6182         * sysdeps/generic/tst-audit.h: Update comment to refer only to
6183         macro definitions in tst-audit.h.
6184         * sysdeps/i386/tst-audit.h: New file.
6185         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6186         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6187         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6188         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6189         * sysdeps/sh/tst-audit.h: Likewise.
6190         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6191         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6192         * sysdeps/x86_64/tst-audit.h: Likewise.
6194 2012-07-26  Andreas Jaeger  <aj@suse.de>
6196         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6197         ptrace.
6199         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6200         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6201         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6202         PTRACE_O_MASK.
6203         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6204         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6205         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6207         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6208         value.
6210         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6211         _sigsys.
6212         (si_call_addr, si_syscall, si_arch): Define new macro.
6213         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6214         _sigsys.
6215         (si_call_addr, si_syscall, si_arch): Define new marcro.
6216         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6217         _sigsys.
6218         (si_call_addr, si_syscall, si_arch): Define new macro.
6219         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6220         _sigsys.
6221         (si_call_addr, si_syscall, si_arch): Define new macro.
6223 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
6225         [BZ #13717]
6226         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6227         Change to 2.4.21 where previously 2.4.1.
6228         * sysdeps/unix/sysv/linux/configure: Regenerated.
6229         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6230         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6231         Linux kernel version.
6232         (__ASSUME_STD_AUXV): Remove.
6233         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6234         kernel version.
6235         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6236         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6237         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6238         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6239         (__ASSUME_NETLINK_SUPPORT): Likewise.
6240         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6241         (__no_netlink_support): Remove conditional definition.
6242         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6243         Remove.
6244         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6245         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6246         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6247         (if_nameindex_ioctl): Remove.
6248         (if_nameindex_netlink): Do not handle __no_netlink_support.
6249         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6250         code.
6251         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6252         Remove conditional code.
6253         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6254         code.
6255         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6256         unconditional.
6257         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6258         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6259         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6260         Remove.
6261         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6262         [!__ASSUME_STD_AUXV]: Remove conditional code.
6263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6264         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6265         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6267         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6268         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6269         code.
6270         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6272         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6273         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6274         conditional code.
6275         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6277         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6278         code.
6279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6280         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6281         conditional code.
6282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6283         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6284         code unconditional.
6285         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6286         conditional code.
6287         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6288         unconditional.
6289         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6290         conditional code.
6291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6292         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6293         unconditional.
6294         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6295         conditional code.
6296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6297         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6298         code unconditional.
6299         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6300         conditional code.
6301         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6302         unconditional.
6303         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6304         conditional code.
6305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6306         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6307         code unconditional.
6308         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6309         conditional code.
6310         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6311         unconditional.
6312         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6313         conditional code.
6315 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
6317         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6318         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6319         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6320         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6321         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6322         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6323         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6324         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6325         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6326         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6327         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6328         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6329         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6330         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6331         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6332         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6333         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6334         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6335         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6336         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6337         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6338         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6339         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6341 2012-07-25  Florian Weimer  <fweimer@redhat.com>
6343         * Versions.def: Add GLIBC_2.17.
6344         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6345         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6346         Introduce __libc_secure_getenv.
6347         * stdlib/Versions (2.17): Add secure_getenv
6348         (GLIBC_PRIVATE): Add __libc_secure_getenv.
6349         * stdlib/secure-getenv.c: Rename __secure_getenv to
6350         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
6351         symbol __secure_getenv for GLIBC_2.0.
6352         * stdlib/tst-secure-getenv.c: New.
6353         * stdlib/Makefile (tests): Add testcase.
6354         * manual/startup.texi (Environment Access): Document
6355         secure_getenv.
6356         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6357         __libc_secure_getenv.
6358         * inet/ruserpass.c (ruserpass): Likewise.
6359         * malloc/mtrace.c (mtrace): Likewise.
6360         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
6361         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6362         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6363         * sysdeps/posix/tempname.c: Likewise.  Evaluate
6364         HAVE_SECURE_GETENV.
6365         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
6366         __secure_getenv to __libc_secure_getenv.
6367         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
6368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6369         Likewise.
6370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6371         Likewise.
6372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6374         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6376         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6377         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6378         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6380 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
6382         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6383         (struct La_i86_retval): Likewise.
6384         (struct La_x86_64_regs): Likewise.
6385         (struct La_x86_64_retval): Likewise.
6386         (struct La_x32_regs): Likewise.
6387         (struct La_x32_retval): Likewise.
6388         (struct La_ppc32_regs): Likewise.
6389         (struct La_ppc32_retval): Likewise.
6390         (struct La_ppc64_regs): Likewise.
6391         (struct La_ppc64_retval): Likewise.
6392         (struct La_sh_regs): Likewise.
6393         (struct La_sh_retval): Likewise.
6394         (struct La_s390_32_regs): Likewise.
6395         (struct La_s390_32_retval): Likewise.
6396         (struct La_s390_64_regs): Likewise.
6397         (struct La_s390_64_retval): Likewise.
6398         (struct La_sparc32_regs): Likewise.
6399         (struct La_sparc32_retval): Likewise.
6400         (struct La_sparc64_regs): Likewise.
6401         (struct La_sparc64_retval): Likewise.
6402         (struct audit_ifaces): Remove architecture-specific pltenter and
6403         pltexit members.
6404         * sysdeps/i386/ldsodefs.h: New file.
6405         * sysdeps/powerpc/ldsodefs.h: Likewise.
6406         * sysdeps/s390/ldsodefs.h: Likewise.
6407         * sysdeps/sh/ldsodefs.h: Likewise.
6408         * sysdeps/sparc/ldsodefs.h: Likewise.
6409         * sysdeps/x86_64/ldsodefs.h: Likewise.
6411 2012-07-25  Marek Polacek  <polacek@redhat.com>
6413         [BZ #6808]
6414         * math/libm-test.inc (yn_test): Add another test.
6415         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6416         to ERANGE when the result is +-Inf.
6417         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6418         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6419         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6420         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6422 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
6424         * conform/data/time.h-data (NULL): Use macro-constant.  Require
6425         equal to 0.
6426         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
6427         clock_t.
6428         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
6430 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
6432         * configure.in <sysdeps resolving>: Correct printing
6433         Implies_before.
6434         * configure: Regenerate.
6436 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
6438         * math/w_ilogb.c: Include <limits.h>.
6439         * math/w_ilogbl.c: Likewise.
6441 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
6443         * manual/lang.texi (__va_copy): Document primarily as ISO C99
6444         va_copy.  Document allowing for unavailable va_copy only as
6445         pre-C99 compatibility.
6446         * manual/string.texi (Copying and Concatenation): Use va_copy
6447         instead of __va_copy in concat example.
6449 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
6451         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6452         (__sendto): Use create_address_port.  Initialize APORT and deallocate
6453         it if not null.
6455         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6456         with O_NOLINK passed to __file_name_lookup.
6458         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6459         with O_NOLINK passed to __file_name_lookup.
6461         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6462         negative N or less than NGIDS.
6464         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6465         type to string_t.  Set ERANGE as errno and return it if NAME is not big
6466         enough.  Use memcpy instead of strncpy.
6468 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
6470         * elf/Makefile (check-data): Remove.
6471         (localplt.data): New vpath directive.
6472         ($(objpfx)check-localplt.out): Use localplt.data from vpath
6473         instead of $(check-data).
6474         * scripts/data/localplt-generic.data: Move to ...
6475         * sysdeps/generic/localplt.data: ... here.
6476         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6477         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6478         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6480         ... here.
6481         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6483         ... here.
6484         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6486         ... here.
6487         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6488         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6489         ... here.
6490         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6491         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6492         ... here.
6493         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6494         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6495         ... here.
6497 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6499         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6500         PPC32 and PPC64 files.
6501         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6502         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6504 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6506         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6507         __makecontext_ret to ...
6508         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6509         ... here and call exit if uc_link is NULL.  New file.
6510         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6511         __makecontext_ret.S.
6512         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6513         __makecontext_ret to ...
6514         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6515         ... here and call exit if uc_link is NULL.  New file.
6516         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6517         __makecontext_ret.S.
6519 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6521         * elf/elf.h (R_390_IRELATIVE): New definition.
6522         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6523         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
6524         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6525         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6526         (elf_machine_lazy_rel): Likewise.
6527         * sysdeps/s390/dl-irel.h: New file.
6528         * sysdeps/s390/s390-64/memcpy.S: New asm code.
6529         * sysdeps/s390/s390-64/memset.S: New asm code.
6530         * sysdeps/s390/s390-64/memcmp.S: New asm code.
6531         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6532         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6533         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6534         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6535         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6536         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6537         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6538         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6539         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6540         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6541         * sysdeps/s390/s390-32/memcpy.S: New asm code.
6542         * sysdeps/s390/s390-32/memset.S: New asm code.
6543         * sysdeps/s390/s390-32/memcmp.S: New asm code.
6545 2012-07-17  Marek Polacek  <polacek@redhat.com>
6547         [BZ #14349]
6548         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6549         * sysdeps/s390/s390-64/configure.in: Likewise.
6550         * sysdeps/sparc/configure.in: Likewise.
6551         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6552         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6553         * sysdeps/i386/configure.in: Likewise.
6554         * sysdeps/x86_64/configure.in: Likewise.
6555         * sysdeps/sh/configure.in: Likewise.
6556         * sysdeps/s390/s390-32/configure: Regenerated.
6557         * sysdeps/s390/s390-64/configure: Likewise.
6558         * sysdeps/x86_64/configure: Likewise.
6559         * sysdeps/sh/configure: Likewise.
6560         * sysdeps/powerpc/powerpc64/configure: Likewise.
6561         * sysdeps/powerpc/powerpc32/configure: Likewise.
6562         * sysdeps/sparc/configure: Likwise.
6563         * sysdeps/i386/configure: Likewise.
6565         * elf/dl-open.c: Comment fixes.
6567 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
6569         * Makefile [CXX] (check-data): Remove.
6570         [CXX] (c++-types.data): New vpath directive.
6571         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6572         vpath.  Do not allow for C++ type data being missing.
6573         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6574         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6575         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6576         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6577         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6578         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6579         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6581         ... here.
6582         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6584         ... here.
6585         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6587         ... here.
6588         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6590         ... here.
6591         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6593         ... here.
6594         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6595         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6596         ... here.
6597         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6598         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6599         ... here.
6600         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6603         * elf/tls-macros.h (TLS_LE): Move architecture-specific
6604         definitions to architecture-specific files.
6605         (TLS_IE): Likewise.
6606         (TLS_LD): Likewise.
6607         (TLS_GD): Likewise.
6608         * sysdeps/i386/tls-macros.h: New file.
6609         * sysdeps/powerpc/tls-macros.h: Likewise.
6610         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6611         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6612         * sysdeps/sh/tls-macros.h: Likewise.
6613         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6614         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6615         * sysdeps/x86_64/tls-macros.h: Likewise.
6617 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
6619         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6620         zero value for regular exit case.
6622         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6623         (__start_context): Preserve zero value for regular exit case.
6625 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
6626             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6628         * manual/setjmp.texi (setcontext): Clarify normal process
6629         termination when uc_link is the null pointer.
6630         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6631         exit call.
6633 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
6635         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6636         preprocessor.  Test for each exception mask separately.
6638 2012-07-16  Andreas Jaeger  <aj@suse.de>
6640         * po/ru.po: Update from translation team.
6642 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
6644         * conform/data/string.h-data (NULL): Use macro-constant.  Require
6645         equal to 0.
6646         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6647         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6648         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6649         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6650         [ISO || ISO99 || ISO11] (*_t): Do not allow.
6652 2012-07-13  Andreas Jaeger  <aj@suse.de>
6654         * po/fr.po: Update from translation team.
6656 2012-07-12  Marek Polacek  <polacek@redhat.com>
6658         [BZ #14173]
6659         * math/libm-test.inc (yn_test): Add test for BZ #14173.
6660         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6661         loop condition.
6663 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
6665         [BZ #13717]
6666         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6667         Change to 2.4.1 where previously 2.4.0.
6668         * sysdeps/unix/sysv/linux/configure: Regenerated.
6669         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6670         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6671         version.
6672         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6673         (__ASSUME_AT_CLKTCK): Remove.
6674         (__ASSUME_AT_PAGESIZE): Likewise.
6675         (__ASSUME_AT_XID): Likewise.
6676         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6677         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6678         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6679         unconditionally.
6680         (HAVE_AUX_PAGESIZE): Likewise.
6681         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6682         [__ASSUME_AT_CLKTCK]: Make code unconditional.
6683         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6685 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
6687         [BZ #14307]
6688         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6689         the temporary buffer used to invoke __gethostbyname2_r,
6690         __gethostbyaddr_r and gethostbyname4_r to make room for struct
6691         host_data / struct gaih_addrtuple.
6692         * resolv/nss_dns/dns-host.c (global scope): Move definition of
6693         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6694         header file nss/nsswitch.h.
6695         * nss/nsswitch.h (global scope): Add definition of implementation
6696         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6697         resolv/nss_dns/dns-host.c).
6699 2012-07-11  Andreas Jaeger  <aj@suse.de>
6701         * po/fr.po: Update from translation team.
6703         * po/sv.po: Update from translation team
6704         * po/fr.po: Another update from translation team.
6706 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6708         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6709         for subnormals or multiply small sinh result by itself.
6710         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6713 2012-07-11  David S. Miller  <davem@davemloft.net>
6715         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6717 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
6719         [BZ #14347]
6720         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6721         (INTERNAL_MARK): Shift it here.
6723 2012-07-10  Marek Polacek  <polacek@redhat.com>
6725         [BZ #14151]
6726         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
6727         libc_cv_asm_global_directive with .globl.
6728         * configure: Regenerated.
6729         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6730         with .globl.
6731         * sysdeps/i386/configure: Regenerated.
6732         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6733         with .globl.
6734         * sysdeps/x86_64/configure: Regenerated.
6735         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6736         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6737         * elf/tst-unique2mod2.c: Likewise.
6738         * elf/tst-unique2mod1.c: Likewise.
6739         * elf/tst-unique1mod2.c: Likewise.
6740         * elf/tst-unique1mod1.c: Likewise.
6741         * sysdeps/s390/s390-32/sysdep.h: Likewise.
6742         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6743         * sysdeps/s390/s390-64/sysdep.h: Likewise.
6744         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6745         * sysdeps/mach/sysdep.h: Likewise.
6746         * sysdeps/i386/sysdep.h: Likewise.
6747         * sysdeps/i386/i386-mcount.S: Likewise.
6748         * sysdeps/x86_64/_mcount.S: Likewise.
6749         * sysdeps/x86_64/sysdep.h: Likewise.
6750         * sysdeps/sh/_mcount.S: Likewise.
6751         * sysdeps/sh/sysdep.h: Likewise.
6752         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6753         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6754         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6755         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6756         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6757         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6758         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6759         * locale/localeinfo.h: Likewise.
6760         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6761         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6763 2012-07-09  Roland McGrath  <roland@hack.frob.com>
6765         [BZ #14336]
6766         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6767         system".
6768         * manual/message.texi (The Uniforum approach): Likewise.
6769         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6770         (glibc iconv Implementation): Likewise.
6772 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
6774         [BZ #14337]
6775         * math/s_clog.c (__clog): Avoid scaling a value down where that
6776         could result in underflow.
6777         * math/s_clog10.c (__clog10): Likewise.
6778         * math/s_clog10f.c (__clog10f): Likewise.
6779         * math/s_clog10l.c (__clog10l): Likewise.
6780         * math/s_clogf.c (__clogf): Likewise.
6781         * math/s_clogl.c (__clogl): Likewise.
6782         * math/libm-test.inc (clog_test): Add more tests.
6783         (clog10_test): Likewise.
6784         * sysdeps/i386/fpu/libm-test-ulps: Update.
6785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6787 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
6789         [BZ #14283]
6790         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6791         by 7 not 8 to examine high bit of fractional part.
6793         [BZ #14042]
6794         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6795         for call to __mcount_internal.
6796         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6797         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6798         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6800 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
6802         [BZ #14154]
6803         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6804         approximation for values within 0x1p-13f of an odd multiple of
6805         pi/4.
6806         * math/libm-test.inc (tan_test): Do not allow spurious underflow
6807         exception.  Add more tests.
6808         * sysdeps/i386/fpu/libm-test-ulps: Update.
6810         [BZ #6778]
6811         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6812         inputs and return -1 for them.  Do not check for +Inf in case not
6813         reachable for +Inf.
6814         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6815         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6816         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6817         and return -1 for them.  Do not check for +Inf in case not
6818         reachable for +Inf.
6819         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6820         define.
6821         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6822         and return -1 for them.  Do not check for +Inf in case not
6823         reachable for +Inf.
6824         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
6825         spurious underflow.
6826         * sysdeps/i386/fpu/libm-test-ulps: Update.
6827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6829 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
6831         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6833 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
6835         [BZ #14157]
6836         [BZ #14331]
6837         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6838         could result in spurious underflow.  Scale down values above
6839         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6840         * math/s_csqrtf.c (__csqrtf): Likewise.
6841         * math/s_csqrtl.c (__csqrtl): Likewise.
6842         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
6843         spurious underflow.
6844         * sysdeps/i386/fpu/libm-test-ulps: Update.
6845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6847 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
6849         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6850         xopen-msg.sed.
6851         * catgets/xopen-msg.awk: New file.
6852         * catgets/xopen-msg.sed: Removed.
6854         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6855         po2text.sed.
6856         * intl/po2test.awk: New file.
6857         * intl/po2test.sed: Removed.
6859 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
6861         [BZ #14328]
6862         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6863         or multiply small sinh result by itself.
6864         * math/s_ctanf.c (__ctanf): Likewise.
6865         * math/s_ctanh.c (__ctanh): Likewise.
6866         * math/s_ctanhf.c (__ctanhf): Likewise.
6867         * math/s_ctanhl.c (__ctanhl): Likewise.
6868         * math/s_ctanl.c (__ctanl): Likewise.
6869         * math/libm-test.inc (ctan_test_tonearest): New function.
6870         (ctan_test_towardzero): Likewise.
6871         (ctan_test_downward): Likewise.
6872         (ctan_test_upward): Likewise.
6873         (ctanh_test_tonearest): Likewise.
6874         (ctanh_test_towardzero): Likewise.
6875         (ctanh_test_downward): Likewise.
6876         (ctanh_test_upward): Likewise.
6877         (main): Call these new functions.
6878         * sysdeps/i386/fpu/libm-test-ulps: Update.
6879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6881 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
6883         * .gitignore: Delete /ports entry.
6885 2012-07-03  Andreas Jaeger  <aj@suse.de>
6887         * po/bg.po: Update from translation team.
6888         * po/cs.po: Likewise.
6889         * po/de.po: Likewise.
6890         * po/hr.po: Likewise.
6891         * po/nl.pl: Likewise.
6892         * po/pl.po: Likewise.
6893         * po/vi.po: Likewise.
6895 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
6897         * Makeconfig [!+link] (+link-before-libc): New variable.
6898         [!+link] (+link-after-libc): Likewise.
6899         [!+link] (+link-tests): Likewise.
6900         [!+link] (+link): Define in terms of $(+link-before-libc) and
6901         $(+link-after-libc).
6902         [!+link-static] (+link-static-before-libc): New variable.
6903         [!+link-static] (+link-static-after-libc): Likewise.
6904         [!+link-static] (+link-static-tests): Likewise.
6905         [!+link-static] (+link-static): Define in terms of
6906         $(+link-static-before-libc) and $(+link-static-after-libc).
6907         [build-shared] (link-libc-before-gnulib): New variable.
6908         [build-shared] (link-libc-tests): Likewise.
6909         [build-shared] (link-libc): Define in terms of
6910         $(link-libc-before-gnulib).
6911         [!build-shared] (link-libc-tests): New variable.
6912         (link-libc-static-tests): New variable.
6913         [!gnulib] (gnulib-arch): New variable.
6914         [!gnulib] (gnulib-tests): Likewise.
6915         [!gnulib] (static-gnulib-arch): Likewise.
6916         [!gnulib] (static-gnulib-tests): Likewise.
6917         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
6918         Define with "=" instead of ":=".
6919         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
6920         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
6921         * Rules (binaries-all-notests): New variable.
6922         (binaries-all-tests): Likewise.
6923         (binaries-static-notests): Likewise.
6924         (binaries-static-tests): Likewise.
6925         (binaries-all): Define using $(binaries-all-notests) and
6926         $(binaries-all-tests).
6927         (binaries-static): Define using $(binaries-static-notests) and
6928         $(binaries-static-tests).
6929         (binaries-shared-tests): New variable.
6930         (binaries-shared-notests): Likewise.
6931         (binaries-shared): Remove variable.
6932         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6933         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6934         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6935         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6936         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6937         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6938         * elf/Makefile (sln-modules): New variable.
6939         (extra-objs): Add $(sln-modules:=.o).
6940         (ldconfig-modules): Add static-stubs.
6941         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6942         * elf/static-stubs.c: New file.
6944         [BZ #14283]
6945         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6946         by 7 not 8 to examine high bit of fractional part.  Use volatile
6947         variables when splitting into final array of floats if
6948         __FLT_EVAL_METHOD__ != 0.
6949         * math/libm-test.inc (cos_test): Add another test.
6950         (sin_test): Likewise.
6951         * sysdeps/i386/fpu/libm-test-ulps: Update.
6953         [BZ #14273]
6954         * math/libm-test.inc (cosh_test): Add more tests.
6956         * version.h (RELEASE): Set to "development".
6957         (VERSION): Set to "2.16.90".
6959 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
6961         * NEWS: Update copyright. Remove last-updated date.
6962         Mention math library bug fixes and timezone data changes.
6963         * README: Mention GNU/Hurd, x32, and HPPA support status.
6965 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
6967         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6969 2012-06-27  Andreas Jaeger  <aj@suse.de>
6971         * manual/contrib.texi (Contributors): Add Samuel Thibault.
6973 2012-06-25  Andreas Jaeger  <aj@suse.de>
6975         * sysdeps/s390/fpu/libm-test-ulps: Update.
6977 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
6978             Thomas Schwinge  <thomas@codesourcery.com>
6980         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6981         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6982         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6983         fanotify_mark.
6985 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
6987         * sysdeps/mach/start.c: Remove file.
6988         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6989         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6990         * sysdeps/sh/init-first.c: Likewise.
6992         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6993         registers for frame unwinding purposes, add CFI directives.
6994         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6995         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6996         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6997         Likewise.
6999         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7000         __fortify_fail returning.
7001         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7003         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7004         sysdeps/sh/____longjmp_chk.S.
7005         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7006         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7007         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7008         (gen-as-const-headers): Append sigaltstack-offsets.sym.
7010         * sysdeps/sh/abort-instr.h: New file.
7011         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7012         process in case exit returns.
7014         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7015         initialize the GOT register before use.
7017         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7018         calculation of ARGC > 4.
7020         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7021         meaningful names to some local labels.
7023 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
7024             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7026         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7027         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7028         (__arch_compare_and_exchange_val_16_acq): Likewise.
7029         (__arch_compare_and_exchange_val_32_acq): Likewise.
7030         (atomic_exchange_and_add): Fix gUSA sequence.
7031         (atomic_add): Likewise.
7032         (atomic_add_negative): Likewise.
7033         (atomic_add_zero): Likewise.
7034         (atomic_bit_test_set): Likewise.
7036 2012-06-22  Andreas Schwab  <schwab@redhat.com>
7038         [BZ #13579]
7039         * include/link.h (struct link_map): Add l_free_initfini.
7040         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7041         l_initfini.
7042         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7043         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7044         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7045         set.
7047 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
7049         * configure.in: Use AC_LANG_SOURCE.
7050         * configure: Regenerate.
7052 2012-06-22  Roland McGrath  <roland@hack.frob.com>
7054         * configure.in (libc_cv_localstatedir): New substituted variable.
7055         * configure: Regenerated.
7056         * config.make.in (localstatedir): New variable, substituted from
7057         libc_cv_localstatedir.
7058         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7059         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7060         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7061         * sysdeps/gnu/configure: Regenerated.
7063 2012-06-21  Jeff Law  <law@redhat.com>
7065         [BZ #14277]
7066         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7067         free.  Simplify list management for _LIBC case.
7069 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
7071         [BZ #14273]
7072         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7073         Clear sign bit of 64-bit integer value before comparing against
7074         overflow value.
7076         * sysdeps/mach/configure: Regenerated.
7078 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
7080         [BZ #14278]
7081         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7083 2012-06-21  Jeff Law  <law@redhat.com>
7085         [BZ #13882]
7086         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
7087         uint16_t for elements in the "seen" array to avoid char overflows.
7088         * elf/dl-fini.c (_dl_sort_fini): Likewise.
7089         * elf/dl-open.c (dl_open_worker): Likewise.
7091 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
7093         * scripts/list-sources.sh: Scan PORTS for translations.
7094         * po/libc.pot: Regenerated.
7096 2012-06-21  Andreas Jaeger  <aj@suse.de>
7098         [BZ #12194]
7099         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7100         warning.
7101         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7102         * bits/byteswap-16.h (__bswap_16): Likewise.
7103         * bits/byteswap.h (__bswap_constant_16): Likewise.
7105 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
7107         [BZ #14117]
7108         * sysdeps/i386/fpu_control.h: Removed.
7109         * sysdeps/x86_64/fpu_control.h: Moved to ...
7110         * sysdeps/x86/fpu_control.h: Here.
7112         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7113         (_FPU_SETCW): Likewise.
7115 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
7117         [BZ #14117]
7118         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7119         * sysdeps/x86/fpu/bits/mathinline.h: This.
7120         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7122         [BZ #14050]
7123         [BZ #14117]
7124         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7125         functions if __x86_64__ is defined.
7127 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
7129         * string/endian.h: Add !__ASSEMBLER__ condition for including
7130         conversion interfaces.
7132 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
7134         [BZ #14241]
7135         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7136         of ABS(x) in calculating zero to negative powers other than odd
7137         integers.
7138         * math/libm-test.inc (pow_test): Add more tests.
7140 2012-06-15  Andreas Jaeger  <aj@suse.de>
7142         * manual/contrib.texi (Contributors): Update entry of Liubov
7143         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7144         Machado Filho.
7146 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
7148         * string/string.h: Add __wur to GNU version of strerror_r.
7150 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
7152         [BZ #14229]
7153         * string/Makefile (tests): Add tst-strtok_r.
7154         * string/tst-strtok_r.c: New file.
7155         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7156         RAX_LP/RDX_LP on SAVE_PTR.
7158 2012-06-14  Roland McGrath  <roland@hack.frob.com>
7160         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7162 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
7164         * libm_test.inc (csqrt_test): Allow more spurious underflow
7165         exceptions.
7166         (j0_test): Likewise.
7167         (j1_test): Likewise.
7168         (y0_test): Likewise.
7169         (y1_test): Likewise.
7171 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
7173         * po/Makefile (libc.pot): Use UTF-8 charset.
7175 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
7177         [BZ #14210]
7178         Suppress sign-conversion warning from FD_SET.
7179         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7180         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7181         not unsigned long int.
7182         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7184 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
7186         [BZ #14050]
7187         [BZ #14117]
7188         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7189         __extern_always_inline instead of __extern_inline.
7190         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7191         (__signbit): Likewise.
7192         (__signbitl): Support C++ namespace.
7193         (lrintf): New inline function.
7194         (lrint): Likewise.
7195         (llrintf): Likewise.
7196         (llrint): Likewise.
7197         (fmaxf): Likewise.
7198         (fmax): Likewise.
7199         (fminf): Likewise.
7200         (fmin): Likewise.
7201         (rint): Likewise.
7202         (rintf): Likewise.
7203         (ceil): Likewise.
7204         (ceilf): Likewise.
7205         (floor): Likewise.
7206         (floorf): Likewise.
7207         (nearbyint): Likewise.
7208         (nearbyintf): Likewise.
7210 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
7212         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7213         non-default versions.
7215 2012-06-11  Roland McGrath  <roland@hack.frob.com>
7217         [BZ #14218]
7218         * manual/argp.texi (Argp): Reword argp_parse description slightly.
7220 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
7222         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7223         (FE_UPWARD, FE_DOWNWARD): Don't define.
7224         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7225         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7227         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7228         reading it.
7229         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7230         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7232 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7234         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7235         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7236         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7237         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7239 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7241         [BZ #14117]
7242         * sysdeps/i386/fpu/bits/fenv.h: Removed.
7243         * sysdeps/i386/fpu/Implies: New file.
7244         * sysdeps/x86_64/fpu/Implies: Likewise.
7245         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7246         * sysdeps/x86/fpu/bits/fenv.h: This.
7248         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7249         __SSE_MATH__.
7251 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7253         [BZ #14134]
7254         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7255         character 0xffff that matches the last element of the
7256         conversion table.
7258 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7260         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7261         fmodl commit.
7263 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7265         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7266         values higher than 25.6283.
7268 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7270         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7271         subnormal exponent extraction and add some __builtin_expect.
7272         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7273         Fix for subnormal mantissa calculation.
7275 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
7277         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7278         cpu2 is -1 and errno is not ENOSYS.
7280 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
7282         [BZ #14117]
7283         * sysdeps/i386/i486/bits/string.h: Renamed to ...
7284         * sysdeps/x86/bits/string.h: This.
7285         * sysdeps/x86_64/bits/string.h: Removed.
7287         * sysdeps/i386/i486/bits/string.h: Define inline functions only
7288         if not compiling for x86-64, but compiling for >= i486.
7290         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7291         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7293         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7294         New macro from Linux kernel 3.4.0.
7295         (FP_XSTATE_MAGIC2): Likewise.
7296         (FP_XSTATE_MAGIC2_SIZE): Likewise.
7297         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7298         (struct _fpx_sw_bytes): New struct.
7299         (struct _xsave_hdr): Likewise.
7300         (struct _ymmh_state): Likewise.
7301         (struct _xstate): Likewise.
7303         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7304         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7305         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7306         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7307         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7308         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7310         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7311         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7312         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7313         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7314         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7315         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7317 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7319         [BZ #13743]
7320         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7321         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7322         (sysdep_headers): Include sys/platform/ppc.h.
7323         * sysdeps/powerpc/test-gettimebase.c: Test for
7324         __ppc_get_timebase() to catch future ISA opcode/insn changes.
7325         * manual/Makefile (appendices): Include platform.texi.
7326         * manual/contrib.texi (Contributors): Update @node pointers.
7327         * manual/maint.texi (Maintenance): Likewise.
7328         (Platform): New node.
7329         * manual/platform.texi: New file.  Document the new features.
7331 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7332             Jakub Jelinek  <jakub@redhat.com>
7334         [BZ #14188]
7335         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7336         where __builtin_expect is unavailable.
7338 2012-06-03  David S. Miller  <davem@davemloft.net>
7340         * stdlib/longlong.h: Updated from GCC.
7342 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
7344         [BZ #14042]
7345         * sysdeps/powerpc/powerpc32/mcount.c: New file.
7346         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7347         __mcount_internal.
7348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7349         (GLIBC_2.16): Likewise.
7351 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7353         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7355 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
7357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7358         (default-abi): New variable.
7359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7360         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7361         variable.
7362         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7363         Likewise.
7364         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7365         Likewise.
7366         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7367         Likewise.
7369         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7370         definition.  Document in comment.
7372 2012-06-01  David S. Miller  <davem@davemloft.net>
7374         * stdlib/longlong.h: Updated from GCC.
7376 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7378         [BZ #14117]
7379         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7380         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7381         sys/debugreg.h sys/io.h here.
7382         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7383         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7384         sys/io.h.
7385         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7386         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7387         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7388         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7389         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7390         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7392         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7393         Define only if __x86_64__ is defined.
7395 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
7397         [BZ #14048]
7398         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7399         Use int64_t for variable i.
7400         * math/libm-test.inc (fmod_test): Add more tests.
7402         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7403         z computation is not scheduled after fetestexcept.
7404         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7405         Use math_force_eval instead of asm to ensure calculation scheduled
7406         before exception test.
7407         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7408         Ensure a1 + u.d computation is not scheduled after fetestexcept.
7410 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
7412         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7413         computation is not scheduled after fetestexcept.
7415 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
7417         [BZ #14117]
7418         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7419         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7421 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7423         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7424         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7426 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
7428         [BZ #14117]
7429         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7430         <bits/wordsize.h>.
7431         (__WCHAR_MIN): Support __WORDSIZE == 64.
7432         (__WCHAR_MAX): Likewise.
7434         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7435         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7437         [BZ #14183]
7438         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7439         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7441         [BZ #14117]
7442         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7443         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7445         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7446         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7448         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7449         Defined to 1 if __x86_64__ isn't defined.
7450         (_STAT_VER_LINUX_OLD): New.
7451         (st_atime): Remove duplicate.
7452         (st_mtime): Likewise.
7453         (st_ctime): Likewise.
7455 2012-05-31  David S. Miller  <davem@davemloft.net>
7457         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7458         entries.
7460 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
7462         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7463         gen-libm-test.pl.
7465         [BZ #14132]
7466         * elf/dl-reloc.c: Include <_itoa.h>.
7467         (_dl_reloc_bad_type): Remove use of INTUSE.
7468         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7469         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7470         * stdio-common/psiginfo.c (psiginfo): Likewise.
7471         * stdio-common/psignal.c (psignal): Likewise.
7472         * string/strsignal.c (strsignal): Likewise.
7473         * include/signal.h (_sys_siglist): Declare hidden proto.
7474         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
7475         INTVARDEF with libc_hidden_data_def.
7476         * stdio-common/itoa-udigits.c: Likewise.
7477         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7478         (_itoa_lower_digits_internal): Remove declaration.
7479         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7480         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7481         (_sys_sigabbrev_internal): Remove aliases.
7482         (_sys_siglist): Define hidden alias.
7484 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
7486         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7487         bits/sysctl.h.
7489 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
7491         [BZ #14117]
7492         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7493         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7495         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7496         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7497         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7498         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7499         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7500         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7502         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7503         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7504         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7506         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7507         with __addr.
7508         (insw): Likewise.
7509         (insl): Likewise.
7510         (outsb): Likewise.
7511         (outsw): Likewise.
7512         (outsl): Likewise.
7514         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7515         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7516         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7518         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7519         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7520         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7521         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7522         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7523         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7525         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7526         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7528         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7529         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7531         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7532         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7533         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7535         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7536         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7537         to ...
7538         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7540         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7541         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7542         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7544         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7545         for x86-64.
7546         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7548 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
7550         * math/math.h (M_El): Use two more decimal places.
7551         (M_LOG2El): Likewise.
7552         (M_LOG10El): Likewise.
7553         (M_LN2l): Likewise.
7554         (M_LN10l): Likewise.
7555         (M_PIl): Likewise.
7556         (M_PI_2l): Likewise.
7557         (M_PI_4l): Likewise.
7558         (M_1_PIl): Likewise.
7559         (M_2_PIl): Likewise.
7560         (M_2_SQRTPIl): Likewise.
7561         (M_SQRT2l): Likewise.
7562         (M_SQRT1_2l): Likewise.
7564 2012-05-31  David S. Miller  <davem@davemloft.net>
7566         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7567         values between float registers.
7568         * sysdeps/sparc/sparc64/memset.S: Likewise.
7569         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7571 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
7573         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7574         -D_FORTIFY_SOURCE=1.
7575         (CPPFLAGS-tst-longjmp_chk.c): Define.
7576         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7577         (CPPFLAGS-tst-longjmp_chk2.c): Define.
7578         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7579         CFLAGS-tst-wchar-h.c.
7581 2012-05-31  Marek Polacek  <polacek@redhat.com>
7583         [BZ #14132]
7584         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7585         __endmntent_internal): Remove declaration.
7586         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7587         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7588         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7590 2012-05-30  David S. Miller  <davem@davemloft.net>
7592         * sysdeps/sparc/sparc32/soft-fp/q_util.c
7593         (___Q_simulate_exceptions): Use real FP ops rather than writing
7594         into the %fsr.
7595         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7596         Likewise.
7598 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7600         [BZ #14117]
7601         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7602         * sysdeps/x86/bits/xtitypes.h: This.
7604         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7605         * sysdeps/x86/bits/wordsize.h: This.
7607         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7608         * sysdeps/x86/bits/huge_vall.h: This.
7610         * sysdeps/i386/bits/select.h: Removed.
7611         * sysdeps/x86_64/bits/select.h: Renamed to ...
7612         * sysdeps/x86/bits/select.h: This.
7614         * sysdeps/i386/bits/setjmp.h: Removed.
7615         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7616         * sysdeps/x86/bits/setjmp.h: This.
7618         * sysdeps/i386/bits/mathdef.h: Removed.
7619         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7620         * sysdeps/x86/bits/mathdef.h: This.
7622 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
7624         [BZ #14132]
7625         * include/sys/socket.h (__connect_internal)
7626         (__libc_sa_len_internal): Remove declaration.
7627         (__connect, __libc_sa_len): Declare hidden_proto.
7628         (SA_LEN): Remove use of INTUSE.
7629         * socket/connect.c: Add libc_hidden_def.
7630         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7631         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7632         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7633         alias.
7634         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7635         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7636         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7637         of adding _internal alias.
7639 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7641         [BZ #14117]
7642         * sysdeps/i386/bits/link.h: Removed.
7643         * sysdeps/i386/bits/linkmap.h: Likewise.
7644         * sysdeps/x86_64/bits/link.h: Renamed to ...
7645         * sysdeps/x86/bits/link.h: This.
7646         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7647         * sysdeps/x86/bits/linkmap.h: This.
7649         * sysdeps/i386/bits/endian.h: Removed.
7650         * sysdeps/x86_64/bits/endian.h: Renamed to ...
7651         * sysdeps/x86/bits/endian.h: This.
7653         * sysdeps/i386/bits/byteswap.h: Removed.
7654         * sysdeps/i386/bits/byteswap-16.h: Likewise.
7655         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7656         * sysdeps/x86/bits/byteswap.h: This.
7657         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7658         * sysdeps/x86/bits/byteswap-16.h: This.
7659         * sysdeps/i386/Implies: Add x86.
7660         * sysdeps/x86_64/Implies: Likewise.
7662 2012-05-30  David S. Miller  <davem@davemloft.net>
7664         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7665         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7666         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7667         (FP_TRAPPING_EXCEPTIONS): Define.
7668         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7669         (FP_TRAPPING_EXCEPTIONS): Define.
7670         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7671         subnormals only when inexact has been signalled or underflow
7672         exceptions are enabled.
7673         (_FP_PACK_CANONICAL): Likewise.
7675 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7677         [BZ #14183]
7678         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7679         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7681 2012-05-30  Richard Henderson  <rth@twiddle.net>
7683         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7684         with #ifndef NOT_IN_libc.
7686         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
7687         marked to avoid plt entry.
7689 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
7691         [BZ #14112]
7692         * Makeconfig (default-abi): New macro.
7693         (abi-includes): Likewise.
7694         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
7695         $(abi-$(default-abi)-lib-soname) for soname if defined.
7696         ($(common-objpfx)gnu/lib-names.stmp): Generate from
7697         abi-variants.
7698         * Makefile (installed-stubs): Likewise.
7699         * include/stubs-biarch.h: Removed.
7700         * scripts/lib-names.awk: Only handle one library at a time.
7701         * scripts/soversions.awk: Remove WORDSIZE support.
7702         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7703         entries.
7704         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7705         Removed.
7706         (syscall-list-default-condition): Likewise.
7707         (syscall-list-default-condition): Likewise.
7708         (syscall-list-includes): Likewise.
7709         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7710         syscall-list-* with abi-*.  Handle undefined abi-variants.
7711         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7712         * sysdeps/unix/sysv/linux/i386/Implies: New file.
7713         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7714         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7715         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7716         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7717         Removed.
7718         (syscall-list-32-options): Likewise.
7719         (syscall-list-32-condition): Likewise.
7720         (syscall-list-64-options): Likewise.
7721         (syscall-list-64-condition): Likewise.
7722         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7723         macro.
7724         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7725         Renamed to ...
7726         (abi-*): This.
7727         (abi-64-ld-soname): New macro.
7728         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7729         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7730         Renamed to ...
7731         (abi-*): This.
7732         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7733         * sysdeps/x86_64/x32/shlib-versions: Likewise.
7735 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
7737         * sysdeps/unix/sysv/linux/kernel-features.h
7738         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7739         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7740         include <kernel-features.h>.
7741         [!__NR_ftruncate64]: Remove conditional code.
7742         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7743         [__NR_ftruncate64]: Make code unconditional.
7744         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7745         * sysdeps/unix/sysv/linux/truncate64.c: Do not
7746         include <kernel-features.h>.
7747         [!__NR_ftruncate64]: Remove conditional code.
7748         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7749         [__NR_ftruncate64]: Make code unconditional.
7750         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7752         include <kernel-features.h>.
7753         [!__NR_ftruncate64]: Remove conditional code.
7754         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7755         [__NR_ftruncate64]: Make code unconditional.
7756         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7758         include <kernel-features.h>.
7759         [!__NR_ftruncate64]: Remove conditional code.
7760         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7761         [__NR_ftruncate64]: Make code unconditional.
7762         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7764         * configure.in (libc_cv_fpie): Weaken to a compile test using
7765         LIBC_TRY_CC_OPTION.
7766         * configure: Regenerated.
7768 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7774         Refreshed.
7775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7781         Refreshed.
7783 2012-05-27  David S. Miller  <davem@davemloft.net>
7785         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7786         (___Q_zero): New.
7787         (__Q_simulate_exceptions): Return void.  Change to simulate
7788         exceptions by writing into the %fsr.
7789         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7790         (__Qp_handle_exceptions): Likewise.
7791         (numbers): Delete.
7792         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7793         __Qp_handle_exceptions.
7794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7795         __Qp_handle_exceptions.
7796         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7797         as unused and give dummy FP_RND_NEAREST initializer.
7798         (FP_INHIBIT_RESULTS): Define.
7799         (___Q_simulate_exceptions): Update declaration.
7800         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7801         formatting.
7802         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7803         as unused and give dummy FP_RND_NEAREST initializer.
7804         (__Qp_handle_exceptions): Update declaration.
7805         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7806         formatting.
7808 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
7810         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7811         the temporary FPU control word.
7812         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7813         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7814         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7815         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7816         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7817         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7818         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7819         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7820         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7821         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7822         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7824 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7826         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7827         fields.
7829 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
7831         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7832         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7833         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7834         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7835         Likewise.
7836         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7837         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7838         Likewise.
7840 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
7842         * po/h.po: Update from translation team.
7844 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
7846         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7848         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7849         handling of denormals.
7850         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7851         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7852         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7853         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7854         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7855         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7856         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7857         Likewise.
7859 2012-05-26  Marek Polacek  <polacek@redhat.com>
7861         [BZ #14152]
7862         * math/libm-test.inc (fma_test): Don't always expect underflow
7863         exception.
7865 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7867         [BZ #12416]
7868         * elf/tst-execstack.c: Include stackinfo.h.
7869         (do_test): Adjust test case to ensure that pthread_getattr_np
7870         behaviour remains the same after marking stack executable.
7872 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
7874         * sysdeps/unix/sysv/linux/kernel-features.h
7875         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7876         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7877         kernel-features.h.
7878         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7879         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7880         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7881         kernel-features.h.
7882         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7883         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7885 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
7887         * configure.in: Define the default includes to being none.
7888         * configure: Regenerated.
7890 2012-05-25  Roland McGrath  <roland@hack.frob.com>
7892         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7893         * sysdeps/x86_64/setjmp.S: Likewise.
7894         * sysdeps/i386/bsd-setjmp.S: Likewise.
7895         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7896         * sysdeps/i386/setjmp.S: Likewise.
7897         * sysdeps/i386/__longjmp.S: Likewise.
7898         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7899         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7901         * include/stap-probe.h: New file.
7902         * configure.in: Handle --enable-systemtap.
7903         * configure: Regenerated.
7904         * config.h.in (USE_STAP_PROBE): New #undef.
7905         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7906         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7907         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7909 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
7911         [BZ #13717]
7912         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7913         to 2.4.0 where earlier.
7914         * sysdeps/unix/sysv/linux/configure: Regenerated.
7915         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7916         <kernel-features.h>.
7917         [__ASSUME_32BITUIDS]: Make code unconditional.
7918         [!__ASSUME_32BITUIDS]: Remove conditional code.
7919         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7920         <kernel-features.h>.
7921         [__ASSUME_32BITUIDS]: Make code unconditional.
7922         [!__ASSUME_32BITUIDS]: Remove conditional code.
7923         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7924         [__ASSUME_32BITUIDS]: Make code unconditional.
7925         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7926         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7927         <kernel-features.h>.
7928         [__ASSUME_32BITUIDS]: Make code unconditional.
7929         [!__ASSUME_32BITUIDS]: Remove conditional code.
7930         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7931         <kernel-features.h>.
7932         [__ASSUME_32BITUIDS]: Make code unconditional.
7933         [!__ASSUME_32BITUIDS]: Remove conditional code.
7934         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7935         <kernel-features.h>.
7936         [__ASSUME_32BITUIDS]: Make code unconditional.
7937         [!__ASSUME_32BITUIDS]: Remove conditional code.
7938         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7939         <kernel-features.h>.
7940         [__ASSUME_32BITUIDS]: Make code unconditional.
7941         [!__ASSUME_32BITUIDS]: Remove conditional code.
7942         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7943         <kernel-features.h>.
7944         [__ASSUME_32BITUIDS]: Make code unconditional.
7945         [!__ASSUME_32BITUIDS]: Remove conditional code.
7946         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7947         <kernel-features.h>.
7948         [__ASSUME_32BITUIDS]: Make code unconditional.
7949         [!__ASSUME_32BITUIDS]: Remove conditional code.
7950         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7951         <kernel-features.h>.
7952         [__ASSUME_32BITUIDS]: Make code unconditional.
7953         [!__ASSUME_32BITUIDS]: Remove conditional code.
7954         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7955         <kernel-features.h>.
7956         [__ASSUME_32BITUIDS]: Make code unconditional.
7957         [!__ASSUME_32BITUIDS]: Remove conditional code.
7958         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7959         <kernel-features.h>.
7960         [__ASSUME_32BITUIDS]: Make code unconditional.
7961         [!__ASSUME_32BITUIDS]: Remove conditional code.
7962         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7963         <kernel-features.h>.
7964         [__ASSUME_32BITUIDS]: Make code unconditional.
7965         [!__ASSUME_32BITUIDS]: Remove conditional code.
7966         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7967         <kernel-features.h>.
7968         [__NR_setresgid] (__setresgid): Do not declare.
7969         [__ASSUME_32BITUIDS]: Make code unconditional.
7970         [!__ASSUME_32BITUIDS]: Remove conditional code.
7971         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7972         <kernel-features.h>.
7973         [__NR_setresuid] (__setresuid): Do not declare.
7974         [__ASSUME_32BITUIDS]: Make code unconditional.
7975         [!__ASSUME_32BITUIDS]: Remove conditional code.
7976         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7977         <kernel-features.h>.
7978         [__ASSUME_32BITUIDS]: Make code unconditional.
7979         [!__ASSUME_32BITUIDS]: Remove conditional code.
7980         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7981         <kernel-features.h>.
7982         [__ASSUME_32BITUIDS]: Make code unconditional.
7983         [!__ASSUME_32BITUIDS]: Remove conditional code.
7984         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7985         <kernel-features.h>.
7986         [__ASSUME_32BITUIDS]: Make code unconditional.
7987         [!__ASSUME_32BITUIDS]: Remove conditional code.
7988         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7989         <kernel-features.h>.
7990         [__ASSUME_32BITUIDS]: Make code unconditional.
7991         [!__ASSUME_32BITUIDS]: Remove conditional code.
7992         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7993         <kernel-features.h>.
7994         [__ASSUME_32BITUIDS]: Make code unconditional.
7995         [!__ASSUME_32BITUIDS]: Remove conditional code.
7996         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7997         <kernel-features.h>.
7998         [__ASSUME_32BITUIDS]: Make code unconditional.
7999         [!__ASSUME_32BITUIDS]: Remove conditional code.
8000         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8001         <kernel-features.h>.
8002         [__ASSUME_32BITUIDS]: Make code unconditional.
8003         [!__ASSUME_32BITUIDS]: Remove conditional code.
8004         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8005         <kernel-features.h>.
8006         [__ASSUME_32BITUIDS]: Make code unconditional.
8007         [!__ASSUME_32BITUIDS]: Remove conditional code.
8008         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8009         <kernel-features.h>.
8010         [__ASSUME_32BITUIDS]: Make code unconditional.
8011         [!__ASSUME_32BITUIDS]: Remove conditional code.
8012         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8013         <kernel-features.h>.
8014         [__ASSUME_32BITUIDS]: Make code unconditional.
8015         [!__ASSUME_32BITUIDS]: Remove conditional code.
8016         * sysdeps/unix/sysv/linux/kernel-features.h
8017         (__ASSUME_SETRESUID_SYSCALL): Remove.
8018         (__ASSUME_SETRESGID_SYSCALL): Likewise.
8019         (__ASSUME_32BITUIDS): Likewise.
8020         (__ASSUME_LDT_WORKS): Likewise.
8021         (__ASSUME_O_DIRECTORY): Likewise.
8022         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8023         architecture but not kernel version.
8024         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8025         (__ASSUME_MMAP2_SYSCALL): Likewise.
8026         (__ASSUME_STAT64_SYSCALL): Likewise.
8027         (__ASSUME_IPC64): Likewise.
8028         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8029         <kernel-features.h>.
8030         [__ASSUME_32BITUIDS]: Make code unconditional.
8031         [!__ASSUME_32BITUIDS]: Remove conditional code.
8032         * sysdeps/unix/sysv/linux/opendir.c: Do not include
8033         <kernel-features.h>.
8034         [__ASSUME_O_DIRECTORY]: Make code unconditional.
8035         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8036         132096]: Remove conditional code.
8037         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8038         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8039         <kernel-features.h>.
8040         [__ASSUME_32BITUIDS]: Make code unconditional.
8041         [!__ASSUME_32BITUIDS]: Remove conditional code.
8042         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8043         <kernel-features.h>.
8044         [__ASSUME_32BITUIDS]: Make code unconditional.
8045         [!__ASSUME_32BITUIDS]: Remove conditional code.
8046         * sysdeps/unix/sysv/linux/setegid.c: Do not include
8047         <kernel-features.h>.
8048         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8049         unconditional.
8050         (__setresgid): Do not declare.
8051         [__ASSUME_32BITUIDS]: Make code unconditional.
8052         [!__ASSUME_32BITUIDS]: Remove conditional code.
8053         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8054         <kernel-features.h>.
8055         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8056         unconditional.
8057         (__setresuid): Do not declare.
8058         [__ASSUME_32BITUIDS]: Make code unconditional.
8059         [!__ASSUME_32BITUIDS]: Remove conditional code.
8060         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8061         <kernel-features.h>.
8062         [__ASSUME_32BITUIDS]: Make code unconditional.
8063         [!__ASSUME_32BITUIDS]: Remove conditional code.
8064         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8065         <kernel-features.h>.
8066         [__ASSUME_32BITUIDS]: Make code unconditional.
8067         [!__ASSUME_32BITUIDS]: Remove conditional code.
8069 2012-05-25  Richard Henderson  <rth@twiddle.net>
8071         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8072         dl_hwcap to ifunc resolver.
8073         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8074         elf_ifunc_invoke.
8075         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8076         dl_hwcap to ifunc resolver.
8077         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8079 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8081         [BZ #14153]
8082         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8083         for |x| <= 2**-26, not 2**-57.
8084         * math/libm-test.inc (acos_test): Do not allow spurious underflow
8085         exception.
8087 2012-05-24  Jeff Law  <law@redhat.com>
8089         * stdio-common/Makefile (tests): Add bug25.
8090         * stdio-common/bug25.c: New test.
8092 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8094         [BZ #13576]
8095         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8096         multiple of MALLOC_ALIGNMENT in size.
8097         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8099 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8101         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8102         Require >= 256.
8103         (FILENAME_MAX): Use macro-int-constant.
8104         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
8105         (_IOFBF): Use macro-int-constant.
8106         (_IOLBF): Likewise.
8107         (_IONBF): Likewise.
8108         (SEEK_CUR): Likewise.
8109         (SEEK_END): Likewise.
8110         (SEEK_SET): Likewise.
8111         (TMP_MAX): Likewise.
8112         (EOF): Use macro-int-constant.  Require < 0.
8113         (NULL): Use macro-constant.  Require == 0.
8114         (stdin): Require type to be FILE *.
8115         (stdout): Likewise.
8116         (stderr): Likewise.
8117         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8118         macro-int-constant.
8119         (EXIT_SUCCESS): Likewise.
8120         (NULL): Use macro-constant.  Require == 0.
8121         (RAND_MAX): Use macro-int-constant.
8122         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8123         [C99-based standards] (strtof): Require function.
8124         [C99-based standards] (strtold): Likewise.
8125         [C99-based standards] (strtoll): Likewise.
8126         [C99-based standards] (strtoull): Likewise.
8127         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8128         [ISO || ISO99 || ISO11] (limits.h): Likewise.
8129         [ISO || ISO99 || ISO11] (math.h): Likewise.
8130         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8131         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8132         [ISO || ISO99 || ISO11] (*_t): Do not allow.
8134 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
8136         [BZ #14132]
8137         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8138         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8139         * intl/dgettext.c (DCGETTEXT): Likewise.
8140         * intl/gettext.c (DCGETTEXT): Likewise.
8141         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8142         * posix/regex_internal.h (gettext): Likewise.
8143         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8144         Remove declaration.
8145         * include/argz.h (__argz_count_internal)
8146         (__argz_stringify_internal): Remove declaration.
8147         (__argz_count, __argz_stringify): Declare hidden proto.
8148         * intl/dcgettext.c: Remove use of INTDEF.
8149         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8150         * string/argz-stringify.c: Likewise.
8151         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8152         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8153         Declare hidden proto.
8154         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8155         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8156         Declare hidden proto.
8157         * include/stdio.h (__asprintf_internal): Don't declare.
8158         (__asprintf): Don't define as macro.  Declare hidden proto.
8159         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8160         (__fsetlocking): Declare hidden proto.
8161         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8162         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8163         hidden proto.
8164         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8165         (_IO_setlinebuf): Remove use of INTUSE.
8166         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8167         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8168         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8169         Remove declaration.
8170         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8171         (_IO_do_flush): Remove use of INTUSE.
8172         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8173         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8174         (_IO_adjust_column, _IO_least_wmarker)
8175         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8176         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8177         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8178         (_IO_default_doallocate, _IO_wdefault_doallocate)
8179         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8180         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8181         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8182         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8183         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8184         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8185         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8186         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8187         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8188         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8189         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8190         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8191         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8192         proto.
8193         (_IO_flush_all_internal, _IO_adjust_column_internal)
8194         (_IO_default_uflow_internal, _IO_default_finish_internal)
8195         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8196         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8197         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8198         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8199         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8200         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8201         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8202         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8203         (_IO_file_close_internal, _IO_file_close_it_internal)
8204         (_IO_file_underflow_internal, _IO_file_overflow_internal)
8205         (_IO_file_init_internal, _IO_file_attach_internal)
8206         (_IO_file_fopen_internal, _IO_file_read_internal)
8207         (_IO_file_sync_internal, _IO_file_seek_internal)
8208         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8209         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8210         (_IO_str_underflow_internal, _IO_str_overflow_internal)
8211         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8212         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8213         (_IO_list_all_internal, _IO_link_in_internal)
8214         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8215         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8216         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8217         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8218         (_IO_do_write_internal, _IO_padn_internal)
8219         (_IO_getline_info_internal, _IO_getline_internal)
8220         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8221         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8222         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8223         (_IO_vfscanf_internal, _IO_vfprintf_internal)
8224         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8225         (_IO_init_internal, _IO_un_link_internal): Don't declare.
8226         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8227         with libc_hidden_ver, remove use of INTUSE.
8228         * libio/genops.c: Likewise.
8229         * libio/freopen.c: Likewise.
8230         * libio/freopen64.c: Likewise.
8231         * libio/iofclose.c: Likewise.
8232         * libio/iofdopen.c: Likewise.
8233         * libio/iofflush.c: Likewise.
8234         * libio/iofflush_u.c: Likewise.
8235         * libio/iofgets.c: Likewise.
8236         * libio/iofgets_u.c: Likewise.
8237         * libio/iofopen.c: Likewise.
8238         * libio/iofopncook.c: Likewise.
8239         * libio/iofread.c: Likewise.
8240         * libio/iofread_u.c: Likewise.
8241         * libio/ioftell.c: Likewise.
8242         * libio/iofwrite.c: Likewise.
8243         * libio/iogetline.c: Likewise.
8244         * libio/iogets.c: Likewise.
8245         * libio/iogetwline.c: Likewise.
8246         * libio/iopadn.c: Likewise.
8247         * libio/iopopen.c: Likewise.
8248         * libio/ioseekoff.c: Likewise.
8249         * libio/ioseekpos.c: Likewise.
8250         * libio/iosetbuffer.c: Likewise.
8251         * libio/iosetvbuf.c: Likewise.
8252         * libio/ioungetc.c: Likewise.
8253         * libio/ioungetwc.c: Likewise.
8254         * libio/iovdprintf.c: Likewise.
8255         * libio/iovsprintf.c: Likewise.
8256         * libio/iovsscanf.c: Likewise.
8257         * libio/memstream.c: Likewise.
8258         * libio/obprintf.c: Likewise.
8259         * libio/oldfileops.c: Likewise.
8260         * libio/oldiofclose.c: Likewise.
8261         * libio/oldiofdopen.c: Likewise.
8262         * libio/oldiofopen.c: Likewise.
8263         * libio/oldiopopen.c: Likewise.
8264         * libio/oldstdfiles.c: Likewise.
8265         * libio/putc.c: Likewise.
8266         * libio/setbuf.c: Likewise.
8267         * libio/setlinebuf.c: Likewise.
8268         * libio/stdfiles.c: Likewise.
8269         * libio/strops.c: Likewise.
8270         * libio/vasprintf.c: Likewise.
8271         * libio/vscanf.c: Likewise.
8272         * libio/vsnprintf.c: Likewise.
8273         * libio/vswprintf.c: Likewise.
8274         * libio/wfiledoalloc.c: Likewise.
8275         * libio/wfileops.c: Likewise.
8276         * libio/wgenops.c: Likewise.
8277         * libio/wmemstream.c: Likewise.
8278         * libio/wstrops.c: Likewise.
8279         * libio/__fpurge.c: Likewise.
8280         * libio/__fsetlocking.c: Likewise.
8281         * assert/assert.c: Likewise.
8282         * debug/fgets_chk.c: Likewise.
8283         * debug/fgets_u_chk.c: Likewise.
8284         * debug/fread_chk.c: Likewise.
8285         * debug/fread_u_chk.c: Likewise.
8286         * debug/gets_chk.c: Likewise.
8287         * debug/obprintf_chk.c: Likewise.
8288         * debug/vasprintf_chk.c: Likewise.
8289         * debug/vdprintf_chk.c: Likewise.
8290         * debug/vsnprintf_chk.c: Likewise.
8291         * debug/vsprintf_chk.c: Likewise.
8292         * malloc/mtrace.c: Likewise.
8293         * misc/error.c: Likewise.
8294         * misc/syslog.c: Likewise.
8295         * stdio-common/asprintf.c: Likewise.
8296         * stdio-common/fxprintf.c: Likewise.
8297         * stdio-common/getw.c: Likewise.
8298         * stdio-common/isoc99_fscanf.c: Likewise.
8299         * stdio-common/isoc99_scanf.c: Likewise.
8300         * stdio-common/isoc99_vfscanf.c: Likewise.
8301         * stdio-common/isoc99_vscanf.c: Likewise.
8302         * stdio-common/isoc99_vsscanf.c: Likewise.
8303         * stdio-common/printf-prs.c: Likewise.
8304         * stdio-common/printf_fp.c: Likewise.
8305         * stdio-common/printf_fphex.c: Likewise.
8306         * stdio-common/printf_size.c: Likewise.
8307         * stdio-common/putw.c: Likewise.
8308         * stdio-common/scanf.c: Likewise.
8309         * stdio-common/sprintf.c: Likewise.
8310         * stdio-common/tmpfile.c: Likewise.
8311         * stdio-common/vfprintf.c: Likewise.
8312         * stdio-common/vfscanf.c: Likewise.
8313         * stdlib/strfmon_l.c: Likewise.
8314         * sunrpc/openchild.c: Likewise.
8315         * sunrpc/xdr_stdio.c: Likewise.
8316         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8317         * sysdeps/mach/hurd/tmpfile.c: Likewise.
8319 2012-05-24  Roland McGrath  <roland@hack.frob.com>
8321         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8323         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8324         in the third column, to generate for the shared library an IFUNC
8325         that uses _dl_vdso_vsym.
8326         * Makerules (COMPILE.c, compile-stdin.c): New variables.
8327         * Makeconfig (object-suffixes-noshared): New variable.
8329         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8330         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8331         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8332         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8334         [BZ #14132]
8335         * include/sys/time.h (__gettimeofday): Remove macro.
8336         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8337         * time/gettimeofday.c (__gettimeofday): Remove #undef.
8338         Remove INTDEF.
8339         (__gettimeofday): Add libc_hidden_def.
8340         (gettimeofday): Add libc_hidden_weak.
8341         * sysdeps/mach/gettimeofday.c: Likewise.
8342         * sysdeps/posix/gettimeofday.c: Likewise.
8343         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8344         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8345         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8346         (__gettimeofday_internal): Remove strong_alias.
8347         (__gettimeofday): Add libc_hidden_def.
8348         (gettimeofday): Add libc_hidden_weak.
8349         * sysdeps/unix/syscalls.list (gettimeofday):
8350         Remove __gettimeofday_internal alias.
8352 2012-05-24  Daniel Jacobowitz  <drow@false.org>
8353             H.J. Lu  <hongjiu.lu@intel.com>
8355         [BZ #12495]
8356         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8357         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8358         (largebin_index_32_big): New.
8359         (largebin_index): Use it for 16-byte alignment.
8360         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
8361         correction with front_misalign.
8363 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8366         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8367         Likewise.
8368         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8369         Likewise.
8370         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8371         Likewise.
8372         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8373         Likewise.
8374         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8375         Likewise.
8376         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8377         Likewise.
8378         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8379         Likewise.
8380         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8381         Likewise.
8382         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8383         Likewise.
8384         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8385         Likewise.
8386         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8387         Likewise.
8388         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8389         Likewise.
8391         * scripts/data/c++-types-x32-linux-gnu.data: New file.
8392         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8394 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
8396         [BZ #10846]
8397         [BZ #14036]
8398         * math/libm-test.inc (exp_test): Add test from bug 14036.
8399         (pow_test): Add test from bug 10846.
8401         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8402         and other flags.
8403         (special_function): Do not include flags in test name.
8404         (parse_args): Likewise.
8405         * sysdeps/i386/fpu/libm-test-ulps: Update.
8406         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8407         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8408         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8411         * math/gen-libm-test.pl (%beautify): Add entries for underflow
8412         exceptions.
8413         * math/libm-test.inc ("Philosophy"): Update comment about
8414         exception testing.
8415         (UNDERFLOW_EXCEPTION): New macro.
8416         (UNDERFLOW_EXCEPTION_OK): Likewise.
8417         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8418         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8419         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8420         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8421         (INVALID_EXCEPTION_OK): Update value.
8422         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8423         (OVERFLOW_EXCEPTION_OK): Likewise.
8424         (IGNORE_ZERO_INF_SIGN): Likewise.
8425         (test_exceptions): Handle underflow exceptions.
8426         (acos_test): Update for underflow exception expectations.
8427         (cexp_test): Likewise.
8428         (clog_test): Likewise.
8429         (clog10_test): Likewise.
8430         (csqrt_test): Likewise.
8431         (ctan_test): Likewise.
8432         (ctanh_test): Likewise.
8433         (exp_test): Likewise.
8434         (exp10_test): Likewise.
8435         (exp2_test): Likewise.
8436         (expm1_test): Likewise.
8437         (fma_test): Likewise.
8438         (j0_test): Likewise.
8439         (jn_test): Likewise.
8440         (nexttoward_test): Likewise.
8441         (pow_test): Likewise.
8442         (scalbn_test): Likewise.
8443         (scalbln_test): Likewise.
8444         (tan_test): Likewise.
8445         (y1_test): Likewise.
8446         * sysdeps/i386/fpu/libm-test-ulps: Update.
8447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8449 2012-05-23  David S. Miller  <davem@davemloft.net>
8451         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8452         (__libc_sigaction): Remove unused local variables.
8454 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8456         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8458 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
8460         mktime: avoid signed integer overflow
8461         * time/mktime.c (__mktime_internal): Do not mishandle the case
8462         where diff == INT_MIN.
8464         mktime: simplify computation of average
8465         * time/mktime.c (ranged_convert): Use new time_t_avg function
8466         instead of rolling our own (probably-slower) code.
8468         mktime: do not assume signed right shift propagates sign bit
8469         * time/mktime.c (isdst_differ): New static function.
8470         (__mktime_internal): No need to normalize tm_isdst now.
8471         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8472         tm_isdst values.
8474         mktime: merge another wrapv change from gnulib
8475         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8476         from some compilers.
8478         mktime: remove incorrect attempt at unusual arithmetics
8479         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8480         The code didn't really work on such machines anyway.
8481         (TYPE_MINIMUM): Assume two's complement.
8482         (twos_complement_arithmetic): Verify that long_int and time_t
8483         are two's complement (or unsigned, in the latter case).
8485         mktime: check signed shifts on long_int and time_t, too
8486         * time/mktime.c (SHR): Check that shifts work as desired
8487         on the types long_int and time_t too, as SHR is used on
8488         such types.
8490         mktime: do not assume 'long' is wide enough
8491         * time/mktime.c (verify): Move decl up.
8492         (long_int): New type.
8493         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8494         to remove assumption in the code that 'long' is wide enough to
8495         store year values.  This assumption is not true on x32 and on
8496         some non-glibc platforms.
8498         mktime: merge wrapv change from gnulib
8499         * time/mktime.c (WRAPV): New macro.
8500         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8501         (guess_time_tm, __mktime_internal): Do not assume that signed
8502         integer overflow wraps around; modern compilers generate code
8503         where this assumption is no longer valid.
8505 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8507         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8508         Replace "jmp L(pseudo_end)" with "ret".
8509         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8510         Likewise.
8512 2012-05-23  Andreas Jaeger  <aj@suse.de>
8514         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8515         * sysdeps/unix/sysv/linux/poll.c: Remove file.
8517 2012-05-23  Andreas Jaeger  <aj@suse.de>
8518             Maximilian Attems  <max@stro.at>
8520         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8521         New macros.
8523 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
8525         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8526         code so that pseudo_end is just ret and the stack pointer is
8527         correct also for static library in error case.
8529 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
8531         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8532         move to syscalls.list.
8533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8538         * manual/install.texi (Running make install): Do not mention Linux
8539         kernel version for which pt_chown is not needed.
8540         (Linux): Do not mention problems with nscd with 2.0 kernels.
8541         * INSTALL: Regenerated.
8543 2012-05-23  Andreas Jaeger  <aj@suse.de>
8545         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8546         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8547         macro.
8548         * sysdeps/unix/sysv/linux/s390/bits/mman.h
8549         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8550         * sysdeps/unix/sysv/linux/sh/bits/mman.h
8551         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8552         * sysdeps/unix/sysv/linux/i386/bits/mman.h
8553         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8554         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8555         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8556         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8557         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8558         * sysdeps/unix/sysv/linux/bits/in.h
8559         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8561 2012-05-22  Roland McGrath  <roland@hack.frob.com>
8563         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8564         (PREPARE_VERSION): Just use assert instead, it will be elided
8565         under [NDEBUG] anyway.
8567 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8569         * sysdeps/unix/sysv/linux/Makefile: Include
8570         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
8571         (sysdep_routines): Remove sysctl.
8572         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8573         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8574         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8575         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8576         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8578 2012-05-22  Andreas Jaeger  <aj@suse.de>
8580         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8581         that pseudo_end is just ret and the stack pointer is correct also
8582         for static library in error case.
8584 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
8586         [BZ #14122]
8587         * nss/nsswitch.c (defconfig_entries): New variable.
8588         (__nss_database_lookup): Don't leak defconfig entries.
8589         (nss_parse_service_list): Don't leak on error paths.
8590         (free_database_entries): New function.
8591         (free_defconfig): New function.
8592         (free_mem): Move common code to free_database_entries.
8594 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8596         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8597         Add arch_prctl.
8598         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8600         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8601         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8602         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8603         New macro.
8604         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8605         (INTERNAL_SYSCALL_TYPES): Likewise.
8606         (LOAD_ARGS_TYPES_[1-6]): Likewise.
8607         (LOAD_REGS_TYPES_[1-6]): Likewise.
8608         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8609         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8611 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8613         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8614         copysignl for GLIBC_2_0.
8615         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8616         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8617         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8618         logbl for GLIBC_2_0.
8619         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8620         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8622 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8624         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8625         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
8627         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8628         Use "neg %eax".
8630         * time/mktime.c: Update copyright years.
8632 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
8634         mktime: merge comment-quoting-style change from gnulib
8635         * time/mktime.c: Quote 'like this' in comments.
8636         The GNU coding standards suggest that we no longer quote `like this',
8637         as "`" and "'" are typically rendered asymmetrically nowadays.
8638         The typical gnulib style is to quote 'like this' when quoting
8639         code, and "like this" when quoting English.
8641         * time/mktime.c (compile-command): Add "-I.".
8643         mktime: merge mktime-internal.h change from gnulib
8644         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8646         mktime: merge time_r change from gnulib
8647         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8649         mktime: merge DEBUG change from gnulib
8650         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8651         case system <time.h> has a #define.
8653         mktime: merge <sys/types.h> change from gnulib
8654         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8655         since <time.t> is now guaranteed to define time_t.
8657         mktime: merge HAVE_CONFIG_H change from gnulib
8658         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8660 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
8662         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8663         Use "neg %eax".
8665         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8666         __rlim_t cast.
8667         (struct rusage): Use anonymous union to pad each field to
8668         __syscall_slong_t.
8670 2012-05-21  David S. Miller  <davem@davemloft.net>
8672         * Makefules (o-iterator): Remove .s cases.
8673         (compile-command.s): Delete.
8674         (COMPILE.s): Delete.
8675         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8677 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
8679         * configure.in (libc_cv_predef_stack_protector): Only consider
8680         "foobar" and "__stack_chk_fail" lines in libc_undefs.
8681         * configure: Regenerated.
8683 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8685         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8686         New macro.  Use R*LP on int and pointer.
8687         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
8688         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8689         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
8690         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8692         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8693         [__WORDSIZE_TIME64_COMPAT32] instead of
8694         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8695         (struct utmp): Likewise.
8696         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8697         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8698         Renamed to ...
8699         (__WORDSIZE_TIME64_COMPAT32): This.
8700         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8701         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8702         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8703         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8704         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8705         (__WORDSIZE_TIME64_COMPAT32): New macro.
8707 2012-05-21  Andreas Jaeger  <aj@suse.de>
8709         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8710         only if [SHARED]. Add prototype for __wcschr_ia32.
8712 2012-05-21  Roland McGrath  <roland@hack.frob.com>
8714         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8715         of %rbp unmolested in the jmp_buf while mangling the low bits.
8716         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8717         unmolested high bits of %rbp while demangling the low bits.
8718         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8720 2012-05-21  Andreas Jaeger  <aj@suse.de>
8722         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8723         * sunrpc/svc_simple.c: Use it for registerrpc.
8724         * sunrpc/xcrypt.c: Use it for passwd2des.
8726         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8728 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8730         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8731         Don't define if [__SYSCALL_WORDSIZE != 32].
8732         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8733         New macro.
8735 2012-05-21  Bruno Haible  <bruno@clisp.org>
8736             Andreas Jaeger  <aj@suse.de>
8738         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8739         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8740         inptr and inend for must_buffer_ch.
8741         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8742         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8743         * stdio-common/Makefile (tests): Remove bug15.
8744         (bug15-ENV): Remove macro.
8745         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8746         anymore.
8748 2012-05-19  Andreas Jaeger  <aj@suse.de>
8749             Roland McGrath  <roland@hack.frob.com>
8751         * manual/contrib.texi: Completely rewritten. It contains now an
8752         alphabetical list of contributors and their contributions.
8754 2012-05-21  Richard Henderson  <rth@twiddle.net>
8756         * misc/getauxval.c (__getauxval): Use unsigned long int.
8757         * misc/sys/auxv.h: Include <sys/cdefs.h>.
8758         (getauxval): Use unsigned long int.
8760 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
8762         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8764 2012-05-21  Roland McGrath  <roland@hack.frob.com>
8766         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8767         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8768         __alignof__ (long double).
8770 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8774 2012-05-20  Richard Henderson  <rth@twiddle.net>
8776         * misc/getauxval.c: New file.
8777         * misc/sys/auxv.h: New file.
8778         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8779         (routines): Add getauxval.
8780         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8781         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8782         * elf/dl-sysdep.c (_dl_auxv): Remove.
8783         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8784         * elf/dl-support.c (_dl_auxv): New variable.
8785         (_dl_aux_init): Initialize it.
8786         * manual/startup.texi (Auxiliary Vector): New node.
8787         * sysdeps/generic/bits/hwcap.h: New file.
8788         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8789         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
8790         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8791         * sysdeps/sparc/sysdep.h: ... here.  Include it.
8792         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8793         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
8794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8795         Update.
8796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8799         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8800         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8805 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8809 2012-05-19  David S. Miller  <davem@davemloft.net>
8811         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8813 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
8815         [BZ #14123]
8816         * math/s_ccosh.c: Include <float.h>
8817         (__ccosh): Avoid internal overflow calculating sinh and cosh
8818         values before multiplying by sin and cos values.
8819         * math/s_ccoshf.c: Likewise.
8820         * math/s_ccoshl.c: Likewise.
8821         * math/s_csin.c: Likewise.
8822         * math/s_csinf.c: Likewise.
8823         * math/s_csinl.c: Likewise.
8824         * math/s_csinh.c: Likewise.
8825         * math/s_csinhf.c: Likewise.
8826         * math/s_csinhl.c: Likewise.
8827         * math/libm-test.inc (ccos_test): Add more tests.
8828         (ccosh_test): Likewise.
8829         (csin_test): Likewise.
8830         (csinh_test): Likewise.
8831         * sysdeps/i386/fpu/libm-test-ulps: Update.
8832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8834 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8836         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8837         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8839         * sysdeps/x86_64/x32/_itoa.h: Add comment.
8841 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
8843         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8844         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8845         * sysdeps/powerpc/soft-fp/Versions: Likewise.
8846         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8847         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8848         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8849         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8850         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8851         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8852         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8853         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8854         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8855         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8856         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8857         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8858         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8859         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8860         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8861         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8862         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8863         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8864         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8865         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8866         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8867         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8868         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8869         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8870         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8871         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8872         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8873         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8875 2012-05-18  Andreas Jaeger  <aj@suse.de>
8877         * csu/.gitignore: Delete.
8879 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8881         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8882         (timex): Use __syscall_slong_t.
8884 2012-05-18  Andreas Jaeger  <aj@suse.de>
8885             Carlos O'Donell  <carlos_odonell@mentor.com>
8887         * manual/install.texi (Configuring and compiling): Update
8888         description about files modified in the source directory.
8889         * INSTALL: Regenerated.
8891 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8893         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8894         value.  Use "or" to set return value to -1.
8895         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8896         negate return value.
8898 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8900         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8901         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8902         failure if the compiler has Graphite support disabled.
8903         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8904         Likewise.
8905         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8906         CFLAGS-memmove.c): Likewise.
8907         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8908         Likewise.
8910 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8912         * sysdeps/x86_64/x32/_itoa.h: New file.
8914         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8915         getdents system call only if kernel and user dirents have the
8916         same d_ino and d_off.
8918         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8919         LLONG_MAX != LONG_MAX.
8920         (_itoa_word): Use _ITOA_WORD_TYPE on value.
8921         (_fitoa_word): Likewise.
8923         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8924         years.
8925         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8926         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8927         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8929         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8930         include <bits/wordsize.h>.  Check __x86_64__ instead of
8931         __WORDSIZE.
8932         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8933         if __x86_64__ is defined.  Use anonymous union on fpstate.
8935         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8936         anonymous union.
8938 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
8940         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8941         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8942         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8943         Refer to _rtld_local_ro instead of _rtld_global_ro.
8944         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8945         Likewise.
8946         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8947         Likewise.
8948         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8949         Likewise.
8950         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8951         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8952         of _rtld_global, and rtld_progname instead of _dl_argv[0].
8954         * sysdeps/powerpc/powerpc32/dl-machine.c
8955         (__elf_machine_runtime_setup) [PROF]: Don't reference
8956         _dl_prof_resolve.
8958 2012-05-18  Andreas Jaeger  <aj@suse.de>
8960         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8961         function only available for GCCs before 3.4 since GCC 3.4
8962         introduced a builtin.
8963         (lrint): Likewise.
8964         (llrintf): Likewise.
8965         (llrint): Likewise.
8966         (fmaxf): Likewise.
8967         (fmax): Likewise.
8968         (fminf): Likewise.
8969         (fmin): Likewise.
8970         (rint): Likewise.
8971         (rintf): Likewise.
8972         (nearbyint): Likewise.
8973         (nearbyintf): Likewise.
8974         (ceil): Likewise.
8975         (ceilf): Likewise.
8976         (floor): Likewise.
8977         (floorf): Likewise.
8979 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
8981         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8982         on both fields and cast pointer to __syscall_ulong_t.
8984         * bits/types.h (__fsword_t): New type.
8985         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8986         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8987         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8988         (__FSWORD_T_TYPE): Likewise.
8989         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8990         (__FSWORD_T_TYPE): Likewise.
8991         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8992         (__FSWORD_T_TYPE): Likewise.
8993         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8994         (__FSWORD_T_TYPE): Likewise.
8995         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8996         __SWORD_TYPE with __fsword_t.
8997         (statfs64): Likewise.
8999 2012-05-17  David S. Miller  <davem@davemloft.net>
9001         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9003 2012-05-17  Andreas Jaeger  <aj@suse.de>
9005         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9006         warning.
9008 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9010         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9012 2012-05-17  Andreas Jaeger  <aj@suse.de>
9014         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9015         when it is used.
9017 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
9019         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9021 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
9023         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9024         * sysdeps/x86_64/tst-mallocalign1.c: New file.
9026 2012-05-17  Andreas Jaeger  <aj@suse.de>
9027             Carlos O'Donell  <carlos_odonell@mentor.com>
9029         [BZ #14059]
9030         * sysdeps/x86_64/multiarch/init-arch.h
9031         (bit_YMM_Usable): Rename to...
9032         (bit_AVX_Usable): ... this.
9033         (bit_FMA4_Usable): New macro.
9034         (bit_XMM_state): New macro.
9035         (bit_YMM_state): New macro.
9036         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9037         [__ASSEMBLER__] (index_AVX_Usable): ... this.
9038         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9039         (CPUID_OSXSAVE): New macro.
9040         (CPUID_AVX): New macro.
9041         (CPUID_FMA4): New macro.
9042         (index_YMM_Usable): Rename to...
9043         (index_AVX_Usable): ... this.
9044         (HAS_AVX): Use HAS_ARCH_FEATURE.
9045         (HAS_FMA4): Likewise.
9046         (HAS_YMM_USABLE): Remove.
9047         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9048         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9049         are present.
9050         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9051         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9052         * sysdeps/x86_64/multiarch/Makefile: Likewise.
9053         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9054         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9056 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
9058         * math/libm-test.c: Support platforms without multiple rounding modes.
9059         * math/bug-nextafter.c: Support platforms without FP exceptions.
9060         * math/bug-nexttoward.c: Likewise.
9061         * math/test-fenv.c: Likewise.
9062         * math/test-misc.c: Likewise.
9063         * stdlib/bug-getcontext.c: Likewise.
9065 2012-05-17  Andreas Jaeger  <aj@suse.de>
9067         * manual/examples/search.c (critter_cmp): Change signature to
9068         avoid warnings.
9069         * manual/string.texi (Collation Functions): Likewise.
9071 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9073         * bits/types.h: Fold copyright years.
9074         * bits/typesizes.h: Likewise.
9075         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9076         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9077         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9078         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9079         * time/time.h: Likewise.
9081 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
9083         [BZ #208]
9084         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9085         in instead of returning them.  Return void.
9086         (__libc_mallinfo): Accumulate over all arenas.
9087         (__malloc_stats): Adjust for change in int_mallinfo interface.
9089 2012-05-16  Roland McGrath  <roland@hack.frob.com>
9091         [BZ #10375]
9092         * configure.in (NM): Add AC_CHECK_TOOL for it.
9093         (libc_extra_cflags): New substituted variable.
9094         Check for -fstack-protector being used implicitly.
9095         * configure: Regenerated.
9096         * config.make.in (config-extra-cflags): New variable,
9097         gets @libc_extra_cflags@.
9098         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9100         [BZ #10375]
9101         * configure.in: Check for _FORTIFY_SOURCE being predefined.
9102         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9103         * configure: Regenerated.
9104         * config.make.in (CPPUNDEFS): New substituted variable.
9105         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9106         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9107         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9109 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9111         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9112         (mq_attr): Use __syscall_slong_t.
9114 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9116         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9117         Check __x86_64__ instead of __WORDSIZE.
9118         (_STAT_VER_LINUX): Likewise.
9119         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
9120         __syscall_ulong_t and __syscall_slong_t.
9121         (stat64): Likewise.
9123 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9125         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9127 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9129         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9131 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9133         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9134         __syscall_ulong_t.
9136         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9137         include <bits/wordsize.h>.  Check __x86_64__ instead of
9138         __WORDSIZE.
9139         (greg_t): Use "__extension__ long long int" if __x86_64__ is
9140         defined.
9141         (mcontext_t): Replace "unsigned long" with "unsigned long long".
9143         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9144         include <bits/wordsize.h>.  Check __x86_64__ instead of
9145         __WORDSIZE.
9146         (user_regs_struct): Use "__extension__ unsigned long long"
9147         instead of "unsigned long" if __x86_64__ is defined.
9148         (user): Likewise.  Pad after pointer field if __ILP32__ is
9149         defined.
9151 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
9153         * configure.in (makeinfo): Require version 4.5 or later.  Allow
9154         versions 5 to 9.
9155         * configure: Regenerated.
9156         * manual/install.texi (texinfo): Increase version requirement to
9157         4.5 or later.
9158         * INSTALL: Regenerated.
9160         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9162 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
9164         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9166         * sysdeps/x86_64/x32/ffs.c: New file.
9168         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9169         __syscall_ulong_t.
9170         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9171         defined.  Use __syscall_ulong_t.
9172         (shminfo): Use __syscall_ulong_t.
9173         (shm_info): Likewise.
9175         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9176         __syscall_ulong_t.
9178         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9179         <bits/wordsize.h>.
9180         (msgqnum_t): Use __syscall_ulong_t.
9181         (msglen_t): Likewise.
9182         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
9183         __syscall_ulong_t.
9185         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9186         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9188         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9190         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9191         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9193         * sysvipc/sys/msg.h (msgbuf): Replace long int with
9194         __syscall_slong_t.
9196         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9197         include <bits/wordsize.h>.  Check __x86_64__ instead of
9198         __WORDSIZE.
9200         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9201         "unsigned long long int" if __x86_64__ is defined.
9202         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9204         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9205         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
9206         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9208         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9209         <stdint.h>.
9210         (GET_PC): Cast to uintptr_t first.
9211         (GET_FRAME): Likewise.
9212         (GET_STACK): Likewise.
9214         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9215         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9216         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9217         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9218         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9219         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9220         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9221         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9222         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9223         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9224         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9225         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9226         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9227         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9228         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9229         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9230         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9231         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9232         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9233         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9234         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9235         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9236         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9237         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9238         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9239         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9240         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9241         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9242         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9244 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
9246         * Makerules (+depfiles): Also collect depfiles from .oS in
9247         $(extra-objs).
9248         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9249         .oS, $(libnldbl-routines)).
9251         * Makerules (native-compile-mkdep-flags): Define.
9252         * sunrpc/Makefile (extra-objs): Add $(addprefix
9253         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9254         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9255         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
9256         calling $(make-target-directory).
9258 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9260         * bits/types.h (__snseconds_t): Removed.
9261         * time/time.h (struct timespec): Replace __snseconds_t with
9262         __syscall_slong_t.
9263         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9264         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9265         Likewise.
9266         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9267         (__SNSECONDS_T_TYPE): Likewise.
9268         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9269         (__SNSECONDS_T_TYPE): Likewise.
9270         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9271         (__SNSECONDS_T_TYPE): Likewise.
9273 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9275         * sysdeps/mach/hurd/bits/typesizes.h
9276         (__SYSCALL_SLONG_TYPE): New macro.
9277         (__SYSCALL_ULONG_TYPE): Likewise.
9279 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9281         * bits/types.h (__syscall_slong_t): New type.
9282         (__syscall_ulong_t): Likewise.
9284         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9285         (__SYSCALL_ULONG_TYPE): Likewise.
9286         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9287         (__SYSCALL_SLONG_TYPE): Likewise.
9288         (__SYSCALL_ULONG_TYPE): Likewise.
9289         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9290         (__SYSCALL_SLONG_TYPE): Likewise.
9291         (__SYSCALL_ULONG_TYPE): Likewise.
9292         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9293         (__SYSCALL_SLONG_TYPE): Likewise.
9294         (__SYSCALL_ULONG_TYPE): Likewise.
9296 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9298         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9299         Add sigaltstack-offsets.sym.
9300         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9301         <sigaltstack-offsets.h>.
9302         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
9303         longjmp_msg pointer.
9304         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
9305         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9306         signal stack.
9307         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9309 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
9311         * elf/stackguard-macros.h: Remove file.
9312         * sysdeps/generic/stackguard-macros.h: New file.
9313         * sysdeps/i386/stackguard-macros.h: Likewise.
9314         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9315         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9316         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9317         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9318         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9319         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9320         * sysdeps/x86_64/stackguard-macros.h: Likewise.
9321         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9322         <elf/stackguard-macros.h>.
9324         [BZ #14109]
9325         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9326         __aligned__ in attribute.
9327         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9328         (gregset_t): Likewise.
9330 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9332         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9333         * sysdeps/x86_64/64/Implies-after: Here.  New file.
9334         * sysdeps/x86_64/x32/Implies-after: New file.
9336 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9338         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9339         and access return value for _dl_profile_fixup.  Use R10_LP to
9340         load frame size.
9342 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9344         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9346 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9348         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9349         * sysdeps/x86_64/x32/sysdep.h: New file.
9351 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9353         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9354         * sysdeps/x86_64/setjmp.S: Likewise.
9356 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9358         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9359         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9360         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9361         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9362         remove unused global constant.
9364 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
9366         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9367         include of <not-cancel.h>.
9369 2012-05-15  Roland McGrath  <roland@hack.frob.com>
9371         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9373 2012-05-15  Jeff Law  <law@redhat.com>
9374             Andreas Jaeger  <aj@suse.de>
9376         [BZ #13594]
9377         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9378         out from...
9379         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9380         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9381         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9382         code changing __hst_map_handle.map.
9384 2012-05-15  Roland McGrath  <roland@hack.frob.com>
9386         * configure.in (sysnames): Look for Implies-before and Implies-after
9387         files.
9388         * configure: Regenerated.
9390 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9392         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9393         8-byte data alignment with LP_SIZE alignment.
9395 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9397         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9398         into R10_LP.
9400 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9402         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9404 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9406         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9407         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9408         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9409         Likewise.
9410         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9412 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9414         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9415         (stackinfo_sub_sp): Likewise.
9417 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9419         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9420         RAX_LP.
9422 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9424         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9425         into R*_LP.
9427 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9429         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9430         sizes into R*_LP.
9432 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9434         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9436 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9438         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9439         into R11_LP and load __x86_64_shared_cache_size_half into
9440         R8_LP.
9442 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9444         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9445         R8_LP.
9447 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9449         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9450         logb for POWER7.
9451         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9452         logbf for POWER7.
9453         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9454         logbl for POWER7.
9455         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9456         powerpc32/power7/fpu/s_logb.c via #include.
9457         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9458         powerpc32/power7/fpu/s_logbf.c via #include.
9459         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9460         powerpc32/power7/fpu/s_logbl.c via #include.
9462 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
9464         * README.libm: Remove file.
9466 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9468         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9469         count for x32.  Use R*_LP and omit operand-size suffix.
9471 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9473         * shlib-versions: Move x86_64-.*-linux.* entries to ...
9474         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
9475         * sysdeps/x86_64/x32/shlib-versions: New file.
9477 2012-05-14  Roland McGrath  <roland@hack.frob.com>
9479         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9480         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9481         Use _dl_fatal_printf instead.
9483 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
9485         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9486         set if not set by the user.  Do not allow for being unset.
9487         * sysdeps/unix/sysv/linux/configure: Regenerated.
9489 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9491         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9492         the `q' suffix from lea and replace .quad with ASM_ADDR.
9494 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9496         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9497         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
9498         instead of $17.
9499         (PTR_DEMANGLE): Likewise.
9501 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9503         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9504         (LP_OP): Likewise.
9505         (ASM_ADDR): Likewise.
9506         (RAX_LP): Likewise.
9507         (RBP_LP): Likewise.
9508         (RBX_LP): Likewise.
9509         (RCX_LP): Likewise.
9510         (RDI_LP): Likewise.
9511         (RSI_LP): Likewise.
9512         (RSP_LP): Likewise.
9513         (R8_LP): Likewise.
9514         (R9_LP): Likewise.
9515         (R10_LP): Likewise.
9516         (R10_LP): Likewise.
9517         (R11_LP): Likewise.
9518         (R12_LP): Likewise.
9519         (R13_LP): Likewise.
9520         (R14_LP): Likewise.
9521         (R15_LP): Likewise.
9523 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9525         * sysdeps/x86_64/x32/dl-machine.h: New file.
9527 2012-05-14  Andreas Jaeger  <aj@suse.de>
9529         * manual/Makefile (subdir): Remove export of subdir.
9530         (all): Remove target.
9531         (.PHONY): Remove all from list.
9532         (mkinstalldirs): Remove.
9533         (.PHONY): Remove installdirs from list.
9534         ($(inst_infodir)/libc.info): Use make-target-directory.
9535         (installdirs): Remove.
9536         (subdir_%): Remove.
9537         (glibc-targets): Remove.
9538         (lib): Remove.
9539         (stubs): Remove.
9540         ($(objpfx)stubs ../po/manual.pot): Remove.
9541         ($(objpfx)stamp%): Remove.
9542         (make-target-directory): Remove.
9543         (subdir_install): Remove.
9544         (routines): Remove.
9545         (aux): Remove.
9546         (sources): Remove.
9547         (objects): Remove.
9548         (headers): Remove.
9550         [BZ #13750]
9551         * manual/.gitignore: Remove, it's not needed anymore.
9552         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9553         all files in it.
9554         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9555         directory.
9556         (texis): Renamed to $(objpfx)texis.
9557         (texis-path): New, contains path to generated files.
9558         (chapters.%): Use texis-path for complete path, add extra argument
9559         libc-texinfo.sh.
9560         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9561         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9562         (summary,texi, stamp-summary): Use complete path of
9563         files. Generate files in build dir.
9564         (dir-add.texi): Build in build dir.
9565         (libm-err.texi,stamp-libm-err): Likewise.
9566         (version.texi, stamp-version): Likewise.
9567         (.%c.texi): Likewise.
9568         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9569         (mostlyclean): Remove target.
9570         (realclean): Remove target.
9571         (generated): Add new variable with contents from mostlyclean and
9572         realclean, remove entries duplicated in common-mostlyclean, add
9573         stamp-libm-err and stamp-version.
9574         (generated-dirs): Add libc directory.
9575         ($(inst_infodir)/libc.info): Install files from build dir.
9577         * manual/install.texi (Configuring and compiling): Adjust since
9578         the info files are not part of the tar ball anymore.
9580 2012-05-14  Andreas Jaeger  <aj@suse.de>
9582         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9583         variable.
9585 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
9587         [BZ #13717]
9588         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9589         to 2.2.0 where earlier.
9590         * sysdeps/unix/sysv/linux/configure: Regenerated.
9591         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9592         Remove conditional code.
9593         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9594         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9595         Remove conditional code.
9596         [!__NR_lchown]: Likewise.
9597         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9598         [__NR_lchown]: Likewise.
9599         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9600         comment referencing __ASSUME_LCHOWN_SYSCALL.
9601         * sysdeps/unix/sysv/linux/i386/sigaction.c
9602         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9603         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9604         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9605         Remove conditional code.
9606         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9607         (__protocol_available): Remove #if 0 code.
9608         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9609         conditional code.
9610         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9611         * sysdeps/unix/sysv/linux/kernel-features.h
9612         (__ASSUME_GETCWD_SYSCALL): Don't define.
9613         (__ASSUME_REALTIME_SIGNALS): Likewise.
9614         (__ASSUME_PREAD_SYSCALL): Likewise.
9615         (__ASSUME_PWRITE_SYSCALL): Likewise.
9616         (__ASSUME_POLL_SYSCALL): Likewise.
9617         (__ASSUME_LCHOWN_SYSCALL): Likewise.
9618         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9619         non-SPARC.
9620         (__ASSUME_SIOCGIFNAME): Don't define.
9621         (__ASSUME_MSG_NOSIGNAL): Likewise.
9622         (__ASSUME_SENDFILE): Define unconditionally.
9623         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9624         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9625         conditional code.
9626         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9627         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9628         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9629         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9630         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9631         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9632         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9634         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9635         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9637         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9638         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9640         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9641         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9643         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9644         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9646         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9647         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9649         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9650         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9652         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9653         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9655         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9656         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9657         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9658         Remove conditional code.
9659         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9660         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9661         Remove conditional code.
9662         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9663         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9664         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9665         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9666         Remove conditional code.
9667         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9668         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9669         Remove conditional code.
9670         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9671         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9672         Remove conditional code.
9673         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9674         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9675         Remove conditional code.
9676         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9677         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9678         Remove conditional code.
9679         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9680         * sysdeps/unix/sysv/linux/sh/pwrite64.c
9681         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9682         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9683         * sysdeps/unix/sysv/linux/sigaction.c
9684         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9685         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9686         * sysdeps/unix/sysv/linux/sigpending.c
9687         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9688         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9689         * sysdeps/unix/sysv/linux/sigprocmask.c
9690         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9691         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9692         * sysdeps/unix/sysv/linux/sigsuspend.c
9693         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9694         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9695         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9696         (__libc_missing_rt_sigs): Remove.
9697         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9698         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9699         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9700         Remove conditional code.
9701         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9702         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9703         return 1.
9704         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9705         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9706         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9707         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9709 2012-05-14  Andreas Jaeger  <aj@suse.de>
9711         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9712         it's not used in glibc.
9713         (__coshm1): Likewise.
9714         (__acosh1p): Likewise.
9715         (__sgn): Likewise.
9717         * manual/string.texi (Copying and Concatenation): Add missing
9718         variable in concat example.
9719         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9721 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9723         [BZ #14103]
9724         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9725         __builtin_clzl with __builtin_clzll.
9727 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
9729         [BZ #14104]
9730         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9731         libc_freeres_ptr.
9733 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9735         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9736         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9737         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9738         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9740 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
9742         * NEWS: Update ia64 info.
9744 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
9746         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9747         used as bcopy.
9749 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
9751         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9752         * sysdeps/unix/syscalls.list (dup3): Likewise.
9753         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9754         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9756 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9758         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9759         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9761 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
9763         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9764         thread pointer.
9765         (TLS_IE): Use mov/add instead of movq/addq to load thread
9766         pointer.
9767         (TLS_GD_PREFIX): New.
9768         (TLS_GD): Use it.
9770 2012-05-11  David S. Miller  <davem@davemloft.net>
9772         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9773         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9774         (_FPU_SETCW): Likewise.
9776 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9778         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9779         is 32-byte aligned.
9781 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
9783         [BZ #11837]
9784         * iconvdata/gb18030.c: Update tables.
9785         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
9786         characters specially.
9787         (BODY for TO_LOOP): Add encoding of missing ranges.
9789 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
9791         [BZ #13673]
9792         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9793         * sysdeps/mach/hurd/dup3.c: Likewise.
9794         * sysdeps/mach/hurd/readlinkat.c: Likewise.
9795         * sysdeps/powerpc/memmove.c:: Likewise.
9797 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9799         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9800         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9802 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
9804         * elf/elf.h (R_X86_64_RELATIVE64): New.
9805         (R_X86_64_NUM): Updated.
9806         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9807         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
9808         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9809         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9810         tst-quad1pie tst-quad2pie
9811         (modules-names): Add tst-quadmod1 tst-quadmod2.
9812         ($(objpfx)tst-quad1): New dependency.
9813         ($(objpfx)tst-quad2): Likewise.
9814         ($(objpfx)tst-quad1pie): Likewise.
9815         ($(objpfx)tst-quad2pie): Likewise.
9816         * sysdeps/x86_64/tst-quad1.c: New file.
9817         * sysdeps/x86_64/tst-quad1pie.c: New file.
9818         * sysdeps/x86_64/tst-quad2.c: Likewise.
9819         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9820         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9821         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9822         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9823         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9825 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9827         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9828         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9829         * streams/stropts.h (t_scalar_t): Define type.
9831         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9832         (_PATH_PRESERVE): Set to "/var/lib".
9833         (_PATH_RWHODIR): Set to "/var/spool/rwho".
9835         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9836         instead of int.
9838         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9839         if __dir_mkfile succeeded.
9841         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9842         checking for _hurd_dtablesize.  Unlock it right after having
9843         finished _hurd_dtable allocation.
9845 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9847         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9848         * sysdeps/mach/hurd/configure: Regenerated.
9849         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9850         special-casing to...
9851         * sysdeps/gnu/configure.in: ... this new file.
9852         * sysdeps/unix/sysv/linux/configure: Regenerated.
9853         * sysdeps/gnu/configure: New generated file.
9855         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9856         for Linux: use nsec instead of usec, as well as:
9857         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9858         members of type struct timespec.
9859         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9860         New macros.
9861         (struct stat64): Likewise.
9862         (_STATBUF_ST_NSEC): New macro.
9863         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9865         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9866         __strtoul_internal rather than strtoul.
9868 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9870         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9871         and reject them.
9873 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9875         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9876         which preserves existing values.
9877         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9879 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9881         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9882         TIMEOUT values.  Return EINVAL for NFDS values either negative or
9883         greater than FD_SETSIZE.
9885 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9887         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9888         allocated, call __vm_protect to finish enabling the existing space, and
9889         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9890         allocate the remainder.
9892 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9894         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9895         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
9897 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9899         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9900         sysdeps/mach/hurd/readlink.c.
9902         * posix/tst-sysconf.c (posix_options): Only use
9903         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9904         _POSIX_SYNCHRONIZED_IO when they are defined
9905         * sysdeps/mach/hurd/bits/posix_opt.h:
9906         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9907         (_XOPEN_REALTIME): Undefine macro.
9908         (_XOPEN_REALTIME_THREADS): Undefine macro.
9909         (_XOPEN_SHM): Undefine macro.
9910         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9911         macro to -1.
9912         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9913         macro to -1.
9914         (_POSIX_ASYNC_IO): Undefine macro.
9915         (_POSIX_PRIORITIZED_IO): Undefine macro.
9916         (_POSIX_SPIN_LOCKS): Define macro to -1.
9918         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9919         SA_NODEFER, SA_RESETHAND.
9920         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9921         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9922         F_DUPFD_CLOEXEC.
9924 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9926         * elf/Makefile (pldd-modules): Define unconditionally.
9928 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9930         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9932 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9934         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9935         Return ENOENT when name is empty.
9936         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9938 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9940         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9942         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9944 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9946         Fix mlock in all cases except non-readable pages.
9947         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9948         instead of VM_PROT_ALL as parameter to __vm_wire function.
9950         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9951         (__mkdir): When path is `/', just fail with EEXIST.
9952         * sysdeps/mach/hurd/mkdirat.c: Likewise.
9954 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9956         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9957         <sys/uio.h> (for writev).
9958         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9959         and <sys/param.h> (for MIN).
9961 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
9963         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9964         REQUESTED_TIME.  Properly set the remaining time and return EINTR
9965         if interrupted.
9967 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9969         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9970         Depend on against $(link-rpcuserlibs).
9972 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9974         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9975         (__libc_stack_end): Do not use attribute_relro.
9976         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9977         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
9978         to libthread-provided value.
9979         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9980         attribute_relro.
9982 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
9984         [BZ #3748]
9985         * bits/libc-lock.h (__libc_once_get): New macro.
9986         * sysdeps/mach/bits/libc-lock.h: Likewise.
9987         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9988         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9989         instead of using implementation details.
9991         * libio/fileops.c: Unconditionally include <kernel-features.h>.
9992         * libio/freopen.c: Likewise.
9993         * libio/freopen64.c: Likewise.
9994         * misc/syslog.c: Likewise.
9995         * nscd/connections.c: Likewise.
9996         * nscd/netgroupcache.c: Likewise.
9997         * sysdeps/posix/getcwd.c: Likewise.
9999 2012-05-10  Roland McGrath  <roland@hack.frob.com>
10001         * math/w_ilogbf.c: Add #include <limits.h>.
10003 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10005         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
10006         path instead of returning without unlocking.
10008         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10009         immediate-write ioctls.
10010         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10012 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10014         * sysdeps/mach/hurd/i386/init-first.c (init): Use
10015         __builtin_frame_address instead of making assumptions about the
10016         location of the return address relative to DATA.  Force early load of
10017         the return address.
10018         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10019         __builtin_frame_address.
10021         dup3 for GNU Hurd.
10022         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10023         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
10024         implement dup3 and do some further code clean-ups.
10025         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10026         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10028 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10030         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10032         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10033         HURD_CRITICAL_END around holding _hurd_dtable_lock.
10034         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10035         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10036         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10037         d->port.lock.
10039         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10040         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
10041         when handler == SIG_ERR, not when handler != SIG_ERR.
10043 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10045         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10046         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10047         definitions.
10049         accept4 for GNU Hurd.
10050         * include/sys/socket.h (__libc_accept4): New prototype.
10051         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
10052         to implement __libc_accept4.
10053         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10054         __libc_accept4.
10055         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10057         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10058         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10059         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10060         signal-defines.sym.
10062 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10064         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
10066 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
10068         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10069         assertion on O_CLOEXEC flag.
10070         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10071         * hurd/intern-fd.c: Likewise.
10072         * hurd/port2fd.c: Likewise.
10074 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10076         [BZ #3906]
10077         * bits/in.h (IPV6_PKTINFO): Define new macro.
10078         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10080 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10082         [BZ #13954]
10083         [BZ #13955]
10084         [BZ #13956]
10085         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10086         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10087         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10088         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10089         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10090         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10091         * math/libm-test.inc (logb_test) : Additional logb tests.
10093 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
10094             Andreas Jaeger  <aj@suse.de>
10096         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10097         * configure: Regenerated.
10098         * config.h.in (LINK_OBSOLETE_RPC): New macro.
10099         * config.make.in (link-obsolete-rpc): New substituted variable.
10100         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10101         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10102         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10103         (shared-only-routines): Don't set it under [link-obsolete-rpc],
10104         so that libc.a contains the symbols.
10105         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10106         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10107         * sunrpc/auth_none.c: Likewise.
10108         * sunrpc/auth_unix.c: Likewise.
10109         * sunrpc/authdes_prot.c: Likewise.
10110         * sunrpc/authuxprot.c: Likewise.
10111         * sunrpc/clnt_gen.c: Likewise.
10112         * sunrpc/clnt_perr.c: Likewise.
10113         * sunrpc/clnt_raw.c: Likewise.
10114         * sunrpc/clnt_simp.c: Likewise.
10115         * sunrpc/clnt_tcp.c: Likewise.
10116         * sunrpc/clnt_udp.c: Likewise.
10117         * sunrpc/clnt_unix.c: Likewise.
10118         * sunrpc/des_crypt.c: Likewise.
10119         * sunrpc/des_soft.c: Likewise.
10120         * sunrpc/get_myaddr.c: Likewise.
10121         * sunrpc/key_call.c: Likewise.
10122         * sunrpc/key_prot.c: Likewise.
10123         * sunrpc/netname.c: Likewise.
10124         * sunrpc/pm_getmaps.c: Likewise.
10125         * sunrpc/pm_getport.c: Likewise.
10126         * sunrpc/pmap_clnt.c: Likewise.
10127         * sunrpc/pmap_prot.c: Likewise.
10128         * sunrpc/pmap_prot2.c: Likewise.
10129         * sunrpc/pmap_rmt.c: Likewise.
10130         * sunrpc/publickey.c: Likewise.
10131         * sunrpc/rpc_cmsg.c: Likewise.
10132         * sunrpc/rpc_common.c: Likewise.
10133         * sunrpc/rpc_dtable.c: Likewise.
10134         * sunrpc/rpc_prot.c: Likewise.
10135         * sunrpc/rpc_thread.c: Likewise.
10136         * sunrpc/rtime.c: Likewise.
10137         * sunrpc/svc.c: Likewise.
10138         * sunrpc/svc_auth.c: Likewise.
10139         * sunrpc/svc_raw.c: Likewise.
10140         * sunrpc/svc_run.c: Likewise.
10141         * sunrpc/svc_tcp.c: Likewise.
10142         * sunrpc/svc_udp.c: Likewise.
10143         * sunrpc/svc_unix.c: Likewise.
10144         * sunrpc/svcauth_des.c: Likewise.
10145         * sunrpc/xcrypt.c: Likewise.
10146         * sunrpc/xdr.c: Likewise.
10147         * sunrpc/xdr_array.c: Likewise.
10148         * sunrpc/xdr_float.c: Likewise.
10149         * sunrpc/xdr_intXX_t.c: Likewise.
10150         * sunrpc/xdr_mem.c: Likewise.
10151         * sunrpc/xdr_rec.c: Likewise.
10152         * sunrpc/xdr_ref.c: Likewise.
10153         * sunrpc/xdr_sizeof.c: Likewise.
10154         * sunrpc/xdr_stdio.c: Likewise.
10156 2012-05-10  Roland McGrath  <roland@hack.frob.com>
10158         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10159         change.  Update copyright years.
10161 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
10163         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10165 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
10166             Joseph Myers  <joseph@codesourcery.com>
10167             Paul Pluzhnikov  <ppluzhnikov@google.com>
10169         [BZ #14012]
10170         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10171         requiring rpcgen.
10172         [cross-compiling] (extra-libs): Likewise.
10173         [cross-compiling] (extra-libs-others): Likewise.
10174         [cross-compiling] (librpcsvc-routines): Likewise.
10175         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10176         [cross-compiling] (omit-deps): Likewise.
10177         (sunrpc-CPPFLAGS): New variable.
10178         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10179         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10180         (cross-rpcgen-objs): New variable.
10181         (extra-objs): Append $(cross-rpcgen-objs).
10182         ($(cross-rpcgen-objs)): New rule.
10183         ($(objpfx)cross-rpcgen): Likewise.
10184         (rpcgen-cmd): Define to use $(built-program-file).  Expand
10185         comment.
10186         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10187         ($(objpfx)x%.stmp): Likewise.
10188         * sunrpc/proto.h [IS_IN_build] (_): Define.
10189         [IS_IN_build] (_libc_intl_domainname): Likewise.
10191 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
10193         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10194         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10195         and R_X86_64_TPOFF64.
10197 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
10199         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10200         sysdeps/unix/sysv/syscalls.list.
10201         (stime): Likewise.
10202         (utime): Likewise.
10203         * sysdeps/unix/sysv/syscalls.list: Remove file.
10205 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
10207         [BZ #3440]
10208         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10209         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10210         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10211         (__LC_IDENTIFICATION): Make these macros useful in #if
10212         expressions, as required by C99.
10214 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
10216         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10217         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
10218         after this.
10220 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
10222         * stdlib/longlong.h: Updated from GCC.
10224 2012-05-09  Andreas Jaeger  <aj@suse.de>
10226         * nscd/nscd.c (run_modes): Make named enum, reorder so that
10227         default is first entry.
10228         (run_mode): Set type.
10229         (main): Remove informal message about syslog.
10230         (options): Fix typo.
10232         [BZ #14053]
10233         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
10234         to asm.
10235         (lrint): Likewise.
10236         (llrintf): Likewise.
10237         (llrint): Likewise.
10238         (rint): Likewise.
10239         (rintf): Likewise.
10240         (nearbyint): Likewise.
10241         (nearbyintf): Likewise.
10243 2012-05-09  Andreas Jaeger  <aj@suse.de>
10244             Pedro Alves  <palves@redhat.com>
10246         * nscd/nscd.c (run_mode): Use enum.
10247         (main): Cleanup coding style issue.
10249 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
10250             Andreas Jaeger  <aj@suse.de>
10252         * nscd/nscd.c (go_background): Replaced with...
10253         (run_mode): ... this.
10254         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
10255         (options): Add -F --foreground.
10256         (main): Implement it.
10257         (parse_opt): Parse it.
10259 2012-05-09  Andreas Jaeger  <aj@suse.de>
10261         [BZ #14083]
10262         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10263         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10264         -Wconversion warning.
10265         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10266         Likewise.
10268 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
10270         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
10271         == 0.
10272         (LC_ALL): Use macro-int-constant.
10273         (LC_COLLATE): Likewise.
10274         (LC_CTYPE): Likewise.
10275         (LC_MESSAGES): Likewise.
10276         (LC_MONETARY): Likewise.
10277         (LC_NUMERIC): Likewise.
10278         (LC_TIME): Likewise.
10279         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10280         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10281         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10282         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10283         Specify type.
10284         [C99-based standards] (float_t): Expect type.
10285         [C99-based standards] (double_t): Expect type.
10286         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
10287         type.
10288         [C99-based standards] (HUGE_VALL): Likewise.
10289         [C99-based standards] (INFINITY): Likewise.
10290         [C99-based standards] (NAN): Likewise.
10291         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10292         [C99-based standards] (FP_NAN): Likewise.
10293         [C99-based standards] (FP_NORMAL): Likewise.
10294         [C99-based standards] (FP_SUBNORMAL): Likewise.
10295         [C99-based standards] (FP_ZERO): Likewise.
10296         [C99-based standards] (FP_FAST_FMA): Use
10297         optional-macro-int-constant.  Specify type.  Require == 1.
10298         [C99-based standards] (FP_FAST_FMAF): Likewise.
10299         [C99-based standards] (FP_FAST_FMAL): Likewise.
10300         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10301         [C99-based standards] (FP_ILOGBNAN): Likewise.
10302         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10303         Specify type.
10304         [C99-based standards] (MATH_ERREXCEPT): Likewise.
10305         [C99-based standards] (math_errhandling): Specify type.
10306         [ISO99 || ISO11] (signgam): Do not allow.
10307         [non-C99-based standards] (copysignf): Do not allow.
10308         [non-C99-based standards] (exp2f): Likewise.
10309         [non-C99-based standards] (log2f): Likewise.
10310         [non-C99-based standards] (modff): Allow.
10311         [non-C99-based standards] (erff): Do not allow.
10312         [non-C99-based standards] (erfcf): Likewise.
10313         [non-C99-based standards] (gammaf): Likewise.
10314         [non-C99-based standards] (hypotf): Likewise.
10315         [non-C99-based standards] (j0f): Likewise.
10316         [non-C99-based standards] (j1f): Likewise.
10317         [non-C99-based standards] (jnf): Likewise.
10318         [non-C99-based standards] (lgammaf): Likewise.
10319         [non-C99-based standards] (tgammaf): Likewise.
10320         [non-C99-based standards] (y0f): Likewise.
10321         [non-C99-based standards] (y1f): Likewise.
10322         [non-C99-based standards] (ynf): Likewise.
10323         [non-C99-based standards] (isnanf): Likewise.
10324         [non-C99-based standards] (acoshf): Likewise.
10325         [non-C99-based standards] (asinhf): Likewise.
10326         [non-C99-based standards] (atanhf): Likewise.
10327         [non-C99-based standards] (cbrtf): Likewise.
10328         [non-C99-based standards] (expm1f): Likewise.
10329         [non-C99-based standards] (ilogbf): Likewise.
10330         [non-C99-based standards] (log1pf): Likewise.
10331         [non-C99-based standards] (logbf): Likewise.
10332         [non-C99-based standards] (nextafterf): Likewise.
10333         [non-C99-based standards] (remainderf): Likewise.
10334         [non-C99-based standards] (rintf): Likewise.
10335         [non-C99-based standards] (scalbf): Likewise.
10336         [non-C99-based standards] (copysignl): Likewise.
10337         [non-C99-based standards] (exp2l): Likewise.
10338         [non-C99-based standards] (log2l): Likewise.
10339         [non-C99-based standards] (modfl): Allow.
10340         [non-C99-based standards] (erfl): Do not allow.
10341         [non-C99-based standards] (erfcl): Likewise.
10342         [non-C99-based standards] (gammal): Likewise.
10343         [non-C99-based standards] (hypotl): Likewise.
10344         [non-C99-based standards] (j0l): Likewise.
10345         [non-C99-based standards] (j1l): Likewise.
10346         [non-C99-based standards] (jnl): Likewise.
10347         [non-C99-based standards] (lgammal): Likewise.
10348         [non-C99-based standards] (tgammal): Likewise.
10349         [non-C99-based standards] (y0l): Likewise.
10350         [non-C99-based standards] (y1l): Likewise.
10351         [non-C99-based standards] (ynl): Likewise.
10352         [non-C99-based standards] (isnanl): Likewise.
10353         [non-C99-based standards] (acoshl): Likewise.
10354         [non-C99-based standards] (asinhl): Likewise.
10355         [non-C99-based standards] (atanhl): Likewise.
10356         [non-C99-based standards] (cbrtl): Likewise.
10357         [non-C99-based standards] (expm1l): Likewise.
10358         [non-C99-based standards] (ilogbl): Likewise.
10359         [non-C99-based standards] (log1pl): Likewise.
10360         [non-C99-based standards] (logbl): Likewise.
10361         [non-C99-based standards] (nextafterl): Likewise.
10362         [non-C99-based standards] (remainderl): Likewise.
10363         [non-C99-based standards] (rintl): Likewise.
10364         [non-C99-based standards] (scalbl): Likewise.
10365         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10366         [non-C99-based standards] (FP_*): Do not allow.
10367         [C99-based standards] (FP_*): Change to
10368         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10369         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10370         allow.
10371         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10372         (SIG_ERR): Likewise.
10373         [X/Open-based standards] (SIG_HOLD): Likewise.
10374         (SIG_IGN): Likewise.
10375         (SIGABRT): Use macro-int-constant.  Specify type.  Require
10376         positive value.
10377         (SIGFPE): Likewise.
10378         (SIGILL): Likewise.
10379         (SIGINT): Likewise.
10380         (SIGSEGV): Likewise.
10381         (SIGTER): Likewise.
10382         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10383         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10384         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10385         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10386         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10387         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10388         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10389         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10390         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10391         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10392         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10393         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10394         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10395         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10396         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10397         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10398         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10399         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10400         [X/Open-based standards] (SIGTRAP): Likewise.
10401         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10402         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10403         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10404         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10405         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10406         allow.
10408 2012-05-08  Ian Wienand  <ianw@vmware.com>
10410         [BZ #14080]
10411         * time/tzset.c (__tzset_parse_tz): Update default rules for
10412         daylight time changes in the Energy Policy Act of 2005.
10414 2012-05-09  Andreas Jaeger  <aj@suse.de>
10416         [BZ #13983]
10417         * elf/ldconfig.c (parse_conf): Change string to make clear that
10418         ldconfig only issued a warning if ld.so.conf does not exist.
10420 2012-05-08  David S. Miller  <davem@davemloft.net>
10422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10423         movxtod instead of popping the value on the stack.
10425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10427 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
10429         * config.h.in: Add HAVE_ARM_PCS_VFP.
10431 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
10433         [BZ #13979]
10434         * include/features.h: Warn if user requests __FORTIFY_SOURCE
10435         checking but the checks are disabled for any reason.
10437 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
10439         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10440         and ELF64_R_TYPE with ELFW(R_TYPE).
10442 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
10444         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10445         (ulimit): Likewise.
10447         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10448         (settimeofday): Likewise.
10450 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
10452         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
10453         a struct th_u2 inside the union, and move tu_block/tu_code into
10454         a new th_u3 union of tu_block/tu_code inside of that.  Move
10455         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
10456         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
10457         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10458         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10459         (th_stuff): Change to th_u1.tu_stuff.
10460         (th_data): Define.
10461         (th_msg): Change to th_u1.th_u2.tu_data.
10463 2012-05-07  David S. Miller  <davem@davemloft.net>
10465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10467         [BZ #14074]
10468         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10469         (SETUP_PIC_REG): Use it.
10470         (SETUP_PIC_REG_LEAF): Use it.
10472 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
10474         [BZ #13885]
10475         [BZ #13923]
10476         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10477         USE_AS_EXPM1L.
10478         (EXPL_FINITE): Likewise.
10479         (FLDLOG): Likewise.
10480         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10481         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10482         e_expl.S.
10483         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10484         USE_AS_EXPM1L.
10485         (EXPL_FINITE): Likewise.
10486         (FLDLOG): Likewise.
10487         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10488         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10489         e_expl.S.
10490         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
10491         test of -max_value argument for long double.
10492         * sysdeps/i386/fpu/libm-test-ulps: Update.
10493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10495 2012-05-06  David S. Miller  <davem@davemloft.net>
10497         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10498         quad soft-float symbols whose references which are compiler
10499         generated.
10500         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10502 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
10504         [BZ #13884]
10505         [BZ #13914]
10506         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10507         USE_AS_EXP10L.
10508         (EXPL_FINITE): Likewise.
10509         (FLDLOG): Likewise.
10510         (c0): Likewise.
10511         (c1): Likewise.
10512         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
10513         Adjust comments for base varying.
10514         (__expl_finite): Change alias to EXPL_FINITE.
10515         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10516         e_expl.S.
10517         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10518         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10519         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10520         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10521         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10522         USE_AS_EXP10L.
10523         (EXPL_FINITE): Likewise.
10524         (FLDLOG): Likewise.
10525         (c0): Likewise.
10526         (c1): Likewise.
10527         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
10528         Adjust comments for base varying.
10529         (__expl_finite): Change alias to EXPL_FINITE.
10530         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
10531         tests for bugs.
10532         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10534         [BZ #14064]
10535         * math/libm-test.inc (check_float_internal): Correct ulp
10536         calculation for subnormal expected results.
10538 2012-05-06  Andreas Jaeger  <aj@suse.de>
10540         * Makeconfig (+math-flags): New, set to -frounding-math.
10541         (+cflags): Add +math-flags so that all of glibc gets compiled with
10542         it.
10544         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10546 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
10548         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10549         Disable one test.
10551         [BZ #13787]
10552         [BZ #13922]
10553         [BZ #14036]
10554         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10555         (__ieee754_expl): Allow for and saturate large arguments.
10556         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10557         (u_threshold): Likewise.
10558         (__exp): Call __ieee754_exp before checking for overflow and
10559         underflow.
10560         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10561         (u_threshold): Likewise.
10562         (__expf): Call __ieee754_expf before checking for overflow and
10563         underflow.
10564         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10565         (u_threshold): Likewise.
10566         (__expl): Call __ieee754_expl before checking for overflow and
10567         underflow.
10568         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10569         (__ieee754_expl): Allow for and saturate large arguments.
10570         * math/libm-test.inc (exp_test): Add another test.  Do not allow
10571         missing overflow exception on overflow.
10572         (expm1_test): Do not allow missing overflow exception on overflow.
10574         * sysdeps/i386/fpu/e_expl.c: Move to ...
10575         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
10576         rather than using inline asm.
10577         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10578         * sysdeps/x86_64/fpu/e_expl.S: Copy from
10579         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10581         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10582         (nice): Likewise.
10583         (poll): Likewise.
10584         (signal): Likewise.
10585         (time): Likewise.
10586         (times): Likewise.
10588 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10590         * sysdeps/unix/syscalls.list (adjtime): Add entry from
10591         sysdeps/unix/common/syscalls.list.
10592         (fchmod): Likewise.
10593         (fchown): Likewise.
10594         (ftruncate): Likewise.
10595         (getrusage): Likewise.
10596         (gettimeofday): Likewise.
10597         (setpgid): Likewise.
10598         (setregid): Likewise.
10599         (setreuid): Likewise.
10600         (sigaction): Likewise.
10601         (truncate): Likewise.
10602         (vhangup): Likewise.
10603         * sysdeps/unix/common/syscalls.list: Remove file.
10604         * sysdeps/unix/bsd/Implies: Don't include unix/common.
10605         * sysdeps/unix/sysv/linux/Implies: Likewise.
10607 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
10609         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10610         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10611         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10612         Moved to ...
10613         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10614         Here.
10615         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10616         to ...
10617         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10618         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10619         to ...
10620         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10621         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10622         to ...
10623         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10624         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10625         to ...
10626         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10627         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10628         to ...
10629         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10630         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10631         to ...
10632         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10633         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10634         to ...
10635         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10636         Here.
10637         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10638         to ...
10639         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10640         Here.
10641         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10642         to ...
10643         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10644         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10645         Moved to ...
10646         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10647         Here.
10648         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10649         to ...
10650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10652 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10654         * sysdeps/unix/common/bits/dirent.h: Remove file.
10655         * sysdeps/unix/common/bits/fcntl.h: Likewise.
10657         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10658         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10659         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10660         * sysdeps/unix/bsd/isatty.c: Likewise.
10661         * sysdeps/unix/bsd/tcdrain.c: Likewise.
10662         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10663         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10665 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10667         [BZ #13563]
10668         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10669         long double comparison inaccuracies.
10670         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10673 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
10675         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10676         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10678 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
10680         [BZ #14049]
10681         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10682         nonzero digits before rounding a hex value.
10683         * stdlib/tst-strtod.c (tests): Add another test.
10685 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10687         * sysdeps/s390/fpu/libm-test-ulps: Update.
10689 2012-05-03  Andreas Jaeger  <aj@suse.de>
10691         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10692         does not get optimized out.
10693         (malloc_opt_barrier): New.
10695 2012-05-03  Andreas Jaeger  <aj@suse.de>
10696             Roland McGrath  <roland@hack.frob.com>
10698         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
10699         intermediate file deletion.
10700         (generated): Add .symlist files.
10702 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
10704         [BZ #13775]
10705         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10706         Redirect under this condition.
10707         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10708         [__USE_GNU] (__dprintf_chk): Not under this condition.
10709         [__USE_GNU] (__vdprintf_chk): Likewise.
10710         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10711         under this condition.
10712         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10713         [__USE_XOPEN2K8] (dprintf): Define under this condition.
10714         [__USE_XOPEN2K8] (vdprintf): Likewise.
10715         [__USE_GNU] (__dprintf_chk): Not under this condition.
10716         [__USE_GNU] (__vdprintf_chk): Likewise.
10717         [__USE_GNU] (dprintf): Likewise.
10718         [__USE_GNU] (vdprintf): Likewise.
10720 2012-05-03  Roland McGrath  <roland@hack.frob.com>
10722         * elf/Makefile (common-generated): Set this instead of generated for
10723         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
10724         $(all-built-dso)-derived lists.
10726 2012-05-03  Andreas Jaeger  <aj@suse.de>
10728         * sysdeps/i386/fpu/libm-test-ulps: Update.
10730         * FAQ: Removed.
10731         * FAQ.in: Likewise.
10732         * scripts/gen-FAQ.pl: Likewise.
10733         * manual/install.texi (Installation): Point to online location of
10734         FAQ.
10735         * Makefile (files-for-dist): Remove FAQ.
10736         (FAQ): Remove.
10738 2012-05-02  Allan McRae  <allan@archlinux.org>
10740         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10741         (LDFLAGS-reldepmod5.so): Likewise.
10742         (LDFLAGS-reldep6mod1.so): Likewise.
10743         (LDFLAGS-reldep6mod4.so): Likewise.
10744         (LDFLAGS-reldep8mod3.so): Likewise.
10745         (LDFLAGS-unload4mod1.so): Likewise.
10746         (LDFLAGS-unload4mod2.so): Likewise.
10747         (LDFLAGS-tst-initorder): Likewise.
10748         (LDFLAGS-tst-initordera2.so): Likewise.
10749         (LDFLAGS-tst-initordera3.so): Likewise.
10750         (LDFLAGS-tst-initordera4.so): Likewise.
10751         (LDFLAGS-tst-initorderb2.so): Likewise.
10752         (LDFLAGS-noload): Likewise.
10753         (LDFLAGS-next): Likewise.
10754         (LDFLAGS-order2mod1.so): Likewise.
10755         (LDFLAGS-order2mod2.so): Likewise.
10756         (LDFLAGS-tst-initorder2): Likewise.
10757         (LDFLAGS-tst-initorder2a.so): Likewise.
10758         (LDFLAGS-tst-initorder2b.so): Likewise.
10759         (LDFLAGS-tst-initorder2c.so): Likewise.
10760         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10762 2012-05-02  David S. Miller  <davem@davemloft.net>
10764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10766 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
10768         [BZ #14055]
10769         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10771 2012-05-02  Andreas Jaeger  <aj@suse.de>
10773         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10774         since we manipulate rounding mode.
10775         (CPPFLAGS-test-idouble.c): Likewise.
10776         (CPPFLAGS-test-ifloat.c): Likewise.
10777         (CFLAGS-test-ldouble.c): Likewise.
10778         (CFLAGS-test-double.c): Likewise.
10779         (CFLAGS-test-float.c): Likewise.
10780         (CFLAGS-test-misc.c): Likewise.
10781         (CFLAGS-test-test-fenv.c): Likewise.
10783 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10785         [BZ #2550]
10786         [BZ #2570]
10787         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10788         comparisons to determine direction to adjust input.
10790 2012-05-01  Roland McGrath  <roland@hack.frob.com>
10792         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10793         output to the target.
10795         * scripts/localplt.awk: New file.
10796         * elf/Makefile ($(objpfx)check-localplt): Target removed.
10797         (check-localplt-CFLAGS): Variable removed.
10798         ($(all-built-dso:=.jmprel)): New static pattern rule.
10799         (generated): Add those targets.
10800         (localplt-built-dso): New variable.
10801         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10803         * elf/check-localplt.c: File removed.
10805         * scripts/check-execstack.awk: New file.
10806         * elf/Makefile ($(objpfx)check-execstack): Target removed.
10807         (check-execstack-CFLAGS): Variable removed.
10808         ($(objpfx)check-execstack.h): Target removed.
10809         ($(objpfx)execstack-default): New target.
10810         (generated): Add that instead of check-execstack.h.
10811         ($(all-built-dso:=.phdr)): New static pattern rule.
10812         (generated): Add those targets.
10813         * elf/check-execstack.c: File removed.
10815         * scripts/check-textrel.awk: New file.
10816         * elf/Makefile ($(objpfx)check-textrel): Target removed.
10817         (check-textrel-CFLAGS): Variable removed.
10818         (all-built-dso): Use := to define.o
10819         ($(all-built-dso:=.dyn)): New static pattern rule.
10820         (generated): Add those targets.
10821         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10822         * config.make.in (READELF): New substituted variable.
10823         * elf/check-textrel.c: File removed.
10825 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
10827         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10828         allow.
10829         * conform/data/ctype.h-data [C99-based standards] (isblank):
10830         Expect function.
10831         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10832         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10833         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10834         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10835         Specify type.  Require positive value.
10836         (EILSEQ): Likewise.
10837         (ERANGE): Likewise.
10838         [ISO || POSIX] (EILSEQ): Do not expect.
10839         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10840         Specify type.  Require positive value.
10841         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10842         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10843         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10844         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10845         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10846         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10847         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10848         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10849         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10850         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10851         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10852         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10853         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10854         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10855         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10856         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10857         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10858         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10859         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10860         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10861         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10862         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10863         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10864         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10865         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10866         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10867         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10868         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10869         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10870         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10871         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10872         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10873         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10874         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10875         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10876         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10877         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10878         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10879         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10880         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10881         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10882         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10883         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10884         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10885         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10886         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10887         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10888         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10889         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10890         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10891         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10892         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10893         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10894         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10895         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10896         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10897         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10898         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10899         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10900         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10901         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10902         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10903         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10904         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10905         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10906         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10907         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10908         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10909         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10910         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10911         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10912         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10913         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10914         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10915         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10916         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10917         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10918         Require >= 2.
10919         (FLT_ROUNDS): Expect as macro, not constant.
10920         (FLT_MANT_DIG): Use macro-int-constant.
10921         (DBL_MANT_DIG): Likewise.
10922         (LDBL_MANT_DIG): Likewise.
10923         (FLT_DIG): Likewise.
10924         (DBL_DIG): Likewise.
10925         (LDBL_DIG): Likewise.
10926         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
10927         (DBL_MIN_EXP): Likewise.
10928         (LDBL_MIN_EXP): Likewise.
10929         (FLT_MAX_EXP): Use macro-int-constant.
10930         (DBL_MAX_EXP): Likewise.
10931         (LDBL_MAX_EXP): Likewise.
10932         (FLT_MAX_10_EXP): Likewise.
10933         (DBL_MAX_10_EXP): Likewise.
10934         (LDBL_MAX_10_EXP): Likewise.
10935         (FLT_MAX): Use macro-constant.
10936         (DBL_MAX): Likewise.
10937         (LDBL_MAX): Likewise.
10938         (FLT_EPSILON): Use macro-constant.  Give upper bound.
10939         (DBL_EPSILON): Likewise.
10940         (LDBL_EPSILON): Likewise.
10941         (FLT_MIN): Likewise.
10942         (DBL_MIN): Likewise.
10943         (LDBL_MIN): Likewise.
10944         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10945         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10946         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10947         [ISO11] (FLT_HAS_SUBNORM): Likewise.
10948         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10949         [ISO11] (DBL_DECIMAL_DIG): Likewise.
10950         [ISO11] (FLT_DECIMAL_DIG): Likewise.
10951         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10952         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10953         [ISO11] (FLT_TRUE_MIN): Likewise.
10954         [ISO11] (LDBL_TRUE_MIN): Likewise.
10955         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10956         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10957         (SCHAR_MIN): Use macro-int-constant.  Specify type.
10958         (SCHAR_MAX): Likewise.
10959         (UCHAR_MAX): Likewise.
10960         (CHAR_MIN): Likewise.
10961         (CHAR_MAX): Likewise.
10962         (MB_LEN_MAX): Use macro-int-constant.
10963         (SHRT_MIN): Use macro-int-constant.  Specify type.
10964         (SHRT_MAX): Likewise.
10965         (USHRT_MAX): Likewise.
10966         (INT_MAX): Likewise.
10967         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
10968         bound negative.
10969         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10970         bound with "U".
10971         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10972         bound with "L".
10973         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
10974         bound negative.  Suffix upper bound with "L".
10975         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
10976         bound with "UL".
10977         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10978         Specify type.
10979         [C99-based standards] (LLONG_MAX): Likewise.
10980         [C99-based standards] (ULLONG_MAX): Likewise.
10981         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
10982         == 0.
10983         [ISO11] (max_align_t): Require type.
10984         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10986         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10987         from $CFLAGS, without defining away __attribute__ calls.
10988         (checknamespace): Use $CFLAGS_namespace.
10990         * conform/conformtest.pl (@keywords): Only include C99 keywords
10991         for standards based on C99 or C11.
10993         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10994         Disable tests.
10995         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10996         UNIX98]: Likewise.
10998         * conform/conformtest.pl: Handle "macro-int-constant" and test for
10999         usability of symbols in #if.
11001         * conform/conformtest.pl: If macro or constant types start
11002         "promoted:", expect the symbol to be of the following type
11003         promoted by the integer promotions.
11005         * conform/conformtest.pl: Parse all "constant" and "macro" lines
11006         in one place.  Also handle "macro-constant".
11008         * conform/conformtest.pl: Only accept expected macro values with
11009         "==".  Parse all "macro" lines in one place.
11010         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11012         * conform/conformtest.pl: Handle braced types on "constant" lines
11013         instead of handling "typed-constant".
11014         * conform/data/signal.h-data: Use "constant" instead of
11015         "typed-constant".
11017         * conform/conformtest.pl: Handle "optional-" at start of lines in
11018         one place rather than duplicating several cases.  Handle each
11019         format of "macro" line with initial "optional-".
11021         * conform/conformtest.pl: Only accept expected constant or
11022         optional-constant values with "==".  Parse all "constant" lines in
11023         one place.  Parse all "optional-constant" lines in one place.
11024         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11025         * conform/data/fmtmsg.h-data: Likewise.
11026         * conform/data/netinet/in.h-data: Likewise.
11027         * conform/data/tar.h-data: Likewise.
11028         * conform/data/limits.h-data: Use "==" form on "constant" and
11029         "optional-constant" lines.
11031         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11032         Use -std=c99 for XOPEN2K.
11033         (@knownproblems): Remove.
11034         (newtoken): Don't check %isknown.
11036         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11037         Do not expect macro.
11038         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11039         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11040         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11041         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11042         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11043         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11044         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11045         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11046         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11047         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11048         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11049         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11050         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11051         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11052         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11053         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11054         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11055         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11056         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11057         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11058         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11059         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11060         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11061         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11062         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11063         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11064         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11065         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11066         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11067         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11068         [XPG3] (acosh): Likewise.
11069         [XPG3] (asinh): Likewise.
11070         [XPG3] (atanh): Likewise.
11071         [XPG3] (cbrt): Likewise.
11072         [XPG3] (expm1): Likewise.
11073         [XPG3] (ilogb): Likewise.
11074         [XPG3] (log1p): Likewise.
11075         [XPG3] (logb): Likewise.
11076         [XPG3] (nextafter): Likewise.
11077         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11078         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11079         [XPG3] (remainder): Likewise.
11080         [XPG3] (rint): Likewise.
11081         [XPG3 || XPG4 || UNIX98] (round): Likewise.
11082         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11083         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11084         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11085         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11086         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11087         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11088         [UNIX98 || XOPEN2K] (scalb): Expect.
11089         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11090         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11091         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11092         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11093         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11094         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11095         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11096         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11097         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11098         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11099         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11100         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11101         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11102         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11103         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11104         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11105         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11106         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11107         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11108         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11109         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11110         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11111         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11112         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11113         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11114         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11115         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11116         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11117         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11118         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11119         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11120         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11121         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11122         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11123         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11124         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11125         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11126         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11127         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11128         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11129         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11130         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11131         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11132         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11133         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11134         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11135         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11136         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11137         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11138         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11139         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11140         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11141         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11142         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11143         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11144         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11145         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11146         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11147         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11148         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11149         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11150         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11151         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11152         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11153         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11154         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11155         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11156         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11157         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11158         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11159         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11160         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11161         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11162         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11163         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11164         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11165         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11166         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11167         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11168         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11169         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11170         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11171         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11172         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11173         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11174         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11175         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11176         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11177         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11178         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11179         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11180         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11181         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11182         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11183         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11184         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11185         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11186         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11187         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11188         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11189         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11190         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11191         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11192         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11193         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11194         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11195         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11196         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11197         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11198         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11199         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11200         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11201         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11202         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11203         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11204         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11205         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11206         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11207         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11208         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11209         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11210         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11211         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11212         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11213         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11214         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11215         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11216         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11217         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11218         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11219         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11220         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11221         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11222         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11223         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11224         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11225         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11227         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11228         _XOPEN_SOURCE_EXTENDED for XPG4.
11230         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11232         * Makeconfig (localtime): Remove variable.
11233         (inst_localtime-file): Likewise.
11235 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11238         Update.
11239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11240         Update.
11241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11242         Update.
11243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11244         Update.
11245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11246         Update.
11247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11248         Update.
11249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11250         Update.
11251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11252         Update.
11253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11254         Update.
11256 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
11258         [BZ #2550]
11259         [BZ #2570]
11260         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11261         comparisons to determine direction to adjust input.
11262         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11263         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11264         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11265         Likewise.
11266         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11267         Likewise.
11268         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11269         Likewise.
11270         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11271         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11272         Likewise.
11273         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11274         Likewise.
11275         * math/libm-test.inc (nexttoward_test): Add more tests.
11277 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11279         [BZ #14040]
11280         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11281         in version GLIBC_2.1, not GLIBC_2.0.
11282         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11283         Likewise.
11285 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
11287         [BZ #13942]
11288         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11289         (1 - x) * (1 + x).
11290         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11291         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11292         * math/libm-test.inc (acos_test): Add more tests.
11293         (asin_test): Likewise.
11294         * sysdeps/i386/fpu/libm-test-ulps: Update.
11295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11297         [BZ #14034]
11298         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11299         of square root.
11300         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11301         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11302         * math/libm-test.inc (acos_test_tonearest): New function.
11303         (acos_test_towardzero): Likewise.
11304         (acos_test_downward): Likewise.
11305         (acos_test_upward): Likewise.
11306         (asin_test_tonearest): Likewise.
11307         (asin_test_towardzero): Likewise.
11308         (asin_test_downward): Likewise.
11309         (asin_test_upward): Likewise.
11310         (main): Call the new functions.
11311         * sysdeps/i386/fpu/libm-test-ulps: Update.
11312         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11314         [BZ #13884]
11315         [BZ #13924]
11316         * math/e_exp10.c: Include <float.h>.
11317         (__ieee754_exp10): Handle underflow here rather than multiplying
11318         large negative argument by M_LN10.
11319         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11320         of __ieee754_expf.
11321         * math/e_exp10l.c: Include <float.h>.
11322         (__ieee754_exp10l): Handle underflow here rather than multiplying
11323         large negative argument by M_LN10l.
11324         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
11325         spurious overflow exception on underflow.
11327 2012-04-29  Marek Polacek  <polacek@redhat.com>
11329         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11330         (__fortify_function): New macro.
11331         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11332         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11333         __extern_always_inline.
11334         * libio/bits/stdio2.h: Likewise.
11335         * libio/bits/stdio.h: Likewise.
11336         * string/string.h: Likewise.
11337         * string/bits/string3.h: Likewise.
11338         * include/stdio.h: Likewise.
11339         * stdlib/bits/stdlib.h: Likewise.
11340         * stdlib/stdlib.h: Likewise.
11341         * rt/bits/mqueue2.h: Likewise.
11342         * rt/mqueue.h: Likewise.
11343         * posix/bits/unistd.h: Likewise.
11344         * posix/unistd.h: Likewise.
11345         * io/bits/poll2.h: Likewise.
11346         * io/bits/fcntl2.h: Likewise.
11347         * io/fcntl.h: Likewise.
11348         * io/sys/poll.h: Likewise.
11349         * misc/bits/syslog.h: Likewise.
11350         * misc/bits/syslog-ldbl.h: Likewise.
11351         * misc/sys/syslog.h: Likewise.
11352         * socket/bits/socket2.h: Likewise.
11353         * socket/sys/socket.h: Likewise.
11354         * debug/tst-chk1.c: Likewise.
11355         * wcsmbs/bits/wchar2.h: Likewise.
11356         * wcsmbs/bits/wchar-ldbl.h: Likewise.
11357         * wcsmbs/wchar.h: Likewise.
11359 2012-04-29  Andreas Jaeger  <aj@suse.de>
11361         * Makerules (tests): Remove enable-check-abi protection.
11362         (check-abi-warn): Remove.
11363         (check-abi-%): Remove check-abi-warn usage.
11365         * configure.in: Remove check-abi configure option.
11366         * configure: Regenerated.
11367         * config.make.in (enable-check-abi): Remove.
11369 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
11371         [BZ #14033]
11372         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11373         double functions to double *_finite functions.
11375         [BZ #13941]
11376         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11377         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11378         LDBL_MIN_EXP.
11379         * stdio-common/Makefile (tests): Add tst-sprintf3.
11380         * stdio-common/tst-sprintf3.c: New file.
11382         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11383         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11385 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
11387         * conform/conformtest.pl: Remove duplicate typed-constant
11388         handling.
11390 2012-04-28  David S. Miller  <davem@davemloft.net>
11392         * Makerules (%.abilist): Add vpath on sysdep_dirs.
11393         (check-abi-%): Remove AWK script prerequisite and explicit
11394         abilist directory.
11395         (check-abi): Rewrite to just diff the symlist with the abilist.
11396         (config-tls, config-abi-config): Delete, no longer used.
11397         (update-abi-%): Remove AWK script and explicit abilist directory.
11398         (update-abi): Rewrite to simply compare and conditionally copy the
11399         symlist and the sysdep abilist file.  Remove update-abi-config
11400         checks.
11401         * abilist/ld.abilist: Remove.
11402         * abilist/libBrokenLocale.abilist: Remove.
11403         * abilist/libanl.abilist: Remove.
11404         * abilist/libcrypt.abilist: Remove.
11405         * abilist/libdl.abilist: Remove.
11406         * abilist/librt.abilist: Remove.
11407         * abilist/libthread_db.abilist: Remove.
11408         * abilist/libutil.abilist: Remove.
11409         * scripts/extract-abilist.awk: Remove.
11410         * scripts/merge-abilist.awk: Remove.
11411         * sysdeps/generic/libcidn.abilist: New file.
11412         * sysdeps/generic/libnss_compat.abilist: New file.
11413         * sysdeps/generic/libnss_db.abilist: New file.
11414         * sysdeps/generic/libnss_dns.abilist: New file.
11415         * sysdeps/generic/libnss_files.abilist: New file.
11416         * sysdeps/generic/libnss_hesiod.abilist: New file.
11417         * sysdeps/generic/libnss_nis.abilist: New file.
11418         * sysdeps/generic/libnss_nisplus.abilist: New file.
11419         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11420         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11421         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11422         file.
11423         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11424         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11425         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11426         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11427         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11428         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11429         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11430         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11431         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11432         file.
11433         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11434         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11435         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11436         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11437         file.
11438         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11439         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11440         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11441         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11442         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11443         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11444         file.
11445         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11446         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11447         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11448         file.
11449         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11450         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11451         New file.
11452         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11453         New file.
11454         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11455         New file.
11456         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11457         New file.
11458         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11459         New file.
11460         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11461         New file.
11462         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11463         New file.
11464         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11465         New file.
11466         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11467         New file.
11468         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11469         New file.
11470         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11471         New file.
11472         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11473         New file.
11474         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11475         New file.
11476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11477         file.
11478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11479         New file.
11480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11481         New file.
11482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11483         file.
11484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11485         New file.
11486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11487         New file.
11488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11489         file.
11490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11491         New file.
11492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11493         New file.
11494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11495         New file.
11496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11497         New file.
11498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11499         New file.
11500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11501         New file.
11502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11504         file.
11505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11506         New file.
11507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11508         file.
11509         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11510         file.
11511         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11512         file.
11513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11514         file.
11515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11516         file.
11517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11518         New file.
11519         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11520         file.
11521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11522         file.
11523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11524         New file.
11525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11526         file.
11527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11528         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11529         file.
11530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11531         New file.
11532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11533         file.
11534         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11535         file.
11536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11537         file.
11538         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11539         file.
11540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11541         file.
11542         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11543         New file.
11544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11545         file.
11546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11547         file.
11548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11549         New file.
11550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11551         file.
11552         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11553         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11554         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11555         file.
11556         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11557         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11558         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11559         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11560         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11561         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11562         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11563         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11564         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11565         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11568         file.
11569         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11570         New file.
11571         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11572         file.
11573         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11574         file.
11575         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11576         file.
11577         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11578         file.
11579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11580         file.
11581         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11582         New file.
11583         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11584         New file.
11585         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11586         file.
11587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11588         New file.
11589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11590         file.
11591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11592         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11593         file.
11594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11595         New file.
11596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11597         file.
11598         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11599         file.
11600         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11601         file.
11602         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11603         file.
11604         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11605         file.
11606         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11607         New file.
11608         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11609         New file.
11610         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11611         file.
11612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11613         New file.
11614         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11615         file.
11617 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
11619         * conform/conformtest.pl: Fix typo in handling typed-constant from
11620         allow-header.
11622 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
11624         * README: Cut down references to pre-2.6 Linux kernels and
11625         Linuxthreads.  Update lists of configurations in libc and ports
11626         and sort alphabetically.  Say "or newer" with Linux kernel version
11627         requirements.
11629         * config.h.in [IS_IN_build]: Allow compiling without optimization.
11631 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11633         [BZ #887]
11634         * math/libm-test.inc (logb_test_downward): New test to expose
11635         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11636         rounding mode.
11638 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
11640         [BZ #14027]
11641         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11642         to be done.
11643         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11644         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11646 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
11648         * sysdeps/unix/i386/brk.S: Remove file.
11649         * sysdeps/unix/i386/dl-brk.S: Likewise.
11650         * sysdeps/unix/i386/pipe.S: Likewise.
11651         * sysdeps/unix/i386/sigreturn.S: Likewise.
11652         * sysdeps/unix/i386/syscall.S: Likewise.
11653         * sysdeps/unix/i386/vfork.S: Likewise.
11654         * sysdeps/unix/i386/wait.S: Likewise.
11656         * sysdeps/unix/common/tcsendbrk.c: Move to ...
11657         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11659         * configure.in (arm*-none*): Do not allow without
11660         --enable-hacker-mode.
11661         (netbsd*): Remove case setting base_os.
11662         (386bsd*): Likewise.
11663         (freebsd*): Likewise.
11664         (bsdi*): Likewise.
11665         (osf*): Likewise.
11666         (sunos*): Likewise.
11667         (ultrix*): Likewise.
11668         (newsos*): Likewise.
11669         (dynix*): Likewise.
11670         (*bsd*): Likewise.
11671         (sysv*): Likewise.
11672         (isc*): Likewise.
11673         (esix*): Likewise.
11674         (sco*): Likewise.
11675         (minix*): Likewise.
11676         (irix4*): Likewise.
11677         (irix6*): Likewise.
11678         (solaris[2-9]*): Likewise.
11679         (none): Likewise.
11680         * configure: Regenerated.
11682 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11684         [BZ #11521]
11685         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11686         overflow or cancellation in calculating denominator.
11687         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11688         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11689         down expression to avoid unexpected rounding in newer GCCs.
11690         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11692 2012-04-26  David S. Miller  <davem@davemloft.net>
11694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11695         long-double compat symbols.
11696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11710 2012-04-25  David S. Miller  <davem@davemloft.net>
11712         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11713         HWCAP_* values only after the memory barriers have been defined.
11714         (atomic_full_barrier): Define.
11715         (atomic_read_barrier): Define.
11716         (atomic_write_barrier): Define.
11718 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11720         * shlib-versions: Add libgcc_s version information.
11721         * sysdeps/generic/libgcc_s.h: Remove.
11722         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11723         libgcc_s.h.
11724         * sysdeps/gnu/unwind-resume.c: Likewise.
11725         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11727 2012-04-25  David S. Miller  <davem@davemloft.net>
11729         * sysdeps/unix/sparc/brk.S: Delete.
11730         * sysdeps/unix/sparc/dl-brk.S: Delete.
11731         * sysdeps/unix/sparc/pipe.S: Delete.
11732         * sysdeps/unix/sparc/sysdep.S: Delete.
11733         * sysdeps/unix/sparc/sysdep.h: Delete.
11734         * sysdeps/unix/sparc/vfork.S: Delete.
11735         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11736         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11737         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11738         ret_ERRVAL, r0, r1, MOVE): Define.
11739         (JUMPTARGET): Remove.
11740         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11741         sysdeps/unix/sparc/sysdep.h
11742         (ENTRY, END): Remove.
11743         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11745 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
11747         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11748         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11749         -DIS_IN_build.
11751         * timezone/README: Update upstream location and email address for
11752         tzcode and tzdata.
11753         * timezone/zdump.c: Update from tzcode 2012b.
11754         * timezone/zic.c: Likewise.
11756         * configure.in (libc_cv_as_needed): Remove test.
11757         * configure: Regenerated.
11758         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11759         conditional definition.
11760         [$(have-as-needed) != yes] (no-as-needed): Likewise.
11761         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11762         * config.make.in (have-as-needed): Remove variable.
11764 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11765             Paul Pluzhnikov  <ppluzhnikov@google.com>
11767         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11768         strings correctly.
11770 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
11772         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11773         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11774         * sysdeps/sh/strlen.S: Likewise.
11776 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11778         * sysdeps/unix/fork.S: Remove file.
11779         * sysdeps/unix/i386/fork.S: Likewise.
11780         * sysdeps/unix/sparc/fork.S: Likewise.
11782         * sysdeps/unix/system.c: Remove file.
11783         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11785         * sysdeps/unix/getegid.S: Remove file.
11786         * sysdeps/unix/geteuid.S: Likewise.
11788 2012-04-24  Roland McGrath  <roland@hack.frob.com>
11790         * scripts/check-localplt.awk: New file.
11791         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11792         of diff.
11793         * scripts/data/localplt-generic.data: Add a comment.
11795         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11796         NODE when __dir_mkfile failed.
11797         * sysdeps/mach/hurd/symlinkat.c: Likewise.
11798         Reported by Ludovic Courtès <ludo@gnu.org>.
11800 2012-04-24  Andreas Jaeger  <aj@suse.de>
11802         * Makerules (common-clean): Also remove gen-as-const-headers
11803         files.
11805 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11807         * Makerules (native-compile): Do not change working directory for
11808         build.  Use $(OUTPUT_OPTION) in command.
11809         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11811 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11813         [BZ #13886]
11814         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11815         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11816         * math/libm-test.inc (floor_test): Add more tests.
11817         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11819 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
11821         * sysdeps/unix/getdents.c: Remove file.
11822         * sysdeps/unix/sysv/getdents.c: Likewise.
11823         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11825         * sysdeps/unix/syscalls.list (madvise): Add syscall from
11826         sysdeps/unix/mman/syscalls.list.
11827         (mmap): Likewise.
11828         (mprotect): Likewise.
11829         (msync): Likewise.
11830         (munmap): Likewise.
11831         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11832         * sysdeps/unix/mman/syscalls.list: Remove.
11833         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11835         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11836         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11837         * configure: Regenerated.
11838         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11839         $(libgcc_s_suffix).
11840         * config.make.in (libgcc_s_suffix): Remove variable.
11842 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
11844         * sysdeps/unix/sysv/gethostname.c: Move to ...
11845         * sysdeps/posix/gethostname.c: ... here.
11847         * sysdeps/unix/execve.S: Remove file.
11849         * sysdeps/unix/_exit.S: Remove file.
11851 2012-04-23  Andreas Jaeger  <aj@suse.de>
11853         [BZ #13739]
11854         * manual/Makefile: Remove make dist support, there's no
11855         need for a stand-alone documentation tar ball.
11856         (TEXI2DVI): Define always, it's not in Makeconfig.
11857         (dist): Removed.
11858         (tar-it): Removed.
11859         (edition): Removed.
11860         (glibc-doc-$(edition).tar): Removed
11861         (%.Z): Removed.
11862         (%.gz): Removed.
11863         (%.uu): Removed.
11864         (ETAGS): Remove, it's in Makeconfig.
11865         (move-if-change): Remove, it's in Makeconfig.
11867 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
11869         [BZ #13970]
11870         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11871         (strtod, strtof, strtold, strtol, strtoul, strtoq)
11872         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11873         (strtod_l, strtof_l, strtold_l): Remove __wur.
11874         It is not necessarily an error to ignore strtol's return value.
11875         One can reliably look at the stored endptr to decide whether
11876         the number had valid syntax.
11878 2012-04-21  Andreas Jaeger  <aj@suse.de>
11880         [BZ #13739]
11881         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11883 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
11885         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11886         * sysdeps/unix/sysv/Versions: Remove file.
11888 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
11890         [BZ #13927]
11891         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11893 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
11895         [BZ #7064]
11896         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11897         version from __vm86.
11899 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
11901         * sysdeps/unix/common/lxstat.c: Remove file.
11902         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11904         * sysdeps/unix/sysv/Makefile: Remove file.
11906         * sysdeps/unix/sysv/direct.h: Remove file.
11908         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11909         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11910         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11911         * sysdeps/unix/sysv/bits/signum.h: Likewise.
11912         * sysdeps/unix/sysv/bits/stat.h: Likewise.
11913         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11914         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11916         * sysdeps/unix/sysv/setrlimit.c: Remove file.
11918         * sysdeps/unix/xmknod.c: Remove file.
11919         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11921         * sysdeps/unix/sysv/settimeofday.c: Remove file.
11923         * sysdeps/unix/sysv/i386/time.S: Remove file.
11925         * sysdeps/unix/fxstat.c: Remove file.
11926         * sysdeps/unix/xstat.c: Likewise.
11927         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11929         * sysdeps/unix/sysv/sigaction.c: Remove file.
11931         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11932         (sysdep_headers): Remove variable.
11933         [termio.h not in sysdep_headers] (generated): Likewise.
11934         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11935         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11936         * sysdeps/unix/sysv/tcdrain.c: Likewise.
11937         * sysdeps/unix/sysv/tcflow.c: Likewise.
11938         * sysdeps/unix/sysv/tcflush.c: Likewise.
11939         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11940         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11941         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11942         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11943         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11945         * sysdeps/unix/siglist.c: Remove file.
11947         * sysdeps/unix/getppid.S: Remove file.
11949         * sysdeps/unix/mkdir.c: Remove file.
11950         * sysdeps/unix/rmdir.c: Likewise.
11952 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
11954         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11955         ERR_MAX value.
11956         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11957         errlist-compat value.
11959 2012-04-18  David S. Miller  <davem@davemloft.net>
11961         * sysdeps/generic/memcopy.h (reg_char): Delete.
11962         * debug/strcat_chk.c: Use char, not reg_char.
11963         * debug/strcpy_chk.c: Likewise.
11964         * debug/strncat_chk.c: Likewise.
11965         * debug/strncpy_chk.c: Likewise.
11966         * string/memchr.c: Likewise.
11967         * string/memrchr.c: Likewise.
11968         * string/rawmemchr.c: Likewise.
11969         * string/strcat.c: Likewise.
11970         * string/strchr.c: Likewise.
11971         * string/strchrnul.c: Likewise.
11972         * string/strcmp.c: Likewise.
11973         * string/strcpy.c: Likewise.
11974         * string/strncat.c: Likewise.
11975         * string/strncmp.c: Likewise.
11976         * string/strncpy.c: Likewise.
11978 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11980         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11981         __builtin_memcopy is called when src and dest ranges are known to not
11982         overlap.
11984 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11986         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11987         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11988         fwd_align_merge macro call.
11989         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11990         bwd_align_merge macro call.
11991         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11993 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
11995         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11996         bwd_align_merge macros.
11997         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11998         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11999         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12001 2012-04-18  David S. Miller  <davem@davemloft.net>
12003         * sysdeps/sparc/sparc64/memcopy.h: Delete.
12005 2012-04-18  Andreas Jaeger  <aj@suse.de>
12007         [BZ# 6794]
12008         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12009         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12010         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12012         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12013         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12014         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12016         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12017         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12018         Adjust for changed ldbl-128 files.
12020         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12021         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12022         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12024 2012-04-17  David S. Miller  <davem@davemloft.net>
12026         * sysdeps/sparc/sparc32/memcopy.h: Delete.
12028 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
12030         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12031         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12032         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12033         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12034         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12035         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12037 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12039         [BZ #6794]
12040         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12041         * math/libm-test.inc: Add ilogb errno and exception tests.
12042         * math/w_ilogb.c: New file: ilogb wrapper.
12043         * math/w_ilogbf.c: New file: ilogbf wrapper.
12044         * math/w_ilogbl.c: New file: ilogbl wrapper.
12045         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12046         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12047         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12048         exception being thrown with 0.0 as argument.
12049         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12050         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12051         exception being thrown with 0.0 as argument.
12052         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12053         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12054         exception being thrown with 0.0 as argument.
12055         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12056         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12057         exception being thrown with 0.0 as argument.
12058         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12059         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
12060         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
12061         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12062         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12063         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12064         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12065         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12066         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12068 2012-04-17  Petr Baudis  <pasky@ucw.cz>
12070         * include/sys/uio.h: Change __vector to __iovec to avoid clash
12071         with altivec.
12073 2012-04-16  Marek Polacek  <polacek@redhat.com>
12075         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12077 2012-04-16  Marek Polacek  <polacek@redhat.com>
12079         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12080         operands of fdivp instruction.
12082 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
12084         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12085         * elf/tst-auditmod3b.c: Likewise.
12086         * elf/tst-auditmod4b.c: Likewise.
12087         * elf/tst-auditmod5b.c: Likewise.
12088         * elf/tst-auditmod6b.c: Likewise.
12089         * elf/tst-auditmod6c.c: Likewise.
12090         * elf/tst-auditmod7b.c: Likewise.
12091         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12092         * sysdeps/x86_64/preconfigure.in: Likewise.
12093         * sysdeps/x86_64/preconfigure: Regenerated.
12095 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
12097         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12098         __ILP32__.
12100 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
12102         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12103         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12105 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
12107         [BZ #13973]
12108         * locale/iso-639.def: Fix gl language name. Spotted by
12109         Yaron Shahrabani.
12111 2012-04-12  Roland McGrath  <roland@hack.frob.com>
12113         [BZ #2074]
12114         * libio/libio.h (__io_write_fn): Update comment.
12116 2012-04-12  Petr Baudis  <pasky@ucw.cz>
12118         [BZ #2074]
12119         * stdio.texi (Hook Functions): The user provided writer function
12120         is not allowed to return -1.
12122 2012-04-11  David S. Miller  <davem@davemloft.net>
12124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12126 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
12128         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12129         Add a leading slash to rtkaio.
12131 2012-04-11  Jim Meyering  <meyering@redhat.com>
12133         [BZ #11959]
12134         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12135         It is not necessarily an error to ignore fwrite's return
12136         value.  One can reliably use ferror to test for errors after
12137         the fact.
12139 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
12141         * bits/types.h (__snseconds_t): New type.
12142         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12144         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12145         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12146         (__SNSECONDS_T_TYPE): Likewise.
12147         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12148         (__SNSECONDS_T_TYPE): Likewise.
12149         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12150         (__SNSECONDS_T_TYPE): Likewise.
12152 2012-04-10  Andreas Jaeger  <aj@suse.de>
12154         [BZ #2636]
12155         * manual/time.texi (Processor Time): Return type of times is
12156         elapsed real time since an arbitrary point in the past.
12157         (CPU Time): Move CLK_TCK from here...
12158         (Processor Time): ...to here.  Correct description.
12159         * manual/conf.texi (Constants for Sysconf): Correct description of
12160         _SC_CLK_TCK.
12162 2012-04-10  David S. Miller  <davem@davemloft.net>
12164         [BZ #13967]
12165         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12166         where the is a gap between DT_REL(A) and DT_JMPREL.
12168 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
12170         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12171         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12172         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12174 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12176         * elf/dl-support.c (_dl_inhibit_cache): New variable.
12177         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12178         (dl_main): Handle --inhibit-cache.
12179         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12180         _dl_inhibit_cache.
12181         * elf/dl-load.c (_dl_map_object): Use it.
12182         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12184 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
12186         [BZ #13872]
12187         * sysdeps/i386/fpu/e_powl.S (p78): New object.
12188         (__ieee754_powl): Saturate large exponents rather than testing for
12189         overflow of y*log2(x).
12190         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12191         * math/libm-test.inc (pow_test): Do not permit spurious overflow
12192         exceptions.
12194         [BZ #11521]
12195         * math/s_ctan.c: Include <float.h>.
12196         (__ctan): Avoid internal overflow or cancellation in calculating
12197         denominator.
12198         * math/s_ctanf.c: Likewise.
12199         * math/s_ctanl.c: Likewise.
12200         * math/s_ctanh.c: Likewise.
12201         * math/s_ctanhf.c: Likewise.
12202         * math/s_ctanhl.c: Likewise.
12203         * math/libm-test.inc (ctan_test): Add more tests.
12204         (ctanh_test): Likewise.
12205         * sysdeps/i386/fpu/libm-test-ulps: Update.
12206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12208 2012-04-09  Andreas Jaeger  <aj@suse.de>
12210         [BZ #6894]
12211         * manual/filesys.texi (Directory Entries): Mention that d_namlen
12212         is an optional BSD extension.
12214         [BZ #10254]
12215         * manual/stdio.texi (Opening Streams): Document additional fopen
12216         parameters.
12218 2012-04-09  Roland McGrath  <roland@hack.frob.com>
12220         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12221         %eax without telling the compiler.
12223 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
12225         [BZ # 13963]
12226         * manual/install.texi: Use sourceware.org.
12228 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
12230         [BZ #13873]
12231         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12232         (__ieee754_pow): Generate overflow and underflow using huge*huge
12233         and tiny*tiny rather than just returning constant infinity or zero
12234         for large exponents.
12235         * math/libm-test.inc (pow_test): Require overflow exceptions for
12236         applicable cases of large exponents.
12238         [BZ #706]
12239         * sysdeps/i386/fpu/e_pow.S (p10): New object.
12240         (__ieee754_pow): Use iterative multiplication algorithm only for
12241         integer exponents with absolute value below 1024.  Check for odd
12242         integer exponents when using algorithm for real exponents.
12243         * math/libm-test.inc (pow_test): Add more tests.
12244         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12246 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
12248         [BZ #13705]
12249         * math/libm-test.inc (exp_test): Do not allow overflow exception
12250         on underflow test.
12252 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
12254         [BZ #13705]
12255         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12256         instead of __kernel_standard_f.
12258 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
12260         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12261         * sysdeps/x86_64/memset_chk.S: Likewise.
12263 2012-04-08  Andreas Jaeger  <aj@suse.de>
12265         [BZ #10153]
12266         * manual/startup.texi (Environment Access): Describe return value
12267         for putenv and setenv.
12269         [BZ #6895]
12270         * manual/filesys.texi (Directory Entries): Add description for
12271         DT_LNK.
12273         [BZ #6890]
12274         * manual/filesys.texi (Directory Entries): Clarify that it's file
12275         system not operating system in the description of DT_UNKNOWN.
12277         [BZ #6578]
12278         * manual/syslog.texi (closelog): Fix reference, it's openlog.
12280 2012-04-08  Stephen Compall  <s11@member.fsf.org>
12282         [BZ #6649]
12283         * manual/llio.texi (Opening and Closing Files): Add cross
12284         reference to explain mode argument.
12286 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
12288         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12289         * sysdeps/x86_64/memset_chk.S: Likewise.
12291 2012-04-07  David S. Miller  <davem@davemloft.net>
12293         * elf/elf.h (R_SPARC_WDISP10): Define.
12294         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12295         R_SPARC_SIZE32.
12296         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12297         R_SPARC_SIZE64 and R_SPARC_H34.
12299 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
12301         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12302         conditions and remove no longer applicable assertion.
12304 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
12306         * bits/byteswap.h: Include <features.h>.
12307         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12308         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12310 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
12312         * bits/byteswap.h (__bswap_16): Removed.
12313         Include <bits/byteswap-16.h> to get __bswap_16.
12314         * sysdeps/i386/bits/byteswap.h: Likewise.
12315         * sysdeps/s390/bits/byteswap.h: Likewise.
12316         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12317         * bits/byteswap-16.h: New file.
12318         * sysdeps/i386/bits/byteswap-16.h: Likewise.
12319         * sysdeps/s390/bits/byteswap-16.h: Likewise.
12320         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12321         * string/Makefile (headers): Add bits/byteswap-16.h.
12323 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12325         [BZ #13895]
12326         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12327         extra indirection.
12328         * nss/Makefile (tests-static, tests): Add tst-nss-static.
12329         * nss/tst-nss-static.c: New.
12331 2012-04-06  Robert Millan  <rmh@gnu.org>
12333         [BZ #6486]
12334         * manual/llio.texi (File Position Primitive): lseek
12335         refers to WHENCE when it really means OFFSET.
12337 2012-04-06  Andreas Jaeger  <aj@suse.de>
12339         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12340         strncmp declarations.
12342         * abilist/libc.abilist: Add __poll and __ppoll.
12344 2012-04-05  David S. Miller  <davem@davemloft.net>
12346         * scripts/check-local-headers.sh: Accept a host triplet in the
12347         path matched by the exclude regexp.
12349         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12350         definition.
12351         * sysdeps/powerpc/powerpc32/dl-machine.h
12352         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12353         * sysdeps/s390/s390-32/dl-machine.h
12354         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12355         * sysdeps/sparc/sparc32/dl-machine.h
12356         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12357         * sysdeps/sparc/sparc64/dl-machine.h
12358         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12360         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12361         lazy binding.
12362         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
12363         undefined symbol errors.
12365         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
12366         DT_NEEDED entries.
12368 2012-04-05  Michael Matz  <matz@suse.de>
12370         [BZ #13592]
12371         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12373 2012-04-05  Andreas Jaeger  <aj@suse.de>
12375         [BZ #13908]
12376         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12377         comment.
12379 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12381         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12382         which ROUND is no valid rounding mode.
12384 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12386         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12387         read again.
12388         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12390 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12392         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12393         an exception using FPU order intentionally.
12395 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
12397         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12398         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12399         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12400         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12402 2012-04-05  Simon Josefsson  <simon@josefsson.org>
12404         [BZ #12340]
12405         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12406         EINVAL when BUFLEN is too smal.
12408 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
12410         [BZ #13553]
12411         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12412         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12414 2012-04-03  Andreas Jaeger  <aj@suse.de>
12416         [BZ #13938]
12417         * manual/setjmp.texi (System V contexts): Fix sentence.
12419         [BZ #13926]
12420         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12421         New macro for this case.
12422         [!__GNUC__] (__bswap_64): New inline function for this case.
12423         * sysdeps/x86_64/bits/byteswap.h: Likewise.
12424         * bits/byteswap.h: Likewise.
12425         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12426         ull, guard with __GLIBC_HAVE_LONG_LONG.
12428         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12429         __GLIBC_HAVE_LONG_LONG.
12431         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12432         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12434 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12436         [BZ #13691]
12437         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12438         inptr and inend, rather than using last_ch.
12440 2012-04-02  David S. Miller  <davem@davemloft.net>
12442         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12443         * stdio-common/printf-parse.h (read_int): Change return type to
12444         'int', return -1 on INT_MAX overflow.
12445         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12446         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
12447         overflows INT_MAX.  Check for overflow of in-format-string precision
12448         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
12449         SIZE_MAX not INT_MAX for integer overflow test.
12450         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12451         skip the construct in the format string but do not record anything.
12452         * stdio-common/bug22.c: Adjust to test both width/prevision
12453         INT_MAX overflow as well as total length INT_MAX overflow.  Check
12454         explicitly for proper errno values.
12456 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
12458         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12459         CHAR_MAX.
12460         * string/test-strcmp.c [! WIDE]: Likewise.
12461         * time/tst-mktime2.c: Likewise for INT_MAX.
12462         * string/test-string.h: #include <sys/param.h> for MIN.
12464         * csu/init-first.c (__libc_init_first): Call __ctype_init.
12465         * sysdeps/i386/init-first.c (init): Likewise.
12466         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12467         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12468         * sysdeps/sh/init-first.c (init): Likewise.
12470 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
12472         * po/ru.po: Update from translation team.
12473         * po/vi.po: Likewise.
12475 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12477         * resolv/nss_dns/dns-host.c: Merge copyright years.
12479 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12481         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12482         Optimize memcpy with prefetch if
12483         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
12484         src, dst pointers have unequal 16 byte alignments.
12486 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12488         [BZ #13928]
12489         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12490         from a CNAME entry and return the minimum ttl for the query.
12491         (gaih_getanswer_slice): Likewise.
12493 2012-03-30  Jeff Law  <law@redhat.com>
12495         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12496         due to long keys.
12497         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12498         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12500         * resolv/nss_dns/dns-host.c: Update copyright year.
12502 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
12504         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
12505         requests to save a system call.  Fix check that all bytes are sent.
12507         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12508         comments for sendmmsg.
12510 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12512         [BZ #13691]
12513         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12514         with only 1 character between 0x0041 and 0x01b0.
12515         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12516         * wcsmbs/tst-mbsnrtowcs.c: New file.
12518 2012-03-29  David S. Miller  <davem@davemloft.net>
12520         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12521         small copies by hand.
12523 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12525         [BZ #13761]
12526         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12527         _nss_compat_initgroups_dyn): Fall back to malloc/free
12528         for large group memberships.
12530 2012-03-28  David S. Miller  <davem@davemloft.net>
12532         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12533         that branches into memcpy.
12534         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12535         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12536         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12537         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12538         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12539         bits.
12540         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12541         implementation too.
12542         * sysdeps/sparc/mempcpy.S: New file.
12544         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12545         the IFUNC routine in the libc case.
12546         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12548         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12549         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12550         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12551         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12552         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12553         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12554         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12555         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12557         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12558         loop to 256 bytes instead of 64 bytes and fix test signedness.
12560         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12561         * sysdeps/sparc/sparc32/Makefile: rather than here...
12562         * sysdeps/sparc/sparc64/Makefile: and here.
12564 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
12566         * malloc/mallocbug.c: Avoid warnings about unused variables.
12568 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12570         [BZ #13760]
12571         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12572         in the right place. Discard and retry query if response is
12573         larger than input buffer size.
12575 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
12577         [BZ #369]
12578         [BZ #2678]
12579         [BZ #3866]
12580         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12581         x for large integer exponent.
12582         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12583         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
12584         sign of result as needed afterwards.
12585         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12586         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12587         result for underflowing pow the same as for overflow.
12588         (__kernel_standard_l): Handle powl overflow and underflow here
12589         rather than calling __kernel_standard.
12590         * math/libm-test.inc (pow_test): Add more tests.
12592         [BZ #3868]
12593         [BZ #13879]
12594         [BZ #13910]
12595         [BZ #13911]
12596         [BZ #13912]
12597         [BZ #13913]
12598         [BZ #13915]
12599         [BZ #13916]
12600         [BZ #13917]
12601         [BZ #13918]
12602         [BZ #13919]
12603         [BZ #13920]
12604         [BZ #13921]
12605         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12606         * sysdeps/ieee754/k_standard.c: Include <float.h>.
12607         (__kernel_standard_l): New function.
12608         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12609         __kernel_standard.
12610         * math/w_acosl.c (__acosl): Likewise.
12611         * math/w_asinl.c (__asinl): Likewise.
12612         * math/w_atan2l.c (__atan2l): Likewise.
12613         * math/w_atanhl.c (__atanhl): Likewise.
12614         * math/w_coshl.c (__coshl): Likewise.
12615         * math/w_exp10l.c (__exp10l): Likewise.
12616         * math/w_exp2l.c (__exp2l): Likewise.
12617         * math/w_fmodl.c (__fmodl): Likewise.
12618         * math/w_hypotl.c (__hypotl): Likewise.
12619         * math/w_j0l.c (__j0l, __y0l): Likewise.
12620         * math/w_j1l.c (__j1l, __y1l): Likewise.
12621         * math/w_jnl.c (__jnl, __ynl): Likewise.
12622         * math/w_lgammal.c (__lgammal): Likewise.
12623         * math/w_log10l.c (__log10l): Likewise.
12624         * math/w_log2l.c (__log2l): Likewise.
12625         * math/w_logl.c (__logl): Likewise.
12626         * math/w_powl.c (__powl): Likewise.
12627         * math/w_remainderl.c (__remainderl): Likewise.
12628         * math/w_scalbl.c (sysv_scalbl): Likewise.
12629         * math/w_sinhl.c (__sinhl): Likewise.
12630         * math/w_sqrtl.c (__sqrtl): Likewise.
12631         * math/w_tgammal.c (__tgammal): Likewise.
12632         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12633         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12634         * math/libm-test.inc (acos_test): Add more tests.
12635         (acosh_test): Likewise.
12636         (asin_test): Likewise.
12637         (atanh_test): Likewise.
12638         (exp_test): Likewise.
12639         (exp10_test): Likewise.
12640         (exp2_test): Likewise.
12641         (expm1_test): Likewise.
12642         (lgamma_test): Likewise.
12643         (log_test): Likewise.
12644         (log10_test): Likewise.
12645         (log1p_test): Likewise.
12646         (log2_test): Likewise.
12647         (pow_test): Do not allow some spurious overflow exceptions.
12648         (sqrt_test): Add more tests.
12649         (tgamma_test): Likewise.
12650         (y0_test): Likewise.
12651         (y1_test): Likewise.
12652         (yn_test): Likewise.
12654 2012-03-27  Anton Blanchard  <anton@samba.org>
12656         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12657         MAP_HUGETLB.
12658         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12659         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12660         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12662 2012-03-27  David S. Miller  <davem@davemloft.net>
12664         * conform/Makefile: Run run-conformtest.sh using $(BASH).
12666         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12667         have-as-vis3 check.
12669 2012-03-27  Andreas Jaeger  <aj@suse.de>
12671         * sysdeps/x86_64/elf/configure.in: Moved to ...
12672         * sysdeps/x86_64/configure.in: ... here.
12673         * sysdeps/x86_64/elf/start.S: Moved to ...
12674         * sysdeps/x86_64/start.S: ... here.
12675         * sysdeps/x86_64/elf/configure: Delete.
12677         * sysdeps/x86_64/configure.in: Merge contents from
12678         sysdeps/i386/configure.in (without i686 check).
12680         * sysdeps/i386/elf/Versions: Merge into ...
12681         * sysdeps/i386/Versions: ... this.
12682         * sysdeps/i386/elf/Versions: Delete file.
12683         * sysdeps/i386/elf/start.S: Moved to ...
12684         * sysdeps/i386/start.S: ...here.
12685         * sysdeps/i386/elf/configure.in: Merge into...
12686         * sysdeps/i386/configure.in: ...here.
12687         * sysdeps/i386/elf/configure.in: Delete file.
12688         * sysdeps/i386/elf/configure: Delete file.
12690         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12691         * debug/backtracesyms.c: ... here.
12692         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12693         * debug/backtracesymsfd.c: ... here.
12694         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12695         * sysdeps/generic/ifunc-sel.h: ... here.
12697         * sysdeps/unix/i386/start.c: Delete file.
12698         * sysdeps/unix/sparc/start.c: Delete file.
12699         * sysdeps/unix/start.c: Delete file.
12701         * sysdeps/sh/elf/configure.in: Moved to ...
12702         * sysdeps/sh/configure.in: ... here.
12703         * sysdeps/sh/elf/start.S: Moved to ...
12704         * sysdeps/sh/start.S: ... here.
12705         * sysdeps/sh/elf/configure: Delete file.
12707         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12708         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12709         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12710         * sysdeps/powerpc/powerpc64/entry.h: ... here.
12711         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12712         * sysdeps/powerpc/powerpc64/start.S: here.
12713         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12714         * sysdeps/powerpc/powerpc64/Makefile: ... this.
12715         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12716         * sysdeps/powerpc/powerpc64/configure.in: ... this.
12717         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12719         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12720         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12721         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12722         * sysdeps/powerpc/powerpc32/start.S: ... here.
12723         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12724         * sysdeps/powerpc/powerpc32/configure.in: ... this.
12725         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12727         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12728         * sysdeps/powerpc/ifunc-sel.h: ... here.
12729         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12730         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12732         * sysdeps/sparc/elf/configure.in: Moved to ...
12733         * sysdeps/sparc/configure.in: ... here.
12734         * sysdeps/sparc/elf/configure: Delete file.
12735         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12736         * sysdeps/sparc/sparc32/start.S: ... here.
12737         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12738         * sysdeps/sparc/sparc64/start.S: ... here.
12739         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12740         * sysdeps/sparc/sparc32/Makefile: ... this.
12741         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12742         * sysdeps/sparc/sparc64/Makefile: ... this.
12744         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12745         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12746         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12747         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12748         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12749         * sysdeps/s390/s390-32/setjmp.S: ... here.
12750         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12751         * sysdeps/s390/s390-32/configure.in: ... here.
12752         * sysdeps/s390/s390-32/elf/configure: Delete file.
12753         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12754         * sysdeps/s390/s390-32/start.S: ... here.
12756         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12757         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12758         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12759         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12760         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12761         * sysdeps/s390/s390-64/setjmp.S: ... here.
12762         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12763         * sysdeps/s390/s390-64/configure.in: ... here
12764         * sysdeps/s390/s390-64/elf/configure: Delete file.
12765         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12766         * sysdeps/s390/s390-64/start.S: ... here.
12767         * sysdeps/s390/s390-64/elf/configure: Delete.
12769         * configure.in: Remove support for elf directories in sysdeps.
12771         * configure: Regenerated.
12772         * sysdeps/i386/configure: Regenerated.
12773         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12774         * sysdeps/powerpc/powerpc64/configure: Regenerated.
12775         * sysdeps/s390/s390-32/configure: Regenerated.
12776         * sysdeps/s390/s390-64/configure: Regenerated.
12777         * sysdeps/sh/configure: Regenerated.
12778         * sysdeps/sparc/configure: Regenerated.
12779         * sysdeps/x86_64/configure: Regenerated.
12781 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
12783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12785         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12786         denormal result into account.
12788 2012-03-25  Roland McGrath  <roland@hack.frob.com>
12790         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12791         Reported by Allan McRae <allan@archlinux.org>.
12793 2012-03-23  Jeff Law  <law@redhat.com>
12795         * nss/getnssent.c (__nss_getent): Fix typo.
12797 2012-03-23  David S. Miller  <davem@davemloft.net>
12799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12801 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
12803         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12804         to pad to uint64_t for each field.
12805         (dl_tls_index): Replace unsigned long with uint64_t.
12807 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
12808         Paul Pluzhnikov  <ppluzhnikov@google.com>
12810         [BZ #6528]
12811         * grp/Makefile (otherlibs): Don't set it.
12812         * inet/Makefile (otherlibs): Likewise.
12813         * login/Makefile (otherlibs): Likewise.
12814         * nscd/Makefile (otherlibs): Likewise.
12815         * posix/Makefile (otherlibs): Likewise.
12816         * pwd/Makefile (otherlibs): Likewise.
12817         * rt/Makefile (otherlibs): Likewise.
12818         * sunrpc/Makefile (otherlibs): Likewise.
12819         * nss/Makefile (otherlibs): Likewise.
12820         Add libnss_files to routines and static-only-routines.
12821         ($(objpfx)getent): Remove rule.
12822         * resolv/Makefile: Add libnss_dns and libresolv to routines and
12823         static-only-routines.
12825 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
12827         [BZ #13892]
12828         * math/s_cexp.c: Include <float.h>.
12829         (__cexp): Handle exp result overflowing not necessarily
12830         overflowing both real and imaginary parts of result.
12831         * math/s_cexpf.c: Likewise.
12832         * math/s_cexpl.c: Likewise.
12833         * math/libm-test.inc (cexp_test): Add more tests.
12834         * sysdeps/i386/fpu/libm-test-ulps: Update.
12835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12837 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12839         * include/link.h (ELFW): New macro.
12840         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12841         Replace ELF64_R_TYPE with ELFW(R_TYPE).
12843 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12845         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12846         with uint64_t.
12848 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12850         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12851         declaration.
12852         (struct La_x32_retval): Likewise.
12854 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12856         * sysdeps/x86_64/preconfigure.in: New file.
12857         * sysdeps/x86_64/preconfigure: New generated file.
12859 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
12861         [BZ #13824]
12862         * math/e_exp2l.c: Include <float.h>.
12863         (__ieee754_exp2l): Handle overflow and underflow cases
12864         separately.  Only pass fractional part of argument to
12865         __ieee754_expl.
12866         * math/libm-test.inc (exp2_test): Add more tests.
12868         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12869         negating x to take absolute value.
12870         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12871         Likewise.
12872         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12873         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12874         Likewise.
12875         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12876         computing low part if x was negated.
12877         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12879 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12881         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12882         la_x32_gnu_pltexit.
12883         (pltexit): Cast int_retval to ptrdiff_t.
12884         * elf/tst-auditmod3b.c: Likewise.
12885         * elf/tst-auditmod4b.c: Likewise.
12886         * elf/tst-auditmod5b.c: Likewise.
12887         * elf/tst-auditmod6b.c: Likewise.
12888         * elf/tst-auditmod6c.c: Likewise.
12889         * elf/tst-auditmod7b.c: Likewise.
12891         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12892         and x32_gnu_pltexit.
12894         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12895         __ELF_NATIVE_CLASS.
12896         (La_x32_regs): New macro.
12897         (La_x32_retval): Likewise.
12898         (la_x32_gnu_pltenter): New function prototype.
12899         (la_x32_gnu_pltexit): Likewise.
12901 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
12903         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12904         exponent.
12906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12908         * configure.in (libc_cv_cc_nofma): Check for option to disable
12909         generation of FMA instructions.
12910         * configure: Regenerate.
12911         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12912         * sysdeps/ieee754/dbl-64/Makefile: New file.
12913         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12914         Remove brandred-fma4.
12915         (CFLAGS-brandred-fma4.c): Remove.
12916         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12917         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12918         define.
12919         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12920         define.
12922 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12924         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12925         LLONG_MAX != LONG_MAX.
12926         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12927         (_fitoa_word): Likewise.
12928         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12929         LLONG_MAX != LONG_MAX.
12930         * stdio-common/_itowa.h: Include <_itoa.h>.
12931         (_itowa_word): Use _ITOA_WORD_TYPE on value.
12932         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
12933         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
12934         only if not defined.
12935         (_ITOA_WORD_TYPE): Likewise.
12936         (_itoa_word): Use _ITOA_WORD_TYPE on value.
12937         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12939 2012-03-21  David S. Miller  <davem@davemloft.net>
12941         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12943 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12945         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12946         of x86_64 when setting libc_cv_slibdir, libdir and
12947         libc_cv_localedir.
12948         * sysdeps/unix/sysv/linux/configure: Regenerated.
12950 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
12952         * manual/lang.texi (Old Varargs): Remove section.
12953         (How Variadic): Update menu.
12954         (va_start): Do not mention varargs.h.
12956 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12957             Joseph Myers  <joseph@codesourcery.com>
12959         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12960         link test.
12961         * configure: Regenerated.
12963 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
12965         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12966         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12967         conformtest.pl
12969 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
12971         * NOTES: Remove.
12972         * Makefile (files-for-dist): Remove NOTES.
12973         (NOTES): Remove rule.
12974         * README: Don't refer to NOTES.
12975         * manual/creature.texi: Don't include macros.texi.
12976         * manual/intro.texi (creature.texi): Remove comment referring to
12977         NOTES.
12979         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12980         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12981         * configure: Regenerated.
12982         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12983         LIBC_TRY_CC_OPTION.
12984         (libc_cv_as_i686): Likewise.
12985         (libc_cv_cc_avx): Likewise.
12986         (libc_cv_cc_sse2avx): Likewise.
12987         (libc_cv_cc_fma4): Likewise.
12988         (libc_cv_cc_novzeroupper): Likewise.
12989         * sysdeps/i386/configure: Regenerated.
12991         [BZ #13883]
12992         * sysdeps/i386/fpu/s_cexp.S: Remove.
12993         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12994         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12995         * math/libm-test.inc (cexp_test): Add more tests.
12996         * sysdeps/i386/fpu/libm-test-ulps: Update.
12997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12999 2012-03-21  Allan McRae  <allan@archlinux.org>
13001         * timezone/Makefile: Do not install iso3166.tab and zone.tab
13003 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
13005         [BZ #13871]
13006         * math/w_exp2.c: Do not include <float.h>.
13007         (o_threshold, u_threshold): Remove.
13008         (__exp2): Calculate result before checking finiteness and calling
13009         __kernel_standard.
13010         * math/w_exp2f.c: Likewise.
13011         * math/w_exp2l.c: Likewise.
13012         * math/libm-test.inc (exp2_test): Require overflow exception for
13013         1e6 input.
13015         [BZ #3866]
13016         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13017         range of signed 64-bit integers before using fistpll.  Remove
13018         checks for whether integers fit in mantissa bits.
13019         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13020         the range of signed 32-bit integers before using fistpl.  Remove
13021         checks for whether integers fit in mantissa bits.
13022         * sysdeps/i386/fpu/e_powl.S (p64): New object.
13023         (__ieee754_powl): Test for y outside the range of signed 64-bit
13024         integers before using fistpll.  Reduce 64-bit values to 63-bit
13025         ones as needed.
13026         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13027         divide-by-zero is raised for zero to large negative powers.
13028         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13029         (__ieee754_powl): Test for y outside the range of signed 64-bit
13030         integers before using fistpll.  Reduce 64-bit values to 63-bit
13031         ones as needed.
13032         * math/libm-test.inc (pow_test): Add more tests.
13034 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13036         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13037         <stdio-common/_itoa.h>.
13038         * debug/segfault.c: Likewise.
13039         * elf/dl-cache.c: Likewise.
13040         * elf/dl-minimal.c: Likewise.
13041         * elf/dl-misc.c: Likewise.
13042         * elf/dl-sysdep.c: Likewise.
13043         * elf/dl-version.c: Likewise.
13044         * elf/rtld.c: Likewise.
13045         * hurd/hurdsock.c: Likewise.
13046         * hurd/lookup-retry.c: Likewise.
13047         * malloc/malloc.c: Likewise.
13048         * malloc/mtrace.c: Likewise.
13049         * nscd/nscd_getgr_r.c: Likewise.
13050         * nscd/nscd_getpw_r.c: Likewise.
13051         * nscd/nscd_getserv_r.c: Likewise.
13052         * posix/getopt_init.c: Likewise.
13053         * posix/wordexp.c: Likewise.
13054         * stdio-common/_itoa.c: Likewise.
13055         * stdio-common/printf_fphex.c: Likewise.
13056         * stdio-common/vfprintf.c: Likewise.
13057         * string/_strerror.c: Likewise.
13058         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13059         * sysdeps/i386/i686/hp-timing.h: Likewise.
13060         * sysdeps/mach/_strerror.c: Likewise.
13061         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13062         * sysdeps/mach/hurd/sethostid.c: Likewise.
13063         * sysdeps/mach/hurd/xmknodat.c: Likewise.
13064         * sysdeps/mach/xpg-strerror.c: Likewise.
13065         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13066         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13067         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13068         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13069         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13070         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13071         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13072         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13073         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13074         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13075         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13076         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13077         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13078         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13079         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13080         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13081         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13082         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13083         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13084         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13085         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13087         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13089         * stdio-common/_itoa.h: Moved to ...
13090         * sysdeps/generic/_itoa.h: Here.
13092         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13094         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13095         instead of "_itoa.h" and "_itowa.h".
13096         * stdio-common/vfprintf.: Likewise.
13098 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13100         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13101         <bits/wordsize.h>.
13102         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13103         (__signbit): Likwise.
13104         (llrintf): Likwise.
13105         (llrint): Likwise.
13107 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
13109         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13110         __WORDSIZE != 64.
13112 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
13114         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13115         OVERFLOW_EXCEPTION_OK.
13116         * math/libm-test.inc ("Philosophy"): Update comment about
13117         exception testing.
13118         (OVERFLOW_EXCEPTION): Define.
13119         (OVERFLOW_EXCEPTION_OK): Likewise.
13120         (INVALID_EXCEPTION_OK): Renumber.
13121         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13122         (IGNORE_ZERO_INF_SIGN): Likewise.
13123         (test_exceptions): Handle FE_OVERFLOW.
13124         (exp10_test): Expect overflow exceptions.
13125         (exp2_test): Likewise.
13126         (expm1_test): Likewise.
13127         (nextafter_test): Likewise.
13128         (pow_test): Likewise.
13129         (scalbn_test): Likewise.
13130         (scalbln_test): Likewise.
13132 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13134         * sysdeps/x86_64/bits/atomic.h
13135         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13136         64bit integer.
13137         (atomic_exchange_acq): Likewise.
13138         (__arch_exchange_and_add_body): Likewise.
13139         (__arch_add_body): Likewise.
13140         (atomic_add_negative): Likewise.
13141         (atomic_add_zero): Likewise.
13143 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13145         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
13146         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13148 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13150         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13151         Check __x86_64__ instead of __WORDSIZE.
13153 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13155         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13157 2012-03-19  David S. Miller  <davem@davemloft.net>
13159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13161         * sysdeps/sparc/fpu/fenv_private.h: New file.
13162         * sysdeps/sparc/fpu/math_private.h: Use it.
13163         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13164         Remove.
13165         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13166         (libc_feholdexcept_setroundl): Remove.
13167         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13168         Remove.
13169         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13170         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13172 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13174         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13175         int64_t instead of long int.
13176         (INSERT_WORDS64): Likwise.
13178 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
13180         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13181         _Unwind_GetCFA return to _Unwind_Ptr first.
13183 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
13185         [BZ #13629]
13186         * math/s_clog.c: Include <float.h>.
13187         (__clog): Scale large or subnormal inputs.
13188         * math/s_clogf.c: Likewise.
13189         * math/s_clogl.c: Likewise.
13190         * math/s_clog10.c: Include <float.h>.
13191         (M_LOG10_2): Define.
13192         (__clog10): Scale large or subnormal inputs.
13193         * math/s_clog10f.c: Likewise.
13194         * math/s_clog10l.c: Likewise.
13195         * math/libm-test.inc (clog_test): Add more tests.
13196         (clog10_test): Likewise.
13197         * sysdeps/i386/fpu/libm-test-ulps: Update.
13198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13200         [BZ #11451]
13201         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13202         x and y.
13203         * math/libm-test.inc (atan2_test): Add another test.
13205         * Makerules (common-objdir-compile): Remove.
13206         * sysdeps/unix/Makefile (config-generated): Do not add
13207         $(unix-generated) to variable.
13208         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13209         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13210         Remove rule.
13211         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13212         Likewise.
13213         [generic bits/local_lim.h] (before-compile): Do not append to
13214         variable.
13215         [generic bits/local_lim.h] (common-generated): Likewise.
13216         [generic sys/param.h] (before-compile): Do not append to variable.
13217         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13218         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13219         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13220         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13221         include.
13222         [generic sys/param.h] (sys/param.h-includes): Remove variable.
13223         [generic sys/param.h] (sys/param.h-includes): Remove rule.
13224         [generic sys/param.h] ($(addprefix
13225         $(common-objpfx),$(sys/param.h-includes))): Likewise.
13226         [generic sys/param.h] (common-generated): Do not append to
13227         variable.
13228         [generic sys/param.h] (sysdep_headers): Likewise.
13229         [generic bits/errno.h] (before-compile): Do not append to
13230         variable.
13231         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13232         rule.
13233         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13234         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13235         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13236         [generic bits/errno.h] (common-generated): Do not append to
13237         variable.
13238         [generic bits/ioctls.h] (before-compile): Do not append to
13239         variable.
13240         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13241         rule.
13242         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13243         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13244         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13245         rule.
13246         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13247         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13248         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13249         [generic bits/ioctls.h] (common-generated): Do not append to
13250         variable.
13251         [generic sys/syscall.h] (syscall.h): Remove variable.
13252         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13253         rule.
13254         [generic sys/syscall.h] (before-compile): Do not append to
13255         variable.
13256         [generic sys/syscall.h] (common-generated): Likewise.
13257         * sysdeps/unix/errnos-tmpl.c: Remove file.
13258         * sysdeps/unix/errnos.awk: Likewise.
13259         * sysdeps/unix/ioctls-tmpl.c: Likewise.
13260         * sysdeps/unix/ioctls.awk: Likewise.
13261         * sysdeps/unix/mk-local_lim.c: Likewise.
13262         * sysdeps/unix/snarf-ioctls: Likewise.
13264 2012-03-19  Richard Henderson  <rth@twiddle.net>
13266         * sysdeps/i386/fpu/fenv_private.h: New file.
13267         * sysdeps/i386/fpu/math_private.h: Use it.
13268         (math_opt_barrier, math_force_eval): Remove.
13269         (libc_feholdexcept_setround_53bit): Remove.
13270         (libc_feupdateenv_53bit): Remove.
13271         * sysdeps/x86_64/fpu/math_private.h: Likewise.
13272         (math_opt_barrier, math_force_eval): Remove.
13273         (libc_feholdexcept): Remove.
13274         (libc_feholdexcept_setround): Remove.
13275         (libc_fetestexcept, libc_fesetenv): Remove.
13276         (libc_feupdateenv_test): Remove.
13277         (libc_feupdateenv, libc_feholdsetround): Remove.
13278         (libc_feresetround): Remove.
13280         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13281         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13283         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13284         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13285         (libc_feupdateenv_testl): New.
13286         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13287         (libc_feupdateenv_testf): New.
13288         (libc_feupdateenv): Use libc_feupdateenv_test.
13289         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13290         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13292         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13293         (libc_feholdsetroundf, libc_feholdsetroundl): New.
13294         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13295         (libc_feresetround_noex): New.
13296         (libc_feresetround_noexf): New.
13297         (libc_feresetround_noexl): New.
13298         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13299         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13300         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13301         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13302         SET_RESTORE_ROUND.
13303         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13304         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13305         (__cos): Likewise.
13306         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13307         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13308         SET_RESTORE_ROUND_NOEX.
13309         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13310         SET_RESTORE_ROUND_NOEXF.
13311         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13312         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13313         (libc_feholdsetroundf): New.
13314         (libc_feresetround, libc_feresetroundf): New.
13316         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13317         (libc_feholdexcept_setround_53bit): Convert from macro to function.
13318         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
13320         * sysdeps/generic/math_private.h: Include <fenv.h>.
13321         (default_libc_feholdexcept): New.
13322         (default_libc_feholdexcept_setround): New.
13323         (default_libc_fesetenv, default_libc_feupdateenv): New.
13324         (libc_feholdexcept): Only define if undefined.
13325         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13326         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13327         (libc_feholdexcept_setroundl): Likewise.
13328         (libc_feholdexcept_setround_53bit): Likewise.
13329         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13330         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13331         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13332         (libc_feupdateenv_53bit): Likewise.
13333         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13334         (libc_feholdexcept): Convert from macro to inline function.
13335         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13336         (libc_fesetenv, libc_feupdateenv): Likewise.
13338         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13339         not previously defined.
13340         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13341         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13342         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13343         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13344         * sysdeps/ieee754/flt-32/math_private.h: New file.
13345         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13346         math_private.h below SET_FLOAT_WORD.
13347         (__isnan, __isinf_ns, __finite): Remove.
13348         (__isnanf, __isinf_nsf, __finitef): Remove.
13350 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
13352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13354 2012-03-17  David S. Miller  <davem@davemloft.net>
13356         [BZ #6471]
13357         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13358         for 2.16.
13360 2012-03-16  David S. Miller  <davem@davemloft.net>
13362         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13363         warnings.
13365         [BZ #6471]
13366         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13367         properly.
13368         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13369         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13370         sysdep_routines when subdir is sysvipc.
13371         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13372         __getshmlba helper.
13374         * sysdeps/sparc/fpu/libm-test/ulps: Update.
13376 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13378         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13379         [__LP64__].
13381 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13383         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13384         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13385         (__lround): Renamed to ...
13386         (__llround): This.  Replace long int with long long int.
13387         Define lround functions as aliases of llround functions.
13388         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13390 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13392         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13393         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
13394         adresses to uintptr_t.  Replace "long int" and "unsigned long
13395         int" with "greg_t" on va_arg.
13397 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13399         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13400         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13402         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13403         Move e_machine check before EI_CLASS check.  Handle x32
13404         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13405         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13406         SKIP_EM_IA_64 and include
13407         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13409         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13410         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13411         (add_system_dir): New macro.
13413         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13414         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13416 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
13418         [BZ #2551]
13419         [BZ #2552]
13420         [BZ #2553]
13421         [BZ #2554]
13422         [BZ #2562]
13423         [BZ #2563]
13424         [BZ #2565]
13425         [BZ #2566]
13426         [BZ #2576]
13427         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13428         (y0): Likewise.
13429         * math/w_j0f.c (j0f): Likewise.
13430         (y0f): Likewise.
13431         * math/w_j0l.c (__j0l): Likewise.
13432         (__y0l): Likewise.
13433         * math/w_j1.c (j1): Likewise.
13434         (y1): Likewise.
13435         * math/w_j1f.c (j1f): Likewise.
13436         (y1f): Likewise.
13437         * math/w_j1l.c (__j1l): Likewise.
13438         (__y1l): Likewise.
13439         * math/w_jn.c (jn): Likewise.
13440         (yn): Likewise.
13441         * math/w_jnf.c (jnf): Likewise.
13442         (ynf): Likewise.
13443         * math/w_jnl.c (__jnl): Likewise.
13444         (__ynl): Likewise.
13445         * math/libm-test.inc (j0_test): Add more tests.
13446         (j1_test): Likewise.
13447         (jn_test): Likewise.  Add trailing semicolon to existing test.
13448         (y0_test): Likewise.
13449         (y1_test): Likewise.
13450         * sysdeps/i386/fpu/libm-test-ulps: Update.
13451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13453         [BZ #13851]
13454         [BZ #13854]
13455         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13456         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13457         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13458         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13459         (__tanl): Set errno for infinite argument.
13460         * sysdeps/i386/fpu/mptan.c: Remove.
13461         * sysdeps/i386/fpu/s_tan.S: Likewise.
13462         * sysdeps/i386/fpu/s_tanl.S: Likewise.
13463         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13464         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13465         * math/libm-test.inc (tan_test): Add more tests and enable more
13466         tests for double and long double.
13467         * sysdeps/i386/fpu/libm-test-ulps: Update.
13468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13470 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
13472         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13473         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13475 2012-03-16  Roland McGrath  <roland@hack.frob.com>
13477         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13478         * configure.in: Use it for both main tree and add-ons.
13479         * configure: Regenerated.
13481 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13483         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13485 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
13487         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13488         in comment.
13490         [BZ #13851]
13491         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13492         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13493         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13494         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13495         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13496         infinite argument.
13497         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13498         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13499         != 0 for prec == 2.
13500         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13501         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13502         * sysdeps/i386/fpu/s_cosl.S: Likewise.
13503         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13504         * sysdeps/i386/fpu/s_sinl.S: Likewise.
13505         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13506         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13507         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13508         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13509         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13510         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13511         * math/libm-test.inc (cos_test): Add more tests and enable more
13512         tests for long double.
13513         (sin_test): Likewise.
13514         (sincos_test): Likewise.
13515         * sysdeps/i386/fpu/libm-test-ulps: Update.
13516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13518 2012-03-16  David S. Miller  <davem@davemloft.net>
13520         * sysdeps/sparc/fpu/math_private.h: New file.
13522 2012-03-15  David S. Miller  <davem@davemloft.net>
13524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13525         file.
13526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
13527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13528         file.
13529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13530         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13531         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13532         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13533         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13534         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13535         sysdep routines.
13536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13538         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13539         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13541         * sysdeps/sparc/sparc-ifunc.h: New file.
13542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13543         sparc-ifunc.h
13544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13546         Likewise.
13547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13548         Likewise.
13549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13553         Likewise.
13554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
13558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13559         Likewise.
13560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13561         Likewise.
13562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13566         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13567         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13568         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13569         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13570         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13571         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13572         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13573         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13574         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13575         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13576         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13577         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13578         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13579         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13580         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13581         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13582         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13583         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13584         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13585         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13587 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
13589         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13590         scaling.
13591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13593 2012-03-15  Andreas Jaeger  <aj@suse.de>
13595         [BZ #13852]
13596         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13597         ieee754/flt-32 implementation for sin, cos and sincos.
13598         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13599         * sysdeps/i386/fpu/s_cosf.S: Likewise.
13600         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13601         * sysdeps/i386/fpu/s_sinf.S: Likewise.
13602         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13603         ieee754/flt-32 implementation for tan.
13605         * math/libm-test.inc (cos_test): Enable some large input tests for
13606         float as well
13607         (sin_test): Likewise.
13608         (sincos_test): Likewise.
13609         (tan_test): Add tests for large input.
13611         * sysdeps/i386/fpu/libm-test-ulps: Update.
13613 2012-03-15  Andreas Jaeger  <aj@suse.de>
13615         [BZ #13658]
13616         * math/libm-test.inc (cos_test): Add more test cases.
13617         (sin_test): Likewise.
13618         (sincos_test): Likewise.
13620 2012-03-15  Andreas Jaeger  <aj@suse.de>
13622         [BZ #13837]
13623         * math/libm-test.inc (cos_test): Add a test case for large input
13624         value.
13625         (sin_test): Likewise.
13626         (sincos_test): Likewise.
13628 2012-03-15  Andreas Jaeger  <aj@suse.de>,
13629         Joseph Myers  <joseph@codesourcery.com>
13631         [BZ #13658]
13632         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
13633         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13634         * sysdeps/i386/fpu/branred.c: Likewise.
13635         * sysdeps/i386/fpu/dosincos.c: Likewise.
13636         * sysdeps/i386/fpu/mpa.c: Likewise.
13637         * sysdeps/i386/fpu/s_cos.S: Likewise.
13638         * sysdeps/i386/fpu/s_sin.S: Likewise.
13639         * sysdeps/i386/fpu/s_sincos.S: Likewise.
13640         * sysdeps/i386/fpu/sincos32.c: Likewise.
13642         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13643         Define.
13644         (libc_feupdateenv_53bit): Define.
13645         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13646         Define.
13647         (libc_feupdateenv_53bit): Define.
13649         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13650         53 bit (without extend i386 double precision).
13652         * math/libm-test.inc (sincos_test): Add tests for large input.
13653         (sin): Likewise.
13654         (cos): Likewise.
13656         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13658 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
13660         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13662 2012-03-15  David S. Miller  <davem@davemloft.net>
13664         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13665         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13666         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13667         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13672         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13673         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13674         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13675         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13676         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13677         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13678         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
13679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13680         file.
13681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
13682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13683         file.
13684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
13685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13686         file.
13687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
13688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13689         file.
13690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13691         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13692         fmin/fmax sysdep routines.
13693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13695 2012-03-14  David S. Miller  <davem@davemloft.net>
13697         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13698         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13699         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13700         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13701         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13702         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13703         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13704         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13705         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13706         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13707         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13708         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13709         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13710         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13711         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13712         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13713         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13714         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13715         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13716         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13717         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13718         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13719         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13720         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13721         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13722         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13723         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13724         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
13725         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13726         routines.
13727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13728         file.
13729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13731         file.
13732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13734         file.
13735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13737         file.
13738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13740         file.
13741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13743         file.
13744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13745         file.
13746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13747         file.
13748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13749         file.
13750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13751         New file.
13752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13753         file.
13754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13755         file.
13756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13758         file.
13759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13761         file.
13762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13764         file.
13765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13767         VIS3 routines.
13769         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13770         New file.
13772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13774         * sysdeps/sparc/configure.in: New file.
13775         * sysdeps/sparc/configure: Generate.
13776         * configure.in (libc_cv_sparc_as_vis3): Substitute.
13777         * configure: Regenerate.
13778         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13779         * config.make.in (have-as-vis3): New.
13780         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13781         available use -Av9d instead of -Av9a.
13782         * sysdeps/sparc/sparc64/Makefile: Likewise.
13783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13785         New file.
13786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13787         file.
13788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13789         New file.
13790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13791         file.
13792         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13793         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13794         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13795         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13796         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13798         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13799         fzeros/fnegs to load 0x80000000 into a float register instead of
13800         using the stack.
13801         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13803 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
13805         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13806         bits/syscall.h.
13807         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13808         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13809         ($(inst_includedir)/bits/syscall.h): Remove rule.
13810         ($(objpfx)bits/syscall.d): Include instead of
13811         $(objpfx)syscall-list.d.
13812         (generated): Change syscall-list.h and syscall-list.d to
13813         bits/syscall.h and bits/syscall.d.
13815 2012-03-14  Roland McGrath  <roland@hack.frob.com>
13817         [BZ #13846]
13818         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13820 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
13822         [BZ #13841]
13823         * math/s_csqrt.c: Include <float.h>.
13824         (__csqrt): Scale large or subnormal inputs.
13825         * math/s_csqrtf.c: Likewise.
13826         * math/s_csqrtl.c: Likewise.
13827         * math/libm-test.inc (csqrt_test): Add more tests.
13828         * sysdeps/i386/fpu/libm-test-ulps: Update.
13829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13831         [BZ #13840]
13832         * math/libm-test.inc (hypot_test): Add more tests.
13834 2012-03-13  David S. Miller  <davem@davemloft.net>
13836         [BZ #13840]
13837         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13838         double-precision for the calculation instead of scaling.
13840 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
13842         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13843         manipulate bits before adding and subtracting TWO52[sx].
13844         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13845         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13846         Likewise.
13847         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13849 2012-03-13  David S. Miller  <davem@davemloft.net>
13851         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13852         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13853         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13854         rtld-global-offsets.h
13855         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13857         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13858         large parameters.
13860         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13862         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13863         'err' in the ifdef scope in which it is actually used.
13865         * nss/nss_db/db-init.c: Include string.h
13867 2012-03-12  David S. Miller  <davem@davemloft.net>
13869         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13870         masking out of the most significant byte of random value used.
13871         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13872         Fix coding style in previous change.
13874         * sysdeps/unix/sysv/linux/kernel-features.h
13875         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13876         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13877         expression.
13878         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13879         later.
13881 2012-03-11  David S. Miller  <davem@davemloft.net>
13883         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13884         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13885         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13886         for 'resultvar' otherwise things get truncated on 64-bit.
13888         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13889         Fix masking out of the most significant byte of random value used.
13891         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13893 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
13895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13897 2012-03-09  David S. Miller  <davem@davemloft.net>
13899         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13900         variables with appropriate CPP guards.
13901         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13902         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
13903         on resulting framesize and the management of the outregs buffer for pltexit.
13904         Preserve floating point return values across _dl_call_pltexit call.
13905         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13906         framesize and the management of the outregs buffer for pltexit.
13907         Preserve floating point return values across _dl_call_pltexit
13908         call.
13909         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13910         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13911         (print_exit): Fix format string for return register value.
13913 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
13915         * sunrpc/Makefile (others): Add rpcgen.
13916         ($(objpfx)rpcgen): Remove special build rule and dependency on
13917         libc.
13918         * sunrpc/rpcgen.c: New file.
13920 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
13922         [BZ #13673]
13923         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13924         * stdio-common/bug-vfprintf-nargs.c: Likewise.
13925         * sysdeps/i386/crti.S: Likewise.
13926         * sysdeps/i386/crtn.S: Likewise.
13927         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13928         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13929         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13930         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13931         * sysdeps/sh/crti.S: Likewise.
13932         * sysdeps/sh/crtn.S: Likewise.
13933         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13935         [BZ #13673]
13936         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13937         with URL.
13938         * locale/programs/locfile-kw.gperf: Likewise.
13939         * locale/programs/charmap-kw.h: Regenerated.
13940         * locale/programs/locfile-kw.h: Likewise.
13942         [BZ #13673]
13943         * intl/plural.y: Replace FSF snail mail address with URL.
13944         * intl/plural.c: Regenerated.
13946 2012-03-09  Richard Henderson  <rth@twiddle.net>
13948         * include/math_private.h: Remove file.
13949         * math/math_private.h: Move file ...
13950         * sysdeps/generic/math_private.h: ... here.
13952         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13953         * sysdeps/powerpc/fpu/math_private.h: Likewise.
13954         * sysdeps/x86_64/fpu/math_private.h: Likewise.
13956         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
13957         and <math_private.h>.
13958         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13959         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13960         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13961         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13962         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13963         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13964         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13965         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13966         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13967         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13968         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13969         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13970         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13971         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13972         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13973         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13974         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13975         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13976         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13977         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13978         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13979         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13980         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13981         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13982         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13983         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13984         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13985         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13986         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13987         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13988         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13989         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13990         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13991         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13992         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13993         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13994         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13995         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13996         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13997         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13998         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13999         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14000         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14001         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14002         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14003         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14004         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14005         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14006         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14007         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14008         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14009         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14010         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14011         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14012         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14013         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14014         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14015         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14016         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14017         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14018         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14019         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14020         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14021         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14022         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14023         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14024         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14025         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14026         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14027         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14028         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14029         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14030         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14031         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14032         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14033         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14034         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14035         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14036         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14037         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14038         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14039         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14040         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14041         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14042         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14043         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14044         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14045         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14046         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14047         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14048         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14049         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14050         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14051         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14052         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14053         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14054         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14055         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14056         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14057         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14058         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14059         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14060         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14061         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14062         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14063         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14064         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14065         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14066         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14067         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14068         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14069         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14070         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14071         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14072         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14073         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14074         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14075         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14076         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14077         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14078         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14079         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14080         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14081         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14082         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14083         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14084         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14085         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14086         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14087         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14088         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14089         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14090         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14091         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14092         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14093         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14094         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14095         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14096         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14097         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14098         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14099         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14100         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14101         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14102         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14103         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14104         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14105         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14106         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14107         * sysdeps/ieee754/k_standard.c: Likewise.
14108         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14109         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14110         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14111         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14112         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14113         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14114         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14115         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14116         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14117         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14118         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14119         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14120         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14121         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14122         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14123         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14124         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14125         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14126         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14127         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14128         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14129         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14130         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14131         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14132         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14133         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14134         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14135         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14136         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14137         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14138         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14139         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14140         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14141         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14142         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14143         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14144         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14145         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14146         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14147         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14148         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14149         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14150         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14151         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14152         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14153         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14154         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14155         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14156         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14157         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14158         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14159         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14160         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14161         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14162         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14163         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14164         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14165         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14166         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14167         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14168         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14169         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14170         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14171         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14172         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14173         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14174         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14175         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14176         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14177         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14178         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14179         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14180         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14181         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14182         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14183         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14184         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14185         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14186         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14187         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14188         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14189         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14190         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14191         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14192         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14193         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14194         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14195         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14196         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14197         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14198         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14199         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14200         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14201         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14202         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14203         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14204         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14205         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14206         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14207         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14208         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14209         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14210         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14211         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14212         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14213         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14214         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14215         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14216         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14217         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14218         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14219         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14220         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14221         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14222         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14223         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14224         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14225         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14226         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14227         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14228         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14229         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14230         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14231         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14232         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14233         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14234         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14235         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14236         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14237         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14238         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14239         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14240         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14241         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14242         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14243         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14244         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14245         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14246         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14247         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14248         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14249         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14250         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14251         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14252         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14253         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14254         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14255         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14256         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14257         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14258         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14259         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14260         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14261         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14262         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14263         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14264         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14265         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14266         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14267         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14268         * sysdeps/ieee754/s_lib_version.c: Likewise.
14269         * sysdeps/ieee754/s_matherr.c: Likewise.
14270         * sysdeps/ieee754/s_signgam.c: Likewise.
14271         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14272         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14273         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14274         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14275         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14276         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14277         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14278         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14279         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14280         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14281         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14282         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14283         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14284         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14285         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14286         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14287         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14288         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14289         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14290         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14291         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14293 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
14295         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14296         * sunrpc/rpc_main.c: Likewise.
14297         * sunrpc/rpc_svcout.c: Likewise.
14299 2012-03-09  David S. Miller  <davem@davemloft.net>
14301         * include/math_private.h: New file.
14303 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
14305         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14306         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14307         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14308         from <bits/socket_type.h>.
14309         (enum __socket_type): Don't define here.
14310         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14311         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14312         bits/socket_type.h.
14314         [BZ #13566]
14315         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14316         checking __USE_GNU.
14318         * Makerules ($(inst_includedir)/%.h): New rule.
14319         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14320         (install-others): Remove variable setting.
14321         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14323 2012-03-08  Richard Henderson  <rth@twiddle.net>
14325         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14326         from macro to inline function; merge with the
14327         !__LIBC_INTERNAL_MATH_INLINES version.
14328         (__ieee754_sqrtf): Likewise.
14330         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14331         to inline function.
14332         (__rintf, __floor, __floorf): Likewise.
14334         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14335         macro to inline function.
14336         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14338         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14339         not <math/math_private.h>.
14341 2012-03-08  David S. Miller  <davem@davemloft.net>
14343         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14344         copyright year.
14345         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14347 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
14349         * resolv/gai_misc.c (handle_requests): Fix struct timespec
14350         normalization.
14351         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14352         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14354 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
14356         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
14357         be defined individually, they must be defined as a block.  Define
14358         S for printing a string instead of hidint the different by using a
14359         macro for adding the 'l'.
14360         * stdio-common/tst-fphex-wide.c: Adjust.
14362 2012-03-07  Marek Polacek  <polacek@redhat.com>
14364         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14366 2012-03-08  Marek Polacek  <polacek@redhat.com>
14368         [BZ #13806]
14369         * stdio-common/Makefile (tests): Add tst-fphex-wide.
14370         * stdio-common/tst-fphex.c: Define a few macros to make the
14371         test reusable.  Use them.
14372         * stdio-common/tst-fphex-wide.c: New file.
14374 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
14376         [BZ #6911]
14377         * manual/macros.texi (gnusystems): New macro.
14378         (nongnusystems): Likewise.
14379         (gnulinuxhurdsystems): Likewise.
14380         (gnuhurdsystems): Likewise..
14381         (gnulinuxsystems): Likewise.
14382         * manual/charset.texi: Use new macros or @theglibc{} to refer to
14383         variants of the GNU system, not "GNU system".
14384         * manual/conf.texi: Likewise.
14385         * manual/errno.texi: Likewise.  Update example of errno macro
14386         expansion.
14387         * manual/filesys.texi: Likewise.
14388         (getumask): Document as specific to GNU/Hurd.
14389         * manual/install.texi: Likewise.  Reword some references to
14390         GNU/Linux.
14391         * manual/intro.texi: Likewise.
14392         * manual/io.texi: Likewise.
14393         (File Name Portability): Detail which constraints are inapplicable
14394         to all GNU systems and which are only inapplicable to GNU/Hurd.
14395         * manual/job.texi: Likewise.
14396         * manual/llio.texi: Likewise.
14397         (O_NOCTTY): Document as present on GNU/Linux.
14398         * manual/maint.texi: Likewise.
14399         * manual/memory.texi: Likewise.
14400         * manual/pattern.texi: Likewise.
14401         * manual/pipe.texi: Likewise.
14402         * manual/process.texi: Likewise.
14403         * manual/resource.texi: Likewise.
14404         (RUSAGE_CHILDREN): Remove statement about specifying a particular
14405         child on GNU/Hurd.
14406         * manual/setjmp.texi: Likewise.
14407         * manual/signal.texi: Likewise.
14408         * manual/startup.texi: Likewise.
14409         * manual/stdio.texi: Likewise.
14410         * manual/terminal.texi: Likewise.
14411         (ONLCR): Document as POSIX.
14412         (OXTABS): Document availability on GNU/Linux as XTABS.
14413         (ONOEOT): Document availability separately from other bits.
14414         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14415         * manual/time.texi: Likewise.
14416         * manual/users.texi: Likewise.
14417         * INSTALL: Regenerated.
14418         * sysdeps/gnu/errlist.c: Regenerated.
14420         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14421         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14422         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
14423         puts.
14424         * configure: Regenerated.
14426 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
14428         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14429         default includes instead of AC_HEADER_CHECK.
14430         * sysdeps/i386/configure: Regenerated.
14432         [BZ #10716]
14433         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14434         * math/s_cacoshf.c (__cacoshf): Likewise.
14435         * math/s_cacoshl.c (__cacoshl): Likewise.
14436         * math/s_casinh.c (__casinh): Set signs of result from argument.
14437         * math/s_casinhf.c (__casinhf): Likewise.
14438         * math/s_casinhl.c (__casinhl): Likewise.
14439         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14440         (casinh_test): Add more tests.
14441         * sysdeps/i386/fpu/libm-test-ulps: Update.
14442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14444 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
14446         * po/zh_TW.po: Update from translation team.
14448         * login/Makefile (distribute): Remove variable.
14449         * catgets/Makefile: Likewise.
14450         * mach/Makefile: Likewise.
14451         * malloc/Makefile: Likewise.
14452         * misc/Makefile: Likewise.
14453         * iconv/Makefile: Likewise.
14454         * nscd/Makefile: Likewise.
14455         * hurd/Makefile: Likewise.
14456         * manual/Makefile: Likewise.
14457         * locale/Makefile: Likewise.
14458         * intl/Makefile: Likewise.
14459         * conform/Makefile: Likewise.
14460         * nss/Makefile: Likewise.
14461         * time/Makefile: Likewise.
14462         * soft-fp/Makefile: Likewise.
14463         * dirent/Makefile: Likewise.
14464         * gmon/Makefile: Likewise.
14465         * po/Makefile: Likewise.
14466         * rt/Makefile: Likewise.
14467         * socket/Makefile: Likewise.
14468         * math/Makefile: Likewise.
14469         * signal/Makefile: Likewise.
14470         * debug/Makefile: Likewise.
14471         * elf/Makefile: Likewise.
14472         * timezone/Makefile: Likewise.
14473         * stdlib/Makefile: Likewise.
14474         * iconvdata/Makefile: Likewise.
14475         * sunrpc/Makefile: Likewise.
14476         * io/Makefile: Likewise.
14477         * argp/Makefile: Likewise.
14478         * inet/Makefile: Likewise.
14479         * hesiod/Makefile: Likewise.
14480         * grp/Makefile: Likewise.
14481         * csu/Makefile: Likewise.
14482         * wctype/Makefile: Likewise.
14483         * crypt/Makefile: Likewise.
14484         * libio/Makefile: Likewise.
14485         * string/Makefile: Likewise.
14486         * nis/Makefile: Likewise.
14487         * resolv/Makefile: Likewise.
14488         * stdio-common/Makefile: Likewise.
14489         * wcsmbs/Makefile: Likewise.
14490         * dlfcn/Makefile: Likewise.
14491         * posix/Makefile: Likewise.
14493         [BZ #6959]
14494         * timezone/Makefile: Don't install timezone files, just the programs
14495         and scripts.
14497 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
14499         * nss/databases.def: Add missing gshadow entry.
14501         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
14503 2012-03-06  Marek Polacek  <polacek@redhat.com>
14505         [BZ #13726]
14506         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14507         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14508         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14509         * stdio-common/tst-long-dbl-fphex.c: New file.
14511 2012-03-06  David S. Miller  <davem@davemloft.net>
14513         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14514         (set_obp_int): New function.
14515         (get_obp_int): New function.
14516         (__get_clockfreq_via_dev_openprom): Likewise.
14517         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14518         Avoid unused variable warnings on 'val' and use builtin_expect.
14519         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14520         __builtin_expect.
14521         (INLINE_CLONE_SYSCALL): Likewise.
14523 2012-03-05  David S. Miller  <davem@davemloft.net>
14525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14527 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
14529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14531         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14532         only for |x| >= 40.
14533         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14535 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
14537         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14538         Replace gettimeofday with __vdso_gettimeofday.
14540         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14541         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14542         __vdso_clock_gettime and __vdso_getcpu.
14544         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14545         time with __vdso_time.
14547 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
14549         * manual/lang.texi (size_t): Note types to which size_t may be
14550         equivalent with the GNU C Library, but do not describe when
14551         differences between them are significant.
14553 2012-03-05  Andreas Jaeger  <aj@suse.de>
14555         * sysdeps/i386/fpu/libm-test-ulps: Update.
14557 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
14559         [BZ #3976]
14560         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14561         (__ieee754_pow): Save and restore rounding mode and use
14562         round-to-nearest for main computations.
14563         * math/libm-test.inc (pow_test_tonearest): New function.
14564         (pow_test_towardzero): Likewise.
14565         (pow_test_downward): Likewise.
14566         (pow_test_upward): Likewise.
14567         (main): Call the new functions.
14568         * sysdeps/i386/fpu/libm-test-ulps: Update.
14569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14571         [BZ #3976]
14572         * math/libm-test.inc (cosh_test_tonearest): New function.
14573         (cosh_test_towardzero): Likewise.
14574         (cosh_test_downward): Likewise.
14575         (cosh_test_upward): Likewise.
14576         (sinh_test_tonearest): Likewise.
14577         (sinh_test_towardzero): Likewise.
14578         (sinh_test_downward): Likewise.
14579         (sinh_test_upward): Likewise.
14580         (main): Call the new functions.
14581         * sysdeps/i386/fpu/libm-test-ulps: Update.
14582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14584 2012-03-05  Tom de Vries  <tom@codesourcery.com>
14586         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14587         default stack guard is set in last bytes.
14588         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14590 2012-03-05  Kees Cook  <keescook@chromium.org>
14592         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
14594         [BZ #13656]
14595         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14596         possibly allocate from heap instead of stack.
14597         * stdio-common/bug-vfprintf-nargs.c: New file.
14598         * stdio-common/Makefile (tests): Add nargs overflow test.
14600 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
14602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14604 2012-03-03  Marek Polacek  <polacek@redhat.com>
14606         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14607         * math/math_private.h: Likewise.
14608         * stdlib/tst-strtod.c: Likewise.
14609         * sysdeps/i386/i486/bits/atomic.h: Likewise.
14610         * sysdeps/x86_64/bits/atomic.h: Likewise.
14612 2012-03-02  David S. Miller  <davem@davemloft.net>
14614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14618         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14619         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14620         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14621         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14623 2012-03-02  Roland McGrath  <roland@hack.frob.com>
14625         [BZ #13792]
14626         * manual/examples/README: New file, says the example source files
14627         can be used under GPL>=2.
14628         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14629         line containing just "*/".
14630         * manual/examples/add.c: Add copyright header (GPL>=2).
14631         * manual/examples/argp-ex1.c: Likewise.
14632         * manual/examples/argp-ex2.c: Likewise.
14633         * manual/examples/argp-ex3.c: Likewise.
14634         * manual/examples/argp-ex4.c: Likewise.
14635         * manual/examples/atexit.c: Likewise.
14636         * manual/examples/db.c: Likewise.
14637         * manual/examples/dir.c: Likewise.
14638         * manual/examples/dir2.c: Likewise.
14639         * manual/examples/execinfo.c: Likewise.
14640         * manual/examples/filecli.c: Likewise.
14641         * manual/examples/filesrv.c: Likewise.
14642         * manual/examples/fmtmsgexpl.c: Likewise.
14643         * manual/examples/genpass.c: Likewise.
14644         * manual/examples/inetcli.c: Likewise.
14645         * manual/examples/inetsrv.c: Likewise.
14646         * manual/examples/isockad.c: Likewise.
14647         * manual/examples/longopt.c: Likewise.
14648         * manual/examples/memopen.c: Likewise.
14649         * manual/examples/memstrm.c: Likewise.
14650         * manual/examples/mkfsock.c: Likewise.
14651         * manual/examples/mkisock.c: Likewise.
14652         * manual/examples/mygetpass.c: Likewise.
14653         * manual/examples/pipe.c: Likewise.
14654         * manual/examples/popen.c: Likewise.
14655         * manual/examples/rprintf.c: Likewise.
14656         * manual/examples/search.c: Likewise.
14657         * manual/examples/select.c: Likewise.
14658         * manual/examples/setjmp.c: Likewise.
14659         * manual/examples/sigh1.c: Likewise.
14660         * manual/examples/sigusr.c: Likewise.
14661         * manual/examples/stpcpy.c: Likewise.
14662         * manual/examples/strdupa.c: Likewise.
14663         * manual/examples/strftim.c: Likewise.
14664         * manual/examples/strncat.c: Likewise.
14665         * manual/examples/subopt.c: Likewise.
14666         * manual/examples/swapcontext.c: Likewise.
14667         * manual/examples/termios.c: Likewise.
14668         * manual/examples/testopt.c: Likewise.
14669         * manual/examples/testpass.c: Likewise.
14670         * manual/examples/timeval_subtract.c: Likewise.
14672         [BZ #13792]
14673         * manual/time.texi (Elapsed Time): Move timeval_subtract example
14674         function to ...
14675         * manual/timeval_subtract.c.texi: ... here, new file.
14677 2012-03-02  David S. Miller  <davem@davemloft.net>
14679         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14681 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
14683         [BZ #3976]
14684         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14685         (__sin): Save and restore rounding mode and use round-to-nearest
14686         for all computations.
14687         (__cos): Save and restore rounding mode and use round-to-nearest
14688         for all computations.
14689         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14690         <fenv.h>.
14691         (tan): Save and restore rounding mode and use round-to-nearest for
14692         all computations.
14693         * math/libm-test.inc (cos_test_tonearest): New function.
14694         (cos_test_towardzero): Likewise.
14695         (cos_test_downward): Likewise.
14696         (cos_test_upward): Likewise.
14697         (sin_test_tonearest): Likewise.
14698         (sin_test_towardzero): Likewise.
14699         (sin_test_downward): Likewise.
14700         (sin_test_upward): Likewise.
14701         (tan_test_tonearest): Likewise.
14702         (tan_test_towardzero): Likewise.
14703         (tan_test_downward): Likewise.
14704         (tan_test_upward): Likewise.
14705         (main): Call the new functions.
14706         * sysdeps/i386/fpu/libm-test-ulps: Update.
14707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14709         [BZ #10135]
14710         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14711         small n, then large n, before computing and testing k+n.
14712         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14713         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14714         Likewise.
14715         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14716         Likewise.
14717         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14718         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14719         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14720         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14721         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14722         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14723         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14724         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14725         * math/libm-test.inc (scalbn_test): Add more tests.
14726         (scalbln_test): Likewise.
14728         * manual/filesys.texi (mode_t): Describe constraints on size and
14729         signedness, not exact equivalence to a particular type.
14730         (ino_t): Likewise.
14731         (ino64_t): Likewise.
14732         (dev_t): Likewise.
14733         (nlink_t): Likewise.
14734         (blkcnt_t): Likewise.
14735         (blkcnt64_t): Likewise.
14736         * manual/llio.texi (off_t): Likewise.
14738         [BZ #3976]
14739         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14740         (__ieee754_exp): Save and restore rounding mode and use
14741         round-to-nearest for all computations.
14742         * math/libm-test.inc (exp_test_tonearest): New function.
14743         (exp_test_towardzero): Likewise.
14744         (exp_test_downward): Likewise.
14745         (exp_test_upward): Likewise.
14746         (main): Call the new functions.
14747         * sysdeps/i386/fpu/libm-test-ulps: Update.
14748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14750 2012-03-01  Chris Demetriou  <cgd@google.com>
14752         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14753         have predictable order.
14755 2012-03-01  David S. Miller  <davem@davemloft.net>
14757         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14759         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14760         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14761         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14762         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14764         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14765         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14766         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14768         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14769         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14770         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14771         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14772         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14774         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14776         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14777         * sysdeps/sparc/fpu/libm-test-ulps: to here.
14778         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14780         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14781         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14782         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14783         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14784         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14785         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14786         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14787         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14788         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14789         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14790         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14791         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14792         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14793         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14794         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14795         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14796         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14797         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14798         * sysdeps/sparc/elf/configure: Regenerated.
14800 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
14802         * configure.in (AS, LD): Require binutils 2.20 or later.
14803         * configure: Regenerated.
14804         * manual/install.texi (Tools for Compilation): Give binutils 2.20
14805         as required minimum version.
14806         * INSTALL: Regenerated.
14808         [BZ #2541]
14809         [BZ #4108]
14810         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14811         before squaring exponent.
14812         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14813         bottom long double and 27 bits of top long double before squaring
14814         exponent.
14815         * math/libm-test.inc (erfc_test): Add more tests.
14816         * sysdeps/i386/fpu/libm-test-ulps: Update.
14817         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14820 2012-03-01  Kai Tietz  <ktietz@redhat.com>
14822         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14823         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14824         containing bit-fields.
14825         * soft-fp/extended.h (_FP_UNION_E): Likewise.
14826         * soft-fp/single.h (_FP_UNION_S): Likewise.
14827         * soft-fp/double.h (_FP_UNION_D): Likewise.
14829 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
14831         [BZ #13786]
14832         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14833         not include ../strcmp.S.
14834         [USE_AS_STRNCASECMP_L]: Likewise.
14835         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14836         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14837         * sysdeps/i386/i686/multiarch/strncase_l-c.c
14838         (__strncasecmp_l_ia32): Define as alias to
14839         __strncasecmp_l_nonascii.
14841         [BZ #5794]
14842         * math/libm-test.inc (expm1_test): Add test for bug 5794.
14843         * sysdeps/i386/fpu/libm-test-ulps: Update.
14844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14846         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14849 2012-02-29  Jeff Law  <law@redhat.com>
14851         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14852         out of bounds read.
14854 2012-02-29  Marek Polacek  <polacek@redhat.com>
14856         [BZ #13706]
14857         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14858         * elf/Makefile: Add rules to run tst-unused-dep.out.
14860 2012-02-28  David S. Miller  <davem@davemloft.net>
14862         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14863         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14864         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14865         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14866         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14867         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14869 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
14871         * math/libm-test.inc (llround_test): Move one test from
14872         lround_test.  Use TEST_f_L in moved test.
14873         (lround_test): Move misplaced test to llround_test.  Add testcase
14874         from bug 2561.
14876 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
14878         * sysdeps/x86_64/fpu/e_expf.S: New file.
14879         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14881 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
14883         [BZ #13637]
14884         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14885         of remain_len that may cause incomplete multi-byte character and
14886         false match.
14887         * posix/bug-regex33.c: New file.
14888         * posix/Makefile (tests): Add bug-regex33.
14890 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
14892         * manual/macros.texi: New file.
14893         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14894         * manual/libc.texinfo: Include macros.texi.
14895         * manual/creatute.texi: Likewise.
14896         * manual/install.texi: Likewise.
14897         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14898         @glibcadj{} in references to the GNU C Library.
14899         * manual/charset.texi: Likewise.
14900         * manual/conf.texi: Likewise.
14901         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
14902         when not using those macros.
14903         * manual/creature.texi: Likewise.
14904         * manual/crypt.texi: Likewise.
14905         * manual/errno.texi: Likewise.
14906         * manual/filesys.texi: Likewise.
14907         * manual/header.texi: Likewise.
14908         * manual/install.texi: Likewise.
14909         * manual/intro.texi: Likewise.
14910         * manual/io.texi: Likewise.
14911         * manual/job.texi: Likewise.
14912         * manual/lang.texi: Likewise.
14913         * manual/libc.texiinfo: Likewise.
14914         * manual/llio.texi: Likewise.
14915         * manual/locale.texi: Likewise.
14916         * manual/maint.texi: Likewise.
14917         * manual/math.texi: Likewise.
14918         * manual/memory.texi: Likewise.
14919         * manual/message.texi: Likewise.
14920         * manual/nss.texi: Likewise.
14921         * manual/pattern.texi: Likewise.
14922         * manual/process.texi: Likewise.
14923         * manual/resource.texi: Likewise.
14924         * manual/search.texi: Likewise.
14925         * manual/setjmp.texi: Likewise.
14926         * manual/signal.texi: Likewise.
14927         * manual/socket.texi: Likewise.
14928         * manual/startup.texi: Likewise.
14929         * manual/stdio.texi: Likewise.
14930         * manual/string.texi: Likewise.
14931         * manual/sysinfo.texi: Likewise.
14932         * manual/syslog.texi: Likewise.
14933         * manual/terminal.texi: Likewise.
14934         * manual/time.texi: Likewise.
14935         * manual/users.texi: Likewise.
14936         * INSTALL: Regenerated.
14937         * NOTES: Regenerated.
14938         * sysdeps/gnu/errlist.c: Regenerated.
14940 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
14942         * include/dirent.h: Include <dirstream.h> before
14943         <dirent/dirent.h>.
14945 2012-02-28  David S. Miller  <davem@davemloft.net>
14947         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14948         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14949         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14950         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14952 2012-02-27  David S. Miller  <davem@davemloft.net>
14954         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14956         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14957         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14960         frame pointer instead of stack pointer relative arg slot.
14961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14962         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14963         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14965 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
14967         [BZ #3992]
14968         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14970 2012-02-27  David S. Miller  <davem@davemloft.net>
14972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14976         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14977         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14978         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14979         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14981 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
14983         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14984         later.  Allow versions 5-9.
14985         * configure: Regenerated.
14986         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14987         required minimum version and 4.6 as recommended version.  Do not
14988         mention bugs in GCC 2.7 and 2.8.
14989         * INSTALL: Regenerated.
14991 2012-02-27  David S. Miller  <davem@davemloft.net>
14993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14997         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14998         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14999         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15000         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15002         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15003         manipulate bits before adding and subtracting TWO112[sx].
15004         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15006 2012-02-27  Roland McGrath  <roland@hack.frob.com>
15008         [BZ #13775]
15009         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15010         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15011         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15012         being in POSIX, because they are in 1003.1-2008.
15014         * rt/tst-aio.c: Include <fcntl.h>.
15015         * rt/tst-aio7.c: Likewise.
15016         * rt/tst-aio64.c: Likewise.
15018         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15020 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
15022         * manual/install.texi (--with-headers): Describe headers as
15023         interface headers, not private headers.
15024         (Specific advice for GNU/Linux systems): Describe use of headers
15025         from "make headers_install", not private headers from older
15026         kernels.
15027         * INSTALL: Regenerated.
15028         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15029         Change to 2.6.19.
15030         * sysdeps/unix/sysv/linux/configure: Regenerated.
15032         * manual/llio.texi (fclean): Remove documentation.
15034         * manual/Makefile (libc-texi-generated): New variable.  Include
15035         version.texi.
15036         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15037         $(libc-texi-generated), not duplicated list of files.
15038         (version.texi, stamp-version): New rules.
15039         (realclean): Remove $(libc-texi-generated), not individual files
15040         from that list.  Do not remove dir-add.texinfo.
15041         * manual/libc.texinfo: Comment out uses of edition numbers and
15042         references to printed manual.  Remove last-updated dates.
15043         (EDITION): Comment out.
15044         (ISBN): Likewise.
15045         (VERSION, UPDATED): Remove.
15046         (version.texi): Include.
15048 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
15050         * sysdeps/posix/spawni.c: Include <signal.h>.
15051         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15052         * sysdeps/pthread/aio_fsync.c: Likewise.
15054 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
15056         * conform/Makefile (tests): Run only when not cross-compiling and
15057         when fast-check is not defined.
15059         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15060         * conform/data/limits.h-data: Fixes for POSIX2008.
15061         * conform/run-conformtest.sh: Run all tests.
15062         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15063         headers.
15064         * include/bits/dlfcn.h: Likewise.
15065         * include/langinfo.h: Likewise.
15066         * include/monetary.h: Likewise.
15067         * include/sys/poll.h: Likewise.
15069         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15070         for __USE_GNU.
15071         * posix/spawn.h: Define __need_sigset_t.
15072         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15073         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15074         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
15075         to get sigevent_t only.
15076         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15077         only for __USE_GNU.
15078         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15079         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15080         process_vm_writev only for __USE_GNU.
15081         * termios/termios.h: Declare tcgetsid also for POSIX2008.
15083         * conform/Makefile: For now ignore errors from run-conformtest.
15084         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
15085         POSIX to avoid namespace pollution.  Don't prepend headers.
15086         * conform/data/aio.h-data: Fixes for POSIX testing.
15087         * conform/data/fcntl.h-data: Likewise.
15088         * conform/data/glob.h-data: Likewise.
15089         * conform/data/grp.h-data: Likewise.
15090         * conform/data/pthread.h-data: Likewise.
15091         * conform/data/pwd.h-data: Likewise.
15092         * conform/data/signal.h-data: Likewise.
15093         * conform/data/spawn.h-data: Likewise.
15094         * conform/data/stdio.h-data: Likewise.
15095         * conform/data/stdlib.h-data: Likewise.
15096         * conform/data/stropts.h-data: Likewise.
15097         * conform/data/sys/mman.h-data: Likewise.
15098         * conform/data/sys/stat.h-data: Likewise.
15099         * conform/data/sys/types.h-data: Likewise.
15100         * conform/data/sys/wait.h-data: Likewise.
15101         * conform/data/time.h-data: Likewise.
15102         * conform/data/unistd.h-data: Likewise.
15103         * conform/data/utime.h-data: Likewise.
15105         * io/sys/stat.h: fchmod was always in POSIX.
15106         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15107         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15108         * rt/aio.h: Define __need_timespec before including <time.h>.
15109         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15110         struct.  Add forward declaration of pthread_attr_t and use it in
15111         sigevent.
15112         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15113         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15114         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15115         always remove CLK_TCK definition.
15117 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
15119         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15121 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
15123         * conform/run-conformtest.sh: New file.
15124         * conform/Makefile: Run run-conformtest for tests.
15125         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
15126         support.
15128         * conform/data/uchar.h-data: New file.
15129         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15130         * conform/data/arpa/inet.h-data: Likewise.
15131         * conform/data/assert.h-data: Likewise.
15132         * conform/data/complex.h-data: Likewise.
15133         * conform/data/cpio.h-data: Likewise.
15134         * conform/data/ctype.h-data: Likewise.
15135         * conform/data/dirent.h-data: Likewise.
15136         * conform/data/dlfcn.h-data: Likewise.
15137         * conform/data/errno.h-data: Likewise.
15138         * conform/data/fcntl.h-data: Likewise.
15139         * conform/data/float.h-data: Likewise.
15140         * conform/data/fmtmsg.h-data: Likewise.
15141         * conform/data/fnmatch.h-data: Likewise.
15142         * conform/data/ftw.h-data: Likewise.
15143         * conform/data/glob.h-data: Likewise.
15144         * conform/data/grp.h-data: Likewise.
15145         * conform/data/iconv.h-data: Likewise.
15146         * conform/data/inttypes.h-data: Likewise.
15147         * conform/data/langinfo.h-data: Likewise.
15148         * conform/data/libgen.h-data: Likewise.
15149         * conform/data/limits.h-data: Likewise.
15150         * conform/data/locale.h-data: Likewise.
15151         * conform/data/math.h-data: Likewise.
15152         * conform/data/monetary.h-data: Likewise.
15153         * conform/data/mqueue.h-data: Likewise.
15154         * conform/data/ndbm.h-data: Likewise.
15155         * conform/data/net/if.h-data: Likewise.
15156         * conform/data/netdb.h-data: Likewise.
15157         * conform/data/netinet/in.h-data: Likewise.
15158         * conform/data/nl_types.h-data: Likewise.
15159         * conform/data/poll.h-data: Likewise.
15160         * conform/data/pthread.h-data: Likewise.
15161         * conform/data/pwd.h-data: Likewise.
15162         * conform/data/regex.h-data: Likewise.
15163         * conform/data/sched.h-data: Likewise.
15164         * conform/data/search.h-data: Likewise.
15165         * conform/data/semaphore.h-data: Likewise.
15166         * conform/data/setjmp.h-data: Likewise.
15167         * conform/data/signal.h-data: Likewise.
15168         * conform/data/spawn.h-data: Likewise.
15169         * conform/data/stdarg.h-data: Likewise.
15170         * conform/data/stdio.h-data: Likewise.
15171         * conform/data/stdlib.h-data: Likewise.
15172         * conform/data/string.h-data: Likewise.
15173         * conform/data/strings.h-data: Likewise.
15174         * conform/data/stropts.h-data: Likewise.
15175         * conform/data/sys/ipc.h-data: Likewise.
15176         * conform/data/sys/mman.h-data: Likewise.
15177         * conform/data/sys/msg.h-data: Likewise.
15178         * conform/data/sys/resource.h-data: Likewise.
15179         * conform/data/sys/select.h-data: Likewise.
15180         * conform/data/sys/sem.h-data: Likewise.
15181         * conform/data/sys/shm.h-data: Likewise.
15182         * conform/data/sys/socket.h-data: Likewise.
15183         * conform/data/sys/stat.h-data: Likewise.
15184         * conform/data/sys/statvfs.h-data: Likewise.
15185         * conform/data/sys/time.h-data: Likewise.
15186         * conform/data/sys/timeb.h-data: Likewise.
15187         * conform/data/sys/times.h-data: Likewise.
15188         * conform/data/sys/types.h-data: Likewise.
15189         * conform/data/sys/uio.h-data: Likewise.
15190         * conform/data/sys/un.h-data: Likewise.
15191         * conform/data/sys/utsname.h-data: Likewise.
15192         * conform/data/sys/wait.h-data: Likewise.
15193         * conform/data/syslog.h-data: Likewise.
15194         * conform/data/tar.h-data: Likewise.
15195         * conform/data/termios.h-data: Likewise.
15196         * conform/data/utime.h-data: Likewise.
15197         * conform/data/utmpx.h-data: Likewise.
15198         * conform/data/varargs.h-data: Likewise.
15199         * conform/data/wchar.h-data: Likewise.
15200         * conform/data/wctype.h-data: Likewise.
15201         * conform/data/wordexp.h-data: Likewise.
15203         * include/stropts.h: New file.
15204         * include/uchar.h: New file.
15205         * include/aio.h: Changes to allow conformtest.pl to use the headers.
15206         * include/assert.h: Likewise.
15207         * include/ctype.h: Likewise.
15208         * include/dirent.h: Likewise.
15209         * include/dlfcn.h: Likewise.
15210         * include/fcntl.h: Likewise.
15211         * include/fnmatch.h: Likewise.
15212         * include/glob.h: Likewise.
15213         * include/grp.h: Likewise.
15214         * include/libio.h: Likewise.
15215         * include/locale.h: Likewise.
15216         * include/math.h: Likewise.
15217         * include/net/if.h: Likewise.
15218         * include/netdb.h: Likewise.
15219         * include/netinet/in.h: Likewise.
15220         * include/pthread.h: Likewise.
15221         * include/pwd.h: Likewise.
15222         * include/regex.h: Likewise.
15223         * include/sched.h: Likewise.
15224         * include/search.h: Likewise.
15225         * include/setjmp.h: Likewise.
15226         * include/signal.h: Likewise.
15227         * include/stdio.h: Likewise.
15228         * include/stdlib.h: Likewise.
15229         * include/string.h: Likewise.
15230         * include/sys/cdefs.h: Likewise.
15231         * include/sys/mman.h: Likewise.
15232         * include/sys/msg.h: Likewise.
15233         * include/sys/resource.h: Likewise.
15234         * include/sys/select.h: Likewise.
15235         * include/sys/socket.h: Likewise.
15236         * include/sys/stat.h: Likewise.
15237         * include/sys/statvfs.h: Likewise.
15238         * include/sys/time.h: Likewise.
15239         * include/sys/times.h: Likewise.
15240         * include/sys/uio.h: Likewise.
15241         * include/sys/utsname.h: Likewise.
15242         * include/sys/wait.h: Likewise.
15243         * include/termios.h: Likewise.
15244         * include/time.h: Likewise.
15245         * include/ulimit.h: Likewise.
15246         * include/unistd.h: Likewise.
15247         * include/utime.h: Likewise.
15248         * include/wchar.h: Likewise.
15249         * include/wctype.h: Likewise.
15250         * include/wordexp.h: Likewise.
15252         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15254         * time/time.h: TIME_UTC must be a macro.
15255         Make timespec_get available for ISO C11 only as well.
15257 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
15259         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15260         Reported by Peng Haitao <penght@cn.fujitsu.com>.
15262 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15264         * configure.in: Use -o not -a in test for unsupported multi-arch.
15266 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15268         * manual/texinfo.tex: Update to version 2012-01-19.16.
15270 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
15272         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15274 2012-02-24  Roland McGrath  <roland@hack.frob.com>
15276         [BZ #13738]
15277         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15278         * manual/fdl-1.3.texi: New file.
15279         * manual/fdl-1.1.texi: File removed.
15281         [BZ #13738]
15282         * manual/libc.texinfo (FDL_VERSION): New @set.
15283         Use it for mention of FDL in cover text.
15284         (Documentation License): Use it in @include file name.
15286 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15287             Roland McGrath  <roland@hack.frob.com>
15289         [BZ #5461]
15290         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15291         not LONG_LONG_MAX and LONG_LONG_MIN.
15292         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15293         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
15294         name.
15295         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15297 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15299         [BZ #2547]
15300         [BZ #11365]
15301         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15302         manipulate bits before adding and subtracting TWO23[sx].
15303         * math/libm-test.inc (nearbyint_test): Add more tests.
15305 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15307         [BZ #2548]
15308         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15309         bits before adding and subtracting TWO23[sx].
15310         * math/libm-test.inc (rint_test): Add more tests.
15311         (rint_test_tonearest): Likewise.
15312         (rint_test_towardzero): Likewise.
15313         (rint_test_downward): Likewise.
15314         (rint_test_upward: Likewise.
15316 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15318         [BZ #10110]
15319         * include/stdc-predef.h: New file.  Extracted from features.h.
15320         * include/features.h: Include stdc-predef.h.
15321         * Makefile (headers): Add stdc-predef.h.
15322         * CONFORMANCE (Compiler limitations): Update.
15324 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
15326         * manual/libc.texinfo (VERSION, UPDATED): Revert.
15328 2012-02-21  David S. Miller  <davem@davemloft.net>
15330         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15331         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15333 2012-02-20  David S. Miller  <davem@davemloft.net>
15335         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15336         using a normal save/restore sequence, rather than allocating a
15337         dummy stack frame just to store a frame pointer and restore.
15338         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15340 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15342         * manual/install.texi: Fix stray word in line-wrapped comment.
15344 2012-02-20  David S. Miller  <davem@davemloft.net>
15346         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15347         both binutils and gcc support GOTDATA.
15349         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15350         "rd %pc" in the PIC register setup sequences.
15352         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15353         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15354         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15355         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15356         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15357         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15358         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15359         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15360         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15361         (SYSCALL_ERROR_HANDLER): Likewise.
15362         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15363         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15364         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15365         (SYSCALL_ERROR_HANDLER): Likewise.
15367         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15368         (HAVE_GCC_GOTDATA): New.
15369         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15370         relocation support in both binutils and gcc.
15371         * sysdeps/sparc/elf/configure: Regenerate.
15373         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15374         * sysdeps/sparc/sparc32/elf/configure: Delete.
15375         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15376         * sysdeps/sparc/sparc64/elf/configure: Delete.
15377         * sysdeps/sparc/elf/configure.in: New file.
15378         * sysdeps/sparc/elf/configure: Generate.
15380         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15381         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15382         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15383         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15384         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15386 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15388         * manual/install.texi: Do not mention specific glibc version
15389         numbers.
15390         * manual/libc.texinfo (VERSION, UPDATED): Update.
15391         (@copying): Use @copyright{} and range of years.
15393 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
15395         [BZ #13695]
15396         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15397         [crti.S not in sysdirs] (generated): Do not append.
15398         [crti.S not in sysdirs] (omit-deps): Likewise.
15399         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15400         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15401         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15402         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15403         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15404         Likewise.
15405         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15406         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15407         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15408         * csu/defs.awk: Remove file.
15409         * sysdeps/generic/initfini.c: Likewise.
15410         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15411         variable.
15412         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15413         Likewise.
15415 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15417         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15418         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15419         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15420         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15421         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15422         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15423         <bits/epoll.h>.
15424         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15425         (__EPOLL_PACKED): Define to empty if not defined by
15426         <bits/epoll.h>.
15427         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15428         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15429         bits/epoll.h.
15431 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15433         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15434         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15435         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15436         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15437         <bits/timerfd.h>.
15438         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15439         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15440         bits/timerfd.h.
15442 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
15444         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15445         in C locale.
15446         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15447         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15448         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15451 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
15453         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15454         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15456 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
15458         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15459         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15460         defined.
15461         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15462         Likewise.
15463         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15464         entry for 2.16.
15466 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
15468         * math/w_acos.c: Use non-signaling floating-point comparisons.
15469         * math/w_acosf.c: Likewise.
15470         * math/w_acosh.c: Likewise.
15471         * math/w_acoshf.c: Likewise.
15472         * math/w_acoshl.c: Likewise.
15473         * math/w_acosl.c: Likewise.
15474         * math/w_asin.c: Likewise.
15475         * math/w_asinf.c: Likewise.
15476         * math/w_asinl.c: Likewise.
15477         * math/w_atanh.c: Likewise.
15478         * math/w_atanhf.c: Likewise.
15479         * math/w_atanhl.c: Likewise.
15480         * math/w_exp2.c: Likewise.
15481         * math/w_exp2f.c: Likewise.
15482         * math/w_exp2l.c: Likewise.
15483         * math/w_j0.c: Likewise.
15484         * math/w_j0f.c: Likewise.
15485         * math/w_j0l.c: Likewise.
15486         * math/w_j1.c: Likewise.
15487         * math/w_j1f.c: Likewise.
15488         * math/w_j1l.c: Likewise.
15489         * math/w_jn.c: Likewise.
15490         * math/w_jnf.c: Likewise.
15491         * math/w_log.c: Likewise.
15492         * math/w_log10.c: Likewise.
15493         * math/w_log10f.c: Likewise.
15494         * math/w_log10l.c: Likewise.
15495         * math/w_log2.c: Likewise.
15496         * math/w_log2f.c: Likewise.
15497         * math/w_log2l.c: Likewise.
15498         * math/w_logf.c: Likewise.
15499         * math/w_logl.c: Likewise.
15500         * math/w_sqrt.c: Likewise.
15501         * math/w_sqrtf.c: Likewise.
15502         * math/w_sqrtl.c: Likewise.
15503         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15504         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15505         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15506         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15507         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15509 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15511         [BZ #9739]
15512         * manual/string.texi (strnlen): Use correct parameter name in
15513         equivalent expression.
15515 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15517         [BZ #11174]
15518         * manual/users.texi (seteuid): Consistently use neweuid for
15519         argument name.
15521 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
15523         [BZ #13704]
15524         * manual/nss.texi (Services in the NSS configuration): Correct
15525         list of services in example configuration file.
15527 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
15529         [BZ #11322]
15530         * manual/arith.texi: Remove statements about negative zero
15531         behaving identically to zero.
15533 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
15535         [BZ #5993]
15536         * manual/install.texi: Do not document upgrading from libc5.
15538 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
15540         [BZ #4596]
15541         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15543 2012-02-18  David S. Miller  <davem@davemloft.net>
15545         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15546         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15547         %o7 across the call.
15548         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15549         instead.
15550         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15551         SETUP_PIC_REG_LEAF.
15552         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15553         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15554         * sysdeps/sparc/crtn.S: Likewise.
15556 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
15558         * aout/Makefile: Remove.
15560 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
15562         [BZ #13058]
15563         * manual/examples/argp-ex1.c (main): Format definition in GNU
15564         style.
15565         * manual/examples/argp-ex2.c (main): Likewise.
15566         * manual/examples/argp-ex3.c (main): Likewise.
15567         * manual/examples/argp-ex4.c (main): Likewise.
15568         * manual/examples/longopt.c (main): Use new-style prototype
15569         definition.
15570         * manual/examples/strncat.c (main): Specify return type and use
15571         (void) for arguments.
15572         * manual/examples/subopt.c (main): Use char **argv argument.
15574 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15576         [BZ #5077]
15577         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15578         rounding modes.
15580 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
15582         [BZ #6907]
15583         * manual/string.texi (strchr): Change when strchrnul is
15584         recommended.
15586 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
15588         [BZ #174]
15589         * manual/locale.texi (setlocale): Document LOCPATH.
15591 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15593         [BZ #10210]
15594         * manual/process.texi (execle): Move @dots{} before last argument.
15596 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
15598         [BZ #12047]
15599         * manual/charset.texi (Generic Charset Conversion): Fix typo
15600         (LC_TYPE -> LC_CTYPE).
15602 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
15604         [BZ #5805]
15605         * manual/arith.texi (scalbn): Use @var{} on parameter names.
15606         (scalbnf): Likewise.
15607         (scalbnl): Likewise.
15608         (scalbln): Likewise.
15609         (scalblnf): Likewise.
15610         (scalblnl): Likewise.
15611         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15612         (vwarnx): Likewise.
15613         (verr): Likewise.
15614         (verrx): Likewise.
15615         * manual/filesys.texi (telldir): Use braces around return type.
15616         * manual/llio.texi (mmap): Add space after comma.
15617         (mmap64): Likewise.
15618         * manual/math.texi (jn): Use @var{} on parameter names.
15619         (jnf): Likewise.
15620         (jnl): Likewise.
15621         (yn): Likewise.
15622         (ynf): Likewise.
15623         (ynl): Likewise.
15624         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15625         line.
15626         * manual/resource.texi (ulimit): Use @dots{} instead of literal
15627         "...".
15628         (sched_get_priority_min): Remove semicolon on @deftypefun line.
15629         (sched_get_priority_max): Likewise.
15630         * manual/signal.texi (sigvec): Add space after comma.
15631         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15632         names.
15633         (if_indextoname): Likewise.
15634         (if_freenameindex): Likewise.
15635         (sendto): Use ',' instead of '.' in prototype.
15636         * manual/startup.texi (syscall): Use @dots{} instead of literal
15637         "...".
15638         * manual/stdio.texi (__fpending): Separate initial words of
15639         paragraph from @deftypefun line.
15640         * manual/syslog.texi (syslog): Use @dots{} instead of literal
15641         "...".
15642         (vsyslog): Use @var{} on parameter names.
15643         * manual/terminal.texi (stty): Use @var{} on parameter names.
15644         * manual/users.texi (getutmp): Use @var{} on parameter names.
15645         (getutmpx): Likewise.
15647 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15649         [BZ #6884]
15650         * manual/stdio.texi (fopen): Fix typos in description of
15651         ",ccs=STRING".
15653 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
15655         [BZ #4026]
15656         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15657         get clock_id definition.
15659 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
15661         [BZ #4822]
15662         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15663         (madvise): Cast every argument to void on its own.
15665 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15667         [BZ #9902]
15668         * manual/startup.texi (Exit Status): Fix typo.
15670 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
15672         [BZ #10140]
15673         * manual/examples/argp-ex1.c: Include <stdlib.h>.
15674         * manual/examples/argp-ex2.c: Likewise.
15675         * manual/examples/argp-ex3.c: Likewise.
15677 2012-02-16  Richard Henderson  <rth@redhat.com>
15679         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15680         * sysdeps/s390/s390-32/initfini.c: Remove.
15681         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15682         * sysdeps/s390/s390-64/initfini.c: Remove.
15684 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15686         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15687         compiler output for sysdeps/generic/initfini.c.
15688         * sysdeps/sh/elf/initfini.c: Remove file.
15690 2012-02-16  David S. Miller  <davem@davemloft.net>
15692         [BZ #11494]
15693         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15695         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15696         * sysdeps/sparc/crti.S: New file.
15697         * sysdeps/sparc/crtn.S: New file.
15698         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15699         * sysdeps/sparc/sparc64/Makefile: Likewise.
15701 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
15703         [BZ #3335]
15704         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15706 2012-02-15  Roland McGrath  <roland@hack.frob.com>
15708         [BZ #4822]
15709         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15711         * mach/devstream.c (cookie_io_functions_t): Macro removed.
15712         (write, read, close): Likewise.
15713         Patch by Aurelien Jarno <aurelien@aurel32.net>.
15715 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
15717         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15718         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15719         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15720         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15721         <bits/signalfd.h>.
15722         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15723         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15724         bits/signalfd.h.
15726 2012-02-14  Marek Polacek  <polacek@redhat.com>
15728         * sysdeps/x86_64/crti.S: New file.
15729         * sysdeps/x86_64/crtn.S: New file.
15730         * sysdeps/x86_64/elf/initfini.c: Remove file.
15732 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
15734         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15735         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15736         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15737         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15738         <bits/inotify.h>.
15739         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15740         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15741         bits/inotify.h.
15743 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
15745         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15746         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15747         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15748         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15749         <bits/eventfd.h>.
15750         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15751         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15752         bits/eventfd.h.
15754 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
15756         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15757         __feraiseexcept instead of feraiseexcept.
15759         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15760         nanosleep invocations.
15761         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15762         strings, and add error checking for a nanosleep invocations.
15764 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
15766         Replace FSF snail mail address with URLs, as per GNU coding standards.
15767         Most of the snail mail addresses were wrong anyway, and omitting
15768         them makes the source code easier to maintain.  Almost all of the
15769         changes are to license notices and to locale LC_IDENTIFICATION
15770         addresses, except for this one:
15771         * manual/libc.texinfo: In "Published by", give the FSF's URL,
15772         not its snail mail address.
15774 2012-02-09  Richard Henderson  <rth@twiddle.net>
15776         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15777         of kernel-features.h.
15779         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15781 2012-02-08  Marek Polacek  <polacek@redhat.com>
15783         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15784         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15785         * sysdeps/gnu/_G_config.h: Likewise.
15786         * sysdeps/generic/_G_config.h: Likewise.
15788 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
15790         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15791         tests.
15792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15794         * sysdeps/powerpc/powerpc32/crti.S: New file.
15795         * sysdeps/powerpc/powerpc32/crtn.S: New file.
15796         * sysdeps/powerpc/powerpc64/crti.S: New file.
15797         * sysdeps/powerpc/powerpc64/crtn.S: New file.
15799         * Makeconfig (have-initfini): Don't set.
15800         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15801         * configure.in (nopic_initfini): Don't substitute.
15802         * config.h.in (HAVE_INITFINI): Don't #undef.
15803         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15804         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15806 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
15808         Support crti.S and crtn.S provided directly by architectures.
15809         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15810         [crti.S in sysdirs] (omit-deps): Likewise.
15811         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15812         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15813         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15814         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15815         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15816         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15817         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15818         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15819         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15820         compiler output for sysdeps/generic/initfini.c.
15821         * sysdeps/i386/elf/Makefile: Remove file.
15822         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15824 2012-02-07  Marek Polacek  <polacek@redhat.com>
15826         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15827         * sysdeps/gnu/_G_config.h: Likewise.
15828         * sysdeps/mach/hurd/_G_config.h: Likewise.
15830 2012-02-07  Marek Polacek  <polacek@redhat.com>
15832         * math/Makefile (tests): Add tst-CMPLX2.
15833         * math/tst-CMPLX2.c: New file.
15835 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
15837         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15839         * math/libm-test.inc (jn_test): Add missing L suffix.
15841 2012-02-06  Marek Polacek  <polacek@redhat.com>
15843         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15844         * sysdeps/i386/fpu/e_powf.S: Likewise.
15845         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15846         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15847         * sysdeps/i386/fpu/e_acosh.S: Likewise.
15848         * sysdeps/i386/fpu/e_pow.S: Likewise.
15849         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15850         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15851         * sysdeps/i386/fpu/s_expm1.S: Likewise.
15852         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15853         * sysdeps/i386/fpu/e_log2.S: Likewise.
15854         * sysdeps/i386/fpu/e_log2l.S: Likewise.
15855         * sysdeps/i386/fpu/e_scalb.S: Likewise.
15856         * sysdeps/i386/fpu/e_powl.S: Likewise.
15857         * sysdeps/i386/fpu/s_log1p.S: Likewise.
15858         * sysdeps/i386/fpu/e_log10f.S: Likewise.
15859         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15860         * sysdeps/i386/fpu/e_logl.S: Likewise.
15861         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15862         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15863         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15864         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15865         * sysdeps/i386/fpu/e_log2f.S: Likewise.
15866         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15867         * sysdeps/i386/fpu/e_log.S: Likewise.
15868         * sysdeps/i386/fpu/s_cexp.S: Likewise.
15869         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15870         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15871         * sysdeps/i386/fpu/e_logf.S: Likewise.
15872         * sysdeps/i386/fpu/e_log10l.S: Likewise.
15873         * sysdeps/i386/fpu/e_atanh.S: Likewise.
15874         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15875         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15876         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15877         * sysdeps/i386/fpu/e_log10.S: Likewise.
15878         * sysdeps/i386/fpu/s_frexp.S: Likewise.
15879         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15880         * sysdeps/i386/fpu/s_asinh.S: Likewise.
15881         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15882         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15883         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15884         * sysdeps/i386/asm-syntax.h: Likewise.
15885         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15886         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15887         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15888         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15889         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15890         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15891         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15892         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15893         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15894         * sysdeps/powerpc/sysdep.h: Likewise.
15895         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15896         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15898 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
15900         [BZ #411]
15901         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15903 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
15905         * sysdeps/i386/sysdep.h: Include <features.h>.
15906         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15907         version.
15909 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
15911         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15912         Define.
15913         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15914         LOAD_PIC_REG_STR.
15916 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15918         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15919         (SETUP_PIC_REG): Use GET_PC_THUNK.
15920         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15921         macro.
15923 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15925         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15926         for non-PIC compilation.
15927         (SETUP_PIC_REG): Add .p2align directive.
15928         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15929         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15930         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15931         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15932         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15933         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15934         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15935         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15936         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15937         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15938         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15939         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15940         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15941         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15942         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15943         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15944         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15945         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15946         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15947         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15948         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15949         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15950         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15951         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15952         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15953         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15954         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15955         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15956         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15957         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15958         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15959         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15960         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15961         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15962         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15963         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15964         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15965         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15966         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15967         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15968         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15970 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
15972         * math/tst-CMPLX.c: Include <stdio.h>.
15974 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
15976         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15977         float.
15978         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15979         * sysdeps/sparc/bits/mathdef.h: Likewise.
15981 2012-01-31  Marek Polacek  <polacek@redhat.com>
15983         * libio/libio.h: Don't define _PARAMS.
15984         * locale/programs/config.h: Don't define PARAMS.
15985         * stdlib/strtol_l.c: Likewise.
15986         (__strtol_l): Remove PARAMS from the prototype.
15988 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
15990         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
15991         names.  Just use the correct names.  Remove unnecessary wrapper
15992         functions.
15993         * malloc/arena.c: Likewise.
15994         * malloc/hooks.c: Likewise.
15996         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15997         ARENA_TEST says not to.  Simplify test for creation of a new arena.
15998         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16000 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
16002         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16003         into tail calls.
16004         (update_get_addr): New function.
16005         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16006         GET_ADDR_MODULE parameter.
16008 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
16010         * crypt/cert.c: Remove __STDC__ conditionals.
16011         * crypt/crypt-entry.c: Likewise.
16012         * crypt/crypt_util.c: Likewise.
16013         * libio/filedoalloc.c: Likewise.
16014         * libio/fileops.c: Likewise.
16015         * libio/genops.c: Likewise.
16016         * libio/iofclose.c: Likewise.
16017         * libio/iofdopen.c: Likewise.
16018         * libio/iofopen.c: Likewise.
16019         * libio/iofopen64.c: Likewise.
16020         * libio/iogetdelim.c: Likewise.
16021         * libio/iopopen.c: Likewise.
16022         * libio/obprintf.c: Likewise.
16023         * libio/oldfileops.c: Likewise.
16024         * libio/oldiofclose.c: Likewise.
16025         * libio/oldiofdopen.c: Likewise.
16026         * libio/oldiofopen.c: Likewise.
16027         * libio/oldiopopen.c: Likewise.
16028         * libio/wfiledoalloc.c: Likewise.
16029         * libio/wgenops.c: Likewise.
16030         * locale/programs/xmalloc.c: Likewise.
16031         * misc/syslog.c: Likewise.
16032         * stdio-common/xbug.c: Likewise.
16033         * string/memchr.c: Likewise.
16034         * string/memcmp.c: Likewise.
16035         * string/memrchr.c: Likewise.
16036         * string/rawmemchr.c: Likewise.
16037         * sysdeps/posix/getcwd.c: Likewise.
16038         * time/strftime_l.c: Likewise.
16040 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
16042         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
16043         * config.make.in (config-cflags-sse2avx): Define.
16044         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16045         Fix typo.
16047 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
16049         * scripts/config.guess: Update from upstream config git repository.
16050         * scripts/config.sub: Likewise.
16052 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
16054         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16055         (EM_NUM): Update.
16056         (R_TILEPRO_*, R_TILEGX_*): New macros.
16058         * scripts/firstversions.awk: Fix bug in version range handling.
16060         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16062         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16064         * include/sys/epoll.h: New file.
16065         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16066         libc_hidden_def.
16068 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
16070         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16071         Avoid unnecessary __WORDSIZE == 64 test.
16072         (fmaxf): Use VEX format if possible.
16073         (fmax): Likewise.
16074         (fminf): Likewise.
16075         (fmin): Likewise.
16077         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16078         * math/math_private.h: Remove libc_fegetround* and
16079         libc_fesetround*.
16080         * sysdeps/i386/configure.in: Check for -msse2avx.
16081         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16082         also if SSE2AVX is defined.
16083         Remove libc_fegetround* and libc_fesetround*.
16084         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16085         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
16086         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16087         of HAS_YMM_USABLE.
16088         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16089         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16090         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16091         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16092         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16094         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16096 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16098         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16099         size is not set.
16100         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16102 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
16104         [BZ #13618]
16105         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16106         relocation.
16107         * Makeconfig (libm): Define.
16108         * elf/Makefile: Add rules to build and run tst-relsort1.
16109         * elf/tst-relsort1.c: New file.
16110         * elf/tst-relsort1mod1.c: New file.
16111         * elf/tst-relsort1mod2.c: New file.
16113 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
16115         * math/s_ldexp.c: Remove __STDC__ conditionals.
16116         * math/s_ldexpf.c: Likewise.
16117         * math/s_ldexpl.c: Likewise.
16118         * math/s_nextafter.c: Likewise.
16119         * math/s_nexttowardf.c: Likewise.
16120         * math/s_significand.c: Likewise.
16121         * math/s_significandf.c: Likewise.
16122         * math/s_significandl.c: Likewise.
16123         * math/w_jnl.c: Likewise.
16124         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16125         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16126         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16127         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16128         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16129         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16130         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16131         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16132         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16133         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16134         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16135         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16136         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16137         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16138         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16139         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16140         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16141         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16142         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16143         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16144         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16145         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16146         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16147         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16148         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16149         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16150         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16151         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16152         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16153         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16154         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16155         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16156         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16157         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16158         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16159         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16160         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16161         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16162         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16163         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16164         * sysdeps/ieee754/k_standard.c: Likewise.
16165         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16166         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16167         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16168         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16169         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16170         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16171         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16172         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16173         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16174         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16175         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16176         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16177         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16178         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16179         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16180         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16181         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16182         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16183         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16184         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16185         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16186         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16187         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16188         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16189         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16190         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16191         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16192         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16193         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16194         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16195         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16196         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16197         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16198         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16199         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16200         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16201         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16202         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16203         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16204         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16205         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16206         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16207         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16208         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16209         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16210         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16211         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16212         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16213         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16214         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16215         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16216         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16217         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16218         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16219         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16220         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16221         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16222         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16223         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16224         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16225         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16226         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16227         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16228         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16229         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16230         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16231         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16232         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16233         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16234         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16235         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16236         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16237         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16238         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16239         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16240         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16241         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16242         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16243         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16244         * sysdeps/ieee754/s_matherr.c: Likewise.
16245         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16246         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16247         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16248         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16250 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
16252         * crypt/md5.h: Remove __STDC__ conditionals.
16253         * libio/libioP.h: Likewise.
16254         * locale/programs/config.h: Likewise.
16255         * sysdeps/generic/sysdep.h: Likewise.
16256         * sysdeps/i386/asm-syntax.h: Likewise.
16257         * sysdeps/s390/asm-syntax.h: Likewise.
16258         * sysdeps/unix/sysdep.h: Likewise.
16259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16262 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
16264         * libio/libio.h: Remove __STDC__ conditionals.
16265         * malloc/obstack.h: Likewise.
16266         * math/complex.h: Likewise.
16267         * math/math.h: Likewise.
16268         * sysdeps/generic/_G_config.h: Likewise.
16269         * sysdeps/gnu/_G_config.h: Likewise.
16270         * sysdeps/mach/hurd/_G_config.h: Likewise.
16271         * sysdeps/powerpc/bits/mathdef.h: Likewise.
16272         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16273         * sysdeps/sparc/bits/mathdef.h: Likewise.
16275 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
16277         [BZ #13583]
16278         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
16279         Clean up HAS_* macros.
16280         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
16281         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16282         possible.
16283         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16284         HAS_AVX.
16285         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16286         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16287         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16288         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16289         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16291 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
16293         * elf/tst-unique3.cc (gets): Remove declaration.
16294         * elf/tst-unique3lib.cc (gets): Likewise.
16295         * elf/tst-unique3lib2.cc (gets): Likewise.
16296         * elf/tst-unique4.cc (gets): Likewise.
16298 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
16300         * include/stdio.h: Add C++ protection.  Add gets declarations and
16301         definitions.
16302         * debug/tst-chk1.c: Don't declare gets here.
16303         * stdio-common/tst-gets.c: Likewise.
16305 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
16307         * posix/glob: Remove directory.
16309 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
16311         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16313 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
16315         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16316         of the non-standard EPFNOSUPPORT.
16318 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16320         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16321         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16322         ANYWHERE set to 1 only on KERN_NO_SPACE error.
16324 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
16326         * wcsmbs/uchar.h: Test __STDC_VERSION__.
16328 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
16330         * nscd/aicache.c (addhstaiX): Do not cache negative results of
16331         transient errors.
16332         * nscd/grpcache.c (cache_addgr): Likewise.
16333         * nscd/hstcache.c (cache_addhst): Likewise.
16334         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16335         * nscd/pwdcache.c (cache_addpw): Likewise.
16336         * nscd/servicescache.c (cache_addserv): Likewise.
16338 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
16340         * malloc/malloc.c: Various cleanups.
16341         * malloc/hooks.c: Likewise.
16343         * stdlib/Makefile (tests): Add bug-fmtmsg1.
16344         * stdlib/bug-fmtmsg1.c: New file.
16346         * stdlib/fmtmsg.c (init): Add missing unlock.
16347         Patch by Peng Haitao <penght@cn.fujitsu.com>.
16349 2012-01-12  Marek Polacek  <polacek@redhat.com>
16351         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16352         and _GNU_SOURCE.
16354 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
16356         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16357         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16358         macro to ensure uniqueness of label name.
16359         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16360         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16362 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
16364         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16366         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16367         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16368         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16369         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16371 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
16373         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16375         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16376         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16377         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16379         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16381         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
16382         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16383         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16384         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
16386         * math/bits/math-finite.h: Add ldexp support.
16388 2012-01-10  Marek Polacek  <polacek@redhat.com>
16390         * locale/programs/localedef.h (show_archive_content): Add noreturn
16391         attribute.
16393 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
16395         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16397 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16399         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16401         * io/Makefile (headers): Add bits/poll2.h.
16403 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
16405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16406         typo #include statement.
16408 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16410         * include/sys/cdefs.h: Define __attribute_alloc_size.
16411         * catgets/gencat.c: Add alloc_size attribute and apply consistently
16412         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16413         * elf/pldd.c: Likewise.
16414         * iconv/iconv_charmap.c: Likewise.
16415         * iconv/iconvconfig.c: Likewise.
16416         * iconv/strtab.c: Likewise.
16417         * locale/programs/locale.c: Likewise.
16418         * locale/programs/localedef.h: Likewise.
16419         * locale/programs/simple-hash.c: Likewise.
16420         * nscd/nscd.h: Likewise.
16421         * nss/makedb.c: Likewise.
16422         * sysdeps/generic/ldconfig.h: Likewise.
16423         * locale/programs/localedef.c: Remove xmalloc prototype.
16424         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16426 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16428         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16429         appropriate.
16431 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
16433         * math/Makefile (tests): Add tst-CMPLX.
16434         * math/tst-CMPLX.c: New file.
16436         * math/complex.h (CMPLXL): Fix typo.
16438         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16439         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16440         GLIBC_2.16.
16441         * debug/tst-chk1.c: Add poll and ppoll tests.
16442         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16443         * include/sys/poll.h: Add hidden proto for ppoll.
16444         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16445         * sysdeps/mach/hurd/ppoll.c: Likewise.
16446         * io/ppoll.c: Likewise.
16447         * debug/poll_chk.c: New file.
16448         * debug/ppoll_chk.c: New file.
16449         * include/bits/poll2.h: New file.
16450         * io/bits/poll2.h: New file.
16452         [BZ #1350]
16453         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16455         * configure.in: static is always set to yes.  Remove.
16456         * config.make.in: Don't set build-static.
16457         * Makeconfig: Remove use of build-static.
16458         * dlfcn/Makefile: Likewise.
16459         * elf/Makefile: Likewise.
16460         * math/Makefile: Likewise.
16461         * misc/Makefile: Likewise.
16462         * nptl/Makefile: Likewise.
16463         * sysdeps/mach/hurd/Makefile: Likewise.
16465         * configure.in: PWD_P is not used anymore.
16466         * config.make.in: Remove PWD_P entry.
16468         * configure.in: Remove last remnants of RANLIB.
16469         No need to check for signed size_t anymore.
16470         Don't set libc_commonpagesize and libc_relro_required here for Alpha
16471         and IA-64.
16472         Remove __builtin_expect test because we require at least gcc 3.4.
16473         * aclocal.m4: Likewise.
16475         * wcsmbs/mbrtoc16.c: Implement using towc function.
16476         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16477         * wcsmbs/wcsmbsload.c: Likewise.
16478         * iconv/gconv_simple.c: Likewise.
16479         * iconv/gconv_int.h: Likewise.
16480         * iconv/gconv_builtin.h: Likewise.
16481         * iconv/iconv_prog.c: Remove CHAR16 handling.
16483         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16485         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16487         * configure.in: Remove --with-elf and --enable-bounded options.
16488         Dont set base_machine for ia64.  More non-ELF conditions removed.
16489         Remove testing and setting of leading underscore information.
16490         * config.make.in (build-bounded): Set to no.
16491         * config.h.in: Remove NO_UNDERSCORES entry.
16492         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
16493         them.
16494         * csu/start.c: Remove !NO_UNDERSCORE code.
16495         * locale/localeinfo.h: Likewise.
16496         * sysdeps/generic/machine-gmon.h: Likewise.
16497         * sysdeps/generic/sysdep.h: Likewise.
16498         * sysdeps/i386/sysdep.h: Likewise.
16499         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16500         * sysdeps/mach/sysdep.h: Likewise.
16501         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16502         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16503         * sysdeps/sh/sysdep.h: Likewise.
16504         * sysdeps/sparc/sparc32/alloca.S: Likewise.
16505         * sysdeps/unix/i386/sysdep.S: Likewise.
16506         * sysdeps/unix/sparc/start.c: Likewise.
16507         * sysdeps/unix/sparc/sysdep.S: Likewise.
16508         * sysdeps/unix/sparc/sysdep.h: Likewise.
16509         * sysdeps/unix/start.c: Likewise.
16510         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16511         * sysdeps/x86_64/sysdep.h: Likewise.
16513 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
16515         [BZ #13553]
16516         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16517         for non-gcc.
16518         * argp/argp-fmtstream.h: Use const instead __const.
16519         * argp/argp.h: Likewise.
16520         * assert/assert.h: Likewise.
16521         * bits/fenv.h: Likewise.
16522         * bits/sched.h: Likewise.
16523         * bits/sigset.h: Likewise.
16524         * bits/sigthread.h: Likewise.
16525         * catgets/nl_types.h: Likewise.
16526         * conform/data/pthread.h-data: Likewise.
16527         * crypt/crypt-private.h: Likewise.
16528         * crypt/crypt.h: Likewise.
16529         * crypt/crypt_util.c: Likewise.
16530         * ctype/ctype.h: Likewise.
16531         * debug/execinfo.h: Likewise.
16532         * debug/mbsnrtowcs_chk.c: Likewise.
16533         * debug/mbsrtowcs_chk.c: Likewise.
16534         * debug/wcsnrtombs_chk.c: Likewise.
16535         * debug/wcsrtombs_chk.c: Likewise.
16536         * debug/wcstombs_chk.c: Likewise.
16537         * dirent/dirent.h: Likewise.
16538         * dlfcn/dlfcn.h: Likewise.
16539         * elf/neededtest4.c: Likewise.
16540         * grp/grp.h: Likewise.
16541         * gshadow/gshadow.h: Likewise.
16542         * iconv/gconv.h: Likewise.
16543         * iconv/gconv_int.h: Likewise.
16544         * iconv/gconv_simple.c: Likewise.
16545         * iconv/iconv.h: Likewise.
16546         * iconv/loop.c: Likewise.
16547         * iconv/skeleton.c: Likewise.
16548         * include/aio.h: Likewise.
16549         * include/aliases.h: Likewise.
16550         * include/argz.h: Likewise.
16551         * include/arpa/inet.h: Likewise.
16552         * include/assert.h: Likewise.
16553         * include/dirent.h: Likewise.
16554         * include/dlfcn.h: Likewise.
16555         * include/execinfo.h: Likewise.
16556         * include/fcntl.h: Likewise.
16557         * include/fenv.h: Likewise.
16558         * include/glob.h: Likewise.
16559         * include/grp.h: Likewise.
16560         * include/libintl.h: Likewise.
16561         * include/mntent.h: Likewise.
16562         * include/netdb.h: Likewise.
16563         * include/pwd.h: Likewise.
16564         * include/rpc/netdb.h: Likewise.
16565         * include/sched.h: Likewise.
16566         * include/search.h: Likewise.
16567         * include/shadow.h: Likewise.
16568         * include/signal.h: Likewise.
16569         * include/stdio.h: Likewise.
16570         * include/stdlib.h: Likewise.
16571         * include/string.h: Likewise.
16572         * include/sys/socket.h: Likewise.
16573         * include/sys/stat.h: Likewise.
16574         * include/sys/statfs.h: Likewise.
16575         * include/sys/statvfs.h: Likewise.
16576         * include/sys/syslog.h: Likewise.
16577         * include/sys/time.h: Likewise.
16578         * include/sys/uio.h: Likewise.
16579         * include/time.h: Likewise.
16580         * include/unistd.h: Likewise.
16581         * include/utmp.h: Likewise.
16582         * include/wchar.h: Likewise.
16583         * include/wctype.h: Likewise.
16584         * inet/aliases.h: Likewise.
16585         * inet/arpa/inet.h: Likewise.
16586         * inet/netinet/ether.h: Likewise.
16587         * inet/netinet/in.h: Likewise.
16588         * intl/libintl.h: Likewise.
16589         * io/bits/fcntl2.h: Likewise.
16590         * io/fcntl.h: Likewise.
16591         * io/ftw.h: Likewise.
16592         * io/sys/poll.h: Likewise.
16593         * io/sys/stat.h: Likewise.
16594         * io/sys/statfs.h: Likewise.
16595         * io/sys/statvfs.h: Likewise.
16596         * io/utime.h: Likewise.
16597         * libio/bits/stdio.h: Likewise.
16598         * libio/bits/stdio2.h: Likewise.
16599         * libio/libio.h: Likewise.
16600         * libio/libioP.h: Likewise.
16601         * libio/stdio.h: Likewise.
16602         * locale/lc-ctype.c: Likewise.
16603         * locale/locale.h: Likewise.
16604         * login/utmp.h: Likewise.
16605         * malloc/arena.c: Likewise.
16606         * malloc/malloc.c: Likewise.
16607         * malloc/malloc.h: Likewise.
16608         * malloc/mcheck.c: Likewise.
16609         * malloc/mtrace.c: Likewise.
16610         * math/bits/mathcalls.h: Likewise.
16611         * math/fenv.h: Likewise.
16612         * math/math_private.h: Likewise.
16613         * misc/bits/error.h: Likewise.
16614         * misc/bits/syslog.h: Likewise.
16615         * misc/err.h: Likewise.
16616         * misc/error.h: Likewise.
16617         * misc/fstab.h: Likewise.
16618         * misc/mntent.h: Likewise.
16619         * misc/regexp.h: Likewise.
16620         * misc/search.h: Likewise.
16621         * misc/sgtty.h: Likewise.
16622         * misc/sys/mman.h: Likewise.
16623         * misc/sys/syslog.h: Likewise.
16624         * misc/sys/uio.h: Likewise.
16625         * misc/sys/xattr.h: Likewise.
16626         * misc/ttyent.h: Likewise.
16627         * nis/rpcsvc/ypclnt.h: Likewise.
16628         * nss/nss.h: Likewise.
16629         * posix/bits/unistd.h: Likewise.
16630         * posix/fnmatch.h: Likewise.
16631         * posix/glob.h: Likewise.
16632         * posix/sched.h: Likewise.
16633         * posix/spawn.h: Likewise.
16634         * posix/sys/wait.h: Likewise.
16635         * posix/unistd.h: Likewise.
16636         * posix/wordexp.h: Likewise.
16637         * pwd/pwd.h: Likewise.
16638         * resolv/netdb.h: Likewise.
16639         * resource/sys/resource.h: Likewise.
16640         * rt/aio.h: Likewise.
16641         * rt/bits/mqueue2.h: Likewise.
16642         * rt/mqueue.h: Likewise.
16643         * shadow/shadow.h: Likewise.
16644         * signal/signal.h: Likewise.
16645         * socket/send.c: Likewise.
16646         * socket/sendto.c: Likewise.
16647         * socket/sys/socket.h: Likewise.
16648         * stdio-common/printf.h: Likewise.
16649         * stdlib/bits/stdlib.h: Likewise.
16650         * stdlib/fmtmsg.h: Likewise.
16651         * stdlib/monetary.h: Likewise.
16652         * stdlib/stdlib.h: Likewise.
16653         * stdlib/ucontext.h: Likewise.
16654         * streams/stropts.h: Likewise.
16655         * string/argz.h: Likewise.
16656         * string/bits/string2.h: Likewise.
16657         * string/string.h: Likewise.
16658         * string/strings.h: Likewise.
16659         * sunrpc/rpc/auth.h: Likewise.
16660         * sunrpc/rpc/auth_des.h: Likewise.
16661         * sunrpc/rpc/clnt.h: Likewise.
16662         * sunrpc/rpc/netdb.h: Likewise.
16663         * sunrpc/rpc/pmap_clnt.h: Likewise.
16664         * sunrpc/rpc/xdr.h: Likewise.
16665         * sysdeps/generic/inttypes.h: Likewise.
16666         * sysdeps/generic/net/if.h: Likewise.
16667         * sysdeps/generic/sys/swap.h: Likewise.
16668         * sysdeps/gnu/net/if.h: Likewise.
16669         * sysdeps/gnu/utmpx.h: Likewise.
16670         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16671         * sysdeps/i386/i486/bits/string.h: Likewise.
16672         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16673         * sysdeps/s390/bits/string.h: Likewise.
16674         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16675         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16676         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16677         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16678         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16679         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16680         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16681         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16682         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16683         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16684         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16685         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16686         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16687         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16688         * sysdeps/unix/sysv/linux/readv.c: Likewise.
16689         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16690         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16691         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16692         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16693         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16694         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16695         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16696         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16697         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16698         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16699         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16700         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16701         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16702         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16703         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16704         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16705         * sysvipc/sys/ipc.h: Likewise.
16706         * sysvipc/sys/msg.h: Likewise.
16707         * sysvipc/sys/sem.h: Likewise.
16708         * sysvipc/sys/shm.h: Likewise.
16709         * termios/termios.h: Likewise.
16710         * time/sys/time.h: Likewise.
16711         * time/time.h: Likewise.
16712         * wcsmbs/bits/wchar2.h: Likewise.
16713         * wcsmbs/uchar.h: Likewise.
16714         * wcsmbs/wchar.h: Likewise.
16715         * wctype/wctype.h: Likewise.
16717         [BZ #13551]
16718         * Makeconfig: Remove all but ELF support including AIX support.
16719         * Makerules: Likewise.
16720         * config.h.in: Likewise.
16721         * config.make.in: Likewise.
16722         * configure: Likewise.
16723         * configure.in: Likewise.
16724         * csu/Makefile: Likewise.
16725         * csu/version.c: Likewise.
16726         * debug/Makefile: Likewise.
16727         * dlfcn/Makefile: Likewise.
16728         * elf/Makefile: Likewise.
16729         * extra-lib.mk: Likewise.
16730         * iconv/Makefile: Likewise.
16731         * include/libc-symbols.h: Likewise.
16732         * include/shlib-compat.h: Likewise.
16733         * resolv/Makefile: Likewise.
16734         * resolv/res_libc.c: Likewise.
16735         * rt/Makefile: Likewise.
16736         * sysdeps/i386/asm-syntax.h: Likewise.
16737         * sysdeps/i386/sysdep.h: Likewise.
16738         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16739         * sysdeps/mach/sysdep.h: Likewise.
16740         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16741         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16742         * sysdeps/s390/asm-syntax.h: Likewise.
16743         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16744         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16745         * sysdeps/sh/sysdep.h: Likewise.
16746         * sysdeps/unix/sparc/sysdep.h: Likewise.
16747         * sysdeps/wordsize-32/divdi3.c: Likewise.
16748         * sysdeps/x86_64/sysdep.h: Likewise.
16750         * argp/Versions: Remove _argp_unlock_xxx.
16752         [BZ #13559]
16753         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
16754         * abilist/libBrokenLocale.abilist: Likewise.
16755         * abilist/libanl.abilist: Likewise.
16756         * abilist/libc.abilist: Likewise.
16757         * abilist/libcrypt.abilist: Likewise.
16758         * abilist/libdl.abilist: Likewise.
16759         * abilist/libm.abilist: Likewise.
16760         * abilist/libnsl.abilist: Likewise.
16761         * abilist/libpthread.abilist: Likewise.
16762         * abilist/libresolv.abilist: Likewise.
16763         * abilist/librt.abilist: Likewise.
16764         * abilist/libthread_db.abilist: Likewise.
16765         * abilist/libutil.abilist: Likewise.
16766         * abilist/libnss_db.abilist: New file.
16768         * scripts/abilist.awk: Add support for indirect functions.
16770         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16772         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16774         * shlib-versions: Remove entries for ports architectures.
16776         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
16777         files in ports.
16778         * elf/stackguard-macros.h: Remove support for IA-64.
16779         * elf/tst-auditmod1.c: Likewise.
16780         * sysdeps/generic/ldsodefs.h: Likewise.
16782         * sysdeps/unix/sysv/linux/configure.in: Ports should define
16783         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16784         configure files.
16786         [BZ #13552]
16787         * configure.in: Remove --enable-omitfp support.
16788         * FAQ.in: Adjust.
16789         * config.make.in: Likewise.
16790         * Makeconfig: Likewise.
16791         * manual/install.texi: Likewise.
16793         In case anyone cares, the IA-64 architecture could move to ports.
16794         * sysdeps/ia64/*: Removed.
16795         * sysdeps/unix/sysv/linux/ia64/*: Removed.
16796         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
16798         [BZ #13555]
16799         * configure.in: Remove entries for unsupported architectures.
16801         [BZ #13533]
16802         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16803         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
16804         routines.
16805         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16806         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16807         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
16808         fall back to using wcrtomb.
16809         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16810         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
16811         renaming.
16812         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16813         * wcsmbs/tst-c16c32-1.c: New file.
16815         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16816         local variable.
16818         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16820         * elf/tst-unique3.cc: Add explicit declaration of gets.
16821         * elf/tst-unique3lib.cc: Likewise.
16822         * elf/tst-unique3lib2.cc: Likewise.
16823         * elf/tst-unique4.cc: Likewise.
16825         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16827 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
16829         [BZ #13566]
16830         * assert/assert.h (static_assert): Don't define for C++.
16831         * libio/stdio.h (gets): Do declare for C++ <= C++11.
16832         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16834 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
16836         * iconv/loop.c (single loop): Fix assertion in storing of
16837         remaining bytes.
16839         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16841 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
16843         * posix/getconf.c: Update copyright year.
16844         * nss/getent.c: Likewise.
16845         * nss/makedb.c: Likewise.
16846         * iconv/iconvconfig.c: Likewise.
16847         * iconv/iconv_prog.c: Likewise.
16848         * elf/ldconfig.c: Likewise.
16849         * elf/pldd.c: Likewise.
16850         * elf/sotruss.ksh: Likewise.
16851         * catgets/gencat.c: Likewise.
16852         * csu/version.c: Likewise.
16853         * elf/ldd.bash.in: Likewise.
16854         * elf/sprof.c (print_version): Likewise.
16855         * locale/programs/locale.c: Likewise.
16856         * locale/programs/localedef.c: Likewise.
16857         * login/programs/pt_chown.c: Likewise.
16858         * nscd/nscd.c (print_version): Likewise.
16859         * debug/xtrace.sh: Likewise.
16860         * malloc/memusage.sh: Likewise.
16861         * malloc/mtrace.pl: Likewise.
16862         * debug/catchsegv.sh: Likewise.
16864 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
16866         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16867         pure attribute.
16869 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
16871         [BZ #13533]
16872         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16873         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16874         transformations.
16875         * iconv/gconv_int.h: Likewise.
16876         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16877         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16878         from libc for GLIBC_2.16.
16879         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16880         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16881         * wcsmbs/uchar.h: Really define mbstate_t.
16882         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16883         * wcsmbs/c16rtomb.c: New file.
16884         * wcsmbs/mbrtoc16.c: New file.
16885         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16886         for C/POSIX locale.
16887         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16888         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16890         * wcsmbs/wchar.h: Add missing __restrict.
16892 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
16894         [BZ #13532]
16895         * time/Makefile (routines): Add timespec_get.
16896         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16897         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
16898         timespec for ISO C11.
16899         * time/timespec_get.c: New file.
16900         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16901         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16903         [BZ #13531]
16904         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16905         * stdlib/stdlib.h: Declare aligned_alloc.
16906         * Versions.def: Add GLIBC_2.16 for libc.
16907         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16909         [BZ 13527]
16910         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16911         ISO C11.
16913         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
16914         code.
16916         [BZ #13528]
16917         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16919         [BZ #13529]
16920         * assert/assert.h (static_assert): Define.
16922         * version.h: Update for 2.16 development version.
16924         [BZ #13526]
16925         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16926         _ISOC11_SOURCE.
16928         * version.h (RELEASE): Bump for 2.15 release.
16929         * include/features.h (__GLIBC_MINOR__): Bump to 15.
16931         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16932         Patch by Marek Polacek <mpolacek@redhat.com>.
16934         * bits/byteswap.h: Protect long long constants with __extension__.
16935         * sysdeps/i386/bits/byteswap.h: Likewise.
16936         * sysdeps/ia64/bits/byteswap.h: Likewise.
16937         * sysdeps/s390/bits/byteswap.h: Likewise.
16938         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16940 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16942         [BZ #13540]
16943         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16944         destination buffer.
16945         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16947 2011-12-23  Marek Polacek  <polacek@redhat.com>
16949         * elf/dl-addr.c (determine_info): Add inline keyword.
16950         * elf/tst-auditmod4b.c (check_avx): Likewise.
16951         * elf/tst-auditmod6b.c (check_avx): Likewise.
16952         * elf/tst-auditmod6c.c (check_avx): Likewise.
16953         * elf/tst-auditmod7b.c (check_avx): Likewise.
16955 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
16957         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16958         !__SSE_MATH__.
16960 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16962         [BZ #13540]
16963         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16964         processing for last bytes.
16966 2011-08-06  Bruno Haible  <bruno@clisp.org>
16968         [BZ #13061]
16969         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16970         U+0385, not to U+1FEE.
16972         [BZ #13062]
16973         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16974         entry for U+00A5 U+0301.
16976 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
16978         [BZ #13166]
16979         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16980         buffer for the output is too small.
16982         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16983         optimization.
16985         [BZ #13185]
16986         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16987         SSE flags if possible.
16989 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16991         [BZ #13540]
16992         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16993         processing for last bytes.
16995 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
16997         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16998         (syscall-list-default-options, syscall-list-default-condition)
16999         (syscall-list-includes): Define.
17000         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17001         list of ABIs and options and #if conditions for each ABI.  Do not
17002         handle common syscalls between ABIs specially.
17003         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17004         Remove.
17005         (syscall-list-variants, syscall-list-32bit-options)
17006         (syscall-list-32bit-condition, syscall-list-64bit-options)
17007         (syscall-list-64bit-condition): Define.
17008         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17009         (syscall-list-variants, syscall-list-32bit-options)
17010         (syscall-list-32bit-condition, syscall-list-64bit-options)
17011         (syscall-list-64bit-condition): Define.
17012         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17013         Remove.
17014         (syscall-list-variants, syscall-list-32bit-options)
17015         (syscall-list-32bit-condition, syscall-list-64bit-options)
17016         (syscall-list-64bit-condition): Define.
17017         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17018         Remove.
17019         (syscall-list-variants, syscall-list-32bit-options)
17020         (syscall-list-32bit-condition, syscall-list-64bit-options)
17021         (syscall-list-64bit-condition): Define.
17023 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
17025         * locale/iso-639.def: Add brx entry.
17027         [BZ #13328]
17028         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17029         Proposed by Mariusz_Cukr <marcukr@op.pl>.
17031         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17032         __feraiseexcept_renamed.
17034 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
17036         [BZ #13538]
17037         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17038         EPOLLET with unsigned values.
17039         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17040         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17042         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17043         to large cancellation.
17044         * math/s_cacoshf.c: Likewise.
17045         * math/s_cacoshl.c: Likewise.
17047 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
17049         [BZ #13305]
17050         [BZ #12786]
17051         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17052         * math/s_cacoshf.c: Likewise.
17053         * math/s_cacoshl.c: Likewise.
17055 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
17057         [BZ #13439]
17058         * iconv/gconv.h: Define __GCONV_SWAP.
17059         * iconvdata/unicode.c: The swap bit must be stored in __flags.
17060         * iconvdata/utf-16.c: Likewise.
17061         * iconvdata/utf-32.c: Likewise.
17063 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17065         [BZ #13524]
17066         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17067         numerator after shifting it by one limb.
17069 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
17071         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17072         under [__USE_EXTERN_INLINES].
17074 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
17076         [BZ #13446]
17077         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17079 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17081         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17082         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17083         optimized code.
17084         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17085         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17086         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17087         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17088         for strncasecmp/strncasecmp_l compilation.
17089         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17090         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17092 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
17094         [BZ #13484]
17095         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17096         of __asm__.
17098 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
17100         [BZ #13506]
17101         * time/tzfile.c (__tzfile_read): Check values from file header.
17103 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
17105         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17106         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17107         * powerpc/powerpc32/dl-start.S: Likewise.
17108         * powerpc/powerpc32/elf/start.S: Likewise.
17109         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17110         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17111         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17112         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17113         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17114         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17115         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17116         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17117         * powerpc/powerpc32/fpu/s_round.S: Likewise.
17118         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17119         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17120         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17121         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17122         * powerpc/powerpc32/memset.S: Likewise.
17123         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17124         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17125         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17126         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17127         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17128         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17129         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17130         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17131         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17132         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17133         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17134         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17135         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17137 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17139         * math/libm-test.inc: Added more nearbyint tests.
17140         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17141         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17142         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17143         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17145 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
17147         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17148         FD_CLOEXEC.
17150 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17152         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17153         Add wcscpy-ssse3 wcscpy-c.
17154         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17155         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17156         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17157         * sysdeps/x86_64/wcschr.S: New file.
17158         * sysdeps/x86_64/wcsrchr.S: New file.
17159         * string/test-strcmp.c: Remove checking of wcscmp function for
17160         wrong alignments.
17161         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17162         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17163         wcsrchr-sse2 wcsrchr-c.
17164         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17165         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17166         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17167         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17168         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17169         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17170         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17171         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17172         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17173         * wcsmbc/wcschr.c (WCSCHR): New macro.
17175 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17177         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17178         * wcsmbs/test-wcsrchr.c: New file.
17179         * string/test-strrchr.c: Add wcsrchr support.
17180         (WIDE): New macro.
17181         * wcsmbs/test-wcscpy.c: New file.
17182         * string/test-strcpy.c: Add wcscpy support.
17183         (WIDE): New macro.
17185 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
17187         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17188         the inner loop.
17190 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
17192         [BZ #13472]
17193         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17195 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
17197         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
17198         Minor optimizations.
17200         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17201         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17202         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17204 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
17206         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17207         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17208         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17209         for gcc to avoid warnings.
17210         * inet/Makefile (tests): Add tst-checks.
17211         * inet/tst-checks.c: New file.
17213         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17214         warning.
17216         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17217         __wmemcmp_sse2.
17219         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17220         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17222         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17224 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
17226         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17227         problem.
17229         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17231 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
17233         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17234         conditional on GCC version.
17235         (__arch_compare_and_exchange_val_8_acq)
17236         (__arch_compare_and_exchange_val_16_acq)
17237         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17238         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17239         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17241 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
17243         * sysdeps/sh/backtrace.c: New file.
17245 2011-12-02  Andreas Schwab  <schwab@redhat.com>
17247         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
17248         parenthesis.
17250 2011-12-01  Andreas Schwab  <schwab@redhat.com>
17252         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17253         falling back to utime.
17255 2011-11-30  Andreas Schwab  <schwab@redhat.com>
17257         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17258         expectations for float.
17260 2011-11-29  Andreas Schwab  <schwab@redhat.com>
17262         * locale/weight.h (findidx): Add parameter len.
17263         * locale/weightwc.h (findidx): Likewise.
17264         * posix/fnmatch_loop.c (FCT): Adjust caller.
17265         * posix/regcomp.c (build_equiv_class): Likewise.
17266         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17267         * posix/regexec.c (check_node_accept_bytes): Likewise.
17268         * string/strcoll_l.c (STRCOLL): Likewise.
17269         * string/strxfrm_l.c (STRXFRM): Likewise.
17271 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
17273         * Makefile.in: Remove CVSOPT handling.
17274         * configure.in: Remove use of AC_REVISION.
17275         * iconvdata/Makefile (distribute): No need to filter out CVS.
17276         * scripts/list-sources.sh: Remove CVS, subversion and monotone
17277         handling.
17279 2011-11-16  Andreas Schwab  <schwab@redhat.com>
17281         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17282         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17283         [USE_AS_STRNCASECMP_L]: Likewise.
17284         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17285         NO_TLS_DIRECT_SEG_REFS.
17286         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17287         Fix argument offsets for non-PIC.
17288         [USE_AS_STRNCASECMP_L]: Likewise.
17289         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17290         NO_TLS_DIRECT_SEG_REFS.
17292 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
17294         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
17295         O_CLOEXEC.
17296         * locale/loadlocale.c (_nl_load_locale): Likewise.
17298 2011-11-15  Andreas Schwab  <schwab@redhat.com>
17300         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17301         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17302         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17303         (SYSCALL_GETTIME): Set errno on error.
17305         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17306         count references to noai6ai_cached.
17308 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
17310         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17312         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17313         FD_CLOEXEC for /proc/self/maps.
17315         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17316         FD_CLOEXEC for /proc/meminfo.
17318         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17319         gai.conf.
17321         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
17322         FD_CLOEXEC for given file.
17324         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17326         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17327         FD_CLOEXEC for /etc/hosts.
17328         (_gethtent): Likewise.
17330         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17332         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17333         cancellation and set FD_CLOEXEC for /etc/netgroup.
17335         * nss/nss_files/files-key.c (search): Don't allow cancellation when
17336         reading /etc/publickey.
17338         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17339         allow cancellation when reading /etc/group.
17341         * nss/nss_files/files-alias.c (internal_setent): Don't allow
17342         cancellation.
17343         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
17345         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17346         when using data file.
17348         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17350         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17351         (write_nis_obj): Use "c" and "e" in fopen.
17353         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17355         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17357         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17359         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17361         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17362         locale.alias.
17364         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17366         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17368         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17370         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17371         file parsing and set FD_CLOEXEC.
17373 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
17375         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17377 2011-11-14  Andreas Schwab  <schwab@redhat.com>
17379         * malloc/arena.c (arena_get2): Don't call reused_arena when
17380         _int_new_arena failed.
17382 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
17384         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17385         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17386         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17387         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17388         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17389         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17390         to compile strcasecmp and strncasecmp.
17391         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17392         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17394         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17396 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
17398         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17399         locale-defines.sym to gen-as-const-headers.
17400         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17401         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17402         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17403         to compile strcasecmp and strncasecmp.
17404         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17405         strcasecmp_l and strncasecmp_l.
17406         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17407         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17408         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17409         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17410         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17411         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17412         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17413         * sysdeps/i386/i686/multiarch/strncase.S: New file.
17414         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17415         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17416         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17418 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
17420         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17421         result of SYSDEP_GETTIME_CPU to retval.
17422         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17423         parameter list to macro.  Remove trailing semicolon.  Adjust users.
17425         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17426         variable.
17428         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17429         mantissa words.
17430         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17432         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17433         from unused variable.
17435         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17436         DWARF definitions.
17437         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17438         for assembling.
17440         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17441         over namespaces.
17443         * sunrpc/rpc_prot.c (rejected): Fix case value.
17445         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17446         unsigned long long int to avoid warnings in shift.
17448         * posix/regex_internal.c (re_string_reconstruct): Actually use result
17449         of use of trans.
17450         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17451         variable tmp.
17453         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17454         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17455         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17457         * nis/nis_table.c (nis_list): Use variable of correct type for
17458         result of __follow_path call.
17460 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17462         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17463         of math functions ceil, trunc, floor, round, and sqrt, when
17464         avaliable on the platform.
17465         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17466         name clash.
17467         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17468         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17469         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17471 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
17473         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17474         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17476 2011-11-11  Roland McGrath  <roland@hack.frob.com>
17478         * include/unistd.h: Fix __readlink return type.
17479         Reported by Chris Metcalf <cmetcalf@tilera.com>.
17481 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
17483         * stdlib/ucontext.h: Undo last change for makecontext.
17485 2011-11-11  Andreas Schwab  <schwab@redhat.com>
17487         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17489         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17490         * setjmp/setjmp.h: Mark functions as non-leaf.
17491         * setjmp/bits/setjmp2.h: Likewise.
17492         * stdlib/ucontext.h: Likewise.
17494 2011-11-10  Andreas Schwab  <schwab@redhat.com>
17496         * malloc/arena.c (_int_new_arena): Don't increment narenas.
17497         (reused_arena): Don't check arena limit.
17498         (arena_get2): Atomically check arena limit.
17500 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
17502         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17503         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17505         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17506         instructions.
17508 2011-11-07  Andreas Schwab  <schwab@redhat.com>
17510         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17511         handler when locking.
17513         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17514         Fix size of allocated buffer.
17516 2011-11-04  Andreas Schwab  <schwab@redhat.com>
17518         [BZ #10103]
17519         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17520         declarations for long double functions.
17521         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17523         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17525 2011-11-03  Andreas Schwab  <schwab@redhat.com>
17527         * nscd/nscd.c (main): Don't start AVC thread until credentials are
17528         installed.
17530         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17531         is disabled.
17533 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17535         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17537 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17539         * include/alloca.h (stackinfo_alloca_round): Define.
17540         (extend_alloca): Use it.
17541         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17542         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17543         here.
17545         * scripts/check-local-headers.sh: Ignore libaudit.h.
17547         * nscd/Makefile (extra-objs): Make recursively expanded.
17549 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
17551         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17552         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17554         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17555         * posix/tst-rfc3484-2.c: Likewise.
17556         * posix/tst-rfc3484-3.c: Likewise.
17558         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17559         process_vm_writev.
17560         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17561         process_vm_writev.
17562         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17563         process_vm_writev from libc using GLIBC_2.15 version.
17565         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17567 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
17569         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17570         stack usage.
17572 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
17574         [BZ #13367]
17575         * nss/getent.c (initgroups_keys): Show error message in case no group
17576         names are given.
17578         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17579         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17580         __bump_nl_timestamp.
17581         * nscd/connections (nscd_init): When host database is served open
17582         netlink socket and request notification about configuration changes.
17583         (main_loop_poll): Track netlink file descriptor and bump timestamp
17584         in case data becomes available.
17585         (main_loop_epoll): Likewise.
17586         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17587         (database_pers_head): Add extra_data fileds.
17588         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17589         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17590         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17591         Adjust caller.
17592         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17593         in6ai data, call __free_in6ai.
17594         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17595         Add -DHAVE_NETLINK.
17596         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
17597         interface information.  Reuse previous data if netlink timestamp
17598         is not changed.
17599         (__bump_nl_timestamp): New function.
17600         (__free_in6ai): New function.
17602 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
17604         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17605         close_not_cancel_no_status here.
17606         (__check_pf): Reorganize code a bit to not call close twice if OOM.
17608 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
17610         [BZ #13276]
17611         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17612         return value.
17614         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
17615         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17616         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17618 2011-07-03  Andreas Jaeger  <aj@suse.de>
17620         [BZ #10709]
17621         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17622         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17623         * math/libm-test.inc (sin_test): Add test case.
17625 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
17627         [BZ #13337]
17628         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17629         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17631         * elf/chroot_canon.c (chroot_canon): Cleanups.
17633         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17635         [BZ #13335]
17636         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17637         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17639         * string/test-strchr.c: Make usable for strchrnul testing.
17640         * string/test-strchrnul.c: New file.
17641         * string/Makefile (strop-tests): Add strchrnul.
17643         * po/it.po: Update from translation team.
17644         * po/es.po: Likewise.
17646 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
17648         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17649         the three constants needed as parameters.  Drop the others.
17650         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17651         __m128i_strloadu_tolower.
17652         Create and initialize variable zero and use it in all the places
17653         where _mm_setzero_si128 was used.
17655         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17656         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17657         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17658         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17659         anymore.
17660         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17661         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17662         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17663         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17664         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17665         __mpranred, __mptan.
17666         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17667         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17668         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17669         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17670         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17671         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17672         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17673         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17674         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17676 2011-10-28  Andreas Schwab  <schwab@redhat.com>
17678         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17679         redefine if SHARED.
17680         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17682         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17683         wide char related routines to wcsmbs subdir.
17685 2011-10-27  Andreas Schwab  <schwab@redhat.com>
17687         [BZ #13344]
17688         * misc/sys/cdefs.h (__THROWNL): Define.
17689         * posix/unistd.h: Use __THREADNL instead of __THREAD
17690         for memory synchronization functions.
17692 2011-10-26  Roland McGrath  <roland@hack.frob.com>
17694         [BZ #13349]
17695         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17696         doesn't exist.
17697         * manual/stdio.texi (Obstack Streams): Node removed.
17699 2011-10-26  Andreas Schwab  <schwab@redhat.com>
17701         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17702         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17703         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17705         * math/math_private.h (math_force_eval): Allow non-addressable
17706         arguments.
17707         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17709 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17711         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17712         file is not needed.
17714         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17715         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17716         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17717         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17718         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17719         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17720         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17721         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17722         Add AVX variants.
17723         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17724         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17725         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17726         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17727         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17728         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17729         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17730         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17731         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17732         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17733         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17734         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17735         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17736         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17737         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17738         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17739         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17740         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17741         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17743         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17744         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
17746         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17747         place.  Use VEX encoding when compiling for AVX.
17749 2011-10-25  Andreas Schwab  <schwab@redhat.com>
17751         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17752         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17754         * string/test-strchr.c (do_test): Don't generate NUL bytes.
17756 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17758         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17759         useless if() expression.
17760         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17761         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17762         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17763         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17764         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17765         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17766         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17767         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17768         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17769         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17770         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17771         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17772         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17773         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17774         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17775         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17776         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17777         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17778         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17780         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17782 2011-10-25  Andreas Schwab  <schwab@redhat.com>
17784         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17785         condition.
17786         * elf/dl-fini.c (_dl_sort_fini): Likewise.
17788 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
17790         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17791         .text section.  Avoid duplicate constants.
17792         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17793         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17794         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17795         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17796         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17797         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17798         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17799         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17800         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17801         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17802         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17803         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17804         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17805         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17806         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17807         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17808         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17809         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17810         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17811         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17812         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17813         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17814         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17815         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17816         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17817         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17818         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17819         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17820         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17821         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17822         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17823         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17824         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17825         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17826         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17827         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17828         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17829         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17830         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17831         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17832         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17833         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17834         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17835         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17836         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17838 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
17840         * sysdeps/x86_64/dla.h: Move to ...
17841         * sysdeps/x86_64/fpu/dla.h: ...here.
17842         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17843         situations.  Use __builtin_fma only for gcc 4.6 and up.
17845         * config.make.in: Add have-mfma4 entry.
17846         * configure.in: Substitute libc_cv_cc_fma4.
17847         * math/Makefile (dbl-only-routines): Add sincostab.
17848         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17849         Use __sincostab not sincos.
17850         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17851         name is a macro.
17852         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17853         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17854         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17855         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
17856         using __copysign.
17857         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
17858         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
17859         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17860         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17861         and __inv.
17862         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17863         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17864         __copysign.
17865         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
17866         define aliases when function name is a macro.
17867         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17868         sysdeps/ieee754/dbl-64/sincos.tbl.
17869         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17870         fma4-enabled routines.
17871         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17872         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17873         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17874         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17875         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17876         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17877         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17878         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17879         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17880         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17881         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17882         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17883         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17884         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17885         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17886         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17887         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17888         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17889         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17890         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17891         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17892         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17893         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17894         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17895         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17896         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17897         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17898         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17899         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17900         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17902         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17903         rename.
17904         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17905         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17906         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17907         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17908         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17909         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17910         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17911         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17913 2011-10-24  Andreas Schwab  <schwab@redhat.com>
17915         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17917 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17919         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17921         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17922         prediction.
17923         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17925         * string/strnlen.c: Don't define STRNLEN, reverse logic.
17926         Remove unused variable magic_bits.
17927         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17929         * string/strnlen.c: Define and use STRNLEN macro.
17930         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17931         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17932         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17933         * wcsmbs/wcslen.c: Define and use WCSLEN.
17934         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17935         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17936         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17937         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17938         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17939         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17940         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17942 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17944         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17945         strnlen-sse2-no-bsf.
17946         Rename strlen-no-bsf to strlen-sse2-no-bsf.
17947         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17948         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17949         Add strnlen support.
17950         (USE_AS_STRNLEN): New macro.
17951         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17952         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17953         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17954         * sysdeps/x86_64/wcslen.S: New file.
17956 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
17958         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17959         XMM-moves are used for copying on small sizes.
17961 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17963         * wcsmbs/Makefile (strop-tests): Add wcschr.
17964         * wcsmbs/test-wcschr.c: New file.
17965         * string/test-strchr.c: Update.
17966         Add wcschr support.
17967         (WIDE): New macro.
17969 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17971         * wcsmbs/Makefile (strop-tests): Add wcslen.
17972         * wcsmbs/test-wcslen.c: New file.
17973         * string/test-strlen.c: Update.
17974         Add wcslen support.
17975         (WIDE): New macro.
17977 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17979         * po/it.po: Update from translation team.
17981 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17983         * sysdeps/x86_64/wcscmp.S: Update.
17984         Fix wrong comparison semantics.
17985         wcscmp shall use signed comparison not unsigned.
17986         Don't use substraction to avoid overflow bug.
17987         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17988         * wcsmbc/wcscmp.c: Likewise.
17989         * string/test-strcmp.c: Likewise.
17990         Add new tests to check cases with negative values.
17992 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
17994         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17995         * sysdeps/x86_64/dla.h: ...here.  New file.
17996         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17997         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17998         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17999         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18000         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18001         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18002         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18003         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18004         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18006 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
18008         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18009         __ynl_finite aliases.
18011 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
18013         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18015         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18016         define DLA_FMA.
18017         [DLA_FMA] (EMULV): Use DLA_FMA.
18018         [DLA_FMA] (MUL12): Use EMULV.
18019         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18020         that are not needed.
18021         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18022         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18023         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18024         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18025         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18026         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18027         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18029 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
18031         * math/s_nan.c: Undef __nan.
18032         * math/s_nanf.c: Undef __nanf.
18033         * math/s_nanl.c: Undef __nanl.
18034         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18035         "math_private.h".
18037 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
18039         * math/s_catan.c: Add branch predictions.
18040         * math/s_catanf.c: Likewise.
18041         * math/s_catanh.c: Likewise.
18042         * math/s_catanhf.c: Likewise.
18043         * math/s_catanhl.c: Likewise.
18044         * math/s_catanl.c: Likewise.
18045         * math/s_cexp.c: Likewise.
18046         * math/s_cexpf.c: Likewise.
18047         * math/s_cexpl.c: Likewise.
18048         * math/s_clog.c: Likewise.
18049         * math/s_clog10.c: Likewise.
18050         * math/s_clog10f.c: Likewise.
18051         * math/s_clog10l.c: Likewise.
18052         * math/s_clogf.c: Likewise.
18053         * math/s_clogl.c: Likewise.
18054         * math/s_csqrt.c: Likewise.
18055         * math/s_csqrtf.c: Likewise.
18056         * math/s_csqrtl.c: Likewise.
18057         * math/s_ctanf.c: Likewise.
18058         * math/s_ctanh.c: Likewise.
18059         * math/s_ctanhf.c: Likewise.
18060         * math/s_ctanhl.c: Likewise.
18061         * math/s_ctanl.c: Likewise.
18063         * math/math_private.h: Define __nan, __nanf, __nanl.
18064         * math/s_cacosh.c: Include <math_private.h>.
18065         * math/s_cacoshl.c: Likewise.
18066         * math/s_casinh.c: Likewise.
18067         * math/s_casinhf.c: Likewise.
18068         * math/s_casinhl.c: Likewise.
18069         * math/s_ccos.c: Rely entire on ccosh.
18070         * math/s_ccosf.c: Rely entire on ccoshf.
18071         * math/s_ccosl.c: Rely entirely on ccoshl.
18072         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
18073         Remove tests for FE_INVALID.
18074         * math/s_ccoshf.c: Likewise.
18075         * math/s_ccoshl.c: Likewise.
18076         * math/s_csin.c: Likewise.
18077         * math/s_csinf.c: Likewise.
18078         * math/s_csinh.c Likewise.
18079         * math/s_csinhf.c: Likewise.
18080         * math/s_csinhl.c: Likewise.
18081         * math/s_csinl.c: Likewise.
18082         * math/s_ctan.c: Likewise.
18083         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18084         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18085         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18087 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
18089         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18090         compilation problems.
18092         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18093         __builtin_expect.
18095 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
18097         * sysdeps/i386/configure.in: Test for -mfma4 option.
18098         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18099         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18100         COMMON_CPUID_INDEX_80000001.
18101         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18102         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18103         use it if FMA3 is not supported.
18104         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18106         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18107         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18109 2011-10-20  Andreas Schwab  <schwab@redhat.com>
18111         [BZ #12892]
18112         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18113         it would create a cycle with a link time dependency.
18115 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
18117         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18118         instruction.
18119         * string/Makefile (strop-tests): Add rawmemchr.
18120         * string/test-rawmemchr.c: New file.
18122         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18123         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
18124         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
18125         when compiling str{,n}casecmp and when AVX is available.  Hook up
18126         new optimized code in initializers.
18128 2011-10-19  Andreas Schwab  <schwab@redhat.com>
18130         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18131         __feraiseexcept instead of feraiseexcept.
18133 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
18135         * math/math_private.h: Define defaults for libc_fetestexcept and
18136         libc_feupdateenv.
18137         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18138         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18139         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18140         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18141         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18142         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18143         libc_fetestexcept and libc_feupdateenv.
18145         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18146         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18147         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18148         * sysdeps/x86_64/fpu/math_private.h: Define special version of
18149         libc_feholdexcept_setround.
18151         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18152         Add s_nearbyint-c and s_nearbyintf-c.
18153         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18154         nearbyintf inlines.
18155         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18156         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18157         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18158         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18160         * math/math_private.h: Define defaults for libc_fegetround,
18161         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18162         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18163         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18164         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18165         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18166         standard functions.
18167         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18168         Remove comments and hacks for old compiler versions.
18169         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18170         libc_fegetround, libc_fesetround, libc_feholdexcept, and
18171         libc_feholdexceptl.
18173 2011-10-18  Andreas Schwab  <schwab@redhat.com>
18175         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
18176         (__feraiseexcept_renamed): Add __NTH.
18177         (feraiseexcept): Add __NTH.  Rename local variables to fix
18178         namespace violations.
18180 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
18182         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18184         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18186         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18187         recently added interfaces.
18188         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18190         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18191         about macro parameter expansion.
18193         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18194         __NO_MATH_INLINES is defined.  Cleanups.
18196         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18197         and __floorf is target has SSE4.1.
18198         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18199         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18200         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18201         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18203         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18204         name.
18205         (floorf): Likewise.
18207         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18209 2011-10-17  Andreas Schwab  <schwab@redhat.com>
18211         * misc/sys/cdefs.h: Fix last change.
18213         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18214         database lookup.
18216 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
18218         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18220         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18221         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18222         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18223         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18224         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18225         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18226         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18227         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18228         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18229         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18230         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18231         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18232         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18233         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18234         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18235         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18236         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18237         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18238         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18239         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18240         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18241         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18243         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18244         ceil, ceilf, floor, floorf.
18246         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18247         Perform IRELATIVE relocations last.
18249         * elf/do-rel.h: Add another parameter nrelative, replacing the
18250         local variable with the same name.  Change name of the function
18251         to end in Rel or Rela (uppercase).
18252         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18253         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
18254         elf_dynamic_do_##reloc function.
18256 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
18258         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18259         is sufficient, at least on modern CPUs.
18261         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18263         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18264         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18266         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18267         __expl_finite.
18268         * math/bits/math-finite.h: Add entries for exp.
18269         * math/e_expl.c: Add __*_finite alias.
18270         * sysdeps/i386/fpu/e_exp.S: Likewise.
18271         * sysdeps/i386/fpu/e_expf.S: Likewise.
18272         * sysdeps/i386/fpu/e_expl.c: Likewise.
18273         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18274         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18275         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18276         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18277         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18278         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18279         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18281         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18282         is sufficient, at least on modern CPUs.
18284         * ctype/ctype-info.c (__ctype_init): Define.
18285         * include/ctype.h (__ctype_init): Declare.
18286         (__ctype_b_loc): The variable is always initialized.
18287         (__ctype_toupper_loc): Likewise.
18288         (__ctype_tolower_loc): Likewise.
18289         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18290         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18292 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
18294         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18296         * configure.in: Also look in $cxxmachine/include for C++ system
18297         headers.
18299 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18301         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18302         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18303         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18304         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
18305         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18306         (USE_AS_WMEMCMP): New macro.
18307         Fixing indents.
18308         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18309         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18310         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18311         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18312         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18313         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18314         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18315         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18316         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18317         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18318         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18319         (USE_AS_WMEMCMP): New macro.
18320         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18321         * sysdeps/string/test-memcmp.c: Update.
18322         Fix simple_wmemcmp.
18323         Add new tests.
18324         * wcsmbs/wmemcmp.c: Update.
18325         (WMEMCMP): New macro.
18326         Fix overflow bug.
18328 2011-10-12  Andreas Jaeger  <aj@suse.de>
18330         [BZ #13268]
18331         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18333 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
18335         * libio/iofwide.c (do_length): Avoid warning.
18337         * ctype/ctype.h (__isctype_f): Add missing __THROW.
18339 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
18341         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18343         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18344         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18345         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18346         * sysdeps/i386/i686/fpu/e_log.S: New file.
18347         * sysdeps/i386/i686/fpu/e_logf.S: New file.
18348         * sysdeps/i386/i686/fpu/e_logl.S: New file.
18350         * ctype/ctype.h: Add support for inlined isXXX functions when
18351         compiling C++ code.
18353 2011-10-14  Andreas Schwab  <schwab@redhat.com>
18355         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18357         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18359 2011-10-13  Roland McGrath  <roland@hack.frob.com>
18361         [BZ #13291]
18362         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18364 2011-10-13  Andreas Schwab  <schwab@redhat.com>
18366         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18367         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18368         feraiseexcept.
18370         * sysdeps/x86_64/memrchr.S: Check for zero size.
18372         * string/stratcliff.c: Add memrchr tests.
18374 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18376         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18377         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18378         rawmemchr-sse2 rawmemchr-sse2-bsf.
18379         * sysdeps/i386/i686/multiarch/memchr.S: New file.
18380         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18381         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18382         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18383         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18384         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18385         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18386         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18387         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18388         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18389         * string/memrchr.c (MEMRCHR): New macro.
18391 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
18393         Add integration with gcc's -ffinite-math-only and optimize wrapper
18394         functions in libm.
18395         * Versions.def: Define GLIBC_2.15 version for libm.
18396         * math/Makefile (headers): Add bits/math-finite.h.
18397         * math/bits/math-finite.h: New file.
18398         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18399         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18400         * math/e_acoshl.c: Add __*_finite alias.
18401         * math/e_acosl.c: Likewise.
18402         * math/e_asinl.c: Likewise.
18403         * math/e_atan2l.c: Likewise.
18404         * math/e_atanhl.c: Likewise.
18405         * math/e_coshl.c: Likewise.
18406         * math/e_exp10.c: Likewise.
18407         * math/e_exp10f.c: Likewise.
18408         * math/e_exp10l.c: Likewise.
18409         * math/e_exp2l.c: Likewise.
18410         * math/e_fmodl.c: Likewise.
18411         * math/e_gammal_r.c: Likewise.
18412         * math/e_hypotl.c: Likewise.
18413         * math/e_j0l.c: Likewise.
18414         * math/e_j1l.c: Likewise.
18415         * math/e_jnl.c: Likewise.
18416         * math/e_lgammal_r.c: Likewise.
18417         * math/e_log10l.c: Likewise.
18418         * math/e_log2l.c: Likewise.
18419         * math/e_logl.c: Likewise.
18420         * math/e_powl.c: Likewise.
18421         * math/e_sinhl.c: Likewise.
18422         * math/e_sqrtl.c: Likewise.
18423         * math/e_scalb.c: Completely rewritten and optimized.
18424         * math/e_scalbf.c: Likewise.
18425         * math/e_scalbl.c: Likewise.
18426         * math/w_acos.c: Likewise.
18427         * math/w_acosf.c: Likewise.
18428         * math/w_acosl.c: Likewise.
18429         * math/w_acosh.c: Likewise.
18430         * math/w_acoshf.c: Likewise.
18431         * math/w_acoshl.c: Likewise.
18432         * math/w_asin.c: Likewise.
18433         * math/w_asinf.c: Likewise.
18434         * math/w_asinl.c: Likewise.
18435         * math/w_atan2.c: Likewise.
18436         * math/w_atan2f.c: Likewise.
18437         * math/w_atan2l.c: Likewise.
18438         * math/w_atanh.c: Likewise.
18439         * math/w_atanhf.c: Likewise.
18440         * math/w_atanhl.c: Likewise.
18441         * math/w_exp10.c: Likewise.
18442         * math/w_exp10f.c: Likewise.
18443         * math/w_exp10l.c: Likewise.
18444         * math/w_fmod.c: Likewise.
18445         * math/w_fmodf.c: Likewise.
18446         * math/w_fmodl.c: Likewise.
18447         * math/w_j0.c: Likewise.
18448         * math/w_j0f.c: Likewise.
18449         * math/w_j0l.c: Likewise.
18450         * math/w_j1.c: Likewise.
18451         * math/w_j1f.c: Likewise.
18452         * math/w_j1l.c: Likewise.
18453         * math/w_jn.c: Likewise.
18454         * math/w_jnf.c: Likewise.
18455         * math/w_log.c: Likewise.
18456         * math/w_logf.c: Likewise.
18457         * math/w_logl.c: Likewise.
18458         * math/w_log10.c: Likewise.
18459         * math/w_log10f.c: Likewise.
18460         * math/w_log10l.c: Likewise.
18461         * math/w_log2.c: Likewise.
18462         * math/w_log2f.c: Likewise.
18463         * math/w_log2l.c: Likewise.
18464         * math/w_pow.c: Likewise.
18465         * math/w_powf.c: Likewise.
18466         * math/w_powl.c: Likewise.
18467         * math/w_remainder.c: Likewise.
18468         * math/w_remainderf.c: Likewise.
18469         * math/w_remainderl.c: Likewise.
18470         * math/w_scalb.c: Likewise.
18471         * math/w_scalbf.c: Likewise.
18472         * math/w_scalbl.c: Likewise.
18473         * math/w_sqrt.c: Likewise.
18474         * math/w_sqrtf.c: Likewise.
18475         * math/w_sqrtl.c: Likewise.
18476         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18477         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
18478         used.
18479         * math/math_private.h: Declare __kernel_standard_f.
18480         * math/w_cosh.c: Remove cruft and optimize a bit.
18481         * math/w_coshf.c: Likewise.
18482         * math/w_coshl.c: Likewise.
18483         * math/w_exp2.c: Likewise.
18484         * math/w_exp2f.c: Likewise.
18485         * math/w_exp2l.c: Likewise.
18486         * math/w_hypot.c: Likewise.
18487         * math/w_hypotf.c: Likewise.
18488         * math/w_hypotl.c: Likewise.
18489         * math/w_lgamma.c: Likewise.
18490         * math/w_lgamma_r.c: Likewise.
18491         * math/w_lgammaf.c: Likewise.
18492         * math/w_lgammaf_r.c: Likewise.
18493         * math/w_lgammal.c: Likewise.
18494         * math/w_lgammal_r.c: Likewise.
18495         * math/w_sinh.c: Likewise.
18496         * math/w_sinhf.c: Likewise.
18497         * math/w_sinhl.c: Likewise.
18498         * math/w_tgamma.c: Likewise.
18499         * math/w_tgammaf.c: Likewise.
18500         * math/w_tgammal.c: Likewise.
18501         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18502         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18503         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18504         Minor optimizations.  Pretty printing.  Remove cruft.
18505         * sysdeps/i386/fpu/e_acosf.S: Likewise.
18506         * sysdeps/i386/fpu/e_acosh.S: Likewise.
18507         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18508         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18509         * sysdeps/i386/fpu/e_acosl.c: Likewise.
18510         * sysdeps/i386/fpu/e_asin.S: Likewise.
18511         * sysdeps/i386/fpu/e_asinf.S: Likewise.
18512         * sysdeps/i386/fpu/e_atan2.S: Likewise.
18513         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18514         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18515         * sysdeps/i386/fpu/e_atanh.S: Likewise.
18516         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18517         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18518         * sysdeps/i386/fpu/e_exp10.S: Likewise.
18519         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18520         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18521         * sysdeps/i386/fpu/e_exp2.S: Likewise.
18522         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18523         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18524         * sysdeps/i386/fpu/e_fmod.S: Likewise.
18525         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18526         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18527         * sysdeps/i386/fpu/e_hypot.S: Likewise.
18528         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18529         * sysdeps/i386/fpu/e_log.S: Likewise.
18530         * sysdeps/i386/fpu/e_log10.S: Likewise.
18531         * sysdeps/i386/fpu/e_log10f.S: Likewise.
18532         * sysdeps/i386/fpu/e_log10l.S: Likewise.
18533         * sysdeps/i386/fpu/e_log2.S: Likewise.
18534         * sysdeps/i386/fpu/e_log2f.S: Likewise.
18535         * sysdeps/i386/fpu/e_log2l.S: Likewise.
18536         * sysdeps/i386/fpu/e_logf.S: Likewise.
18537         * sysdeps/i386/fpu/e_logl.S: Likewise.
18538         * sysdeps/i386/fpu/e_pow.S: Likewise.
18539         * sysdeps/i386/fpu/e_powf.S: Likewise.
18540         * sysdeps/i386/fpu/e_powl.S: Likewise.
18541         * sysdeps/i386/fpu/e_remainder.S: Likewise.
18542         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18543         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18544         * sysdeps/i386/fpu/e_scalb.S: Likewise.
18545         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18546         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18547         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18548         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18549         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18550         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18551         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18552         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18553         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18554         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18555         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18556         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18557         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18558         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18559         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18560         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18561         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18562         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18563         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18564         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18565         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18566         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18567         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18568         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18569         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18570         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18571         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18572         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18573         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18574         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18575         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18576         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18577         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18578         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18579         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18580         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18581         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18582         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18583         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18584         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18585         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18586         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18587         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18588         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18589         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18590         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18591         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18592         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18593         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18594         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18595         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18596         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18597         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18598         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18599         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18600         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18601         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18602         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18603         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18604         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18605         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18606         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18607         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18608         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18609         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18610         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18611         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18612         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18613         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18614         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18615         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18616         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18617         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18618         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18619         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18620         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18621         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18622         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18623         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18624         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18625         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18626         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18627         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18628         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18629         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18630         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18631         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18632         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18633         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18634         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18635         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18636         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18637         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18638         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18639         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18640         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18641         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18642         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18643         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18644         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18645         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18646         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18647         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18648         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18649         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18650         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18651         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18652         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18653         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18654         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18655         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18656         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18657         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18658         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18659         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18660         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
18661         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18662         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18663         (__isnanf): Likewise.
18664         (__isinf_ns): Likewise.
18665         (__isinf_nsf): Likewise.
18666         (__finite): Likewise.
18667         (__finitef): Likewise.
18668         (__ieee754_sqrt): Define as macro.
18669         (__ieee754_sqrtf): Define as macro.
18670         (__ieee754_sqrtl): Define as macro.
18671         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18672         inlined copy.
18673         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18674         __FINITE_MATH_ONLY__ consistent.
18675         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18677 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
18679         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18680         of rawmemchr.
18682         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18684 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
18686         * po/ja.po: Update from translation team.
18688 2011-10-08  Roland McGrath  <roland@hack.frob.com>
18690         * locale/programs/locarchive.c (prepare_address_space): New function.
18691         (create_archive, enlarge_archive, open_archive): Use it.
18693         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18694         inside [SHARED], where it is used.
18696         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18698         * nss/getent.c (netgroup_keys): Remove unused variable.
18699         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18701 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
18703         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18704         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18705         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18706         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18707         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18708         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18709         * math/Makefile (libm-calls): Add s_isinf_ns.
18710         * math/divtc3.c: Use __isinf_nsl instead of isinf.
18711         * math/multc3.c: Likewise.
18712         * math/s_casin.c: Likewise.
18713         * math/s_casinf.c: Likewise.
18714         * math/s_casinl.c: Likewise.
18715         * math/s_ccos.c: Likewise.
18716         * math/s_ccosf.c: Likewise.
18717         * math/s_ccosl.c: Likewise.
18718         * math/s_ctan.c: Likewise.
18719         * math/s_ctanf.c: Likewise.
18720         * math/s_ctanh.c: Likewise.
18721         * math/s_ctanhf.c: Likewise.
18722         * math/s_ctanhl.c: Likewise.
18723         * math/s_ctanl.c: Likewise.
18724         * math/w_fmod.c: Likewise.
18725         * math/w_fmodf.c: Likewise.
18726         * math/w_fmodl.c: Likewise.
18727         * math/w_remainder.c: Likewise.
18728         * math/w_remainderf.c: Likewise.
18729         * math/w_remainderl.c: Likewise.
18730         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18731         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18732         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18733         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18734         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18735         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18736         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18737         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18739         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18740         of the number.
18741         * stdio-common/printf_fphex.c: Likewise.
18742         * stdio-common/printf_size.c: Likewise.
18744         * math/e_exp10.c: Include math_private.h using <...> not "...".
18745         * math/e_exp10f.c: Likewise.
18746         * math/e_exp10l.c: Likewise.
18747         * math/e_exp2l.c: Likewise.
18748         * math/e_j0l.c: Likewise.
18749         * math/e_j1l.c: Likewise.
18750         * math/e_jnl.c: Likewise.
18751         * math/e_lgammal_r.c: Likewise.
18752         * math/e_rem_pio2l.c: Likewise.
18753         * math/e_scalb.c: Likewise.
18754         * math/e_scalbf.c: Likewise.
18755         * math/e_scalbl.c: Likewise.
18756         * math/k_cosl.c: Likewise.
18757         * math/k_sinl.c: Likewise.
18758         * math/k_tanl.c: Likewise.
18759         * math/s_cacoshf.c: Likewise.
18760         * math/s_catan.c: Likewise.
18761         * math/s_catanf.c: Likewise.
18762         * math/s_catanh.c: Likewise.
18763         * math/s_catanhf.c: Likewise.
18764         * math/s_catanhl.c: Likewise.
18765         * math/s_catanl.c: Likewise.
18766         * math/s_ccosh.c: Likewise.
18767         * math/s_ccoshf.c: Likewise.
18768         * math/s_ccoshl.c: Likewise.
18769         * math/s_cexp.c: Likewise.
18770         * math/s_cexpf.c: Likewise.
18771         * math/s_cexpl.c: Likewise.
18772         * math/s_clog.c: Likewise.
18773         * math/s_clog10.c: Likewise.
18774         * math/s_clog10f.c: Likewise.
18775         * math/s_clog10l.c: Likewise.
18776         * math/s_clogf.c: Likewise.
18777         * math/s_clogl.c: Likewise.
18778         * math/s_csin.c: Likewise.
18779         * math/s_csinf.c: Likewise.
18780         * math/s_csinh.c: Likewise.
18781         * math/s_csinhf.c: Likewise.
18782         * math/s_csinhl.c: Likewise.
18783         * math/s_csinl.c: Likewise.
18784         * math/s_csqrt.c: Likewise.
18785         * math/s_csqrtf.c: Likewise.
18786         * math/s_csqrtl.c: Likewise.
18787         * math/s_ctan.c: Likewise.
18788         * math/s_ctanf.c: Likewise.
18789         * math/s_ctanh.c: Likewise.
18790         * math/s_ctanhf.c: Likewise.
18791         * math/s_ctanhl.c: Likewise.
18792         * math/s_ctanl.c: Likewise.
18793         * math/s_ldexp.c: Likewise.
18794         * math/s_ldexpf.c: Likewise.
18795         * math/s_ldexpl.c: Likewise.
18796         * math/s_significand.c: Likewise.
18797         * math/s_significandf.c: Likewise.
18798         * math/s_significandl.c: Likewise.
18799         * math/w_acos.c: Likewise.
18800         * math/w_acosf.c: Likewise.
18801         * math/w_acosh.c: Likewise.
18802         * math/w_acoshf.c: Likewise.
18803         * math/w_acoshl.c: Likewise.
18804         * math/w_acosl.c: Likewise.
18805         * math/w_asin.c: Likewise.
18806         * math/w_asinf.c: Likewise.
18807         * math/w_asinl.c: Likewise.
18808         * math/w_atan2.c: Likewise.
18809         * math/w_atan2f.c: Likewise.
18810         * math/w_atan2l.c: Likewise.
18811         * math/w_atanh.c: Likewise.
18812         * math/w_atanhf.c: Likewise.
18813         * math/w_atanhl.c: Likewise.
18814         * math/w_cosh.c: Likewise.
18815         * math/w_coshf.c: Likewise.
18816         * math/w_coshl.c: Likewise.
18817         * math/w_dremf.c: Likewise.
18818         * math/w_exp10.c: Likewise.
18819         * math/w_exp10f.c: Likewise.
18820         * math/w_exp10l.c: Likewise.
18821         * math/w_exp2.c: Likewise.
18822         * math/w_exp2f.c: Likewise.
18823         * math/w_fmod.c: Likewise.
18824         * math/w_fmodf.c: Likewise.
18825         * math/w_fmodl.c: Likewise.
18826         * math/w_hypot.c: Likewise.
18827         * math/w_hypotf.c: Likewise.
18828         * math/w_hypotl.c: Likewise.
18829         * math/w_j0.c: Likewise.
18830         * math/w_j0f.c: Likewise.
18831         * math/w_j0l.c: Likewise.
18832         * math/w_j1.c: Likewise.
18833         * math/w_j1f.c: Likewise.
18834         * math/w_j1l.c: Likewise.
18835         * math/w_jn.c: Likewise.
18836         * math/w_jnf.c: Likewise.
18837         * math/w_jnl.c: Likewise.
18838         * math/w_lgamma.c: Likewise.
18839         * math/w_lgamma_r.c: Likewise.
18840         * math/w_lgammaf.c: Likewise.
18841         * math/w_lgammaf_r.c: Likewise.
18842         * math/w_lgammal.c: Likewise.
18843         * math/w_lgammal_r.c: Likewise.
18844         * math/w_log.c: Likewise.
18845         * math/w_log10.c: Likewise.
18846         * math/w_log10f.c: Likewise.
18847         * math/w_log10l.c: Likewise.
18848         * math/w_log2.c: Likewise.
18849         * math/w_log2f.c: Likewise.
18850         * math/w_log2l.c: Likewise.
18851         * math/w_logf.c: Likewise.
18852         * math/w_logl.c: Likewise.
18853         * math/w_pow.c: Likewise.
18854         * math/w_powf.c: Likewise.
18855         * math/w_powl.c: Likewise.
18856         * math/w_remainder.c: Likewise.
18857         * math/w_remainderf.c: Likewise.
18858         * math/w_remainderl.c: Likewise.
18859         * math/w_scalb.c: Likewise.
18860         * math/w_scalbf.c: Likewise.
18861         * math/w_scalbl.c: Likewise.
18862         * math/w_sinh.c: Likewise.
18863         * math/w_sinhf.c: Likewise.
18864         * math/w_sinhl.c: Likewise.
18865         * math/w_sqrt.c: Likewise.
18866         * math/w_sqrtf.c: Likewise.
18867         * math/w_sqrtl.c: Likewise.
18868         * math/w_tgamma.c: Likewise.
18869         * math/w_tgammaf.c: Likewise.
18870         * math/w_tgammal.c: Likewise.
18872         * po/ja.po: Update from translation team.
18874 2011-09-29  Andreas Jaeger  <aj@suse.de>
18876         [BZ #13179]
18877         * sunrpc/netname.c (netname2host): Fix logic.
18879         [BZ #6779]
18880         [BZ #6783]
18881         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18882         correctly.
18883         * math/w_remainder.c (__remainder): Likewise.
18884         * math/w_remainderf.c (__remainderf): Likewise.
18885         * math/libm-test.inc (remainder_test): Add test cases.
18887 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18889         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
18890         sdiv_qrnnd.
18892 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
18894         * string/test-memcmp.c: Avoid unncessary #defines.
18895         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18897 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18899         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18900         Use new sse2 version for core i3 - i7 as it's faster
18901         than sse42 version.
18902         (bit_Prefer_PMINUB_for_stringop): New.
18903         * sysdeps/x86_64/rawmemchr.S: Update.
18904         Replace with faster SSE2 version.
18905         * sysdeps/x86_64/memrchr.S: New file.
18906         * sysdeps/x86_64/memchr.S: Update.
18907         Replace with faster SSE2 version.
18909 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
18911         * elf/dl-load.c (lose): Add cast to avoid warning.
18913 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
18915         * po/ca.po: Update from translation team.
18917         * inet/getnetgrent_r.c: Hook up nscd.
18918         * nscd/Makefile (routines): Add nscd_netgroup.
18919         (nscd-modules): Add netgroupcache.
18920         (CFLAGS-netgroupcache.c): Define.
18921         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18922         (cache_search): Add const to second parameter.
18923         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18924         INNETGR.
18925         (dbs): Add netgrdb entry.
18926         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18927         (verify_persistent_db): Handle netgrdb.
18928         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18929         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18930         GETFDNETGR.
18931         (netgroup_response_header): Define.
18932         (innetgroup_response_header): Define.
18933         (datahead): Add netgroup_response_header and innetgroup_response_header
18934         elements.
18935         * nscd/nscd.conf: Add entries for netgroup cache.
18936         * nscd/nscd.h (dbtype): Add netgrdb.
18937         (_PATH_NSCD_NETGROUP_DB): Define.
18938         (netgroup_iov_disabled): Declare.
18939         (xmalloc, xcalloc, xrealloc): Move declarations here.
18940         (cache_search): Adjust prototype.
18941         Add netgroup-related prototypes.
18942         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18943         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18944         (__nscd_innetgr): Declare.
18945         * nscd/selinux.c (perms): Use access_vector_t as element type and
18946         add netgroup-related initializers.
18947         * nscd/netgroupcache.c: New file.
18948         * nscd/nscd_netgroup.c: New file.
18949         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18950         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18951         For four parameters use innetgr.
18952         * nss/nss_files/files-init.c: Add definition and callback for netgr.
18953         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18954         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18955         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18957         * nscd/connections.c (register_traced_file): Don't register file
18958         for disabled databases.
18960 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
18962         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18964         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18965         from tree and freeing node.
18967 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
18969         * nss/nsswitch.c (__nss_database_lookup): Handle
18970         nss_parse_service_list out of memory case.
18972 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
18974         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18975         out of memory case.
18977 2011-10-04  Andreas Schwab  <schwab@redhat.com>
18979         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18980         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18981         pass it down.
18982         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18983         elf_machine_rela, elf_machine_lazy_rel.
18984         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18985         (ELF_DYNAMIC_DO_REL): Likewise.
18986         (ELF_DYNAMIC_DO_RELA): Likewise.
18987         (ELF_DYNAMIC_RELOCATE): Likewise.
18988         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18989         to ELF_DYNAMIC_DO_REL.
18990         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18991         (dl_main): In trace mode always set __RTLD_NOIFUNC.
18992         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18993         elf_machine_rela.
18994         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18995         skip_ifunc, don't call ifunc function if non-zero.
18996         (elf_machine_rela): Likewise.
18997         (elf_machine_lazy_rel): Likewise.
18998         (elf_machine_lazy_rela): Likewise.
18999         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19000         (elf_machine_lazy_rel): Likewise.
19001         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19002         Likewise.
19003         (elf_machine_lazy_rel): Likewise.
19004         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19005         Likewise.
19006         (elf_machine_lazy_rel): Likewise.
19007         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19008         (elf_machine_lazy_rel): Likewise.
19009         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19010         (elf_machine_lazy_rel): Likewise.
19011         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19012         (elf_machine_lazy_rel): Likewise.
19013         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19014         (elf_machine_lazy_rel): Likewise.
19015         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19016         (elf_machine_lazy_rel): Likewise.
19017         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19018         (elf_machine_lazy_rel): Likewise.
19020 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
19022         * nss/nss_files/files-init.c (_nss_files_init): Use static
19023         initialization for all the *_traced_file variables.
19025 2011-09-28  Andreas Schwab  <schwab@redhat.com>
19027         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19029 2011-09-27  Roland McGrath  <roland@hack.frob.com>
19031         [BZ #13226]
19032         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19034 2011-09-27  Andreas Schwab  <schwab@redhat.com>
19036         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19037         Reread the line before reparsing it.
19039 2011-09-26  Andreas Schwab  <schwab@redhat.com>
19041         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19043 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
19044             Maxim Kuvyrkov  <maxim@codesourcery.com>
19045             Joseph Myers  <joseph@codesourcery.com>
19047         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19048         if needed for __stack_chk_guard.
19050 2011-09-19  Roland McGrath  <roland@hack.frob.com>
19052         * sysdeps/posix/spawni.c (script_execute): Always define it.
19053         It will be optimized away if unused.
19054         (maybe_script_execute): New function.
19055         (__spawni): Call it.
19057         * Makerules: Don't include tls.make.
19058         (config-tls): Always set to thread.
19059         * tls.make.c: File removed.
19061 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
19063         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19064         * config.make.in (CPPFLAGS-config): New substituted variable.
19066 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
19068         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19070         [BZ #13192]
19071         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19072         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19074 2011-09-15  Roland McGrath  <roland@hack.frob.com>
19076         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19077         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19078         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19079         (CALL_FAIL): Likewise.
19080         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19081         (CALL_FAIL): Macro removed.
19082         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19084 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
19086         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19087         for __FINITE_MATH_ONLY__ == 1.
19089 2011-09-15  Andreas Schwab  <schwab@redhat.com>
19091         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19092         __ieee754_sqrt instead of sqrt.
19093         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19094         __ieee754_sqrtf instead of sqrtf.
19095         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19096         __floorf instead of floorf.
19097         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19098         __floorf, __truncf instead of floorf, truncf.
19100 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
19102         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19104         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19105         __extern_always_inline.
19106         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19107         32-bit.
19109 2011-09-14  Andreas Schwab  <schwab@redhat.com>
19111         * elf/rtld.c (dl_main): Also relocate in dependency order when
19112         doing symbol dependency testing.
19114 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
19116         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19117         Always define `refsym'.
19119 2011-09-13  Andreas Schwab  <schwab@redhat.com>
19121         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19122         (__FD_ELT): Renamed from __FDELT.
19123         * misc/bits/select2.h (__FD_ELT): Likewise.
19124         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19125         __FD_MASK instead of __FDELT, __FDMASK.
19126         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19127         Likewise.
19128         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19129         Likewise.
19131         * elf/Makefile (gen-ldd): Fix pattern.
19133         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19134         (init_tls): Likewise.
19136 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
19138         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19140 2011-09-12  Andreas Schwab  <schwab@redhat.com>
19142         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19143         `struct cmsghdr *' instead of `void *'.
19144         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19145         Likewise.
19147 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
19149         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19150         if non-absolute.
19151         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19152         ldd_rewrite_script.
19154 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
19156         * configure.in: Remove --with-tls option.
19157         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19158         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19159         out in case it is missing.
19160         * sysdeps/ia64/elf/configure.in: Likewise.
19161         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19162         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19163         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19164         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19165         * sysdeps/sh/elf/configure.in: Likewise.
19166         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19167         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19168         * sysdeps/x86_64/elf/configure.in: Likewise.
19169         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19170         * sysdeps/mach/hurd/tls.h: Likewise.
19172         [BZ #13067]
19173         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19175         [BZ #13090]
19176         * configure.in: Fix use of AC_INIT.
19178         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19180 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
19182         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19183         __set_errno.
19184         * malloc/hooks.c: Likewise.
19186         [BZ #11929]
19187         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
19188         variables statically.
19189         (narenas): Initialize.
19190         (list_lock): Initialize.
19191         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
19192         initializtion of main_arena and list_lock.  Small cleanups.
19193         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19194         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
19195         Add initializers to main_arena and mp_.
19196         (malloc_state): Remove pagesize member.  Change all users to use
19197         GLRO(dl_pagesize).
19199         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19200         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
19201         is always initialized.
19203         * malloc/malloc.c: Removed unused configurations and dead code.
19204         * malloc/arena.c: Likewise.
19205         * malloc/hooks.c: Likewise.
19206         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
19208         * include/tls.h: Removed.  USE___THREAD must always be defined.
19209         * bits/libc-tsd.h: Don't handle !USE___THREAD.
19210         * elf/dl-libc.c: Likewise.
19211         * elf/dl-tsd.c: Likewise.
19212         * include/errno.h: Likewise.
19213         * include/netdb.h: Likewise.
19214         * include/resolv.h: Likewise.
19215         * inet/herrno-loc.c: Likewise.
19216         * inet/herrno.c: Likewise.
19217         * malloc/arena.c: Likewise.
19218         * malloc/hooks.c: Likewise.
19219         * malloc/malloc.c: Likewise.
19220         * resolv/res-state.c: Likewise.
19221         * resolv/res_libc.c: Likewise.
19222         * sysdeps/i386/dl-machine.h: Likewise.
19223         * sysdeps/ia64/dl-machine.h: Likewise.
19224         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19225         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19226         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19227         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19228         * sysdeps/sh/dl-machine.h: Likewise.
19229         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19230         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19231         * sysdeps/unix/i386/sysdep.S: Likewise.
19232         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19233         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19234         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19235         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19236         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19237         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19238         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19239         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19240         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19241         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19242         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19243         * sysdeps/x86_64/dl-machine.h: Likewise.
19244         * tls.make.c: Likewise.
19246         * configure.in: Remove --with-__thread option.  Make tests for
19247         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19248         tls_model attribute fail if no support is available.  Remove
19249         USE_IN_LIBIO.
19250         * Makeconfig: Adjust for dropped configure option.  All features are
19251         now mandatory.
19252         * Makerules: Likewise.
19253         * Versions.def: Likewise.
19254         * argp/argp-fmtstream.c: Likewise.
19255         * argp/argp-fmtstream.h: Likewise.
19256         * argp/argp-help.c: Likewise.
19257         * assert/assert.c: Likewise.
19258         * config.h.in: Likewise.
19259         * config.make.in: Likewise.
19260         * configure: Likewise.
19261         * configure.in: Likewise.
19262         * csu/Versions: Likewise.
19263         * csu/init.c: Likewise.
19264         * elf/tst-audit2.c: Likewise.
19265         * elf/tst-tls10.c: Likewise.
19266         * elf/tst-tls10.h: Likewise.
19267         * elf/tst-tls11.c: Likewise.
19268         * elf/tst-tls12.c: Likewise.
19269         * elf/tst-tls14.c: Likewise.
19270         * elf/tst-tlsmod11.c: Likewise.
19271         * elf/tst-tlsmod12.c: Likewise.
19272         * elf/tst-tlsmod13.c: Likewise.
19273         * elf/tst-tlsmod13a.c: Likewise.
19274         * elf/tst-tlsmod14a.c: Likewise.
19275         * elf/tst-tlsmod15b.c: Likewise.
19276         * elf/tst-tlsmod16a.c: Likewise.
19277         * elf/tst-tlsmod16b.c: Likewise.
19278         * elf/tst-tlsmod7.c: Likewise.
19279         * elf/tst-tlsmod8.c: Likewise.
19280         * elf/tst-tlsmod9.c: Likewise.
19281         * gmon/gmon.c: Likewise.
19282         * grp/fgetgrent_r.c: Likewise.
19283         * grp/putgrent.c: Likewise.
19284         * hurd/fopenport.c: Likewise.
19285         * include/libc-symbols.h: Likewise.
19286         * include/tls.h: Likewise.
19287         * intl/gettextP.h: Likewise.
19288         * intl/loadinfo.h: Likewise.
19289         * locale/global-locale.c: Likewise.
19290         * locale/localeinfo.h: Likewise.
19291         * mach/devstream.c: Likewise.
19292         * malloc/arena.c: Likewise.
19293         * malloc/set-freeres.c: Likewise.
19294         * misc/err.c: Likewise.
19295         * misc/getttyent.c: Likewise.
19296         * misc/mntent_r.c: Likewise.
19297         * posix/getopt.c: Likewise.
19298         * posix/wordexp.c: Likewise.
19299         * pwd/fgetpwent_r.c: Likewise.
19300         * resolv/Versions: Likewise.
19301         * resolv/res_hconf.c: Likewise.
19302         * shadow/fgetspent_r.c: Likewise.
19303         * shadow/putspent.c: Likewise.
19304         * stdio-common/printf_fphex.c: Likewise.
19305         * stdio-common/tmpfile.c: Likewise.
19306         * stdlib/abort.c: Likewise.
19307         * stdlib/fmtmsg.c: Likewise.
19308         * sunrpc/auth_unix.c: Likewise.
19309         * sunrpc/clnt_perr.c: Likewise.
19310         * sunrpc/clnt_tcp.c: Likewise.
19311         * sunrpc/clnt_udp.c: Likewise.
19312         * sunrpc/clnt_unix.c: Likewise.
19313         * sunrpc/openchild.c: Likewise.
19314         * sunrpc/svc_simple.c: Likewise.
19315         * sunrpc/svc_tcp.c: Likewise.
19316         * sunrpc/svc_udp.c: Likewise.
19317         * sunrpc/svc_unix.c: Likewise.
19318         * sunrpc/xdr.c: Likewise.
19319         * sunrpc/xdr_array.c: Likewise.
19320         * sunrpc/xdr_rec.c: Likewise.
19321         * sunrpc/xdr_ref.c: Likewise.
19322         * sunrpc/xdr_stdio.c: Likewise.
19324 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19326         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19328 2011-07-03  Andreas Jaeger  <aj@suse.de>
19330         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19331         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19332         regenerate with gen-libm-tests.pl.
19334 2010-05-12  Petr Baudis  <pasky@suse.cz>
19336         [BZ #11589]
19337         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19338         around j0() zero points by switching to j1().
19339         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19340         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19341         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19342         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19344 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19346         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19347         instead of 0.
19348         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19349         instead of 0.                              .
19350         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19351         Patch in part by Pavel Roskin <proski@gnu.org>.
19353         [BZ #13138]
19354         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19355         realloc.
19356         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
19357         Free memory block if necessary.
19359         [BZ #12847]
19360         * libio/genops.c (INTDEF): For string streams the _lock pointer can
19361         be NULL.  Don't lock in this case.
19363 2011-09-09  Roland McGrath  <roland@hack.frob.com>
19365         * elf/elf.h (ELFOSABI_GNU): New macro.
19366         (ELFOSABI_LINUX): Define to that.
19368 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
19370         * string/strncat.c (strncat): Undef the symbol in case it has been
19371         defined in bits/string.h.
19373 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
19375         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19377         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
19378         link map.
19380 2011-08-17  Andreas Jaeger  <aj@suse.de>
19382         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19384 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19385             Ian Lance Taylor  <iant@google.com>
19387         * math/libm-test.inc (lround_test): New testcase.
19388         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19390 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
19392         * Makefile: Remove support for automatic cvs check-ins.
19393         * Makerules: Likewise.
19394         * config.make.in: Likewise.
19395         * configure.in: Likewise.
19396         * intl/Makefile: Likewise.
19397         * locale/Makefile: Likewise.
19398         * po/Makefile: Likewise.
19399         * posix/Makefile: Likewise.
19400         * sysdeps/gnu/Makefile: Likewise.
19401         * sysdeps/mach/hurd/Makefile: Likewise.
19402         * sysdeps/sparc/sparc32/Makefile: Likewise.
19404         [BZ #13118]
19405         * posix/Makefile (bug-regex32-ENV): Define.
19406         Patch by John Stanley <jpsinthemix@verizon.net>.
19408         * misc/Makefile (headers): Add bits/select2.h.
19409         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19410         * misc/bits/select2.h: New file.
19411         * include/bits/select2.h: New file.
19412         * debug/Makefile (routines): Add fdelt_chk.
19413         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19414         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19415         FD_ISSET.
19416         * debug/fdelt_chk.c: New file.
19418         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
19419         * wcsmbs/test-wmemcmp.c: Likewise.
19420         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
19421         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
19423 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19425         * string/Makefile (strop-tests): Add memcmp.
19426         * string/test-wmemcmp.c: New file.
19427         * string/test-memcmp.c: Add wmemcmp support.
19429 2011-09-08  Roland McGrath  <roland@hack.frob.com>
19431         [BZ #13153]
19432         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19433         2011-07-19 change.
19435         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19436         garbage value in a __mach_port_mod_refs call in the cases of the
19437         task-self and thread-self ports.
19439 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19441         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19443 2011-09-08  Andreas Schwab  <schwab@redhat.com>
19445         * elf/dl-load.c (lose): Check for non-null L.
19447 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
19449         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19451         * elf/dl-libc.c (dlerror_run): Pass back error code from
19452         dl_catch_error.
19454         [BZ #13123]
19455         * elf/dl-load.c (lose): Free l_origin if it is valid.
19457         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19458         names.
19459         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19460         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19461         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19462         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19463         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19464         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19466 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19468         * sysdeps/powerpc/fpu/e_hypot.c: New file.
19469         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19470         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19471         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19472         * sysdeps/powerpc/fpu/k_cosf.c: New file.
19473         * sysdeps/powerpc/fpu/k_sinf.c: New file.
19474         * sysdeps/powerpc/fpu/s_cosf.c: New file.
19475         * sysdeps/powerpc/fpu/s_sinf.c: New file.
19476         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19477         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19479 2011-08-15  Alan Modra  <amodra@gmail.com>
19481         [BZ #13092]
19482         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19483         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19484         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
19485         ppc_mcount to static-only-routines.
19486         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19487         __mcount_internal.
19488         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19489         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
19491 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
19493         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19494         for finite and infinity parameters.
19496 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
19498         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19499         and add nop instructions for throughput optimization.
19500         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19502 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
19504         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19505         aligned copy for power7 with vector-scalar instructions.
19506         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19508 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
19510         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19511         AVX check.
19513 2011-09-07  Andreas Schwab  <schwab@redhat.com>
19515         [BZ #13144]
19516         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19517         last change.
19519 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
19521         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19522         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19523         syscall wrapper around clock_gettime in __vdso_clock_gettime.
19524         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19525         clock_gettime.
19527 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
19529         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19530         Forgot to demangle the pointer.
19532         * sysdeps/i386/sysdep.h: Define atom_text_section.
19533         * sysdeps/x86_64/sysdep.h: Likewise.
19534         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19535         section with atom_text_section.
19536         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19537         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19538         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19539         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19540         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19542         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19543         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19544         already be defined.  Change to take two parameters and don't assign
19545         result to variable.  Adjust all users.
19546         Define INTERNAL_GETTIME if not already defined.
19547         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19548         call.
19549         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19550         HAVE_CLOCK_GETTIME_VSYSCALL.
19551         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19553         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19554         gettimeofday vsyscall, just use time.
19556 2011-09-06  Andreas Schwab  <schwab@redhat.com>
19558         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19559         <errno.h>.
19561 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
19563         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19564         syscall on x86-64.
19565         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19566         syscall.
19567         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19568         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19569         syscall if possible.
19571 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19573         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19574         e_ident.  Don't pass to find_mapsXX.
19575         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19577 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19579         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19580         strchr-sse2-no-bsf strrchr-sse2-no-bsf
19581         * sysdeps/x86_64/multiarch/strchr.S: Update.
19582         Check bit_slow_BSF bit.
19583         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19584         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19585         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19587 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19589         [BZ #13134]
19590         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19591         before glibc 2.15.
19592         (tryshell): Define.
19593         (__spawni): Change last parameter to be flag.  Test
19594         SPAWN_XFLAGS_USE_PATH flag to use path or not.
19595         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19596         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19597         * posix/spawni.c: Likewise.
19598         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19599         * posix/spawnp.c: Likewise.  Change normal version to use
19600         SPAWN_XFLAGS_USE_PATH.
19601         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19602         SPAWN_XFLAGS_TRY_SHELL.
19604         [BZ #13150]
19605         * posix/glob.h: Remove gcc 1.x support.
19607         [BZ #13068]
19608         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19610 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19612         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19613         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19614         strrchr-sse2-bsf
19615         * sysdeps/i386/i686/multiarch/strchr.S: New file.
19616         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19617         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19618         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19619         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19620         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19622 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19624         * sysdeps/x86_64/wcscmp.S: New file.
19626         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19627         wcscmp-c wcscmp-sse2
19628         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19629         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19630         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19631         * wcsmbs/wcscmp.c: Allow renaming.
19633 2011-09-05  David S. Miller  <davem@davemloft.net>
19635         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19636         stack slot, rather than the struct return pointer slot.
19637         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19638         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19640         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19642 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
19644         * po/ja.po: Update from translation team.
19646         [BZ #13144]
19647         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19648         kernel in 64-bit binaries.
19650 2011-09-01  David S. Miller  <davem@davemloft.net>
19652         * elf/elf.h (HWCAP_SPARC_*): Move to..
19653         * sysdeps/sparc/sysdep.h: this new file and add new values.
19654         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19655         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19656         _DL_HWCAP_COUNT to 24.
19657         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19658         entries.
19659         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19660         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19661         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19662         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19663         instead of magic constants.
19664         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19666 2011-08-31  David S. Miller  <davem@davemloft.net>
19668         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19669         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19670         Reimplement to do errno handling inline.
19671         (SYSCALL_ERROR_HANDLER): New macro.
19672         (__SYSCALL_STRING): Do not do errno handling in asm.
19673         (__CLONE_SYSCALL_STRING): Delete.
19674         (__INTERNAL_SYSCALL_STRING): Delete.
19675         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19676         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19677         (PSEUDO): Reimplement to do errno handling inline.
19678         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19679         (SYSCALL_ERROR_HANDLER): New macro.
19680         (__SYSCALL_STRING): Do not do errno handling in asm.
19681         (__CLONE_SYSCALL_STRING): Delete.
19682         (__INTERNAL_SYSCALL_STRING): Delete.
19683         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19684         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19685         i386.
19686         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19687         (inline_syscall*): Add 'err' argument.
19688         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19689         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19690         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19691         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19693         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19694         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19696 2011-08-30  Andreas Schwab  <schwab@redhat.com>
19698         * elf/rtld.c (dl_main): Relocate objects in dependency order.
19700 2011-08-29  Jiri Olsa <jolsa@redhat.com>
19702         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19703         directive.
19705 2011-08-24  David S. Miller  <davem@davemloft.net>
19707         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19709 2011-08-24  Andreas Schwab  <schwab@redhat.com>
19711         * elf/Makefile: Add rules to build and run unload8 test.
19712         * elf/unload8.c: New file.
19713         * elf/unload8mod1.c: New file.
19714         * elf/unload8mod1x.c: New file.
19715         * elf/unload8mod2.c: New file.
19716         * elf/unload8mod3.c: New file.
19718         * elf/dl-close.c (_dl_close_worker): Reset private search list if
19719         it wasn't used.
19721 2011-08-23  David S. Miller  <davem@davemloft.net>
19723         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19724         subtract stack bias.
19725         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19726         %sp not %fp in calculations.
19727         (_JMPBUF_UNWINDS_ADJ): Likewise.
19729         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19730         (aio_suspend): Call it to force an exception region around the
19731         AIO_MISC_WAIT() invocation.
19733 2011-08-23  Andreas Schwab  <schwab@redhat.com>
19735         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19736         backslash.
19738 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
19740         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19741         protection macro.
19742         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19743         and <dl-machine.h>.
19744         (Elf64_FuncDesc): Remove.
19746 2011-08-22  David S. Miller  <davem@davemloft.net>
19748         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19749         sigaltstack check, add missing cfi directives.
19750         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19751         missing cfi directives, and sigaltstack handling.
19753 2011-08-16  Andreas Schwab  <schwab@redhat.com>
19755         [BZ #11724]
19756         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19757         object is seen twice.
19758         * elf/dl-fini.c (_dl_sort_fini): Likewise.
19760         * elf/Makefile (distribute): Add tst-initorder2.c.
19761         (tests): Add tst-initorder2.
19762         (modules-names): Add tst-initorder2a tst-initorder2b
19763         tst-initorder2c tst-initorder2d.  Add rules to build them.
19764         ($(objpfx)tst-initorder2.out): New rule.
19765         * elf/tst-initorder2.c: New file.
19766         * elf/tst-initorder2.exp: New file.
19768 2011-08-22  Andreas Schwab  <schwab@redhat.com>
19770         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19772         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19773         dependencies back to end of function.
19775         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19776         $(elfobjdir)/ld.so.
19778 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
19780         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19781         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19782         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19783         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19784         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19785         of __vdso_gettimeofday.
19786         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19787         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
19788         attribute_hidden.
19789         (_libc_vdso_platform_setup): Remove initialization of
19790         __vdso_gettimeofday and __vdso_time.
19792 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
19794         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19795         and fgetc_unlocked.
19796         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19797         getc_unlocked.
19799         * elf/dl-open.c (add_to_global): Report additions to the global scope
19800         for LD_DEBUG=scopes.
19801         (dl_open_worker): Also print scope of newly loaded dependencies.
19802         (_dl_show_scope): Indicate if there is no scope.
19804         [BZ #13114]
19805         * stdio-common/Makefile (tests): Add bug24.
19806         * stdio-common/bug24.c: New file.
19808 2011-08-19  Andreas Jaeger  <aj@suse.de>
19810         [BZ #13114]
19811         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19812         non-existant file when using close-on-exec mode.
19814 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
19816         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19817         the very first instruction.
19819         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19820         the CFI state in the end.
19821         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19822         inclusion of dl-trampoline.h.
19823         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19825 2011-08-19  Andreas Schwab  <schwab@redhat.com>
19827         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19828         expectations for long double.
19830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19831         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19833 2011-08-14  David S. Miller  <davem@davemloft.net>
19835         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19836         artificual limit depends upon the system page size.
19838 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
19840         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19841         * resolv/Makefile: Define CFLAGS-libresolv.
19843 2011-08-17  Andreas Schwab  <schwab@redhat.com>
19845         * nss/makedb.c (compute_tables): Make variables used in nested
19846         function static.
19848 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
19850         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19851         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19852         if buffer was too small.
19854         * elf/pldd.c (main): Attach to all threads in the process.
19855         Rewrite /proc handling to use *at functions.
19857 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
19859         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19860         specifies first scope to show.
19861         (dl_open_worker): Update callers.  Move printing scope of new
19862         object to before the relocation.
19863         * elf/rtld.c (dl_main): Update _dl_show_scope call.
19864         * sysdeps/generic/ldsodefs.h: Update declaration.
19866         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19867         string for the scope number.
19869 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
19871         * nscd/servicescache.c (cache_addserv): Make sure written is always
19872         initialized.
19874 2011-08-14  Roland McGrath  <roland@hack.frob.com>
19876         * sysdeps/i386/i486/bits/atomic.h
19877         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19878         statement expression, so as to suppress "set but not used" warning.
19879         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19881         * string/strncat.c (STRNCAT): Use prototype definition.
19883         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19884         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19885         -Iprograms here.
19886         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19887         (localedef-modules): Add localedef.
19888         (locale-modules): Add locale.
19890         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19891         * elf/rtld.c (dl_main): Invert order of assignment in last change,
19892         to avoid a warning.
19894 2011-08-14  David S. Miller  <davem@davemloft.net>
19896         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19897         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19899 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
19901         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
19902         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19903         * elf/rtld.c (dl_main): Set l_name of vDSO.
19904         Call _dl_show_scope when DL_DEBUG_SCOPES.
19905         (process_dl_debug): Recognize scopes flag and also set it for all.
19906         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19907         Declare _dl_show_scope.
19909         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19910         (do_dlopen): Pass caller_dlopen to dl_open.
19911         (__libc_dlopen_mode): Initialize caller_dlopen.
19913         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19914         of libc.  Make tolower call locale-independent.  Optimize a bit by
19915         using isdigit instead of isalnum.
19916         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19918 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
19920         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19921         was a dependency or dynamically loaded.
19923 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
19925         * intl/l10nflist.c: Allow architecture-specific pop function.
19926         * sysdeps/x86_64/l10nflist.c: New file.
19928         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19929         classification.
19931 2011-08-10  Andreas Schwab  <schwab@redhat.com>
19933         * include/dirent.h: Add libc_hidden_proto for scandirat and
19934         scandirat64.  Don't declare __scandirat64.
19935         * dirent/scandirat.c: Add libc_hidden_def.
19936         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19937         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19939 2011-08-10  David S. Miller  <davem@davemloft.net>
19941         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19942         enum.
19943         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19944         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19945         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19947 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
19949         * Versions.def [libc]: Add GLIBC_2.15.
19950         * dirent/Makefile (routines): Add scandirat and scandirat64.
19951         * dirent/Versions [libc]: Export scandirat and scandirat64 for
19952         GLIBC_2.15.
19953         * dirent/dirent.h: Declare scandirat and scandirat64.
19954         * dirent/scandirat.c: New file.
19955         * dirent/scandirat64.c: New file.
19956         * sysdeps/wordsize-64/scandirat.c: New file.
19957         * sysdeps/wordsize-64/scandirat64.c: New file.
19958         * dirent/opendir.c: Define opendirat.
19959         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
19960         using scandirat.
19961         * dirent/scandir64.c: Adjust for scandir.c change.
19962         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
19963         __scandirat64, and __scandir_cancel_handler.
19964         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
19965         additional parameter and use openat instead of open (outside of ld.so).
19966         Add new __opendir as wrapper around __opendirat.
19967         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19968         here without requiring old scandirat implementation.
19970 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
19972         * dirent/scandir.c (cancel_handler): Renamed to
19973         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
19974         defined.  Adjust users.
19975         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19976         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19978 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
19980         * string/test-string.h (IMPL): Use __STRING to expand name and then
19981         stringify it.
19983         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
19984         of cleanups.
19986 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19988         * string/Makefile: Update.
19989         (strop-tests): Append strncat.
19990         * string/test-wcscmp.c: New file.
19991         New comprehensive test for wcscmp.
19992         * string/test-strcmp.c: Update.
19993         (WIDE): New define.
19995 2011-07-22  Andreas Schwab  <schwab@redhat.com>
19997         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19998         line.
20000 2011-07-26  Andreas Schwab  <schwab@redhat.com>
20002         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20003         encoding to ACE if AI_IDN.
20005 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
20007         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20008         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20010 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20012         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20013         Fix overflow bug in strncat.
20014         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20016         * string/test-strncat.c: Update.
20017         Add new tests for checking overflow bugs.
20019 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20021         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20022         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20023         * sysdeps/i386/i686/multiarch/strcat.S: New file.
20024         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20025         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20026         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20027         * sysdeps/i386/i686/multiarch/strncat.S: New file.
20028         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20029         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20031         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20032         (USE_AS_STRCAT): Define.
20033         Add strcat and strncat support.
20034         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20036 2011-07-25  Andreas Schwab  <schwab@redhat.com>
20038         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20039         __n bigger than INT_MAX+1.
20040         (__strncmp_g): Likewise.
20042 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
20044         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20045         * libio/stido.h: Likewise.
20047         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20048         (AF_NFC): Define.
20049         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20050         (AF_NFC): Define.
20052         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20053         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20054         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20055         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20056         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20058         [BZ #13021]
20059         * scripts/test-installation.pl: Don't expect libnss_test1 to be
20060         installed.
20062         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20063         typo.
20064         (_dl_x86_64_save_sse): Likewise.
20066 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
20068         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20069         OSXSAVE.
20070         (_dl_x86_64_save_sse): Likewise.
20072         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20074         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20076 2011-07-21  Andreas Schwab  <schwab@redhat.com>
20078         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20079         change.
20080         (_dl_x86_64_save_sse): Use correct AVX check.
20082 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20084         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20085         bug in strncpy/strncat.
20086         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20088 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
20090         * string/tester.c (test_strcat): Add tests for different alignments
20091         of source and destination.
20092         (test_strncat): Likewise.
20094 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
20096         [BZ #12852]
20097         * posix/glob.c (glob): Check passed in values before using them in
20098         expressions to avoid some overflows.
20099         (glob_in_dir): Likewise.
20101         [BZ #13007]
20102         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20103         check for AVX enablement so that we don't crash with old kernels and
20104         new hardware.
20105         * elf/tst-audit4.c: Add same checks here.
20106         * elf/tst-audit6.c: Likewise.
20108         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
20110 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
20112         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20114 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
20116         * po/cs.po: Update from translation team.
20117         * po/bg.po: Likewise.
20119 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
20121         * misc/sys/cdefs.h: Add support for const attribute.
20122         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20123         to gnu_dev_{major,minor,makedev} functions.
20125 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
20127         * intl/dcigettext.c (get_output_charset): Add missing bracket.
20129 2011-07-20  Andreas Schwab  <schwab@redhat.com>
20131         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20132         strlen results.
20134 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20136         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20137         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20138         register in order to avoid conflicts with the soft frame pointer
20139         being held in r11 when necessary.
20140         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20141         (INTERNAL_VSYSCALL_NCS): Likewise.
20143 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
20145         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20146         * elf/dl-fini.c (_dl_fini): Adjust caller.
20147         * elf/dl-close.c (_dl_close_worker): Likewise.
20148         * sysdeps/generic/ldsodefs.h: Adjust declaration.
20150 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
20152         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20153         "aux_cache->nlibs < 0".
20155         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20156         in the reload-count case.
20158 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20160         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20161         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20162         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20163         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20164         * sysdeps/x86_64/multiarch/strcat.S: New file.
20165         * sysdeps/x86_64/multiarch/strncat.S: New file.
20166         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20167         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20168         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20169         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20170         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20171         (USE_AS_STRCAT): Define.
20172         Add strcat and strncat support.
20173         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20174         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20175         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20176         * string/strncat.c: Update.
20177         (USE_AS_STRNCAT): Define.
20178         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20179         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20180         and i7.
20181         * sysdeps/x86_64/multiarch/init-arch.h
20182         (bit_Prefer_PMINUB_for_stringop): New.
20183         (index_Prefer_PMINUB_for_stringop): Likewise.
20184         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20185         bit_Prefer_PMINUB_for_stringop.
20187 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
20189         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20190         buffer64.
20191         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20192         of casting of buffer.
20193         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20194         buffer32 and buffer64.
20195         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20196         writes instead of casting of buffer.
20197         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20198         buffer32.
20199         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20200         casting of buffer.
20202 2011-07-19  Andreas Schwab  <schwab@redhat.com>
20204         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20206 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
20208         * nscd/nscd.c (termination_handler): Don't do anything for a database
20209         if it has not yet been initialized.
20211 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
20213         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20215 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
20217         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20219 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
20221         * po/nl.po: Update from translation team.
20222         * po/sv.po: Likewise.
20224 2011-07-16  Roland McGrath  <roland@hack.frob.com>
20226         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20227         now disallowed by GCC.
20229         * configure.in (use-default-link): Default to yes if a test -shared
20230         link meets our qualifications.
20231         * configure: Regenerated.
20233         * config.make.in (output-format): New variable.
20234         * configure.in: Check for ld --print-output-format support.
20235         * configure: Regenerated.
20236         * Makerules ($(common-objpfx)format.lds)
20237         [$(output-format) != unknown]: Just use $(output-format),
20238         instead of the linker-script munging.
20240 2011-07-14  Roland McGrath  <roland@hack.frob.com>
20242         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20243         of $(common-objpfx)shlib.lds.
20244         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20246         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20247         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20249         * configure.in (-z relro check): Adjust test code to add a large
20250         writable data section after it.
20251         * configure: Regenerated.
20253 2011-07-11  Roland McGrath  <roland@hack.frob.com>
20255         * configure.in (-z relro check): Fix test code to make the variable
20256         truly const.
20257         * configure: Regenerated.
20259 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
20261         * nscd/nscd.h (struct traced_file): Define.
20262         (struct database_dyn): Remove inotify_descr, reset_res, and filename
20263         elements.  Add traced_files.
20264         (inotify_fd): Declare.
20265         (register_traced_file): Declare.
20266         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20267         (inotify_fd): Export.
20268         (resolv_conf_descr): Remove.
20269         (nscd_init): Move inotify descriptor creation to main.
20270         Don't register files for notification here.
20271         (register_traced_file): New function.
20272         (invalidate_cache): Don't use reset_res to determine whether to call
20273         res_init, go through the list of registered files.
20274         (main_loop_poll): The inotify descriptors are now stored in the
20275         structures for the traced files.
20276         (main_loop_epoll): Likewise
20277         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
20278         to __nss_disable_nscd.
20279         * nscd/cache.c (prune_cache): There is no single inotify descriptor
20280         for a database anymore.  Check the records for all the registered
20281         files instead.
20282         * nss/Makefile (libnss_files-routines): Add files-init.
20283         (libnss_db-routines): Add db-init.
20284         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20285         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20286         * nss/nss_db/db-init.c: New file.
20287         * nss/nss_files/files-init.c: New file.
20288         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
20289         __nss_lookup_function.
20290         (__nss_lookup_function): Call nss_load_library.
20291         (nss_load_all_libraries): New function.
20292         (__nss_disable_nscd): Take parameter with callback function for files
20293         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
20294         used for the cached services.
20295         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20296         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20297         options for features to all the files in nscd.
20299         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20301 2011-07-10  Roland McGrath  <roland@hack.frob.com>
20303         * csu/elf-init.c (__libc_csu_init): Comment typo.
20305 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
20307         * po/pl.po: Update from translation team.
20308         * po/ja.po: Likewise.
20309         * po/ru.po: Likewise.
20310         * po/ko.po: Likewise.
20311         * po/fr.po: Likewise.
20313 2011-07-09  Roland McGrath  <roland@hack.frob.com>
20315         * configure.in (.ctors/.dtors header and trailer check):
20316         Use an empirical test on a built program.
20317         * configure: Regenerated.
20319         * configure.in (-z relro check): Use an empirical test on a built DSO.
20320         Detect, but do not require, on ia64.
20321         * configure: Regenerated.
20323         * configure.in (READELF): Find it with AC_CHECK_TOOL.
20324         Update tests that use readelf to use $READELF instead.
20325         * configure: Regenerated.
20327 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
20329         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20330         if the result is not used.
20332 2011-07-05  Andreas Jaeger  <aj@suse.de>
20334         [BZ#9696]
20335         * stdlib/tst-strtod.c: Add testcase.
20337 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
20339         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
20340         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
20341         The latter has a higher limit.  Take additional parameter to pass to
20342         the new function.
20343         (__pathconf): Pass file to __statfs_link_max.
20344         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20345         __statfs_link_max.
20346         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20347         __statfs_link_max.
20349         [BZ #12868]
20350         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20351         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20352         Handle Lustre.
20353         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20354         (__statfs_filesize_max): Likewise.
20355         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20357 2011-07-05  Andreas Jaeger  <aj@suse.de>
20359         * resolv/res_comp.c (dn_skipname): Remove unused variable.
20361 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
20363         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20364         `status' variable.
20365         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20366         Likewise.
20368 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
20370         * Makefile (strop-tests): Add strncat.
20371         * string/test-strncat.c: New file.
20373 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
20375         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20377 2011-06-21  Andreas Jaeger  <aj@suse.de>
20379         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20380         Copy rule from iconvdata/Makefile.
20382 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
20384         [BZ #12922]
20385         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20386         but no long options are defined, just return 'W'.
20388 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
20390         [BZ #9696]
20391         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20393 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
20395         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20396         netgroups to read.
20397         (innetgr): Likewise.
20399 2011-07-05  Roland McGrath  <roland@hack.frob.com>
20401         * config.make.in (install_root): Default to $(DESTDIR).
20403 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
20405         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20407 2011-07-02  Roland McGrath  <roland@hack.frob.com>
20409         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20411         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20412         containing directory rather than embedding absolute directory names.
20414         * scripts/check-local-headers.sh: Rewritten using awk.
20415         Match by word, not by line.  Print error messages for matches.
20416         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20418         * Makerules [shlib-lds-flags empty]:
20419         ($(common-objpfx)libc_pic.opts): New target.
20420         ($(common-objpfx)libc_pic.os.clean): New target.
20421         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20423         * config.make.in (OBJCOPY): New variable.
20424         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20425         * configure: Regenerated.
20427         * config.make.in (use-default-link): New variable.
20428         * configure.in (use_default_link): Grok --with-default-link to set it.
20429         * configure: Regenerated.
20430         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20431         (shlib-lds, shlib-lds-flags): Define to empty.
20433         * Makerules (shlib-lds): New variable.
20434         (shlib-lds-flags): New variable.
20435         (build-shlib, build-moduile, build-module-asneeded): Use it.
20436         ($(common-objpfx)libc.so): Use $(shlib-lds).
20437         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20438         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20440         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20441         DT_FLAGS/DT_FLAGS_1 with zero flags.
20443         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20444         linker script munging.
20446 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
20448         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20449         as 128-bit value.
20450         * crypt/sha512.c (sha512_process_block): Perform total addition using
20451         128-bit if possible.
20452         (__sha512_finish_ctx): Likewise.
20453         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20454         as 64-bit value.
20455         * crypt/sha256.c (SWAP64): Define.
20456         (sha256_process_block): Perform total addition using 64-bit if
20457         possible.
20458         (__sha256_finish_ctx): Likewise.
20460 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
20462         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
20463         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20464         * nscd/hstcache.c (cache_addhst): Likewise.
20465         * nscd/grpcache.c (cache_addgr): Likewise.
20466         * nscd/aicache.c (addhstaiX): Likewise
20467         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20469 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
20471         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20472         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20473         * nscd/hstcache.c (cache_addhst): Likewise.
20474         * nscd/grpcache.c (cache_addgr): Likewise.
20475         * nscd/aicache.c (addhstaiX): Likewise
20477 2011-07-01  Andreas Schwab  <schwab@redhat.com>
20479         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20480         domain only when needed.
20482 2011-06-30  Andreas Schwab  <schwab@redhat.com>
20484         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20485         is always restored.
20487 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
20489         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20490         are re-adding the entry.
20491         * nscd/servicescache.c (cache_addserv): Likewise.
20493 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
20495         * sysdeps/generic/dl-irel.h: fix protection against multiple
20496         inclusions.
20497         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20499 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
20501         [BZ #12935]
20502         * malloc/memusage.sh: Fix quoting in message.
20503         * debug/xtrace.sh: Likewise.
20505         * configure.in: Remove support for --experimental-malloc option, make
20506         it the default.
20507         * config.make.in: Likewise.
20508         * malloc/Makefile: Likewise.
20510 2011-06-27  Andreas Schwab  <schwab@redhat.com>
20512         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20513         two-byte characters.
20515 2011-06-27  Roland McGrath  <roland@hack.frob.com>
20517         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20518         AC_CACHE_CHECK invocation.
20519         * configure: Regenerated.
20521         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20523 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
20525         [BZ #12350]
20526         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
20527         bit from old_res_options.
20529         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20531         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20532         value type for setfct.
20534 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
20536         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20537         __gettimeofday instead of gettimeofday.
20539 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
20541         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20543 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20545         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20547         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20548         info.
20550 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
20552         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20553         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20554         strcpy-sse2-unaligned strncpy-sse2-unaligned
20555         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20556         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20557         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20558         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20559         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20560         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20561         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20562         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20563         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20564         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20565         (STRCPY): Support SSE2 and SSSE3 versions.
20567 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
20569         [BZ #12874]
20570         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20571         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20572         kernels which artificially limit size of requests.
20574 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
20576         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20577         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20578         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20579         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20580         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20581         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20582         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20583         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20584         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20585         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20586         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20587         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20588         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20589         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20590         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20591         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20592         Enable unaligned load optimization for Intel Core i3, i5 and i7
20593         processors.
20594         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20595         Define.
20596         (index_Fast_Unaligned_Load): Define.
20597         (HAS_FAST_UNALIGNED_LOAD): Define.
20599 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
20601         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20603 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
20605         [BZ #12907]
20606         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20607         until it is clear that the information is realy needed.
20608         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20610 2011-06-22  Andreas Schwab  <schwab@redhat.com>
20612         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20614 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
20616         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20617         /sys/devices/system/cpu/online if it is usable.
20619         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20620         reading the information from the /proc filesystem to once a second.
20622 2011-06-21  Andreas Jaeger  <aj@suse.de>
20624         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20625         NULL after inclusion of kernel headers.
20627 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
20629         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20630         calls to internal_setent.
20632         [BZ #12885]
20633         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20634         addresses using gethostbyname4_r ignore IPv4 addresses.
20636         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20637         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
20639         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20641 2011-06-20  David S. Miller  <davem@davemloft.net>
20643         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20644         inclusions.
20645         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20647         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20648         (elf_irel): Use it.
20649         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20650         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20651         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20652         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20653         * sysdeps/x86_64/dl-irel.h: Likewise.
20655         * elf/dl-runtime.c: Use elf_ifunc_invoke.
20656         * elf/dl-sym.c: Likewise.
20658 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
20660         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
20661         need to dereference resplen2.
20663 2011-06-14  Andreas Schwab  <schwab@redhat.com>
20665         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20667 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
20669         * Makeconfig: Define vardbdir and inst_vardbdir.
20670         * nss/Makefile: Add rules to install db-Makefile.
20672         * nss/nss_db/db-XXX.c: Cleanup.
20674         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20675         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20676         GLIBC_PRIVATE.
20677         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20678         * nss/makedb.c: Implement -g option to specify that value strings
20679         are generated and should not be added to table iterated over for
20680         get*ent calls.
20681         * nss/nss_db/db-initgroups.c: New file.
20683         * nss/getent.c: Add support for initgroups lookups through getgrouplist
20684         interface.
20686         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20687         (internal_getgrouplist): Adjust to name change.
20688         Update use_initgroups_entry if this is not the first call.
20689         * nss/databases.def: Add initgroups entry.
20691         * nss/makedb.c (compute_tables): Check result of multiple hash table
20692         sizes to minimize maximum chain length.
20694 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
20696         * Versions.def: Add entry for libnss_db.
20697         * shlib-versions: Likewise.
20698         * nss/Makefile: Add rules to build libnss_db.
20699         * nss/Versions: Add libnss_db information.  Organize libnss_files
20700         entries better.
20701         * nss/db-Makefile: Add gshadow support.  Change rules for the new
20702         makedb progra.  Some minor improvements to generate smaller files.
20703         * nss/nss_db/nss_db.h: Move NSS database header data structures to
20704         here from...
20705         * nss/makedb.c: ...here.
20706         Improve database format to be smaller and require less memory at
20707         runtime.
20708         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
20709         db anymore.
20710         * nss/nss_db/db-netgrp.c: Likewise.
20711         * nss/nss_db/db-open.c: Likewise.
20712         * nss/nss_files/flies-XXX.x: Adjust comments.
20713         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20714         * nss/nss_files/files-grp.c: Likewise.
20715         * nss/nss_files/files-hosts.c: Likewise.
20716         * nss/nss_files/files-network.c: Likewise.
20717         * nss/nss_files/files-proto.c: Likewise.
20718         * nss/nss_files/files-pwd.c: Likewise.
20719         * nss/nss_files/files-rpc.c: Likewise.
20720         * nss/nss_files/files-service.c: Likewise.
20721         * nss/nss_files/files-sgrp.c: Likewise.
20722         * nss/nss_files/files-spwd.c: Likewise.
20723         * nss/nss_db/db-alias.c: Removed.
20724         * nss/nss_db/dummy-db.h: Removed.
20726 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
20728         * nss/makedb.c: Rewritten to not use database library.
20729         * nss/Makefile: Update to build new makedb program.
20731 2011-06-14  Andreas Jaeger  <aj@suse.de>
20733         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20734         memset declaration.
20736 2011-06-10  Andreas Schwab  <schwab@redhat.com>
20738         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20739         tmpbuf.
20741 2011-06-10  Roland McGrath  <roland@hack.frob.com>
20743         * Makerules (shlib.lds): Fail if the linker script comes out empty.
20744         * elf/Makefile ($(objpfx)ld.so): Likewise.
20746         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20747         Don't list ld.so twice in dependencies.
20749         * posix/bug-regex31.c: Include <stdlib.h>.
20751         * nscd/hstcache.c (cache_addhst): Remove unused variable.
20753         * nis/nss_compat/compat-spwd.c
20754         (getspent_next_nss_netgr): Remove unused variable.
20755         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20757         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20758         nonmembers" output to use the right array.
20760         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20762         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20764         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20765         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20766         * catgets/gencat.c (read_input_file): Likewise.
20767         * locale/programs/locarchive.c (enlarge_archive): Likewise.
20769         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20770         variable definition inside #if's controlling its use.
20772         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20774         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20776         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20778         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20779         unreachable code.
20781         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20783         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20784         * configure: Regenerated.
20786         * Makerules: Revert last change.
20787         * elf/Makefile: Likewise.
20789 2011-06-09  Roland McGrath  <roland@hack.frob.com>
20791         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20792         * elf/Makefile ($(objpfx)librtld.os): Likewise.
20793         (reloc-link): Likewise.
20795 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
20797         * elf/Makefile: Add rules to build pldd.
20798         * elf/pldd.c: New file.
20799         * elf/pldd-xx.c: New file.
20801 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
20803         * version.h: Update for 2.15 development version.
20805 2011-06-07  David S. Miller  <davem@davemloft.net>
20807         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20808         ifuncs.
20809         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20810         elf_machine_lazy_rel): Likewise.
20811         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20812         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20813         elf_machine_lazy_rel): Likewise.
20814         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20815         dl_hwcap via passed in argument.
20816         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20817         Likewise.
20819 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20821         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
20823 2011-06-06  Roland McGrath  <roland@hack.frob.com>
20825         [BZ #12849]
20826         * manual/fdl-1.1.texi: New file, verbatim from:
20827         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20828         * manual/lgpl-2.1.texi: New file, verbatim from:
20829         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20830         * manual/Makefile (licenses): New variable, list those new file names.
20831         (texis): Use it.
20832         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20834         * manual/fdl.texi: File removed.
20835         * manual/lesser.texi: File removed.
20836         * manual/libc.texinfo (Copying, Documentation License):
20837         Use new @include file names, put @appendix directive before @include.
20839 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
20841         [BZ #12841]
20842         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20843         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20844         (mq_open): Add __NTH.
20846 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
20848         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20849         Assume Intel Core i3/i5/i7 processor if AVX is available.
20851 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
20853         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20854         typo.
20856 2011-05-31  Andreas Schwab  <schwab@redhat.com>
20858         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20859         memory.  Use alloca_account.  Fix memory leak when retrying.
20861 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
20863         * version.h (RELEASE): Bump for 2.14 release.
20864         * include/features.h (__GLIBC_MINOR__): Bump to 14.
20866         * config.make.in (RANLIB): Remove entry.
20868 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
20870         * po/Makefile (po-sed-cmd): Add ksh to extensions.
20871         (libc.pot): Work around missing support for .ksh extension in xgettext.
20873         [BZ #12684]
20874         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20875         if both request failed.
20876         (send_dg): In case of server errors clear resplen or *resplen2.
20878         [BZ #12454]
20879         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20880         when there are multiple maps.
20881         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20882         (_dl_fini): Remove test here.
20884         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20886 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
20888         [BZ #12350]
20889         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20890         bit from old_res_options.
20891         (gaih_inet): Likewise.
20893         [BZ #11099]
20894         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
20895         as signed.
20897         * resolv/res_init.c (res_setoptions): Make the code more compact.
20899         [BZ #11558]
20900         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20901         set RES_USEVC.
20903         [BZ #11634]
20904         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20906         * malloc/malloc.h: Mark malloc hook variables as deprecated.
20908         [BZ #11781]
20909         * malloc/malloc.h: Declare malloc hook variables as volatile.
20911         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20912         in last patch.
20914         [BZ #11799]
20915         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
20916         raise in the comment.
20917         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20918         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20919         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
20921 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
20923         [BZ #12811]
20924         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20925         grow the buffers more if it already has to be sufficient.
20926         (build_wcs_upper_buffer): Likewise.
20927         * posix/regexec.c (check_matching): Likewise.
20928         (clean_state_log_if_needed): Likewise.
20929         (extend_buffers): Don't enlarge buffers beyond size of the input
20930         buffer.
20931         Patches mostly by Emil Wojak <emil@wojak.eu>.
20932         * posix/bug-regex32.c: New file.
20933         * posix/Makefile (tests): Add bug-regex32.
20935         * locale/findlocale.c (_nl_find_locale): Return right away if
20936         _nl_explode_name failed.
20937         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20939         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20941         * debug/xtrace.sh: Unify messages.
20942         * malloc/memusage.sh: Likewise.
20944         [BZ #12813]
20945         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20946         time symbol from vDSO.  Substitute with vsyscall if not available.
20947         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20948         __vdso_time.
20950         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20951         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20952         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20953         Add sendmmsg and internal_sendmmsg.
20954         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20955         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20956         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20958         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20959         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20960         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20962 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
20964         [BZ #12813]
20965         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20966         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
20967         available.
20968         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20969         __vdso_getcpu.
20971         [BZ #12814]
20972         * iconvdata/Makefile (tests): Add bug-iconv9.
20973         * iconvdata/bug-iconv9.c: New file.
20975 2011-05-27  Andreas Schwab  <schwab@redhat.com>
20977         [BZ #12814]
20978         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20980 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
20982         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20983         (struct user_regs_struct): Change intcs field back to cs.
20985 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
20987         * po/ja.po: Update from translation team.
20989 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
20991         [BZ #12795]
20992         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20993         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20995 2011-05-20  Andreas Schwab  <schwab@redhat.com>
20997         * stdlib/longlong.h: Update from GCC.
20999 2011-05-23  Andreas Schwab  <schwab@redhat.com>
21001         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21002         parameter name.
21003         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21004         Add parameter name.
21005         (__sysconf): Pass it down.
21007 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
21009         [BZ #12671]
21010         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21011         some situations.
21012         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21013         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21014         add in in __libc_use_alloca calls.  Adjust callers.
21015         (glob): Use malloc in some situations.
21017         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21018         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21019         pltexit.
21021 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
21023         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21024         and CLOCK_BOOTTIME_ALARM.
21026         [BZ #12782]
21027         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21028         is returned.
21030         * string/_strerror.c (__strerror_r): Print negative errors as signed
21031         numbers.
21033         [BZ #12777]
21034         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21035         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21036         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21038         * configure.in: Fix typo in redirection and correct removal of test
21039         files in two cases.
21041         [BZ #12788]
21042         * locale/setlocale.c (new_composite_name): Fix test to check for
21043         identical name of all categories.
21045         [BZ #12792]
21046         * libio/filedoalloc.c (local_isatty): New function.
21047         (_IO_file_doallocate): Use local_isatty.
21048         * stdio-common/perror.c (perror): In case a new stream is used
21049         forward the stream error.
21050         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21051         error flag.
21053 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
21055         [BZ #11869]
21056         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21057         alloca.
21058         * include/alloca.h (extend_alloca_account): Define.
21060         [BZ #11857]
21061         * posix/regex.h: Fix comments with documentation of user-accessible
21062         fields after compilation and describe correct free'ing of pattern
21063         after re_compile_pattern.
21064         Patch by Reuben Thomas <rrt@sc3d.org>.
21066 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
21068         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21069         and -mno-altivec to prevent the compiler from using Altivec and/or
21070         VSX instructions when the corresponding registers are not available.
21072 2011-05-19  Andreas Schwab  <schwab@redhat.com>
21074         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21076 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
21078         * libio/freopen.c (freopen): Use __dup2, not dup2.
21079         * libio/freopen64.c (freopen64): Likewise.
21081 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
21083         [BZ #12775]
21084         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21085         * math/Makefile (tests): Add test-powl.
21086         (CFLAGS-test-powl.c): Define.
21087         * math/test-powl.c: New file.
21089 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
21091         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21093 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
21095         [BZ #11837]
21096         * iconvdata/gb18030.c: Update to GB18020-2005.
21098 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
21100         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21101         RE_SYNTAX_POSIX_AWK): Update to match recent development.
21102         Patch by Aharon Robbins <arnold@skeeve.com>.
21104         [BZ #11892]
21105         * stdlib/putenv.c (putenv): Don't always create copy of the variable
21106         on the stack.
21108         [BZ #11895]
21109         * misc/pselect.c (__pselect): Handle timeout value errors hidden
21110         through underflows.
21112         [BZ #12766]
21113         * misc/error.c (error_at_line): Ensure file_name and old_file_name
21114         point to strings before performing equality test for error_one_per_line
21115         mode.
21117         [BZ #11697]
21118         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21120         [BZ #11820]
21121         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21122         (struct user_fpregs_struct): Avoid __uint*_t types.
21124         [BZ #6420]
21125         * malloc/mtrace.c (tr_where): Add additional parameter to point to
21126         symbol info.  Use it instead of calling _dl_addr locally.
21127         (lock_and_info): New function.
21128         (tr_freehook): Call lock_and_info and pass symbol info as additional
21129         parameter to tr_where.
21130         (tr_mallochook): Likewise.
21131         (tr_reallochook): Likewise.
21132         (tr_memalignhook): Likewise.
21134         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
21135         used and couldn't be at all thread-safe.
21137 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
21139         * libio/freopen.c (freopen): Don't close old file descriptor
21140         before the new one is opened.  Instead dup the new file descriptor
21141         to the old one after the new stream is created.
21142         * libio/freopen64.c (freopen64): Likewise.
21143         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21144         * libio/fileops.c (_IO_new_file_close_it): Handle new
21145         _IO_FLAGS2_NOCLOSE flag.
21146         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21147         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21148         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21149         _IO_FLAGS2_NOCLOSE flag.
21150         * include/unistd.h: Add hidden_proto for dup3.
21151         Define __have_dup3.
21152         * io/dup3.c: Define hidden symbol.
21153         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21155         [BZ #7101]
21156         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21157         when an incomplete long option is used.
21158         * posix/tst-getopt_long1.c: New file.
21159         * posix/Makefile (tests): Add tst-getopt_long1.
21161         [BZ #10138]
21162         * scripts/config.guess: Update from autoconf-2.68.
21163         * scripts/config.sub: Likewise.
21165         [BZ #10157]
21166         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21167         tests into ...
21168         (has_cpuclock): ...this.  New function.
21169         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21170         macro here based on has_cpuclock code.
21172         [BZ #10149]
21173         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21174         First byte (not low byte) is now always NUL.
21175         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21177         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21178         Use non-cancelable interfaces.
21180         [BZ #9809]
21181         * locale/iso-639.def: Add entry for Sorani.
21183         [BZ #11901]
21184         * include/stdlib.h: Move include protection to the right place.
21185         Define abort_msg_s.  Declare __abort_msg with it.
21186         * stdlib/abort.c (__abort_msg): Adjust type.
21187         * assert/assert.c (__assert_fail_base): New function.  Majority
21188         of code from __assert_fail.  Allocate memory for __abort_msg with
21189         mmap.
21190         (__assert_fail): Now call __assert_fail_base.
21191         * assert/assert-perr.c: Remove bulk of implementation.  Use
21192         __assert_fail_base.
21193         * include/assert.hL Declare __assert_fail_base.
21194         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21195         mmap.
21196         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21198 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
21200         [BZ #11952]
21201         [BZ #12453]
21202         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21203         until all modules are registered in the DTV.
21204         * elf/Makefile: Add rules to build and run tst-tls19.
21205         * elf/tst-tls19.c: New file.
21206         * elf/tst-tls19mod1.c: New file.
21207         * elf/tst-tls19mod2.c: New file.
21208         * elf/tst-tls19mod3.c: New file.
21209         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21211         [BZ #12083]
21212         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21213         correctly.
21215         [BZ #12601]
21216         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21217         two-byte sequence errors.
21218         * iconvdata/Makefile (tests): Add bug-iconv8.
21219         * iconvdata/bug-iconv8.c: New file.
21221         [BZ #12626]
21222         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21223         buf2 definition.
21225         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21227         [BZ #12432]
21228         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21229         (dummy_getcfa): New function.
21230         (init): Get _Unwind_GetCFA address, use dummy if not found.
21231         (backtrace_helper): In recursion check, also check whether CFA changes.
21232         (__backtrace): Completely initialize arg.
21234         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
21235         storing incomplete byte sequence in state object.  Avoid testing for
21236         guaranteed too small input if we know there is enough data available.
21238 2011-05-11  Andreas Schwab  <schwab@redhat.com>
21240         * Makeconfig (+link-pie): Indent.
21241         * Rules (binaries-pie): Define if $(have-fpie) and
21242         $(build-shared).
21243         (binaries-shared): Also filter out $(binaries-pie).
21244         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21245         * nscd/Makefile (others-pie): Add nscd.
21246         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21247         ($(objpfx)nscd): Remove command override.
21248         * login/Makefile (others-pie): Add pt_chown.
21249         ($(objpfx)pt_chown): Remove command override.
21250         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21251         remove command overrides.
21253 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
21255         * libio/tst_putwc.c: Fix error messages.
21257         [BZ #12724]
21258         * libio/fileops.c (_IO_new_file_close_it): Always flush when
21259         currently writing and seek to current position when not.
21260         * libio/Makefile (tests): Add bug-fclose1.
21261         * libio/bug-fclose1.c: New file.
21263 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
21265         [BZ #12511]
21266         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21267         don't set DF_1_NODELETE here.
21268         (do_lookup_x): When entering new entry test for copy relocation
21269         and if necessary set DF_1_NODELETE flag.
21270         * elf/tst-unique4.cc: New file.
21271         * elf/tst-unique4.h: New file.
21272         * elf/tst-unique4lib.cc: New file.
21273         * elf/Makefile: Add rules to build and run tst-unique4.
21274         Patch by Piotr Bury <pbury@goahead.com>.
21276 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
21278         [BZ #12052]
21279         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21281         [BZ #12625]
21282         * misc/mntent_r.c (addmntent): Flush the stream after the output
21284         [BZ #12393]
21285         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21286         (is_trusted_path_normalize): Skip initial colon.  Append slash
21287         to empty buffer.  Duplicate is_trusted_path code but allow
21288         constructed patch to be prefix.
21289         (is_dst): Allow $ORIGIN followed by /.
21290         (_dl_dst_substitute): Correct clearing of check_for_trusted.
21291         Correct testing of result of is_trusted_path_normalize
21292         (decompose_rpath): Fix warning.
21294 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
21296         [BZ #11257]
21297         * grp/initgroups.c (internal_getgrouplist): When we found the service
21298         list through the initgroups entry in nsswitch.conf do not always
21299         continue on a successful lookup.  Don't always use the
21300         __nss_group_database value if it is set.
21301         * nss/nsswitch.conf (initgroups): Change action for successful db
21302         lookup to continue for compatibility.
21304 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
21306         [BZ #11532]
21307         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21308         and CP774 modules.
21309         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21310         and CP774 modules.
21311         * iconvdata/tst-tables.sh: Likewise.
21312         * iconvdata/cp770.c: New file.
21313         * iconvdata/cp771.c: New file.
21314         * iconvdata/cp772.c: New file.
21315         * iconvdata/cp773.c: New file.
21316         * iconvdata/cp774.c: New file.
21317         * iconvdata/testdata/CP770: New file.
21318         * iconvdata/testdata/CP770..UTF8: New file.
21319         * iconvdata/testdata/CP771: New file.
21320         * iconvdata/testdata/CP771..UTF8: New file.
21321         * iconvdata/testdata/CP772: New file.
21322         * iconvdata/testdata/CP772..UTF8: New file.
21323         * iconvdata/testdata/CP773: New file.
21324         * iconvdata/testdata/CP773..UTF8: New file.
21325         * iconvdata/testdata/CP774: New file.
21326         * iconvdata/testdata/CP774..UTF8: New file.
21328         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21329         END CHARMAP line.
21330         * iconvdata/gen-8bit-gap.sh: Likewise.
21331         * iconvdata/gen-8bit.sh: Likewise.
21333         * locale/iso-639.def: Add ary entry.
21335         [BZ #11258]
21336         * locale/C-translit.h.in: Add U20A1 transliteration.
21338         [BZ #12178]
21339         * locale/iso-639.def: Add wae entry.
21340         Patch by Kevin Bortis <bortis@translate-wae.ch>.
21342         [BZ #12545]
21343         * locale/programs/localedef.c (construct_output_path): Use ssize_t
21344         for n.
21346         [BZ #12711]
21347         * locale/C-translit.h.in: Add entry for U20B9.
21348         Patch by pravin.d.s@gmail.com.
21350 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
21352         [BZ #12713]
21353         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21354         ENAMETOOLONG use generic getcwd.
21355         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
21356         in rtld.  Use *stat64.
21357         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
21358         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
21359         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
21360         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21361         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21362         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21363         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21364         __fstatat64 macros.
21365         * include/dirent.h: Add libc_hidden_proto for rewinddir.
21366         * dirent/rewinddir.c: Add libc_hidden_def.
21367         * sysdeps/mach/hurd/rewinddir.c: Likewise.
21368         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
21370         * include/dirent.h (__alloc_dir): Add flags parameter.
21371         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21372         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21373         __alloc_dir.
21374         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
21375         from fdopendir if O_CLOEXEC is already set.
21377 2011-03-15  Alan Modra  <amodra@gmail.com>
21379         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21380         l_tls_firstbyte_offset non-zero.  Save padding offset in
21381         l_tls_firstbyte_offset for later use.
21382         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21383         freeing static tls block.
21385 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
21387         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21388         where #ifdef was intended.  The intent is to prevent ARG_MAX from
21389         being defined by the kernel headers.
21391 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
21393         [BZ #12734]
21394         * resolv/resolv.h: Define RES_NOTLDQUERY.
21395         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21396         no-tld-query and set RES_NOTLDQUERY.
21397         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21398         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21399         modern BIND to search name as TLD unless forbidden.
21401 2011-05-07  Petr Baudis  <pasky@suse.cz>
21402             Ulrich Drepper  <drepper@gmail.com>
21404         [BZ #12393]
21405         * elf/dl-load.c (fillin_rpath): Move trusted path check...
21406         (is_trusted_path): ...to here.
21407         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
21408         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
21409         using is_trusted_path_normalize() in setuid scripts.
21411 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21413         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21414         __BEGIN/__END_DECLS.
21416 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
21418         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21419         NSS_STATUS_NOTFOUND if no record was found.
21421 2011-05-05  Andreas Schwab  <schwab@redhat.com>
21423         * sunrpc/Makefile (headers): Add rpc/netdb.h.
21424         (headers-not-in-tirpc): Remove rpc/netdb.h
21425         * resolv/netdb.h: Revert last change.
21427 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21429         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21430         circular dependency between libgcc.a and libc.a.
21432 2011-05-05  Andreas Schwab  <schwab@redhat.com>
21434         * resolv/netdb.h: Don't include <rpc/netdb.h>.
21435         * nis/Makefile: Don't install rpcsvc/*.
21436         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21437         instead of <rpc/types.h>.
21438         (MAXHOSTNAMELEN): Define.
21440 2011-05-03  Andreas Schwab  <schwab@redhat.com>
21442         * elf/ldconfig.c (add_dir): Don't crash on empty path.
21444 2011-04-28  Maciej Babinski  <mbabinski@google.com>
21446         [BZ #12714]
21447         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21448         gethostbyname4_r when IPv6 results are possible.
21450 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
21452         [BZ #12723]
21453         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21454         _PC_PIPE_BUF handling.
21456 2011-04-30  Bruno Haible  <bruno@clisp.org>
21458         [BZ #12717]
21459         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21460         * resolv/netdb.h (getnameinfo): Change type of flags parameter
21461         to 'int'.
21462         * inet/getnameinfo.c (getnameinfo): Likewise.
21464 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
21466         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21467         to groups setting in database lookup.
21468         * nss/nsswitch.conf: Add initgroups entry.
21470 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
21472         [BZ #12685]
21473         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21474         mode string.
21475         Patch by Eric Blake <eblake@redhat.com>.
21477 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
21479         * sunrpc/Makefile (need-export-routines): Add svc_run.
21480         (routines): Remove svc_run.
21481         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21482         * sunrpc/clnt_perr.c (clnt_perrno): Export.
21483         * sunrpc/svc_run.c (svc_run): Likewise.
21484         * sunrpc/svc_udp.c (svcudp_create): Likewise.
21486 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
21488         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21489         problem in reallocation in last patch.
21491 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
21493         * sunrpc/Makefile: Move inclusion of Rules.
21495 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
21497         * nss/nss_files/files-initgroups.c: New file.
21498         * nss/Makefile (libnss_files-routines): Add files-initgroups.
21499         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21500         _nss_files_initgroups_dyn.
21502 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
21504         * elf/elf.h (R_ARM_IRELATIVE): Define.
21506 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
21508         * po/ru.po: Update from translation team.
21510 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
21512         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21513         dependencies.
21515 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
21517         [BZ #12653]
21518         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21519         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21520         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21521         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21522         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21524 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
21526         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21527         differing bytes.
21528         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21529         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21530         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21532 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
21534         [BZ #12420]
21535         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21536         storing it.
21537         * stdlib/bug-getcontext.c: New file.
21538         * stdlib/Makefile: Add rules to build and run bug-getcontext.
21540 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21542         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21543         instructions into .machine "z9-109".
21544         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21545         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21547 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21549         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21550         between environment variables and auxiliary vector.
21552 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
21554         * Makefile: Add rules to build linkobj/libc.so.
21555         * include/libc-symbols.h: Define libc_hidden_nolink.
21556         * include/rpc/auth.h: Mark functions which are to be hidden.
21557         * include/rpc/auth_des.h: Likewise.
21558         * include/rpc/auth_unix.h: Likewise.
21559         * include/rpc/clnt.h: Likewise.
21560         * include/rpc/des_crypt.h: Likewise.
21561         * include/rpc/key_prot.h: Likewise.
21562         * include/rpc/pmap_clnt.h: Likewise.
21563         * include/rpc/pmap_prot.h: Likewise.
21564         * include/rpc/pmap_rmt.h: Likewise.
21565         * include/rpc/rpc_msg.h: Likewise.
21566         * include/rpc/svc.h: Likewise.
21567         * include/rpc/svc_auth.h: Likewise.
21568         * include/rpc/xdr.h: Likewise.
21569         * nis/Makefile: Link all DSOs against linkobj/libc.so.
21570         * nss/Makefile: Likewise.
21571         * sunrpc/Makefile: Don't install headers.  Build library with normal
21572         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
21573         * sunrpc/auth_des.c: Hide exported symbols by default, export some
21574         for the compat linking library.  Remove use of INTDEF/INTUSE.
21575         * sunrpc/auth_none.c: Likewise.
21576         * sunrpc/auth_unix.c: Likewise.
21577         * sunrpc/authdes_prot.c: Likewise.
21578         * sunrpc/authuxprot.c: Likewise.
21579         * sunrpc/clnt_gen.c: Likewise.
21580         * sunrpc/clnt_perr.c: Likewise.
21581         * sunrpc/clnt_raw.c: Likewise.
21582         * sunrpc/clnt_simp.c: Likewise.
21583         * sunrpc/clnt_tcp.c: Likewise.
21584         * sunrpc/clnt_udp.c: Likewise.
21585         * sunrpc/clnt_unix.c: Likewise.
21586         * sunrpc/des_crypt.c: Likewise.
21587         * sunrpc/des_soft.c: Likewise.
21588         * sunrpc/get_myaddr.c: Likewise.
21589         * sunrpc/key_call.c: Likewise.
21590         * sunrpc/key_prot.c: Likewise.
21591         * sunrpc/netname.c: Likewise.
21592         * sunrpc/pm_getmaps.c: Likewise.
21593         * sunrpc/pm_getport.c: Likewise.
21594         * sunrpc/pmap_clnt.c: Likewise.
21595         * sunrpc/pmap_prot.c: Likewise.
21596         * sunrpc/pmap_prot2.c: Likewise.
21597         * sunrpc/pmap_rmt.c: Likewise.
21598         * sunrpc/publickey.c: Likewise.
21599         * sunrpc/rpc_cmsg.c: Likewise.
21600         * sunrpc/rpc_common.c: Likewise.
21601         * sunrpc/rpc_dtable.c: Likewise.
21602         * sunrpc/rpc_prot.c: Likewise.
21603         * sunrpc/rpc_thread.c: Likewise.
21604         * sunrpc/rtime.c: Likewise.
21605         * sunrpc/svc.c: Likewise.
21606         * sunrpc/svc_auth.c: Likewise.
21607         * sunrpc/svc_authux.c: Likewise.
21608         * sunrpc/svc_raw.c: Likewise.
21609         * sunrpc/svc_run.c: Likewise.
21610         * sunrpc/svc_simple.c: Likewise.
21611         * sunrpc/svc_tcp.c: Likewise.
21612         * sunrpc/svc_udp.c: Likewise.
21613         * sunrpc/svc_unix.c: Likewise.
21614         * sunrpc/svcauth_des.c: Likewise.
21615         * sunrpc/xcrypt.c: Likewise.
21616         * sunrpc/xdr.c: Likewise.
21617         * sunrpc/xdr_array.c: Likewise.
21618         * sunrpc/xdr_float.c: Likewise.
21619         * sunrpc/xdr_intXX_t.c: Likewise.
21620         * sunrpc/xdr_mem.c: Likewise.
21621         * sunrpc/xdr_rec.c: Likewise.
21622         * sunrpc/xdr_ref.c: Likewise.
21623         * sunrpc/xdr_sizeof.c: Likewise.
21624         * sunrpc/xdr_stdio.c: Likewise.
21626 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
21628         [BZ #12650]
21629         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21630         * sysdeps/ia64/dl-tls.h: Likewise.
21631         * sysdeps/powerpc/dl-tls.h: Likewise.
21632         * sysdeps/s390/dl-tls.h: Likewise.
21633         * sysdeps/sh/dl-tls.h: Likewise.
21634         * sysdeps/sparc/dl-tls.h: Likewise.
21635         * sysdeps/x86_64/dl-tls.h: Likewise.
21636         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21638 2011-03-14  Andreas Schwab  <schwab@redhat.com>
21640         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21641         rpath element also skip the following colon.
21642         (expand_dynamic_string_token): Add is_path parameter and pass
21643         down to DL_DST_REQUIRED and _dl_dst_substitute.
21644         (decompose_rpath): Call expand_dynamic_string_token with
21645         non-zero is_path.  Ignore empty rpaths.
21646         (_dl_map_object_from_fd): Call expand_dynamic_string_token
21647         with zero is_path.
21649 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
21651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21652         Make cancelable.
21654 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
21656         [BZ #12655]
21657         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21658         Patch by Filipe David Manana <fdmanana@apache.org>.
21660 2011-04-07  Andreas Schwab  <schwab@redhat.com>
21662         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21663         Maintain aligned stack.
21664         (CHECK_RSP): Remove unused macro.
21666 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
21668         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21669         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21671 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
21673         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21675         * include/features.h: Mention __USE_XOPEN2K8 in comment.
21677 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
21679         [BZ #12518]
21680         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21681         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21682         * sysdeps/x86_64/memmove.c: New file.
21683         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21684         (memcpy): Renamed to ...
21685         (__new_memcpy): This.
21686         (memcpy): Provide GLIBC_2_14 memcpy.
21687         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21688         (memcpy): Provide GLIBC_2_2_5 memcpy.
21690 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21692         [BZ #12631]
21693         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21695 2011-03-30  Andreas Schwab  <schwab@redhat.com>
21697         * misc/syncfs.c: New file.
21698         * misc/Makefile (routines): Add syncfs.
21699         * posix/unistd.h: Declare syncfs.
21700         * sysdeps/unix/syscalls.list: Add syncfs.
21702 2011-04-01  Andreas Schwab  <schwab@redhat.com>
21704         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21705         open_by_handle_at.
21706         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21707         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21708         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21709         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21710         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21711         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21712         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21714 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21716         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21717         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21718         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21719         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21720         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21721         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21722         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21724         * io/Makefile: Compile fallocate.c, fallocate64.c, and
21725         sync_file_range.c with -fexceptions.
21726         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21727         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21728         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21729         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21730         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21731         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21732         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21733         sync_file_range as cancellation point
21734         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
21735         now a wrapper around __call_sync_file_range with cancellation handling.
21736         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21737         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
21738         function name to __call_sync_file_range.
21739         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21740         Add call_sync_file_range.
21742 2011-04-01  Andreas Schwab  <schwab@redhat.com>
21744         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21745         bits/timex.h.
21747 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
21749         * iconv/iconv.h: Fix typo in comment.
21750         * io/fcntl.h: Likewise.
21751         * libio/stdio.h: Likewise.
21752         * posix/spawn.h: Likewise.
21753         * posix/unistd.h: Likewise.
21754         * stdlib/stdlib.h: Likewise.
21755         * time/time.h: Likewise.
21756         * wcsmbs/wchar.h: Likewise.
21758         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21759         open_by_handle): Add.
21760         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21761         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
21762         Augment a few comments.
21763         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21764         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21765         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21766         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21767         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21768         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21769         open_by_handle.
21771         * io/fcntl.h (AT_EMPTY_PATH): Define.
21773 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
21775         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21776         * sysdeps/unix/sysv/linux/bits/time.h: New file.
21777         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21778         to...
21779         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
21780         * Versions.def: Add GLIBC_2.14.
21781         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21782         Export.
21784 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
21786         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21787         round counter.
21788         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21790 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21792         [BZ #12597]
21793         * string/test-strncmp.c (do_page_test): New function.
21794         (check2): Likewise.
21795         (test_main): Call check2.
21796         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21798 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
21800         [BZ #12587]
21801         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21802         Handle cache information in CPU leaf 4.
21803         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21805 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
21807         [BZ #12583]
21808         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21809         character representation.
21810         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21812 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
21814         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21815         END(__isnan) to END(__isnanf) to match function entry point/label
21816         EALIGN(__isnanf,...).
21818 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
21820         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21822 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
21824         [BZ #12510]
21825         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21826         copy from the symbol referenced in the relocation to initialize the
21827         used variable.
21828         Patch by Piotr Bury <pbury@goahead.com>.
21829         * elf/Makefile: Add rules to build and tst-unique3.
21830         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21831         * elf/tst-unique3.cc: New file.
21832         * elf/tst-unique3.h: New file.
21833         * elf/tst-unique3lib.cc: New file.
21834         * elf/tst-unique3lib2.cc: New file.
21836         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21838 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
21840         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21841         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
21842         to _start.
21844 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
21846         * elf/dl-load.c (_dl_map_object): If we are looking for the first
21847         to-be-loaded object along a path to loader is ld.so.
21849 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
21850             Ulrich Drepper  <drepper@gmail.com>
21852         * sysdeps/x86_64/memset.S: After aligning destination, code
21853         branches to different locations depending on the value of
21854         misalignment, when multiarch is enabled. Fix this.
21856 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
21858         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21859         Set _x86_64_preferred_memory_instruction for AMD processsors.
21860         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21861         Set bit_Prefer_SSE_for_memop for AMD processors.
21863 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
21865         * libio/fmemopen.c (fmemopen): Optimize a bit.
21867 2011-03-03  Andreas Schwab  <schwab@redhat.com>
21869         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21871 2011-03-03  Roland McGrath  <roland@redhat.com>
21873         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21875 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
21877         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
21878         __bzero_ultra1 instead of __memset_ultra1.
21880 2011-02-23  Andreas Schwab  <schwab@redhat.com>
21881             Ulrich Drepper  <drepper@gmail.com>
21883         [BZ #12509]
21884         * include/link.h (struct link_map): Add l_orig_initfini.
21885         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21886         returning unsuccessfully.
21887         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21888         close of a file loaded at startup, restore the original l_initfini
21889         list.
21890         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21891         list, store the pointer.
21892         * elf/Makefile ($(objpfx)noload-mem): New rule.
21893         (noload-ENV): Define.
21894         (tests): Add $(objpfx)noload-mem.
21895         * elf/noload.c: Include <memcheck.h>.
21896         (main): Call mtrace.  Close all opened handles.
21898 2011-02-17  Andreas Schwab  <schwab@redhat.com>
21900         [BZ #12454]
21901         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21902         dependencies are missing.
21904 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21906         Fix __if_freereq crash: Unlike the generic version which uses free,
21907         Hurd needs munmap.
21908         * sysdeps/mach/hurd/ifreq.h: New file.
21910 2011-01-27  Petr Baudis  <pasky@suse.cz>
21911             Ulrich Drepper  <drepper@gmail.com>
21913         [BZ 12445]#
21914         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21915         to extend_alloca().
21916         * stdio-common/bug23.c: New file.
21917         * stdio-common/Makefile (tests): Add bug23.
21919 2010-09-28  Andreas Schwab  <schwab@redhat.com>
21920             Ulrich Drepper  <drepper@gmail.com>
21922         [BZ #12489]
21923         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21924         before performing relro protection.  At old place add assertion
21925         to make sure nothing changed.
21927 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
21928             Glauber de Oliveira Costa  <glommer@gmail.com>
21930         * elf/elf.h: Add new ARM TLS relocs.
21932 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
21934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21935         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21936         cast from r3.
21937         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
21938         'tests' variable.
21939         * sysdeps/wordsize-64/tst-writev.c: New file.
21941 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
21943         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21944         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21945         insns in _dl_start to prevent a TOC reference before relocs are
21946         resolved.
21948 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
21950         [BZ #12469]
21951         * Makeconfig: Remove RANLIB definition.
21952         * Makerules: Don't use RANLIB.
21953         * aclocal.m4: Remove ranlib test.
21954         * configure.in: No need to check for ranlib.
21955         * elf/rtld-Rules: Don't use RANLIB.
21957 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21959         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21960         protection macro.
21961         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21962         inclusion protection macro.
21964         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21965         SIGRTMIN and SIGRTMAX and print information in that case only when
21966         SIGRTMIN is defined.
21968 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
21970         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21971         arginfo fn returning -1.
21973         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21974         and thousands string is zero terminated.
21976 2011-02-03  Andreas Schwab  <schwab@redhat.com>
21978         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21979         sysdeps/unix/sysv/linux/bits/socket.h.
21981 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21983         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21984         (__CPU_COUNT): Remove old macros.
21985         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21986         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21987         (__CPU_ALLOC, __CPU_FREE): Add macros.
21988         (__sched_cpualloc, __sched_cpufree): Add declarations.
21990 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
21992         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21993         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21994         * nscd/aicache.c (addhstaiX): Return timeout of added value.
21995         (readdhstai): Return value of addhstaiX call.
21996         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21997         (addgrbyX): Return value returned by cache_addgr.
21998         (readdgrbyname): Return value returned by addgrbyX.
21999         (readdgrbygid): Likewise.
22000         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22001         (addpwbyX): Return value returned by cache_addpw.
22002         (readdpwbyname): Return value returned by addhstbyX.
22003         (readdpwbyuid): Likewise.
22004         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22005         (addservbyX): Return value returned by cache_addserv.
22006         (readdservbyname): Return value returned by addservbyX:
22007         (readdservbyport): Likewise.
22008         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22009         (addhstbyX): Return value returned by cache_addhst.
22010         (readdhstbyname): Return value returned by addhstbyX.
22011         (readdhstbyaddr): Likewise.
22012         (readdhstbynamev6): Likewise.
22013         (readdhstbyaddrv6): Likewise.
22014         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22015         (readdinitgroups): Return value returned by addinitgroupsX.
22016         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22017         (prune_cache): Keep track of timeout value of re-added entries.
22018         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22019         * nscd/nscd.h: Adjust prototypes of readd* functions.
22021 2011-02-04  Roland McGrath  <roland@redhat.com>
22023         * nis/nis_server.c (nis_servstate): Use the right name for 0.
22024         (nis_stats): Likewise.
22025         * nis/nis_modify.c (nis_modify): Likewise.
22026         * nis/nis_remove.c (nis_remove): Likewise.
22027         * nis/nis_add.c (nis_add): Likewise.
22029         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22031         * posix/fnmatch_loop.c: Add some consts.
22033         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22035 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
22037         [BZ #12460]
22038         * config.make.in (config-cflags-novzeroupper): Define.
22039         * configure.in: Substitute libc_cv_cc_novzeroupper.
22040         * elf/Makefile (AVX-CFLAGS): Define.
22041         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22042         (CFLAGS-tst-auditmod4a.c): Likewise.
22043         (CFLAGS-tst-auditmod4b.c): Likewise.
22044         (CFLAGS-tst-auditmod6b.c): Likewise.
22045         (CFLAGS-tst-auditmod6c.c): Likewise.
22046         (CFLAGS-tst-auditmod7b.c): Likewise.
22047         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22049 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
22051         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22052         function to the callback.
22053         Patch partly by Jiri Olsa <jolsa@redhat.com>.
22055 2011-02-02  Andreas Schwab  <schwab@redhat.com>
22057         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22058         of errno.
22060 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
22062         [BZ #11724]
22063         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22064         of constructors.
22065         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22066         of destructors.
22067         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22069         [BZ #11724]
22070         * elf/Makefile: Add rules to build and run new test.
22071         * elf/tst-initorder.c: New file.
22072         * elf/tst-initorder.exp: New file.
22073         * elf/tst-initordera1.c: New file.
22074         * elf/tst-initordera2.c: New file.
22075         * elf/tst-initordera3.c: New file.
22076         * elf/tst-initordera4.c: New file.
22077         * elf/tst-initorderb1.c: New file.
22078         * elf/tst-initorderb2.c: New file.
22079         * elf/tst-order-a1.c: New file.
22080         * elf/tst-order-a2.c: New file.
22081         * elf/tst-order-a3.c: New file.
22082         * elf/tst-order-a4.c: New file.
22083         * elf/tst-order-b1.c: New file.
22084         * elf/tst-order-b2.c: New file.
22085         * elf/tst-order-main.c: New file.
22086         New test case by George Gensure <werkt0@gmail.com>.
22088 2010-10-01  Andreas Schwab  <schwab@redhat.com>
22090         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22091         decoding ACE if AI_CANONIDN.
22093 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
22095         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22097 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
22099         * version.h (RELEASE): Bump for 2.13 release.
22100         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22102         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22104         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22105         MADV_NOHUGEPAGE.
22106         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22107         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22108         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22109         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22110         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22111         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22113         * posix/getconf.c: Update copyright year.
22114         * catgets/gencat.c: Likewise.
22115         * csu/version.c: Likewise.
22116         * debug/catchsegv.sh: Likewise.
22117         * debug/xtrace.sh: Likewise.
22118         * elf/ldconfig.c: Likewise.
22119         * elf/ldd.bash.in: Likewise.
22120         * elf/sprof.c (print_version): Likewise.
22121         * iconv/iconv_prog.c: Likewise.
22122         * iconv/iconvconfig.c: Likewise.
22123         * locale/programs/locale.c: Likewise.
22124         * locale/programs/localedef.c: Likewise.
22125         * malloc/memusage.sh: Likewise.
22126         * malloc/mtrace.pl: Likewise.
22127         * nscd/nscd.c (print_version): Likewise.
22128         * nss/getent.c: Likewise.
22130         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22131         PF_CAIF, and PF_ALG.
22132         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22134 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
22136         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22137         (modules-names): Use them.
22138         (ifunc-test-modules, ifunc-pie-tests): Define.
22139         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22140         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22141         (test-extras): Likewise.
22142         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22143         $(compile-command.c).
22144         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22145         (all-built-dso): Define.
22146         (check-textrel.out, check-execstack.out): Depend on it.
22148         * configure.in: Don't override --enable-multi-arch.
22150 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
22152         [BZ #6812]
22153         * nscd/hstcache.c (tryagain): Define.
22154         (cache_addhst): Return tryagain not notfound for temporary errors.
22155         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22156         failed.
22158 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
22160         [BZ #10563]
22161         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22162         to make the syscall.
22163         * sysdeps/unix/sysv/linux/setgroups.c: New file.
22165         [BZ #12378]
22166         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22167         and fall back to matching as normal character if the string ends before
22168         the matching ']' is found.  This is what POSIX requires.
22169         * posix/testfnm.c: Adjust test result.
22170         * posix/globtest.sh: Adjust test result.  Add new test.
22171         * posix/tst-fnmatch.input: Likewise.
22172         * posix/tst-fnmatch2.c: Add new test.
22174 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
22176         * elf/Makefile (check-execstack): Revert last change.  Depend on
22177         check-execstack.h.
22178         (check-execstack.h): New target.
22179         (generated): Add check-execstack.h.
22180         * elf/check-execstack.c: Include "check-execstack.h".
22181         (main): Revert last change.
22182         (handle_file): Return zero if GNU_STACK is absent and
22183         DEFAULT_STACK_PERMS doesn't include PF_X.
22185 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
22187         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22188         in child fails because the descriptor is already closed.
22189         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22190         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22191         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
22193         [BZ #12397]
22194         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22195         syscall.
22197         [BZ #10484]
22198         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22199         temporary buffer used to handle multi lookups locally.
22200         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
22202 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
22204         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22205         loader is ld.so.
22207 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
22209         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22210         alignment for SSE2.
22212 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
22214         [BZ #12394]
22215         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22216         characters.  When rounding increased number of integer digits recompute
22217         number of groups.
22218         * stdio-common/tst-grouping.c: New file.
22219         * stdio-common/Makefile: Add rules to build and run tst-grouping.
22221 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
22223         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22224         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
22226         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22227         void.
22228         * bits/select.h: Likewise.
22230 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
22232         * po/ja.po: Update from translation team.
22234 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
22236         [BZ #11155]
22237         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22238         implementation just like for lxstat, fxstatat, et al.
22240 2010-12-27  Jim Meyering  <meyering@redhat.com>
22242         [BZ #12348]
22243         * posix/regexec.c (build_trtable): Return failure indication upon
22244         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
22246 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
22248         [BZ #12201]
22249         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22250         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22251         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22252         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22254         [BZ #12207]
22255         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22257         [BZ #12204]
22258         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22259         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22261 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22263         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22264         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22265         script has SORT_BY_INIT_PRIORITY.
22266         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22267         NO_CTORS_DTORS_SECTIONS is defined.
22268         * elf/soinit.c: Likewise.
22269         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22270         NO_CTORS_DTORS_SECTIONS is defined.
22271         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22272         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22273         * sysdeps/sh/init-first.c: Likewise.
22274         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22276 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
22278         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22279         always use the slow path.
22281 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
22283         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22284         similar rule which adds the sysdep directories to the header search in
22285         order to pick up the correct platform stackinfo.h.
22286         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22287         perform test if it is, otherwise return successfully without testing.
22288         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22289         DEFAULT_STACK_PERMS define in stackinfo.h.
22290         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22291         defined in stackinfo.h.
22292         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22293         DEFAULT_STACK_PERMS defined in stackinfo.h.
22294         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22295         * sysdeps/ia64/stackinfo.h: Likewise.
22296         * sysdeps/s390/stackinfo.h: Likewise.
22297         * sysdeps/sh/stackinfo.h: Likewise.
22298         * sysdeps/sparc/stackinfo.h: Likewise.
22299         * sysdeps/x86_64/stackinfo.h: Likewise.
22300         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22301         PF_X for powerpc64.  Retain PF_X for powerpc32.
22303 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
22305         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22306         accurately.
22307         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22308         GETDENTS_64BIT_ALIGNED.
22310 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
22312         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
22314 2010-12-10  Andreas Schwab  <schwab@redhat.com>
22316         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22317         _GNU_SOURCE.
22319         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22320         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22321         Remove __restrict.
22322         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22323         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22325 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
22327         [BZ #11655]
22328         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22329         are initialized.
22331 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
22333         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22335 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
22337         * po/it.po: Update from translation team.
22339 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
22341         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22342         unused codes.
22344 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
22346         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22348 2010-11-24  Andreas Schwab  <schwab@redhat.com>
22350         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22351         specially.
22352         (gaih_getanswer_slice): Likewise.
22354 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
22356         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22358 2010-05-31  Petr Baudis  <pasky@suse.cz>
22360         [BZ #11149]
22361         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22362         silently even in the chroot mode.
22364 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
22366         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22367         last patch a bit.  Pretty printing
22369 2010-05-31  Petr Baudis <pasky@suse.cz>
22371         [BZ #10085]
22372         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22373         initialization of skip_initgroups_dyn.
22375 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
22377         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22378         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22380 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
22382         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22384 2010-11-11  Andreas Schwab  <schwab@redhat.com>
22386         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22387         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22388         (tst-fnmatch-ENV): Set MALLOC_TRACE.
22389         ($(objpfx)tst-fnmatch-mem): New rule.
22390         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22391         * posix/tst-fnmatch.c (main): Call mtrace.
22393 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
22395         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22396         Support Intel processor model 6 and model 0x2c.
22398 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
22400         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22401           signed comparison.
22403 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
22405         [BZ #12205]
22406         * string/test-strncasecmp.c (check_result): New function.
22407         (do_one_test): Use it.
22408         (check1): New function.
22409         (test_main): Use it.
22410         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22411         Support strcasecmp and strncasecmp.
22413 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
22415         [BZ #12194]
22416         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22417         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22419 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22421         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22422         IFUNC support.
22423         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22424         memset-x86-64.
22425         * sysdeps/x86_64/multiarch/bzero.S: New file.
22426         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22427         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22428         * sysdeps/x86_64/multiarch/memset.S: New file.
22429         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22430         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22431         Set bit_Prefer_SSE_for_memop for Intel processors.
22432         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22433         Define.
22434         (index_Prefer_SSE_for_memop): Define.
22435         (HAS_PREFER_SSE_FOR_MEMOP): Define.
22437 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
22439         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22440         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22442 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
22444         [BZ #12191]
22445         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22446         (__x86_64_raw_data_cache_size_half): Likewise.
22447         (__x86_64_raw_shared_cache_size): Likewise.
22448         (__x86_64_raw_shared_cache_size_half): Likewise.
22450         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22451         (__x86_64_raw_data_cache_size_half): Likewise.
22452         (__x86_64_raw_shared_cache_size): Likewise.
22453         (__x86_64_raw_shared_cache_size_half): Likewise.
22454         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22455         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22456         and __x86_64_raw_shared_cache_size_half.  Round
22457         __x86_64_data_cache_size_half, __x86_64_data_cache_size
22458         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22459         to multiple of 256 bytes.
22461 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
22463         [BZ #12167]
22464         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22465         of inacessible symlinks.  Verify result of symlink before returning it.
22466         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22467         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22469 2010-10-28  Erich Ritz  <erichritz@gmail.com>
22471         * math/math.h (isinf): Fix typo in comment.
22473 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
22475         * po/da.po: Update from translation team.
22477 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
22479         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22480         is added to the list.
22482 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22483             Ulrich Drepper  <drepper@gmail.com>
22485         * elf/dl-object.c (_dl_new_object): Don't append the new object to
22486         the global list here.  Move code to...
22487         (_dl_add_to_namespace_list): ...here.  New function.
22488         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22489         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22490         * elf/dl-load.c (lose): Don't remove the element from the list.
22491         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22492         (_dl_map_object): Likewise.
22494 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
22496         [BZ #12159]
22497         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22498         into all bytes of SSE register.
22499         Patch by Richard Li <richardpku@gmail.com>.
22501 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
22503         [BZ #12140]
22504         * malloc/malloc.c (_int_free): Fill correct number of bytes when
22505         perturbing.
22507 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
22509         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22510         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22511         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22512         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22514         submachine.
22515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22517 2010-10-22  Andreas Schwab  <schwab@redhat.com>
22519         * include/dlfcn.h (__RTLD_SECURE): Define.
22520         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
22521         mode & __RTLD_SECURE instead.
22522         (open_path): Rename preloaded parameter to secure.
22523         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22524         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22525         * elf/dl-deps.c (openaux): Likewise.
22526         * elf/rtld.c (struct map_args): Remove is_preloaded.
22527         (map_doit): Don't use it.
22528         (dl_main): Likewise.
22529         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22530         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22532 2010-09-09  Andreas Schwab  <schwab@redhat.com>
22534         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22535         (sysd-rules-targets): Remove duplicates.
22536         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22537         rtld-%.$o dependency.
22539 2010-10-18  Andreas Schwab  <schwab@redhat.com>
22541         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22542         _dl_map_object do it.
22544 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
22546         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22547         fast fma builtins, define the macros in the C99 standard.
22548         (FP_FAST_FMAF): Likewise.
22549         (FP_FAST_FMAL): Likewise.
22550         * sysdeps/x86_64/bits/mathdef.h: Likewise.
22552         * bits/mathdef.h: Update copyright year.
22553         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22555 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
22557         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22558         builtins, define the macros in the C99 standard.
22559         (FP_FAST_FMAF): Likewise.
22560         (FP_FAST_FMAL): Likewise.
22561         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22562         multiply/add.
22563         (FP_FAST_FMAF): Likewise.
22565 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
22567         [BZ #3268]
22568         * math/libm-test.inc (fma_test): Some new testcases.
22569         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22570         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22571         y and infinite z.  Do multiplication by C already in long double.
22572         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22573         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22574         y and infinite z.  Do bitwise or of inexact bit into u.d.
22575         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22576         * sysdeps/i386/fpu/s_fmaf.S: Removed.
22577         * sysdeps/i386/fpu/s_fma.S: Removed.
22578         * sysdeps/i386/fpu/s_fmal.S: Removed.
22580 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
22582         [BZ #3268]
22583         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22584         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22585         computation is not scheduled after fetestexcept.  Fix value
22586         of minimum denormal long double.
22588 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
22590         [BZ #3268]
22591         * math/libm-test.inc (fma_test): Add some more tests.
22592         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22593         correctly.
22595 2010-10-15  Andreas Schwab  <schwab@redhat.com>
22597         * scripts/data/localplt-s390-linux-gnu.data: New file.
22598         * scripts/data/localplt-s390x-linux-gnu.data: New file.
22600 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
22602         [BZ #3268]
22603         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22604         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22605         instead of dbl-64.
22606         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22607         inlines.
22608         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22609         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22610         if one of x and y is very large and the other is subnormal.
22611         * sysdeps/s390/fpu/s_fmaf.c: New file.
22612         * sysdeps/s390/fpu/s_fma.c: New file.
22613         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22614         * sysdeps/powerpc/fpu/s_fma.S: New file.
22615         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22616         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22617         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22619 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
22621         [BZ #3268]
22622         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22623         fma tests.
22624         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22625         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22626         * sysdeps/i386/i686/multiarch/s_fma.c: Include
22627         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22628         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22629         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22630         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22632 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
22634         [BZ #12078]
22635         * posix/regcomp.c (parse_branch): One more memory leak plugged.
22636         * posix/bug-regex31.input: Add test case.
22638 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
22640         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22641         * posix/bug-regex31.input: New file.
22643         [BZ #12078]
22644         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22645         (parse_sub_exp): Fix last change, use postorder.
22647         * posix/bug-regex31.c: New file.
22648         * posix/Makefile: Add rules to build and run bug-regex31.
22650         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22652         [BZ #12078]
22653         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22655         [BZ #12108]
22656         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22657         to have entries in sys_siglist.
22659         [BZ #12093]
22660         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22661         be NULL.
22663 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
22665         [BZ #3268]
22666         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22667         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22668         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22669         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22670         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22671         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22672         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22673         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22674         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22675         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22676         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22677         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22678         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22679         * math/ftestexcept.c (fetestexcept): Likewise.
22680         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22681         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22682         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22683         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22684         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22685         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22686         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22688 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
22690         [BZ #12107]
22691         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22692         newline.
22694 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
22696         * string/bug-strstr1.c: New file.
22697         * string/Makefile: Add rules to build and run bug-strstr1.
22699 2010-10-05  Eric Blake  <eblake@redhat.com>
22701         [BZ #12092]
22702         * string/str-two-way.h (two_way_long_needle): Always clear memory
22703         when skipping input due to the shift table.
22705 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
22707         [BZ #12005]
22708         * malloc/mcheck.c: Handle large requests.
22710         [BZ #12077]
22711         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22712         for strncmp and strncasecmp.
22713         * string/stratcliff.c: Add tests for strcmp and strncmp.
22714         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22716 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22718         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22719         __set_fpscr.
22721 2010-09-30  Andreas Jaeger  <aj@suse.de>
22723         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22724         (CGROUP_SUPER_MAGIC): Define.
22725         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22726         Handle btrfs and cgroup file systems.
22727         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22728         Likewise.
22730 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
22732         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22733         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22735 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22737         [BZ #12067]
22738         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22739         trying to locate the ELF header.
22741 2010-09-27  Andreas Schwab  <schwab@redhat.com>
22743         [BZ #11611]
22744         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22745         Mask out sign-bit copies when constructing f_fsid.
22747 2010-09-24  Petr Baudis <pasky@suse.cz>
22749         * debug/stack_chk_fail_local.c: Add missing licence exception.
22750         * debug/warning-nop.c: Likewise.
22752 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
22754         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22755         implementing getdents64 using getdents syscall, set d_type if
22756         __ASSUME_GETDENTS32_D_TYPE.
22758 2010-09-16  Andreas Schwab  <schwab@redhat.com>
22760         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22761         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22763 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
22765         [BZ #12037]
22766         * posix/unistd.h: Undo change of feature selection for ftruncate from
22767         2010-01-11.
22769 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
22771         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22772         detection.
22774 2010-09-20  Andreas Schwab  <schwab@redhat.com>
22776         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22777         fanotify_mark.
22778         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22780 2010-09-14  Andreas Schwab  <schwab@redhat.com>
22782         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22783         variables after CHECK_SP call.
22784         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22786 2010-09-13  Andreas Schwab  <schwab@redhat.com>
22787             Ulrich Drepper  <drepper@redhat.com>
22789         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22790         re-relocationg ld.so.
22791         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22792         _dl_init_paths call.
22793         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
22794         here anymore.
22796 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
22798         * resolv/res_init.c (__res_vinit): Count the default server we added.
22800 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
22801             Ulrich Drepper  <drepper@redhat.com>
22803         [BZ #11968]
22804         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22805         (____longjmp_chk): Use %ebx for saving value across system call.
22806         Add unwind info.
22808 2010-09-06  Andreas Schwab  <schwab@redhat.com>
22810         * manual/Makefile: Don't mix pattern rules with normal rules.
22812 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
22814         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22815         operation.
22816         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22817         * libio/iofopncook.c (_IO_cookie_init): Likewise.
22818         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22819         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22820         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22821         Likewise.
22823 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
22825         [BZ #11979]
22826         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22827         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22829 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
22831         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22832         * sysdeps/x86_64/addmul_1.S: Likewise.
22833         * sysdeps/x86_64/lshift.S: Likewise.
22834         * sysdeps/x86_64/mul_1.S: Likewise.
22835         * sysdeps/x86_64/rshift.S: Likewise.
22836         * sysdeps/x86_64/sub_n.S: Likewise.
22837         * sysdeps/x86_64/submul_1.S: Likewise.
22839 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22841         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22842         Define __sched_param instead of SCHED_* and sched_param when
22843         <bits/sched.h> is included with __need_schedparam defined.
22844         * bits/sched.h [__need_schedparam]
22845         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
22846         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22847         (__defined_schedparam): Define to 1.
22848         (__sched_param): New structure, identical to sched_param.
22849         (__need_schedparam): Undefine.
22851 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
22853         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22854         (epoll_create1): Declare.
22856         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22858 2010-08-31  Andreas Schwab  <schwab@redhat.com>
22860         [BZ #7066]
22861         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22862         shifting retval into place.
22864 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
22866         * nis/rpcsvc/nis.h: Update copyright notice.
22867         * nis/rpcsvc/nis.x: Likewise.
22868         * nis/rpcsvc/nis_callback.h: Likewise.
22869         * nis/rpcsvc/nis_callback.x: Likewise.
22870         * nis/rpcsvc/nis_object.x: Likewise.
22871         * nis/rpcsvc/nis_tags.h: Likewise.
22872         * nis/rpcsvc/yp.h: Likewise.
22873         * nis/rpcsvc/yp.x: Likewise.
22874         * nis/rpcsvc/ypupd.h: Likewise.
22875         * nis/yp_xdr.c: Likewise.
22876         * nis/ypupdate_xdr.c: Likewise.
22878         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
22879         mainly the body of pmap_getport.  Add parameters to specify timeouts.
22880         (pmap_getport): Use __libc_rpc_getport.
22881         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22882         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22883         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22885 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
22887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22888         fanotify_mark.
22890 2010-08-27  Roland McGrath  <roland@redhat.com>
22892         * sysdeps/i386/i686/multiarch/Makefile
22893         (CFLAGS-varshift.c): New variable.
22895 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
22897         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22898         * sysdeps/i386/i686/multiarch/varshift.c: New file.
22900         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22902         * sysdeps/x86_64/strlen.S: Minimal code improvement.
22904 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
22906         * sysdeps/x86_64/strlen.S: Unroll the loop.
22907         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22908         strlen-sse2 strlen-sse2-bsf.
22909         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22910         __strlen_no_bsf if bit_Slow_BSF is set.
22911         (__strlen_sse42): Removed.
22912         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22913         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22915 2010-08-25  Roland McGrath  <roland@redhat.com>
22917         * sysdeps/x86_64/multiarch/varshift.S: File removed.
22918         * sysdeps/x86_64/multiarch/varshift.c: New file.
22919         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22920         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22921         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22922         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22924 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
22926         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22927         strlen-sse2 strlen-sse2-bsf.
22928         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22929         __strlen_sse2_bsf if bit_Slow_BSF is unset.
22930         (__strlen_sse2): Removed.
22931         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22932         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22933         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22934         bit_Slow_BSF for Atom.
22935         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22936         (index_Slow_BSF): Define.
22937         (HAS_SLOW_BSF): Define.
22939 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
22941         [BZ #10851]
22942         * resolv/res_init.c (__res_vinit): When no server address at all
22943         is given default to loopback.
22945 2010-08-24  Roland McGrath  <roland@redhat.com>
22947         * configure.in: Remove config-name.h generation.
22948         * configure: Regenerated.
22949         * config-name.in: File removed.
22950         * scripts/config-uname.sh: New file.
22951         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22952         ($(objdir)config-name.h): New target.
22954         * sunrpc/rpc_parse.h: Avoid nested comment.
22956 2010-08-24  Richard Henderson  <rth@redhat.com>
22957             Ulrich Drepper  <drepper@redhat.com>
22958             H.J. Lu  <hongjiu.lu@intel.com>
22960         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22961         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22962         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22963         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
22964         _mm_alignr_epi8 with _mm_loadu_si128.
22965         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22966         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22967         (__m128i_shift_right): Removed.
22968         * sysdeps/i386/i686/multiarch/varshift.h: New file.
22969         * sysdeps/i386/i686/multiarch/varshift.S: New file.
22970         * sysdeps/x86_64/multiarch/varshift.h: New file.
22971         * sysdeps/x86_64/multiarch/varshift.S: New file.
22973 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
22975         * configure.in: Move assembler checks to before sysdep dir checking.
22977 2010-08-20  Petr Baudis  <pasky@suse.cz>
22979         * LICENSES: Sync the sunrpc license.
22981 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
22983         * sunrpc/auth_des.c: Update copyright notice once again.
22984         * sunrpc/auth_none.c: Likewise.
22985         * sunrpc/auth_unix.c: Likewise.
22986         * sunrpc/authdes_prot.c: Likewise.
22987         * sunrpc/authuxprot.c: Likewise.
22988         * sunrpc/bindrsvprt.c: Likewise.
22989         * sunrpc/clnt_gen.c: Likewise.
22990         * sunrpc/clnt_perr.c: Likewise.
22991         * sunrpc/clnt_raw.c: Likewise.
22992         * sunrpc/clnt_simp.c: Likewise.
22993         * sunrpc/clnt_tcp.c: Likewise.
22994         * sunrpc/clnt_udp.c: Likewise.
22995         * sunrpc/clnt_unix.c: Likewise.
22996         * sunrpc/des_crypt.c: Likewise.
22997         * sunrpc/des_soft.c: Likewise.
22998         * sunrpc/get_myaddr.c: Likewise.
22999         * sunrpc/getrpcport.c: Likewise.
23000         * sunrpc/key_call.c: Likewise.
23001         * sunrpc/key_prot.c: Likewise.
23002         * sunrpc/openchild.c: Likewise.
23003         * sunrpc/pm_getmaps.c: Likewise.
23004         * sunrpc/pm_getport.c: Likewise.
23005         * sunrpc/pmap_clnt.c: Likewise.
23006         * sunrpc/pmap_prot.c: Likewise.
23007         * sunrpc/pmap_prot2.c: Likewise.
23008         * sunrpc/pmap_rmt.c: Likewise.
23009         * sunrpc/rpc/auth.h: Likewise.
23010         * sunrpc/rpc/auth_unix.h: Likewise.
23011         * sunrpc/rpc/clnt.h: Likewise.
23012         * sunrpc/rpc/des_crypt.h: Likewise.
23013         * sunrpc/rpc/key_prot.h: Likewise.
23014         * sunrpc/rpc/netdb.h: Likewise.
23015         * sunrpc/rpc/pmap_clnt.h: Likewise.
23016         * sunrpc/rpc/pmap_prot.h: Likewise.
23017         * sunrpc/rpc/pmap_rmt.h: Likewise.
23018         * sunrpc/rpc/rpc.h: Likewise.
23019         * sunrpc/rpc/rpc_des.h: Likewise.
23020         * sunrpc/rpc/rpc_msg.h: Likewise.
23021         * sunrpc/rpc/svc.h: Likewise.
23022         * sunrpc/rpc/svc_auth.h: Likewise.
23023         * sunrpc/rpc/types.h: Likewise.
23024         * sunrpc/rpc/xdr.h: Likewise.
23025         * sunrpc/rpc_clntout.c: Likewise.
23026         * sunrpc/rpc_cmsg.c: Likewise.
23027         * sunrpc/rpc_common.c: Likewise.
23028         * sunrpc/rpc_cout.c: Likewise.
23029         * sunrpc/rpc_dtable.c: Likewise.
23030         * sunrpc/rpc_hout.c: Likewise.
23031         * sunrpc/rpc_main.c: Likewise.
23032         * sunrpc/rpc_parse.c: Likewise.
23033         * sunrpc/rpc_parse.h: Likewise.
23034         * sunrpc/rpc_prot.c: Likewise.
23035         * sunrpc/rpc_sample.c: Likewise.
23036         * sunrpc/rpc_scan.c: Likewise.
23037         * sunrpc/rpc_scan.h: Likewise.
23038         * sunrpc/rpc_svcout.c: Likewise.
23039         * sunrpc/rpc_tblout.c: Likewise.
23040         * sunrpc/rpc_util.c: Likewise.
23041         * sunrpc/rpc_util.h: Likewise.
23042         * sunrpc/rpcinfo.c: Likewise.
23043         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23044         * sunrpc/rpcsvc/key_prot.x: Likewise.
23045         * sunrpc/rpcsvc/klm_prot.x: Likewise.
23046         * sunrpc/rpcsvc/mount.x: Likewise.
23047         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23048         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23049         * sunrpc/rpcsvc/rex.x: Likewise.
23050         * sunrpc/rpcsvc/rstat.x: Likewise.
23051         * sunrpc/rpcsvc/rusers.x: Likewise.
23052         * sunrpc/rpcsvc/sm_inter.x: Likewise.
23053         * sunrpc/rpcsvc/spray.x: Likewise.
23054         * sunrpc/rpcsvc/yppasswd.x: Likewise.
23055         * sunrpc/rtime.c: Likewise.
23056         * sunrpc/svc.c: Likewise.
23057         * sunrpc/svc_auth.c: Likewise.
23058         * sunrpc/svc_authux.c: Likewise.
23059         * sunrpc/svc_raw.c: Likewise.
23060         * sunrpc/svc_run.c: Likewise.
23061         * sunrpc/svc_simple.c: Likewise.
23062         * sunrpc/svc_tcp.c: Likewise.
23063         * sunrpc/svc_udp.c: Likewise.
23064         * sunrpc/svc_unix.c: Likewise.
23065         * sunrpc/svcauth_des.c: Likewise.
23066         * sunrpc/xcrypt.c: Likewise.
23067         * sunrpc/xdr.c: Likewise.
23068         * sunrpc/xdr_array.c: Likewise.
23069         * sunrpc/xdr_float.c: Likewise.
23070         * sunrpc/xdr_mem.c: Likewise.
23071         * sunrpc/xdr_rec.c: Likewise.
23072         * sunrpc/xdr_ref.c: Likewise.
23073         * sunrpc/xdr_sizeof.c: Likewise.
23074         * sunrpc/xdr_stdio.c: Likewise.
23076         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23077         handling.
23079 2010-08-19  Andreas Schwab  <schwab@redhat.com>
23081         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23083 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
23085         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23086         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23087         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23088         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23089         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23090         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23091         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23092         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23093         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23094         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23095         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23096         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23097         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23098         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23100 2010-07-26  Anton Blanchard  <anton@samba.org>
23102         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23103         * malloc/arena.c (heap_trim): Likewise.
23105 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
23107         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23108         here.  Not...
23109         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23110         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23112 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
23114         * sysdeps/i386/elf/Makefile: New file.
23116 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
23118         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23119         from fanotify_init.
23120         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23121         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23123 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
23125         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23126         of strncasecmp_l.
23127         * sysdeps/multiarch/strcmp.S: Likewise.
23129 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
23131         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23132         strncase_l-nonascii.
23133         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23134         Add strncase_l-ssse3.
23135         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23136         * sysdeps/x86_64/strcmp.S: Likewise.
23137         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23138         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23139         * sysdeps/x86_64/strncase.S: New file.
23140         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23141         * sysdeps/x86_64/strncase_l.S: New file.
23142         * string/Makefile (strop-tests): Add strncasecmp.
23143         * string/test-strncasecmp.c: New file.
23145         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23146         warning.
23148         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23149         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23151 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
23153         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23155 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
23157         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23158         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23159         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23161 2010-05-01  Alan Modra  <amodra@gmail.com>
23163         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23164         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23165         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23166         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23167         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23168         tidying.  Don't tail-call __sigjmp_save for static lib.
23169         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23170         save location.
23171         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23172         (CALL_MCOUNT): Add eh info, and nop after bl.
23173         (TAIL_CALL_SYSCALL_ERROR): New macro.
23174         (PSEUDO_RET): Use it.
23175         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23176         Correct save location of integer regs and cr.
23177         (_dl_profile_resolve): Correct cr save location.  Delete nops
23178         after bl when SHARED.  Reduce cfi size a little by better
23179         placement of cfi directives.
23180         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23181         make a stack frame.  Instead use parm save area as a temp.
23182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23183         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
23184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23185         Don't make a stack frame for parent, use parm save area.
23186         Increase child stack frame to 112 bytes.  Don't save unused reg,
23187         and adjust reg usage.  Set up cfi on error recovery and
23188         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23190         (__makecontext): Add dummy nop after jump to exit.
23191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23192         Use correct parm save area and cr save, reduce stack frame.
23193         Correct cfi for possible PSEUDO_RET frame setup.
23194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23195         Branch to local label emitted by PSEUDO_RET rather than
23196         __syscall_error.
23198 2010-08-12  Andreas Schwab  <schwab@redhat.com>
23200         [BZ #11904]
23201         * locale/programs/locale.c (print_assignment): New function.
23202         (show_locale_vars): Use it.
23204 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
23206         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23207         field.
23208         (struct statfs64): Likewise.
23209         (_STATFS_F_FLAGS): Define.
23210         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23211         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23212         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23213         (ST_VALID): Define locally.
23214         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23215         __statvfs_getflags, use the provided value.
23216         * sysdeps/unix/sysv/linux/kernel-features.h: Define
23217         __ASSUME_STATFS_F_FLAGS.
23219         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23221         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23222         Add sys/fanotify.h.
23223         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23224         fanotify_mask for GLIBC_2.13.
23225         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23226         fanotify_init and fanotify_mark.
23227         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23228         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23230         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23231         Add prlimit.
23232         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23233         prlimit64 for GLIBC_2.13.
23234         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23235         prlimit64.
23236         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23237         syscall.
23238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23239         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23240         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23241         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23242         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
23243         add prlimit alias.
23244         * sysdeps/unix/sysv/linux/prlimit.c: New file.
23246         [BZ #11903]
23247         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23248         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23250         * nss/Makefile: Add rules to build and run tst-nss-test1.
23251         * shlib-versions: Add entry for libnss_test1.
23252         * nss/nss_test1.c: New file.
23253         * nss/tst-nss-test1.c: New file.
23255         * nss/nsswitch.c (__nss_database_custom): Define new variable.
23256         (__nss_configure_lookup): Set appropriate entry in
23257         __nss_configure_lookup to true.
23258         * nss/nsswitch.h: Define enum with indeces of databases in
23259         databases and __nss_database_custom arrays.  Declare
23260         __nss_database_custom.
23261         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23262         to avoid using nscd when custom rules are installed.
23263         * nss/getXXbyYY_r.c: Likewise.
23264         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23266         * nss/nss_files/files-parse.c: Whitespace fixes.
23268 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
23270         [BZ #11883]
23271         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23272         * posix/fnmatch_loop.c: Likewise.
23274 2010-07-17  Andi Kleen  <ak@linux.intel.com>
23276         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23277         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23278         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23279         * Versions.def [GLIBC_2.13]: Add.
23281 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
23283         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23284         Also fail if tpwd after pwuid call is NULL.
23286 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23288         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23289         when converting to ms.
23291 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23293         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23294         EOPNOTSUPP errors with ENOTTY.
23295         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23296         EOPNOTSUPP errors with ENOTTY.
23298 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
23300         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23301         Add strcasecmp_l-ssse3.
23302         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23303         strcasecmp.
23304         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23305         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23306         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23308 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
23310         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23312         * string/Makefile (strop-tests): Add strcasecmp.
23313         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23314         strcasecmp_l-nonascii.
23315         (gen-as-const-headers): Add locale-defines.sym.
23316         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23317         * sysdeps/x86_64/strcasecmp.S: New file.
23318         * sysdeps/x86_64/strcasecmp_l.S: New file.
23319         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23320         * sysdeps/x86_64/locale-defines.sym: New file.
23321         * string/test-strcasecmp.c: New file.
23323         * string/test-strcasestr.c: Test both ends of the range of characters.
23324         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23326 2010-07-29  Roland McGrath  <roland@redhat.com>
23328         [BZ #11856]
23329         * manual/locale.texi (Yes-or-No Questions): Fix example code.
23331 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
23333         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23334         for ld.so.
23336 2010-07-27  Andreas Schwab  <schwab@redhat.com>
23338         * manual/memory.texi (Malloc Tunable Parameters): Document
23339         M_PERTURB.
23341 2010-07-26  Roland McGrath  <roland@redhat.com>
23343         [BZ #11840]
23344         * configure.in (-fgnu89-inline check): Set and substitute
23345         gnu89_inline, not libc_cv_gnu89_inline.
23346         * configure: Regenerated.
23347         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23349 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
23351         * string/test-strnlen.c: New file.
23352         * string/Makefile (strop-tests): Add strnlen.
23353         * string/tester.c (test_strnlen): Add a few more test cases.
23354         * string/tst-strlen.c: Better error reporting.
23356         * sysdeps/x86_64/strnlen.S: New file.
23358 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
23360         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23361         lower-latency instructions.
23363 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
23365         * string/test-strcasestr.c: New file.
23366         * string/test-strstr.c: New file.
23367         * string/Makefile (strop-tests): Add strstr and strcasestr.
23368         * string/str-two-way.h: Don't undefine MAX.
23369         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23371 2010-07-21  Andreas Schwab  <schwab@redhat.com>
23373         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23374         strcasestr-nonascii.
23375         (CFLAGS-strcasestr-nonascii.c): Define.
23376         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23377         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23378         Remove unused attribute.
23380 2010-07-20  Roland McGrath  <roland@redhat.com>
23382         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23383         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
23384         ld.so.cache was broken.  With it, there is no way to disable dsocaps
23385         like LD_HWCAP_MASK can disable hwcaps.
23387 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
23389         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23391 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
23393         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23394         call in strcasestr.
23395         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23396         __strcasestr_sse42_nonascii.
23397         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23398         strcasestr-nonascii.c.
23399         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23401 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
23403         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23404         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23405         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23406         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23408 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
23410         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23411         fcntl.
23413 2010-07-06  Andreas Schwab  <schwab@redhat.com>
23415         [BZ #11577]
23416         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23417         dl_signal_cerror.
23419 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
23421         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23422         _PC_PIPE_BUF using F_GETPIPE_SZ.
23424 2010-07-05  Roland McGrath  <roland@redhat.com>
23426         * manual/arith.texi (Rounding Functions): Fix rint description
23427         implicit in round description.
23429 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
23431         * elf/Makefile: Fix linking for a few tests to make recent linker
23432         happy.
23434 2010-06-30  Andreas Schwab  <schwab@redhat.com>
23436         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23437         $(common-objpfx)libc_nonshared.a.
23439 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
23441         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23442         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23443         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23444         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23445         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23446         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23447         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23448         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23463         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23464         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23465         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23466         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23467         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23468         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23469         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23470         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23471         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23472         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23473         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23474         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23490 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
23492         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23493         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
23494         * string/memmove.c (memmove): Renamed to ...
23495         (MEMMOVE): ...this.  Default to memmove.
23496         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23497         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23498         (END_CHK): Define.
23499         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23500         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23501         mempcpy-ssse3-back memmove-ssse3-back.
23502         * sysdeps/x86_64/multiarch/bcopy.S: New file .
23503         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23504         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23505         * sysdeps/x86_64/multiarch/memcpy.S: New file.
23506         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23507         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23508         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23509         * sysdeps/x86_64/multiarch/memmove.c: New file.
23510         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23511         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23512         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23513         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23514         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23515         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23516         Define.
23517         (index_Fast_Copy_Backward): Define.
23518         (HAS_ARCH_FEATURE): Define.
23519         (HAS_FAST_REP_STRING): Define.
23520         (HAS_FAST_COPY_BACKWARD): Define.
23522 2010-06-21  Andreas Schwab  <schwab@redhat.com>
23524         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23525         Restore proper fallback handling.
23527 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
23529         [BZ #11701]
23530         * posix/group_member.c (__group_member): Correct checking loop.
23532         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23533         OOM in getpwuid_r correctly.  Return error number when the caller
23534         should return, otherwise -1.
23535         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23536         call returning > 0 value.
23537         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23539 2010-06-07  Andreas Schwab  <schwab@redhat.com>
23541         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23542         libc_nonshared.a from targets in modules-names.
23544 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
23546         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23547         requires it.
23549 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
23551         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23552         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23553         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23554         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23556 2010-06-02  Andreas Schwab  <schwab@redhat.com>
23558         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23560 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
23562         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23563         and F_GETPIPE_SZ.
23564         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23565         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23566         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23567         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23568         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23569         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23571 2010-06-14  Roland McGrath  <roland@redhat.com>
23573         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23575 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
23577         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23578         __REDIRECT followed by __THROW.
23579         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23580         * posix/getopt.h (getopt): Likewise.
23582 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
23584         * hurd/lookup-at.c (__file_name_lookup_at): Accept
23585         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
23586         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23587         in AT_FLAGS.
23588         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23589         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23591 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
23593         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23595 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
23597         [BZ #11640]
23598         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23599         Properly check family and model.
23601 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
23603         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23605 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
23607         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23609 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
23611         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23612         symbol reference.
23614 2010-05-19  Andreas Schwab  <schwab@redhat.com>
23616         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23617         symbol reference.
23619 2010-05-21  Andreas Schwab  <schwab@redhat.com>
23621         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23622         and internal_recvmmsg.
23623         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23624         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23625         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23626         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23628         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23629         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23630         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23632 2010-05-20  Andreas Schwab  <schwab@redhat.com>
23634         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23636 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
23638         POWER7 optimizations.
23639         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23640         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23642 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
23644         * version.h: Update for 2.13 development version.
23646 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
23648         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23649         exceptions.  Return 0.
23651 2010-05-07  Roland McGrath  <roland@redhat.com>
23653         * elf/ldconfig.c (main): Add a const.
23655 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
23657         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23658         (args_options): Add no-idn option.
23659         (ahosts_keys_int): Add idn_flags to ai_flags.
23660         (parse_option): Handle 'i' option to clear idn_flags.
23662         * malloc/malloc.c (_int_free): Possible race in the most recently
23663         added check.  Only act on the data if no current modification
23664         happened.
23666 See ChangeLog.17 for earlier changes.