Use R*_LP to call _dl_profile_fixup and frame size
[glibc.git] / ChangeLog
blob06d3a4f54e785c1389e1537376f7d9f317c61e8c
1 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4         and access return value for _dl_profile_fixup.  Use R10_LP to
5         load frame size.
7 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
9         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
11 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14         * sysdeps/x86_64/x32/sysdep.h: New file.
16 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
18         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19         * sysdeps/x86_64/setjmp.S: Likewise.
21 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
26         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
27         remove unused global constant.
29 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
31         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32         include of <not-cancel.h>.
34 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38 2012-05-15  Jeff Law  <law@redhat.com>
39             Andreas Jaeger  <aj@suse.de>
41         [BZ #13594]
42         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43         out from...
44         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
45         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
46         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47         code changing __hst_map_handle.map.
49 2012-05-15  Roland McGrath  <roland@hack.frob.com>
51         * configure.in (sysnames): Look for Implies-before and Implies-after
52         files.
53         * configure: Regenerated.
55 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
58         8-byte data alignment with LP_SIZE alignment.
60 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
63         into R10_LP.
65 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
69 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
72         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
73         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
74         Likewise.
75         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
77 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
80         (stackinfo_sub_sp): Likewise.
82 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
84         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
85         RAX_LP.
87 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
89         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
90         into R*_LP.
92 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
94         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
95         sizes into R*_LP.
97 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
99         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
101 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
103         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
104         into R11_LP and load __x86_64_shared_cache_size_half into
105         R8_LP.
107 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
109         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
110         R8_LP.
112 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
114         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
115         logb for POWER7.
116         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
117         logbf for POWER7.
118         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
119         logbl for POWER7.
120         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
121         powerpc32/power7/fpu/s_logb.c via #include.
122         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
123         powerpc32/power7/fpu/s_logbf.c via #include.
124         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
125         powerpc32/power7/fpu/s_logbl.c via #include.
127 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
129         * README.libm: Remove file.
131 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
133         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
134         count for x32.  Use R*_LP and omit operand-size suffix.
136 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
138         * shlib-versions: Move x86_64-.*-linux.* entries to ...
139         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
140         * sysdeps/x86_64/x32/shlib-versions: New file.
142 2012-05-14  Roland McGrath  <roland@hack.frob.com>
144         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
145         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
146         Use _dl_fatal_printf instead.
148 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
150         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
151         set if not set by the user.  Do not allow for being unset.
152         * sysdeps/unix/sysv/linux/configure: Regenerated.
154 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
156         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
157         the `q' suffix from lea and replace .quad with ASM_ADDR.
159 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
161         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
162         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
163         instead of $17.
164         (PTR_DEMANGLE): Likewise.
166 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
168         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
169         (LP_OP): Likewise.
170         (ASM_ADDR): Likewise.
171         (RAX_LP): Likewise.
172         (RBP_LP): Likewise.
173         (RBX_LP): Likewise.
174         (RCX_LP): Likewise.
175         (RDI_LP): Likewise.
176         (RSI_LP): Likewise.
177         (RSP_LP): Likewise.
178         (R8_LP): Likewise.
179         (R9_LP): Likewise.
180         (R10_LP): Likewise.
181         (R10_LP): Likewise.
182         (R11_LP): Likewise.
183         (R12_LP): Likewise.
184         (R13_LP): Likewise.
185         (R14_LP): Likewise.
186         (R15_LP): Likewise.
188 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
190         * sysdeps/x86_64/x32/dl-machine.h: New file.
192 2012-05-14  Andreas Jaeger  <aj@suse.de>
194         * manual/Makefile (subdir): Remove export of subdir.
195         (all): Remove target.
196         (.PHONY): Remove all from list.
197         (mkinstalldirs): Remove.
198         (.PHONY): Remove installdirs from list.
199         ($(inst_infodir)/libc.info): Use make-target-directory.
200         (installdirs): Remove.
201         (subdir_%): Remove.
202         (glibc-targets): Remove.
203         (lib): Remove.
204         (stubs): Remove.
205         ($(objpfx)stubs ../po/manual.pot): Remove.
206         ($(objpfx)stamp%): Remove.
207         (make-target-directory): Remove.
208         (subdir_install): Remove.
209         (routines): Remove.
210         (aux): Remove.
211         (sources): Remove.
212         (objects): Remove.
213         (headers): Remove.
215         [BZ #13750]
216         * manual/.gitignore: Remove, it's not needed anymore.
217         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
218         all files in it.
219         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
220         directory.
221         (texis): Renamed to $(objpfx)texis.
222         (texis-path): New, contains path to generated files.
223         (chapters.%): Use texis-path for complete path, add extra argument
224         libc-texinfo.sh.
225         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
226         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
227         (summary,texi, stamp-summary): Use complete path of
228         files. Generate files in build dir.
229         (dir-add.texi): Build in build dir.
230         (libm-err.texi,stamp-libm-err): Likewise.
231         (version.texi, stamp-version): Likewise.
232         (.%c.texi): Likewise.
233         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
234         (mostlyclean): Remove target.
235         (realclean): Remove target.
236         (generated): Add new variable with contents from mostlyclean and
237         realclean, remove entries duplicated in common-mostlyclean, add
238         stamp-libm-err and stamp-version.
239         (generated-dirs): Add libc directory.
240         ($(inst_infodir)/libc.info): Install files from build dir.
242         * manual/install.texi (Configuring and compiling): Adjust since
243         the info files are not part of the tar ball anymore.
245 2012-05-14  Andreas Jaeger  <aj@suse.de>
247         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
248         variable.
250 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
252         [BZ #13717]
253         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
254         to 2.2.0 where earlier.
255         * sysdeps/unix/sysv/linux/configure: Regenerated.
256         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
257         Remove conditional code.
258         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
259         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
260         Remove conditional code.
261         [!__NR_lchown]: Likewise.
262         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
263         [__NR_lchown]: Likewise.
264         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
265         comment referencing __ASSUME_LCHOWN_SYSCALL.
266         * sysdeps/unix/sysv/linux/i386/sigaction.c
267         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
268         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
269         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
270         Remove conditional code.
271         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
272         (__protocol_available): Remove #if 0 code.
273         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
274         conditional code.
275         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
276         * sysdeps/unix/sysv/linux/kernel-features.h
277         (__ASSUME_GETCWD_SYSCALL): Don't define.
278         (__ASSUME_REALTIME_SIGNALS): Likewise.
279         (__ASSUME_PREAD_SYSCALL): Likewise.
280         (__ASSUME_PWRITE_SYSCALL): Likewise.
281         (__ASSUME_POLL_SYSCALL): Likewise.
282         (__ASSUME_LCHOWN_SYSCALL): Likewise.
283         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
284         non-SPARC.
285         (__ASSUME_SIOCGIFNAME): Don't define.
286         (__ASSUME_MSG_NOSIGNAL): Likewise.
287         (__ASSUME_SENDFILE): Define unconditionally.
288         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
289         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
290         conditional code.
291         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
292         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
293         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
294         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
295         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
296         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
297         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
299         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
300         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
302         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
303         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
305         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
306         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
308         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
309         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
311         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
312         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
314         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
315         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
317         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
318         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
320         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
321         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
322         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
323         Remove conditional code.
324         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
325         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
326         Remove conditional code.
327         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
328         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
329         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
330         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
331         Remove conditional code.
332         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
333         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
334         Remove conditional code.
335         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
336         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
337         Remove conditional code.
338         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
339         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
340         Remove conditional code.
341         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
342         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
343         Remove conditional code.
344         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
345         * sysdeps/unix/sysv/linux/sh/pwrite64.c
346         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
347         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
348         * sysdeps/unix/sysv/linux/sigaction.c
349         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
350         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
351         * sysdeps/unix/sysv/linux/sigpending.c
352         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
353         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
354         * sysdeps/unix/sysv/linux/sigprocmask.c
355         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
356         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
357         * sysdeps/unix/sysv/linux/sigsuspend.c
358         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
359         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
360         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
361         (__libc_missing_rt_sigs): Remove.
362         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
363         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
364         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
365         Remove conditional code.
366         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
367         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
368         return 1.
369         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
370         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
371         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
372         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
374 2012-05-14  Andreas Jaeger  <aj@suse.de>
376         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
377         it's not used in glibc.
378         (__coshm1): Likewise.
379         (__acosh1p): Likewise.
380         (__sgn): Likewise.
382         * manual/string.texi (Copying and Concatenation): Add missing
383         variable in concat example.
384         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
386 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
388         [BZ #14103]
389         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
390         __builtin_clzl with __builtin_clzll.
392 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
394         [BZ #14104]
395         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
396         libc_freeres_ptr.
398 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
400         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
401         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
402         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
403         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
405 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
407         * NEWS: Update ia64 info.
409 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
411         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
412         used as bcopy.
414 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
416         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
417         * sysdeps/unix/syscalls.list (dup3): Likewise.
418         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
419         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
421 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
423         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
424         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
426 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
428         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
429         thread pointer.
430         (TLS_IE): Use mov/add instead of movq/addq to load thread
431         pointer.
432         (TLS_GD_PREFIX): New.
433         (TLS_GD): Use it.
435 2012-05-11  David S. Miller  <davem@davemloft.net>
437         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
438         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
439         (_FPU_SETCW): Likewise.
441 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
443         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
444         is 32-byte aligned.
446 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
448         [BZ #11837]
449         * iconvdata/gb18030.c: Update tables.
450         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
451         characters specially.
452         (BODY for TO_LOOP): Add encoding of missing ranges.
454 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
456         [BZ #13673]
457         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
458         * sysdeps/mach/hurd/dup3.c: Likewise.
459         * sysdeps/mach/hurd/readlinkat.c: Likewise.
460         * sysdeps/powerpc/memmove.c:: Likewise.
462 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
464         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
465         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
467 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
469         * elf/elf.h (R_X86_64_RELATIVE64): New.
470         (R_X86_64_NUM): Updated.
471         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
472         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
473         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
474         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
475         tst-quad1pie tst-quad2pie
476         (modules-names): Add tst-quadmod1 tst-quadmod2.
477         ($(objpfx)tst-quad1): New dependency.
478         ($(objpfx)tst-quad2): Likewise.
479         ($(objpfx)tst-quad1pie): Likewise.
480         ($(objpfx)tst-quad2pie): Likewise.
481         * sysdeps/x86_64/tst-quad1.c: New file.
482         * sysdeps/x86_64/tst-quad1pie.c: New file.
483         * sysdeps/x86_64/tst-quad2.c: Likewise.
484         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
485         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
486         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
487         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
488         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
490 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
492         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
493         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
494         * streams/stropts.h (t_scalar_t): Define type.
496         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
497         (_PATH_PRESERVE): Set to "/var/lib".
498         (_PATH_RWHODIR): Set to "/var/spool/rwho".
500         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
501         instead of int.
503         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
504         if __dir_mkfile succeeded.
506         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
507         checking for _hurd_dtablesize.  Unlock it right after having
508         finished _hurd_dtable allocation.
510 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
512         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
513         * sysdeps/mach/hurd/configure: Regenerated.
514         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
515         special-casing to...
516         * sysdeps/gnu/configure.in: ... this new file.
517         * sysdeps/unix/sysv/linux/configure: Regenerated.
518         * sysdeps/gnu/configure: New generated file.
520         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
521         for Linux: use nsec instead of usec, as well as:
522         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
523         members of type struct timespec.
524         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
525         New macros.
526         (struct stat64): Likewise.
527         (_STATBUF_ST_NSEC): New macro.
528         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
530         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
531         __strtoul_internal rather than strtoul.
533 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
535         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
536         and reject them.
538 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
540         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
541         which preserves existing values.
542         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
544 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
546         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
547         TIMEOUT values.  Return EINVAL for NFDS values either negative or
548         greater than FD_SETSIZE.
550 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
552         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
553         allocated, call __vm_protect to finish enabling the existing space, and
554         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
555         allocate the remainder.
557 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
559         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
560         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
562 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
564         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
565         sysdeps/mach/hurd/readlink.c.
567         * posix/tst-sysconf.c (posix_options): Only use
568         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
569         _POSIX_SYNCHRONIZED_IO when they are defined
570         * sysdeps/mach/hurd/bits/posix_opt.h:
571         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
572         (_XOPEN_REALTIME): Undefine macro.
573         (_XOPEN_REALTIME_THREADS): Undefine macro.
574         (_XOPEN_SHM): Undefine macro.
575         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
576         macro to -1.
577         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
578         macro to -1.
579         (_POSIX_ASYNC_IO): Undefine macro.
580         (_POSIX_PRIORITIZED_IO): Undefine macro.
581         (_POSIX_SPIN_LOCKS): Define macro to -1.
583         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
584         SA_NODEFER, SA_RESETHAND.
585         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
586         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
587         F_DUPFD_CLOEXEC.
589 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
591         * elf/Makefile (pldd-modules): Define unconditionally.
593 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
595         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
597 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
599         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
600         Return ENOENT when name is empty.
601         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
603 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
605         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
607         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
609 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
611         Fix mlock in all cases except non-readable pages.
612         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
613         instead of VM_PROT_ALL as parameter to __vm_wire function.
615         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
616         (__mkdir): When path is `/', just fail with EEXIST.
617         * sysdeps/mach/hurd/mkdirat.c: Likewise.
619 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
621         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
622         <sys/uio.h> (for writev).
623         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
624         and <sys/param.h> (for MIN).
626 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
628         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
629         REQUESTED_TIME.  Properly set the remaining time and return EINTR
630         if interrupted.
632 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
634         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
635         Depend on against $(link-rpcuserlibs).
637 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
639         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
640         (__libc_stack_end): Do not use attribute_relro.
641         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
642         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
643         to libthread-provided value.
644         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
645         attribute_relro.
647 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
649         [BZ #3748]
650         * bits/libc-lock.h (__libc_once_get): New macro.
651         * sysdeps/mach/bits/libc-lock.h: Likewise.
652         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
653         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
654         instead of using implementation details.
656         * libio/fileops.c: Unconditionally include <kernel-features.h>.
657         * libio/freopen.c: Likewise.
658         * libio/freopen64.c: Likewise.
659         * misc/syslog.c: Likewise.
660         * nscd/connections.c: Likewise.
661         * nscd/netgroupcache.c: Likewise.
662         * sysdeps/posix/getcwd.c: Likewise.
664 2012-05-10  Roland McGrath  <roland@hack.frob.com>
666         * math/w_ilogbf.c: Add #include <limits.h>.
668 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
670         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
671         path instead of returning without unlocking.
673         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
674         immediate-write ioctls.
675         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
677 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
679         * sysdeps/mach/hurd/i386/init-first.c (init): Use
680         __builtin_frame_address instead of making assumptions about the
681         location of the return address relative to DATA.  Force early load of
682         the return address.
683         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
684         __builtin_frame_address.
686         dup3 for GNU Hurd.
687         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
688         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
689         implement dup3 and do some further code clean-ups.
690         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
691         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
693 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
695         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
697         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
698         HURD_CRITICAL_END around holding _hurd_dtable_lock.
699         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
700         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
701         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
702         d->port.lock.
704         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
705         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
706         when handler == SIG_ERR, not when handler != SIG_ERR.
708 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
710         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
711         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
712         definitions.
714         accept4 for GNU Hurd.
715         * include/sys/socket.h (__libc_accept4): New prototype.
716         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
717         to implement __libc_accept4.
718         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
719         __libc_accept4.
720         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
722         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
723         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
724         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
725         signal-defines.sym.
727 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
729         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
731 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
733         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
734         assertion on O_CLOEXEC flag.
735         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
736         * hurd/intern-fd.c: Likewise.
737         * hurd/port2fd.c: Likewise.
739 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
741         [BZ #3906]
742         * bits/in.h (IPV6_PKTINFO): Define new macro.
743         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
745 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
747         [BZ #13954]
748         [BZ #13955]
749         [BZ #13956]
750         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
751         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
752         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
753         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
754         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
755         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
756         * math/libm-test.inc (logb_test) : Additional logb tests.
758 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
759             Andreas Jaeger  <aj@suse.de>
761         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
762         * configure: Regenerated.
763         * config.h.in (LINK_OBSOLETE_RPC): New macro.
764         * config.make.in (link-obsolete-rpc): New substituted variable.
765         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
766         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
767         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
768         (shared-only-routines): Don't set it under [link-obsolete-rpc],
769         so that libc.a contains the symbols.
770         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
771         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
772         * sunrpc/auth_none.c: Likewise.
773         * sunrpc/auth_unix.c: Likewise.
774         * sunrpc/authdes_prot.c: Likewise.
775         * sunrpc/authuxprot.c: Likewise.
776         * sunrpc/clnt_gen.c: Likewise.
777         * sunrpc/clnt_perr.c: Likewise.
778         * sunrpc/clnt_raw.c: Likewise.
779         * sunrpc/clnt_simp.c: Likewise.
780         * sunrpc/clnt_tcp.c: Likewise.
781         * sunrpc/clnt_udp.c: Likewise.
782         * sunrpc/clnt_unix.c: Likewise.
783         * sunrpc/des_crypt.c: Likewise.
784         * sunrpc/des_soft.c: Likewise.
785         * sunrpc/get_myaddr.c: Likewise.
786         * sunrpc/key_call.c: Likewise.
787         * sunrpc/key_prot.c: Likewise.
788         * sunrpc/netname.c: Likewise.
789         * sunrpc/pm_getmaps.c: Likewise.
790         * sunrpc/pm_getport.c: Likewise.
791         * sunrpc/pmap_clnt.c: Likewise.
792         * sunrpc/pmap_prot.c: Likewise.
793         * sunrpc/pmap_prot2.c: Likewise.
794         * sunrpc/pmap_rmt.c: Likewise.
795         * sunrpc/publickey.c: Likewise.
796         * sunrpc/rpc_cmsg.c: Likewise.
797         * sunrpc/rpc_common.c: Likewise.
798         * sunrpc/rpc_dtable.c: Likewise.
799         * sunrpc/rpc_prot.c: Likewise.
800         * sunrpc/rpc_thread.c: Likewise.
801         * sunrpc/rtime.c: Likewise.
802         * sunrpc/svc.c: Likewise.
803         * sunrpc/svc_auth.c: Likewise.
804         * sunrpc/svc_raw.c: Likewise.
805         * sunrpc/svc_run.c: Likewise.
806         * sunrpc/svc_tcp.c: Likewise.
807         * sunrpc/svc_udp.c: Likewise.
808         * sunrpc/svc_unix.c: Likewise.
809         * sunrpc/svcauth_des.c: Likewise.
810         * sunrpc/xcrypt.c: Likewise.
811         * sunrpc/xdr.c: Likewise.
812         * sunrpc/xdr_array.c: Likewise.
813         * sunrpc/xdr_float.c: Likewise.
814         * sunrpc/xdr_intXX_t.c: Likewise.
815         * sunrpc/xdr_mem.c: Likewise.
816         * sunrpc/xdr_rec.c: Likewise.
817         * sunrpc/xdr_ref.c: Likewise.
818         * sunrpc/xdr_sizeof.c: Likewise.
819         * sunrpc/xdr_stdio.c: Likewise.
821 2012-05-10  Roland McGrath  <roland@hack.frob.com>
823         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
824         change.  Update copyright years.
826 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
828         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
830 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
831             Joseph Myers  <joseph@codesourcery.com>
832             Paul Pluzhnikov  <ppluzhnikov@google.com>
834         [BZ #14012]
835         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
836         requiring rpcgen.
837         [cross-compiling] (extra-libs): Likewise.
838         [cross-compiling] (extra-libs-others): Likewise.
839         [cross-compiling] (librpcsvc-routines): Likewise.
840         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
841         [cross-compiling] (omit-deps): Likewise.
842         (sunrpc-CPPFLAGS): New variable.
843         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
844         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
845         (cross-rpcgen-objs): New variable.
846         (extra-objs): Append $(cross-rpcgen-objs).
847         ($(cross-rpcgen-objs)): New rule.
848         ($(objpfx)cross-rpcgen): Likewise.
849         (rpcgen-cmd): Define to use $(built-program-file).  Expand
850         comment.
851         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
852         ($(objpfx)x%.stmp): Likewise.
853         * sunrpc/proto.h [IS_IN_build] (_): Define.
854         [IS_IN_build] (_libc_intl_domainname): Likewise.
856 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
858         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
859         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
860         and R_X86_64_TPOFF64.
862 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
864         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
865         sysdeps/unix/sysv/syscalls.list.
866         (stime): Likewise.
867         (utime): Likewise.
868         * sysdeps/unix/sysv/syscalls.list: Remove file.
870 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
872         [BZ #3440]
873         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
874         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
875         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
876         (__LC_IDENTIFICATION): Make these macros useful in #if
877         expressions, as required by C99.
879 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
881         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
882         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
883         after this.
885 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
887         * stdlib/longlong.h: Updated from GCC.
889 2012-05-09  Andreas Jaeger  <aj@suse.de>
891         * nscd/nscd.c (run_modes): Make named enum, reorder so that
892         default is first entry.
893         (run_mode): Set type.
894         (main): Remove informal message about syslog.
895         (options): Fix typo.
897         [BZ #14053]
898         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
899         to asm.
900         (lrint): Likewise.
901         (llrintf): Likewise.
902         (llrint): Likewise.
903         (rint): Likewise.
904         (rintf): Likewise.
905         (nearbyint): Likewise.
906         (nearbyintf): Likewise.
908 2012-05-09  Andreas Jaeger  <aj@suse.de>
909             Pedro Alves  <palves@redhat.com>
911         * nscd/nscd.c (run_mode): Use enum.
912         (main): Cleanup coding style issue.
914 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
915             Andreas Jaeger  <aj@suse.de>
917         * nscd/nscd.c (go_background): Replaced with...
918         (run_mode): ... this.
919         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
920         (options): Add -F --foreground.
921         (main): Implement it.
922         (parse_opt): Parse it.
924 2012-05-09  Andreas Jaeger  <aj@suse.de>
926         [BZ #14083]
927         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
928         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
929         -Wconversion warning.
930         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
931         Likewise.
933 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
935         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
936         == 0.
937         (LC_ALL): Use macro-int-constant.
938         (LC_COLLATE): Likewise.
939         (LC_CTYPE): Likewise.
940         (LC_MESSAGES): Likewise.
941         (LC_MONETARY): Likewise.
942         (LC_NUMERIC): Likewise.
943         (LC_TIME): Likewise.
944         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
945         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
946         [ISO || ISO99 || ISO11] (*_t): Do not allow.
947         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
948         Specify type.
949         [C99-based standards] (float_t): Expect type.
950         [C99-based standards] (double_t): Expect type.
951         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
952         type.
953         [C99-based standards] (HUGE_VALL): Likewise.
954         [C99-based standards] (INFINITY): Likewise.
955         [C99-based standards] (NAN): Likewise.
956         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
957         [C99-based standards] (FP_NAN): Likewise.
958         [C99-based standards] (FP_NORMAL): Likewise.
959         [C99-based standards] (FP_SUBNORMAL): Likewise.
960         [C99-based standards] (FP_ZERO): Likewise.
961         [C99-based standards] (FP_FAST_FMA): Use
962         optional-macro-int-constant.  Specify type.  Require == 1.
963         [C99-based standards] (FP_FAST_FMAF): Likewise.
964         [C99-based standards] (FP_FAST_FMAL): Likewise.
965         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
966         [C99-based standards] (FP_ILOGBNAN): Likewise.
967         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
968         Specify type.
969         [C99-based standards] (MATH_ERREXCEPT): Likewise.
970         [C99-based standards] (math_errhandling): Specify type.
971         [ISO99 || ISO11] (signgam): Do not allow.
972         [non-C99-based standards] (copysignf): Do not allow.
973         [non-C99-based standards] (exp2f): Likewise.
974         [non-C99-based standards] (log2f): Likewise.
975         [non-C99-based standards] (modff): Allow.
976         [non-C99-based standards] (erff): Do not allow.
977         [non-C99-based standards] (erfcf): Likewise.
978         [non-C99-based standards] (gammaf): Likewise.
979         [non-C99-based standards] (hypotf): Likewise.
980         [non-C99-based standards] (j0f): Likewise.
981         [non-C99-based standards] (j1f): Likewise.
982         [non-C99-based standards] (jnf): Likewise.
983         [non-C99-based standards] (lgammaf): Likewise.
984         [non-C99-based standards] (tgammaf): Likewise.
985         [non-C99-based standards] (y0f): Likewise.
986         [non-C99-based standards] (y1f): Likewise.
987         [non-C99-based standards] (ynf): Likewise.
988         [non-C99-based standards] (isnanf): Likewise.
989         [non-C99-based standards] (acoshf): Likewise.
990         [non-C99-based standards] (asinhf): Likewise.
991         [non-C99-based standards] (atanhf): Likewise.
992         [non-C99-based standards] (cbrtf): Likewise.
993         [non-C99-based standards] (expm1f): Likewise.
994         [non-C99-based standards] (ilogbf): Likewise.
995         [non-C99-based standards] (log1pf): Likewise.
996         [non-C99-based standards] (logbf): Likewise.
997         [non-C99-based standards] (nextafterf): Likewise.
998         [non-C99-based standards] (remainderf): Likewise.
999         [non-C99-based standards] (rintf): Likewise.
1000         [non-C99-based standards] (scalbf): Likewise.
1001         [non-C99-based standards] (copysignl): Likewise.
1002         [non-C99-based standards] (exp2l): Likewise.
1003         [non-C99-based standards] (log2l): Likewise.
1004         [non-C99-based standards] (modfl): Allow.
1005         [non-C99-based standards] (erfl): Do not allow.
1006         [non-C99-based standards] (erfcl): Likewise.
1007         [non-C99-based standards] (gammal): Likewise.
1008         [non-C99-based standards] (hypotl): Likewise.
1009         [non-C99-based standards] (j0l): Likewise.
1010         [non-C99-based standards] (j1l): Likewise.
1011         [non-C99-based standards] (jnl): Likewise.
1012         [non-C99-based standards] (lgammal): Likewise.
1013         [non-C99-based standards] (tgammal): Likewise.
1014         [non-C99-based standards] (y0l): Likewise.
1015         [non-C99-based standards] (y1l): Likewise.
1016         [non-C99-based standards] (ynl): Likewise.
1017         [non-C99-based standards] (isnanl): Likewise.
1018         [non-C99-based standards] (acoshl): Likewise.
1019         [non-C99-based standards] (asinhl): Likewise.
1020         [non-C99-based standards] (atanhl): Likewise.
1021         [non-C99-based standards] (cbrtl): Likewise.
1022         [non-C99-based standards] (expm1l): Likewise.
1023         [non-C99-based standards] (ilogbl): Likewise.
1024         [non-C99-based standards] (log1pl): Likewise.
1025         [non-C99-based standards] (logbl): Likewise.
1026         [non-C99-based standards] (nextafterl): Likewise.
1027         [non-C99-based standards] (remainderl): Likewise.
1028         [non-C99-based standards] (rintl): Likewise.
1029         [non-C99-based standards] (scalbl): Likewise.
1030         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1031         [non-C99-based standards] (FP_*): Do not allow.
1032         [C99-based standards] (FP_*): Change to
1033         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1034         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1035         allow.
1036         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1037         (SIG_ERR): Likewise.
1038         [X/Open-based standards] (SIG_HOLD): Likewise.
1039         (SIG_IGN): Likewise.
1040         (SIGABRT): Use macro-int-constant.  Specify type.  Require
1041         positive value.
1042         (SIGFPE): Likewise.
1043         (SIGILL): Likewise.
1044         (SIGINT): Likewise.
1045         (SIGSEGV): Likewise.
1046         (SIGTER): Likewise.
1047         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1048         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1049         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1050         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1051         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1052         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1053         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1054         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1055         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1056         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1057         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1058         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1059         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1060         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1061         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1062         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1063         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1064         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1065         [X/Open-based standards] (SIGTRAP): Likewise.
1066         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1067         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1068         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1069         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1070         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1071         allow.
1073 2012-05-08  Ian Wienand  <ianw@vmware.com>
1075         [BZ #14080]
1076         * time/tzset.c (__tzset_parse_tz): Update default rules for
1077         daylight time changes in the Energy Policy Act of 2005.
1079 2012-05-09  Andreas Jaeger  <aj@suse.de>
1081         [BZ #13983]
1082         * elf/ldconfig.c (parse_conf): Change string to make clear that
1083         ldconfig only issued a warning if ld.so.conf does not exist.
1085 2012-05-08  David S. Miller  <davem@davemloft.net>
1087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1088         movxtod instead of popping the value on the stack.
1090         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1092 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
1094         * config.h.in: Add HAVE_ARM_PCS_VFP.
1096 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
1098         [BZ #13979]
1099         * include/features.h: Warn if user requests __FORTIFY_SOURCE
1100         checking but the checks are disabled for any reason.
1102 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
1104         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1105         and ELF64_R_TYPE with ELFW(R_TYPE).
1107 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
1109         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1110         (ulimit): Likewise.
1112         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1113         (settimeofday): Likewise.
1115 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
1117         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
1118         a struct th_u2 inside the union, and move tu_block/tu_code into
1119         a new th_u3 union of tu_block/tu_code inside of that.  Move
1120         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
1121         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
1122         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1123         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1124         (th_stuff): Change to th_u1.tu_stuff.
1125         (th_data): Define.
1126         (th_msg): Change to th_u1.th_u2.tu_data.
1128 2012-05-07  David S. Miller  <davem@davemloft.net>
1130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1132         [BZ #14074]
1133         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1134         (SETUP_PIC_REG): Use it.
1135         (SETUP_PIC_REG_LEAF): Use it.
1137 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
1139         [BZ #13885]
1140         [BZ #13923]
1141         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1142         USE_AS_EXPM1L.
1143         (EXPL_FINITE): Likewise.
1144         (FLDLOG): Likewise.
1145         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1146         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1147         e_expl.S.
1148         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1149         USE_AS_EXPM1L.
1150         (EXPL_FINITE): Likewise.
1151         (FLDLOG): Likewise.
1152         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1153         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1154         e_expl.S.
1155         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
1156         test of -max_value argument for long double.
1157         * sysdeps/i386/fpu/libm-test-ulps: Update.
1158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1160 2012-05-06  David S. Miller  <davem@davemloft.net>
1162         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1163         quad soft-float symbols whose references which are compiler
1164         generated.
1165         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1167 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
1169         [BZ #13884]
1170         [BZ #13914]
1171         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1172         USE_AS_EXP10L.
1173         (EXPL_FINITE): Likewise.
1174         (FLDLOG): Likewise.
1175         (c0): Likewise.
1176         (c1): Likewise.
1177         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
1178         Adjust comments for base varying.
1179         (__expl_finite): Change alias to EXPL_FINITE.
1180         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1181         e_expl.S.
1182         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1183         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1184         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1185         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1186         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1187         USE_AS_EXP10L.
1188         (EXPL_FINITE): Likewise.
1189         (FLDLOG): Likewise.
1190         (c0): Likewise.
1191         (c1): Likewise.
1192         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
1193         Adjust comments for base varying.
1194         (__expl_finite): Change alias to EXPL_FINITE.
1195         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
1196         tests for bugs.
1197         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1199         [BZ #14064]
1200         * math/libm-test.inc (check_float_internal): Correct ulp
1201         calculation for subnormal expected results.
1203 2012-05-06  Andreas Jaeger  <aj@suse.de>
1205         * Makeconfig (+math-flags): New, set to -frounding-math.
1206         (+cflags): Add +math-flags so that all of glibc gets compiled with
1207         it.
1209         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1211 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
1213         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1214         Disable one test.
1216         [BZ #13787]
1217         [BZ #13922]
1218         [BZ #14036]
1219         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1220         (__ieee754_expl): Allow for and saturate large arguments.
1221         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1222         (u_threshold): Likewise.
1223         (__exp): Call __ieee754_exp before checking for overflow and
1224         underflow.
1225         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1226         (u_threshold): Likewise.
1227         (__expf): Call __ieee754_expf before checking for overflow and
1228         underflow.
1229         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1230         (u_threshold): Likewise.
1231         (__expl): Call __ieee754_expl before checking for overflow and
1232         underflow.
1233         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1234         (__ieee754_expl): Allow for and saturate large arguments.
1235         * math/libm-test.inc (exp_test): Add another test.  Do not allow
1236         missing overflow exception on overflow.
1237         (expm1_test): Do not allow missing overflow exception on overflow.
1239         * sysdeps/i386/fpu/e_expl.c: Move to ...
1240         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
1241         rather than using inline asm.
1242         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1243         * sysdeps/x86_64/fpu/e_expl.S: Copy from
1244         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1246         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1247         (nice): Likewise.
1248         (poll): Likewise.
1249         (signal): Likewise.
1250         (time): Likewise.
1251         (times): Likewise.
1253 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
1255         * sysdeps/unix/syscalls.list (adjtime): Add entry from
1256         sysdeps/unix/common/syscalls.list.
1257         (fchmod): Likewise.
1258         (fchown): Likewise.
1259         (ftruncate): Likewise.
1260         (getrusage): Likewise.
1261         (gettimeofday): Likewise.
1262         (setpgid): Likewise.
1263         (setregid): Likewise.
1264         (setreuid): Likewise.
1265         (sigaction): Likewise.
1266         (truncate): Likewise.
1267         (vhangup): Likewise.
1268         * sysdeps/unix/common/syscalls.list: Remove file.
1269         * sysdeps/unix/bsd/Implies: Don't include unix/common.
1270         * sysdeps/unix/sysv/linux/Implies: Likewise.
1272 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
1274         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1275         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1276         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1277         Moved to ...
1278         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1279         Here.
1280         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1281         to ...
1282         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1283         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1284         to ...
1285         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1286         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1287         to ...
1288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1289         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1290         to ...
1291         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1292         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1293         to ...
1294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1295         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1296         to ...
1297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1298         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1299         to ...
1300         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1301         Here.
1302         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1303         to ...
1304         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1305         Here.
1306         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1307         to ...
1308         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1309         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1310         Moved to ...
1311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1312         Here.
1313         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1314         to ...
1315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1317 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
1319         * sysdeps/unix/common/bits/dirent.h: Remove file.
1320         * sysdeps/unix/common/bits/fcntl.h: Likewise.
1322         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1323         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1324         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1325         * sysdeps/unix/bsd/isatty.c: Likewise.
1326         * sysdeps/unix/bsd/tcdrain.c: Likewise.
1327         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1328         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1330 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1332         [BZ #13563]
1333         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1334         long double comparison inaccuracies.
1335         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1338 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
1340         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1341         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1343 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
1345         [BZ #14049]
1346         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1347         nonzero digits before rounding a hex value.
1348         * stdlib/tst-strtod.c (tests): Add another test.
1350 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1352         * sysdeps/s390/fpu/libm-test-ulps: Update.
1354 2012-05-03  Andreas Jaeger  <aj@suse.de>
1356         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1357         does not get optimized out.
1358         (malloc_opt_barrier): New.
1360 2012-05-03  Andreas Jaeger  <aj@suse.de>
1361             Roland McGrath  <roland@hack.frob.com>
1363         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
1364         intermediate file deletion.
1365         (generated): Add .symlist files.
1367 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
1369         [BZ #13775]
1370         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1371         Redirect under this condition.
1372         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1373         [__USE_GNU] (__dprintf_chk): Not under this condition.
1374         [__USE_GNU] (__vdprintf_chk): Likewise.
1375         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1376         under this condition.
1377         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1378         [__USE_XOPEN2K8] (dprintf): Define under this condition.
1379         [__USE_XOPEN2K8] (vdprintf): Likewise.
1380         [__USE_GNU] (__dprintf_chk): Not under this condition.
1381         [__USE_GNU] (__vdprintf_chk): Likewise.
1382         [__USE_GNU] (dprintf): Likewise.
1383         [__USE_GNU] (vdprintf): Likewise.
1385 2012-05-03  Roland McGrath  <roland@hack.frob.com>
1387         * elf/Makefile (common-generated): Set this instead of generated for
1388         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
1389         $(all-built-dso)-derived lists.
1391 2012-05-03  Andreas Jaeger  <aj@suse.de>
1393         * sysdeps/i386/fpu/libm-test-ulps: Update.
1395         * FAQ: Removed.
1396         * FAQ.in: Likewise.
1397         * scripts/gen-FAQ.pl: Likewise.
1398         * manual/install.texi (Installation): Point to online location of
1399         FAQ.
1400         * Makefile (files-for-dist): Remove FAQ.
1401         (FAQ): Remove.
1403 2012-05-02  Allan McRae  <allan@archlinux.org>
1405         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1406         (LDFLAGS-reldepmod5.so): Likewise.
1407         (LDFLAGS-reldep6mod1.so): Likewise.
1408         (LDFLAGS-reldep6mod4.so): Likewise.
1409         (LDFLAGS-reldep8mod3.so): Likewise.
1410         (LDFLAGS-unload4mod1.so): Likewise.
1411         (LDFLAGS-unload4mod2.so): Likewise.
1412         (LDFLAGS-tst-initorder): Likewise.
1413         (LDFLAGS-tst-initordera2.so): Likewise.
1414         (LDFLAGS-tst-initordera3.so): Likewise.
1415         (LDFLAGS-tst-initordera4.so): Likewise.
1416         (LDFLAGS-tst-initorderb2.so): Likewise.
1417         (LDFLAGS-noload): Likewise.
1418         (LDFLAGS-next): Likewise.
1419         (LDFLAGS-order2mod1.so): Likewise.
1420         (LDFLAGS-order2mod2.so): Likewise.
1421         (LDFLAGS-tst-initorder2): Likewise.
1422         (LDFLAGS-tst-initorder2a.so): Likewise.
1423         (LDFLAGS-tst-initorder2b.so): Likewise.
1424         (LDFLAGS-tst-initorder2c.so): Likewise.
1425         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1427 2012-05-02  David S. Miller  <davem@davemloft.net>
1429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1431 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
1433         [BZ #14055]
1434         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1436 2012-05-02  Andreas Jaeger  <aj@suse.de>
1438         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1439         since we manipulate rounding mode.
1440         (CPPFLAGS-test-idouble.c): Likewise.
1441         (CPPFLAGS-test-ifloat.c): Likewise.
1442         (CFLAGS-test-ldouble.c): Likewise.
1443         (CFLAGS-test-double.c): Likewise.
1444         (CFLAGS-test-float.c): Likewise.
1445         (CFLAGS-test-misc.c): Likewise.
1446         (CFLAGS-test-test-fenv.c): Likewise.
1448 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1450         [BZ #2550]
1451         [BZ #2570]
1452         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1453         comparisons to determine direction to adjust input.
1455 2012-05-01  Roland McGrath  <roland@hack.frob.com>
1457         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1458         output to the target.
1460         * scripts/localplt.awk: New file.
1461         * elf/Makefile ($(objpfx)check-localplt): Target removed.
1462         (check-localplt-CFLAGS): Variable removed.
1463         ($(all-built-dso:=.jmprel)): New static pattern rule.
1464         (generated): Add those targets.
1465         (localplt-built-dso): New variable.
1466         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1468         * elf/check-localplt.c: File removed.
1470         * scripts/check-execstack.awk: New file.
1471         * elf/Makefile ($(objpfx)check-execstack): Target removed.
1472         (check-execstack-CFLAGS): Variable removed.
1473         ($(objpfx)check-execstack.h): Target removed.
1474         ($(objpfx)execstack-default): New target.
1475         (generated): Add that instead of check-execstack.h.
1476         ($(all-built-dso:=.phdr)): New static pattern rule.
1477         (generated): Add those targets.
1478         * elf/check-execstack.c: File removed.
1480         * scripts/check-textrel.awk: New file.
1481         * elf/Makefile ($(objpfx)check-textrel): Target removed.
1482         (check-textrel-CFLAGS): Variable removed.
1483         (all-built-dso): Use := to define.o
1484         ($(all-built-dso:=.dyn)): New static pattern rule.
1485         (generated): Add those targets.
1486         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1487         * config.make.in (READELF): New substituted variable.
1488         * elf/check-textrel.c: File removed.
1490 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
1492         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1493         allow.
1494         * conform/data/ctype.h-data [C99-based standards] (isblank):
1495         Expect function.
1496         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1497         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1498         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1499         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1500         Specify type.  Require positive value.
1501         (EILSEQ): Likewise.
1502         (ERANGE): Likewise.
1503         [ISO || POSIX] (EILSEQ): Do not expect.
1504         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1505         Specify type.  Require positive value.
1506         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1507         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1508         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1509         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1510         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1511         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1512         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1513         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1514         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1515         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1516         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1517         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1518         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1519         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1520         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1521         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1522         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1523         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1524         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1525         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1526         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1527         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1528         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1529         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1530         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1531         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1532         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1533         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1534         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1535         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1536         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1537         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1538         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1539         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1540         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1541         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1542         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1543         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1544         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1545         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1546         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1547         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1548         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1549         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1550         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1551         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1552         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1553         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1554         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1555         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1556         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1557         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1558         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1559         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1560         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1561         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1562         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1563         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1564         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1565         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1566         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1567         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1568         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1569         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1570         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1571         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1572         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1573         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1574         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1575         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1576         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1577         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1578         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1579         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1580         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1581         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1582         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1583         Require >= 2.
1584         (FLT_ROUNDS): Expect as macro, not constant.
1585         (FLT_MANT_DIG): Use macro-int-constant.
1586         (DBL_MANT_DIG): Likewise.
1587         (LDBL_MANT_DIG): Likewise.
1588         (FLT_DIG): Likewise.
1589         (DBL_DIG): Likewise.
1590         (LDBL_DIG): Likewise.
1591         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
1592         (DBL_MIN_EXP): Likewise.
1593         (LDBL_MIN_EXP): Likewise.
1594         (FLT_MAX_EXP): Use macro-int-constant.
1595         (DBL_MAX_EXP): Likewise.
1596         (LDBL_MAX_EXP): Likewise.
1597         (FLT_MAX_10_EXP): Likewise.
1598         (DBL_MAX_10_EXP): Likewise.
1599         (LDBL_MAX_10_EXP): Likewise.
1600         (FLT_MAX): Use macro-constant.
1601         (DBL_MAX): Likewise.
1602         (LDBL_MAX): Likewise.
1603         (FLT_EPSILON): Use macro-constant.  Give upper bound.
1604         (DBL_EPSILON): Likewise.
1605         (LDBL_EPSILON): Likewise.
1606         (FLT_MIN): Likewise.
1607         (DBL_MIN): Likewise.
1608         (LDBL_MIN): Likewise.
1609         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1610         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1611         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1612         [ISO11] (FLT_HAS_SUBNORM): Likewise.
1613         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1614         [ISO11] (DBL_DECIMAL_DIG): Likewise.
1615         [ISO11] (FLT_DECIMAL_DIG): Likewise.
1616         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1617         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1618         [ISO11] (FLT_TRUE_MIN): Likewise.
1619         [ISO11] (LDBL_TRUE_MIN): Likewise.
1620         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1621         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1622         (SCHAR_MIN): Use macro-int-constant.  Specify type.
1623         (SCHAR_MAX): Likewise.
1624         (UCHAR_MAX): Likewise.
1625         (CHAR_MIN): Likewise.
1626         (CHAR_MAX): Likewise.
1627         (MB_LEN_MAX): Use macro-int-constant.
1628         (SHRT_MIN): Use macro-int-constant.  Specify type.
1629         (SHRT_MAX): Likewise.
1630         (USHRT_MAX): Likewise.
1631         (INT_MAX): Likewise.
1632         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
1633         bound negative.
1634         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
1635         bound with "U".
1636         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
1637         bound with "L".
1638         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
1639         bound negative.  Suffix upper bound with "L".
1640         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
1641         bound with "UL".
1642         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1643         Specify type.
1644         [C99-based standards] (LLONG_MAX): Likewise.
1645         [C99-based standards] (ULLONG_MAX): Likewise.
1646         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
1647         == 0.
1648         [ISO11] (max_align_t): Require type.
1649         [ISO || ISO99 || ISO11] (*_t): Do not allow.
1651         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1652         from $CFLAGS, without defining away __attribute__ calls.
1653         (checknamespace): Use $CFLAGS_namespace.
1655         * conform/conformtest.pl (@keywords): Only include C99 keywords
1656         for standards based on C99 or C11.
1658         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1659         Disable tests.
1660         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1661         UNIX98]: Likewise.
1663         * conform/conformtest.pl: Handle "macro-int-constant" and test for
1664         usability of symbols in #if.
1666         * conform/conformtest.pl: If macro or constant types start
1667         "promoted:", expect the symbol to be of the following type
1668         promoted by the integer promotions.
1670         * conform/conformtest.pl: Parse all "constant" and "macro" lines
1671         in one place.  Also handle "macro-constant".
1673         * conform/conformtest.pl: Only accept expected macro values with
1674         "==".  Parse all "macro" lines in one place.
1675         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1677         * conform/conformtest.pl: Handle braced types on "constant" lines
1678         instead of handling "typed-constant".
1679         * conform/data/signal.h-data: Use "constant" instead of
1680         "typed-constant".
1682         * conform/conformtest.pl: Handle "optional-" at start of lines in
1683         one place rather than duplicating several cases.  Handle each
1684         format of "macro" line with initial "optional-".
1686         * conform/conformtest.pl: Only accept expected constant or
1687         optional-constant values with "==".  Parse all "constant" lines in
1688         one place.  Parse all "optional-constant" lines in one place.
1689         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1690         * conform/data/fmtmsg.h-data: Likewise.
1691         * conform/data/netinet/in.h-data: Likewise.
1692         * conform/data/tar.h-data: Likewise.
1693         * conform/data/limits.h-data: Use "==" form on "constant" and
1694         "optional-constant" lines.
1696         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1697         Use -std=c99 for XOPEN2K.
1698         (@knownproblems): Remove.
1699         (newtoken): Don't check %isknown.
1701         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1702         Do not expect macro.
1703         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1704         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1705         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1706         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1707         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1708         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1709         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1710         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1711         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1712         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1713         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1714         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1715         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1716         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1717         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1718         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1719         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1720         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1721         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1722         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1723         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1724         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1725         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1726         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1727         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1728         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1729         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1730         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1731         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1732         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1733         [XPG3] (acosh): Likewise.
1734         [XPG3] (asinh): Likewise.
1735         [XPG3] (atanh): Likewise.
1736         [XPG3] (cbrt): Likewise.
1737         [XPG3] (expm1): Likewise.
1738         [XPG3] (ilogb): Likewise.
1739         [XPG3] (log1p): Likewise.
1740         [XPG3] (logb): Likewise.
1741         [XPG3] (nextafter): Likewise.
1742         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1743         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1744         [XPG3] (remainder): Likewise.
1745         [XPG3] (rint): Likewise.
1746         [XPG3 || XPG4 || UNIX98] (round): Likewise.
1747         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1748         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1749         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1750         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1751         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1752         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1753         [UNIX98 || XOPEN2K] (scalb): Expect.
1754         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1755         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1756         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1757         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1758         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1759         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1760         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1761         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1762         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1763         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1764         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1765         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1766         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1767         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1768         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1769         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1770         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1771         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1772         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1773         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1774         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1775         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1776         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1777         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1778         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1779         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1780         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1781         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1782         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1783         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1784         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1785         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1786         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1787         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1788         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1789         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1790         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1791         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1792         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1793         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1794         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1795         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1796         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1797         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1798         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1799         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1800         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1801         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1802         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1803         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1804         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1805         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1806         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1807         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1808         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1809         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1810         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1811         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1812         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1813         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1814         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1815         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1816         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1817         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1818         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1819         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1820         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1821         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1822         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1823         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1824         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1825         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1826         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1827         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1828         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1829         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1830         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1831         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1832         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1833         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1834         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1835         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1836         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1837         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1838         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1839         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1840         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1841         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1842         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1843         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1844         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1845         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1846         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1847         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1848         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1849         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1850         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1851         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1852         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1853         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1854         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1855         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1856         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1857         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1858         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1859         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1860         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1861         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1862         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1863         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1864         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1865         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1866         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1867         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1868         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1869         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1870         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1871         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1872         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1873         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1874         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1875         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1876         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1877         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1878         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1879         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1880         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1881         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1882         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1883         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1884         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1885         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1886         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1887         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1888         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1889         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1890         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1892         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1893         _XOPEN_SOURCE_EXTENDED for XPG4.
1895         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1897         * Makeconfig (localtime): Remove variable.
1898         (inst_localtime-file): Likewise.
1900 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1903         Update.
1904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1905         Update.
1906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1907         Update.
1908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1909         Update.
1910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1911         Update.
1912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1913         Update.
1914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1915         Update.
1916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1917         Update.
1918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1919         Update.
1921 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
1923         [BZ #2550]
1924         [BZ #2570]
1925         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1926         comparisons to determine direction to adjust input.
1927         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1928         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1929         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1930         Likewise.
1931         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1932         Likewise.
1933         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1934         Likewise.
1935         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1936         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1937         Likewise.
1938         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1939         Likewise.
1940         * math/libm-test.inc (nexttoward_test): Add more tests.
1942 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1944         [BZ #14040]
1945         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1946         in version GLIBC_2.1, not GLIBC_2.0.
1947         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1948         Likewise.
1950 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
1952         [BZ #13942]
1953         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1954         (1 - x) * (1 + x).
1955         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1956         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1957         * math/libm-test.inc (acos_test): Add more tests.
1958         (asin_test): Likewise.
1959         * sysdeps/i386/fpu/libm-test-ulps: Update.
1960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1962         [BZ #14034]
1963         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1964         of square root.
1965         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1966         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1967         * math/libm-test.inc (acos_test_tonearest): New function.
1968         (acos_test_towardzero): Likewise.
1969         (acos_test_downward): Likewise.
1970         (acos_test_upward): Likewise.
1971         (asin_test_tonearest): Likewise.
1972         (asin_test_towardzero): Likewise.
1973         (asin_test_downward): Likewise.
1974         (asin_test_upward): Likewise.
1975         (main): Call the new functions.
1976         * sysdeps/i386/fpu/libm-test-ulps: Update.
1977         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1979         [BZ #13884]
1980         [BZ #13924]
1981         * math/e_exp10.c: Include <float.h>.
1982         (__ieee754_exp10): Handle underflow here rather than multiplying
1983         large negative argument by M_LN10.
1984         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1985         of __ieee754_expf.
1986         * math/e_exp10l.c: Include <float.h>.
1987         (__ieee754_exp10l): Handle underflow here rather than multiplying
1988         large negative argument by M_LN10l.
1989         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
1990         spurious overflow exception on underflow.
1992 2012-04-29  Marek Polacek  <polacek@redhat.com>
1994         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1995         (__fortify_function): New macro.
1996         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1997         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1998         __extern_always_inline.
1999         * libio/bits/stdio2.h: Likewise.
2000         * libio/bits/stdio.h: Likewise.
2001         * string/string.h: Likewise.
2002         * string/bits/string3.h: Likewise.
2003         * include/stdio.h: Likewise.
2004         * stdlib/bits/stdlib.h: Likewise.
2005         * stdlib/stdlib.h: Likewise.
2006         * rt/bits/mqueue2.h: Likewise.
2007         * rt/mqueue.h: Likewise.
2008         * posix/bits/unistd.h: Likewise.
2009         * posix/unistd.h: Likewise.
2010         * io/bits/poll2.h: Likewise.
2011         * io/bits/fcntl2.h: Likewise.
2012         * io/fcntl.h: Likewise.
2013         * io/sys/poll.h: Likewise.
2014         * misc/bits/syslog.h: Likewise.
2015         * misc/bits/syslog-ldbl.h: Likewise.
2016         * misc/sys/syslog.h: Likewise.
2017         * socket/bits/socket2.h: Likewise.
2018         * socket/sys/socket.h: Likewise.
2019         * debug/tst-chk1.c: Likewise.
2020         * wcsmbs/bits/wchar2.h: Likewise.
2021         * wcsmbs/bits/wchar-ldbl.h: Likewise.
2022         * wcsmbs/wchar.h: Likewise.
2024 2012-04-29  Andreas Jaeger  <aj@suse.de>
2026         * Makerules (tests): Remove enable-check-abi protection.
2027         (check-abi-warn): Remove.
2028         (check-abi-%): Remove check-abi-warn usage.
2030         * configure.in: Remove check-abi configure option.
2031         * configure: Regenerated.
2032         * config.make.in (enable-check-abi): Remove.
2034 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
2036         [BZ #14033]
2037         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2038         double functions to double *_finite functions.
2040         [BZ #13941]
2041         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2042         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2043         LDBL_MIN_EXP.
2044         * stdio-common/Makefile (tests): Add tst-sprintf3.
2045         * stdio-common/tst-sprintf3.c: New file.
2047         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2048         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2050 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
2052         * conform/conformtest.pl: Remove duplicate typed-constant
2053         handling.
2055 2012-04-28  David S. Miller  <davem@davemloft.net>
2057         * Makerules (%.abilist): Add vpath on sysdep_dirs.
2058         (check-abi-%): Remove AWK script prerequisite and explicit
2059         abilist directory.
2060         (check-abi): Rewrite to just diff the symlist with the abilist.
2061         (config-tls, config-abi-config): Delete, no longer used.
2062         (update-abi-%): Remove AWK script and explicit abilist directory.
2063         (update-abi): Rewrite to simply compare and conditionally copy the
2064         symlist and the sysdep abilist file.  Remove update-abi-config
2065         checks.
2066         * abilist/ld.abilist: Remove.
2067         * abilist/libBrokenLocale.abilist: Remove.
2068         * abilist/libanl.abilist: Remove.
2069         * abilist/libcrypt.abilist: Remove.
2070         * abilist/libdl.abilist: Remove.
2071         * abilist/librt.abilist: Remove.
2072         * abilist/libthread_db.abilist: Remove.
2073         * abilist/libutil.abilist: Remove.
2074         * scripts/extract-abilist.awk: Remove.
2075         * scripts/merge-abilist.awk: Remove.
2076         * sysdeps/generic/libcidn.abilist: New file.
2077         * sysdeps/generic/libnss_compat.abilist: New file.
2078         * sysdeps/generic/libnss_db.abilist: New file.
2079         * sysdeps/generic/libnss_dns.abilist: New file.
2080         * sysdeps/generic/libnss_files.abilist: New file.
2081         * sysdeps/generic/libnss_hesiod.abilist: New file.
2082         * sysdeps/generic/libnss_nis.abilist: New file.
2083         * sysdeps/generic/libnss_nisplus.abilist: New file.
2084         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2085         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2086         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2087         file.
2088         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2089         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2090         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2091         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2092         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2093         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2094         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2095         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2096         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2097         file.
2098         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2099         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2100         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2101         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2102         file.
2103         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2104         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2105         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2106         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2107         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2108         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2109         file.
2110         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2111         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2112         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2113         file.
2114         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2115         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2116         New file.
2117         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2118         New file.
2119         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2120         New file.
2121         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2122         New file.
2123         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2124         New file.
2125         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2126         New file.
2127         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2128         New file.
2129         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2130         New file.
2131         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2132         New file.
2133         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2134         New file.
2135         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2136         New file.
2137         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2138         New file.
2139         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2140         New file.
2141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2142         file.
2143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2144         New file.
2145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2146         New file.
2147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2148         file.
2149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2150         New file.
2151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2152         New file.
2153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2154         file.
2155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2156         New file.
2157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2158         New file.
2159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2160         New file.
2161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2162         New file.
2163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2164         New file.
2165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2166         New file.
2167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2169         file.
2170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2171         New file.
2172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2173         file.
2174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2175         file.
2176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2177         file.
2178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2179         file.
2180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2181         file.
2182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2183         New file.
2184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2185         file.
2186         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2187         file.
2188         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2189         New file.
2190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2191         file.
2192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2194         file.
2195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2196         New file.
2197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2198         file.
2199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2200         file.
2201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2202         file.
2203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2204         file.
2205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2206         file.
2207         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2208         New file.
2209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2210         file.
2211         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2212         file.
2213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2214         New file.
2215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2216         file.
2217         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2218         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2219         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2220         file.
2221         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2222         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2223         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2224         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2225         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2226         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2227         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2228         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2229         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2230         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2231         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2232         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2233         file.
2234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2235         New file.
2236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2237         file.
2238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2239         file.
2240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2241         file.
2242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2243         file.
2244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2245         file.
2246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2247         New file.
2248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2249         New file.
2250         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2251         file.
2252         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2253         New file.
2254         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2255         file.
2256         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2257         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2258         file.
2259         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2260         New file.
2261         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2262         file.
2263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2264         file.
2265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2266         file.
2267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2268         file.
2269         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2270         file.
2271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2272         New file.
2273         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2274         New file.
2275         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2276         file.
2277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2278         New file.
2279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2280         file.
2282 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
2284         * conform/conformtest.pl: Fix typo in handling typed-constant from
2285         allow-header.
2287 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
2289         * README: Cut down references to pre-2.6 Linux kernels and
2290         Linuxthreads.  Update lists of configurations in libc and ports
2291         and sort alphabetically.  Say "or newer" with Linux kernel version
2292         requirements.
2294         * config.h.in [IS_IN_build]: Allow compiling without optimization.
2296 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2298         [BZ #887]
2299         * math/libm-test.inc (logb_test_downward): New test to expose
2300         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2301         rounding mode.
2303 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
2305         [BZ #14027]
2306         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2307         to be done.
2308         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2309         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2311 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
2313         * sysdeps/unix/i386/brk.S: Remove file.
2314         * sysdeps/unix/i386/dl-brk.S: Likewise.
2315         * sysdeps/unix/i386/pipe.S: Likewise.
2316         * sysdeps/unix/i386/sigreturn.S: Likewise.
2317         * sysdeps/unix/i386/syscall.S: Likewise.
2318         * sysdeps/unix/i386/vfork.S: Likewise.
2319         * sysdeps/unix/i386/wait.S: Likewise.
2321         * sysdeps/unix/common/tcsendbrk.c: Move to ...
2322         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2324         * configure.in (arm*-none*): Do not allow without
2325         --enable-hacker-mode.
2326         (netbsd*): Remove case setting base_os.
2327         (386bsd*): Likewise.
2328         (freebsd*): Likewise.
2329         (bsdi*): Likewise.
2330         (osf*): Likewise.
2331         (sunos*): Likewise.
2332         (ultrix*): Likewise.
2333         (newsos*): Likewise.
2334         (dynix*): Likewise.
2335         (*bsd*): Likewise.
2336         (sysv*): Likewise.
2337         (isc*): Likewise.
2338         (esix*): Likewise.
2339         (sco*): Likewise.
2340         (minix*): Likewise.
2341         (irix4*): Likewise.
2342         (irix6*): Likewise.
2343         (solaris[2-9]*): Likewise.
2344         (none): Likewise.
2345         * configure: Regenerated.
2347 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2349         [BZ #11521]
2350         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2351         overflow or cancellation in calculating denominator.
2352         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2353         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2354         down expression to avoid unexpected rounding in newer GCCs.
2355         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2357 2012-04-26  David S. Miller  <davem@davemloft.net>
2359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2360         long-double compat symbols.
2361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2375 2012-04-25  David S. Miller  <davem@davemloft.net>
2377         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2378         HWCAP_* values only after the memory barriers have been defined.
2379         (atomic_full_barrier): Define.
2380         (atomic_read_barrier): Define.
2381         (atomic_write_barrier): Define.
2383 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2385         * shlib-versions: Add libgcc_s version information.
2386         * sysdeps/generic/libgcc_s.h: Remove.
2387         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2388         libgcc_s.h.
2389         * sysdeps/gnu/unwind-resume.c: Likewise.
2390         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2392 2012-04-25  David S. Miller  <davem@davemloft.net>
2394         * sysdeps/unix/sparc/brk.S: Delete.
2395         * sysdeps/unix/sparc/dl-brk.S: Delete.
2396         * sysdeps/unix/sparc/pipe.S: Delete.
2397         * sysdeps/unix/sparc/sysdep.S: Delete.
2398         * sysdeps/unix/sparc/sysdep.h: Delete.
2399         * sysdeps/unix/sparc/vfork.S: Delete.
2400         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2401         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2402         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2403         ret_ERRVAL, r0, r1, MOVE): Define.
2404         (JUMPTARGET): Remove.
2405         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2406         sysdeps/unix/sparc/sysdep.h
2407         (ENTRY, END): Remove.
2408         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2410 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
2412         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2413         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2414         -DIS_IN_build.
2416         * timezone/README: Update upstream location and email address for
2417         tzcode and tzdata.
2418         * timezone/zdump.c: Update from tzcode 2012b.
2419         * timezone/zic.c: Likewise.
2421         * configure.in (libc_cv_as_needed): Remove test.
2422         * configure: Regenerated.
2423         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2424         conditional definition.
2425         [$(have-as-needed) != yes] (no-as-needed): Likewise.
2426         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2427         * config.make.in (have-as-needed): Remove variable.
2429 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2430             Paul Pluzhnikov  <ppluzhnikov@google.com>
2432         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2433         strings correctly.
2435 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
2437         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2438         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2439         * sysdeps/sh/strlen.S: Likewise.
2441 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
2443         * sysdeps/unix/fork.S: Remove file.
2444         * sysdeps/unix/i386/fork.S: Likewise.
2445         * sysdeps/unix/sparc/fork.S: Likewise.
2447         * sysdeps/unix/system.c: Remove file.
2448         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2450         * sysdeps/unix/getegid.S: Remove file.
2451         * sysdeps/unix/geteuid.S: Likewise.
2453 2012-04-24  Roland McGrath  <roland@hack.frob.com>
2455         * scripts/check-localplt.awk: New file.
2456         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2457         of diff.
2458         * scripts/data/localplt-generic.data: Add a comment.
2460         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2461         NODE when __dir_mkfile failed.
2462         * sysdeps/mach/hurd/symlinkat.c: Likewise.
2463         Reported by Ludovic Courtès <ludo@gnu.org>.
2465 2012-04-24  Andreas Jaeger  <aj@suse.de>
2467         * Makerules (common-clean): Also remove gen-as-const-headers
2468         files.
2470 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
2472         * Makerules (native-compile): Do not change working directory for
2473         build.  Use $(OUTPUT_OPTION) in command.
2474         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2476 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2478         [BZ #13886]
2479         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2480         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2481         * math/libm-test.inc (floor_test): Add more tests.
2482         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2484 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
2486         * sysdeps/unix/getdents.c: Remove file.
2487         * sysdeps/unix/sysv/getdents.c: Likewise.
2488         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2490         * sysdeps/unix/syscalls.list (madvise): Add syscall from
2491         sysdeps/unix/mman/syscalls.list.
2492         (mmap): Likewise.
2493         (mprotect): Likewise.
2494         (msync): Likewise.
2495         (munmap): Likewise.
2496         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2497         * sysdeps/unix/mman/syscalls.list: Remove.
2498         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2500         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2501         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2502         * configure: Regenerated.
2503         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2504         $(libgcc_s_suffix).
2505         * config.make.in (libgcc_s_suffix): Remove variable.
2507 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
2509         * sysdeps/unix/sysv/gethostname.c: Move to ...
2510         * sysdeps/posix/gethostname.c: ... here.
2512         * sysdeps/unix/execve.S: Remove file.
2514         * sysdeps/unix/_exit.S: Remove file.
2516 2012-04-23  Andreas Jaeger  <aj@suse.de>
2518         [BZ #13739]
2519         * manual/Makefile: Remove make dist support, there's no
2520         need for a stand-alone documentation tar ball.
2521         (TEXI2DVI): Define always, it's not in Makeconfig.
2522         (dist): Removed.
2523         (tar-it): Removed.
2524         (edition): Removed.
2525         (glibc-doc-$(edition).tar): Removed
2526         (%.Z): Removed.
2527         (%.gz): Removed.
2528         (%.uu): Removed.
2529         (ETAGS): Remove, it's in Makeconfig.
2530         (move-if-change): Remove, it's in Makeconfig.
2532 2013-04-23  Paul Eggert  <eggert@cs.ucla.edu>
2534         [BZ #13970]
2535         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2536         (strtod, strtof, strtold, strtol, strtoul, strtoq)
2537         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2538         (strtod_l, strtof_l, strtold_l): Remove __wur.
2539         It is not necessarily an error to ignore strtol's return value.
2540         One can reliably look at the stored endptr to decide whether
2541         the number had valid syntax.
2543 2012-04-21  Andreas Jaeger  <aj@suse.de>
2545         [BZ #13739]
2546         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2548 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
2550         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2551         * sysdeps/unix/sysv/Versions: Remove file.
2553 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
2555         [BZ #13927]
2556         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2558 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
2560         [BZ #7064]
2561         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2562         version from __vm86.
2564 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
2566         * sysdeps/unix/common/lxstat.c: Remove file.
2567         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2569         * sysdeps/unix/sysv/Makefile: Remove file.
2571         * sysdeps/unix/sysv/direct.h: Remove file.
2573         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2574         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2575         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2576         * sysdeps/unix/sysv/bits/signum.h: Likewise.
2577         * sysdeps/unix/sysv/bits/stat.h: Likewise.
2578         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2579         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2581         * sysdeps/unix/sysv/setrlimit.c: Remove file.
2583         * sysdeps/unix/xmknod.c: Remove file.
2584         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2586         * sysdeps/unix/sysv/settimeofday.c: Remove file.
2588         * sysdeps/unix/sysv/i386/time.S: Remove file.
2590         * sysdeps/unix/fxstat.c: Remove file.
2591         * sysdeps/unix/xstat.c: Likewise.
2592         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2594         * sysdeps/unix/sysv/sigaction.c: Remove file.
2596         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2597         (sysdep_headers): Remove variable.
2598         [termio.h not in sysdep_headers] (generated): Likewise.
2599         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2600         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2601         * sysdeps/unix/sysv/tcdrain.c: Likewise.
2602         * sysdeps/unix/sysv/tcflow.c: Likewise.
2603         * sysdeps/unix/sysv/tcflush.c: Likewise.
2604         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2605         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2606         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2607         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2608         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2610         * sysdeps/unix/siglist.c: Remove file.
2612         * sysdeps/unix/getppid.S: Remove file.
2614         * sysdeps/unix/mkdir.c: Remove file.
2615         * sysdeps/unix/rmdir.c: Likewise.
2617 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
2619         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2620         ERR_MAX value.
2621         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2622         errlist-compat value.
2624 2012-04-18  David S. Miller  <davem@davemloft.net>
2626         * sysdeps/generic/memcopy.h (reg_char): Delete.
2627         * debug/strcat_chk.c: Use char, not reg_char.
2628         * debug/strcpy_chk.c: Likewise.
2629         * debug/strncat_chk.c: Likewise.
2630         * debug/strncpy_chk.c: Likewise.
2631         * string/memchr.c: Likewise.
2632         * string/memrchr.c: Likewise.
2633         * string/rawmemchr.c: Likewise.
2634         * string/strcat.c: Likewise.
2635         * string/strchr.c: Likewise.
2636         * string/strchrnul.c: Likewise.
2637         * string/strcmp.c: Likewise.
2638         * string/strcpy.c: Likewise.
2639         * string/strncat.c: Likewise.
2640         * string/strncmp.c: Likewise.
2641         * string/strncpy.c: Likewise.
2643 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
2645         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2646         __builtin_memcopy is called when src and dest ranges are known to not
2647         overlap.
2649 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
2651         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2652         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2653         fwd_align_merge macro call.
2654         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2655         bwd_align_merge macro call.
2656         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2658 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
2660         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2661         bwd_align_merge macros.
2662         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2663         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2664         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2666 2012-04-18  David S. Miller  <davem@davemloft.net>
2668         * sysdeps/sparc/sparc64/memcopy.h: Delete.
2670 2012-04-18  Andreas Jaeger  <aj@suse.de>
2672         [BZ# 6794]
2673         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2674         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2675         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2677         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2678         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2679         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2681         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2682         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2683         Adjust for changed ldbl-128 files.
2685         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2686         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2687         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2689 2012-04-17  David S. Miller  <davem@davemloft.net>
2691         * sysdeps/sparc/sparc32/memcopy.h: Delete.
2693 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
2695         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2696         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2697         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2698         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2699         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2700         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2702 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2704         [BZ #6794]
2705         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2706         * math/libm-test.inc: Add ilogb errno and exception tests.
2707         * math/w_ilogb.c: New file: ilogb wrapper.
2708         * math/w_ilogbf.c: New file: ilogbf wrapper.
2709         * math/w_ilogbl.c: New file: ilogbl wrapper.
2710         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2711         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2712         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2713         exception being thrown with 0.0 as argument.
2714         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2715         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2716         exception being thrown with 0.0 as argument.
2717         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2718         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2719         exception being thrown with 0.0 as argument.
2720         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2721         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2722         exception being thrown with 0.0 as argument.
2723         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2724         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
2725         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
2726         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2727         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2728         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2729         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2730         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2731         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2733 2012-04-17  Petr Baudis  <pasky@ucw.cz>
2735         * include/sys/uio.h: Change __vector to __iovec to avoid clash
2736         with altivec.
2738 2012-04-16  Marek Polacek  <polacek@redhat.com>
2740         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2742 2012-04-16  Marek Polacek  <polacek@redhat.com>
2744         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2745         operands of fdivp instruction.
2747 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
2749         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2750         * elf/tst-auditmod3b.c: Likewise.
2751         * elf/tst-auditmod4b.c: Likewise.
2752         * elf/tst-auditmod5b.c: Likewise.
2753         * elf/tst-auditmod6b.c: Likewise.
2754         * elf/tst-auditmod6c.c: Likewise.
2755         * elf/tst-auditmod7b.c: Likewise.
2756         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2757         * sysdeps/x86_64/preconfigure.in: Likewise.
2758         * sysdeps/x86_64/preconfigure: Regenerated.
2760 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
2762         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2763         __ILP32__.
2765 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
2767         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2768         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2770 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
2772         [BZ #13973]
2773         * locale/iso-639.def: Fix gl language name. Spotted by
2774         Yaron Shahrabani.
2776 2012-04-12  Roland McGrath  <roland@hack.frob.com>
2778         [BZ #2074]
2779         * libio/libio.h (__io_write_fn): Update comment.
2781 2012-04-12  Petr Baudis  <pasky@ucw.cz>
2783         [BZ #2074]
2784         * stdio.texi (Hook Functions): The user provided writer function
2785         is not allowed to return -1.
2787 2012-04-11  David S. Miller  <davem@davemloft.net>
2789         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2791 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
2793         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2794         Add a leading slash to rtkaio.
2796 2012-04-11  Jim Meyering  <meyering@redhat.com>
2798         [BZ #11959]
2799         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2800         It is not necessarily an error to ignore fwrite's return
2801         value.  One can reliably use ferror to test for errors after
2802         the fact.
2804 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
2806         * bits/types.h (__snseconds_t): New type.
2807         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2809         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2810         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2811         (__SNSECONDS_T_TYPE): Likewise.
2812         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2813         (__SNSECONDS_T_TYPE): Likewise.
2814         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2815         (__SNSECONDS_T_TYPE): Likewise.
2817 2012-04-10  Andreas Jaeger  <aj@suse.de>
2819         [BZ #2636]
2820         * manual/time.texi (Processor Time): Return type of times is
2821         elapsed real time since an arbitrary point in the past.
2822         (CPU Time): Move CLK_TCK from here...
2823         (Processor Time): ...to here.  Correct description.
2824         * manual/conf.texi (Constants for Sysconf): Correct description of
2825         _SC_CLK_TCK.
2827 2012-04-10  David S. Miller  <davem@davemloft.net>
2829         [BZ #13967]
2830         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2831         where the is a gap between DT_REL(A) and DT_JMPREL.
2833 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
2835         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2836         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2837         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2839 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2841         * elf/dl-support.c (_dl_inhibit_cache): New variable.
2842         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2843         (dl_main): Handle --inhibit-cache.
2844         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2845         _dl_inhibit_cache.
2846         * elf/dl-load.c (_dl_map_object): Use it.
2847         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2849 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
2851         [BZ #13872]
2852         * sysdeps/i386/fpu/e_powl.S (p78): New object.
2853         (__ieee754_powl): Saturate large exponents rather than testing for
2854         overflow of y*log2(x).
2855         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2856         * math/libm-test.inc (pow_test): Do not permit spurious overflow
2857         exceptions.
2859         [BZ #11521]
2860         * math/s_ctan.c: Include <float.h>.
2861         (__ctan): Avoid internal overflow or cancellation in calculating
2862         denominator.
2863         * math/s_ctanf.c: Likewise.
2864         * math/s_ctanl.c: Likewise.
2865         * math/s_ctanh.c: Likewise.
2866         * math/s_ctanhf.c: Likewise.
2867         * math/s_ctanhl.c: Likewise.
2868         * math/libm-test.inc (ctan_test): Add more tests.
2869         (ctanh_test): Likewise.
2870         * sysdeps/i386/fpu/libm-test-ulps: Update.
2871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2873 2012-04-09  Andreas Jaeger  <aj@suse.de>
2875         [BZ #6894]
2876         * manual/filesys.texi (Directory Entries): Mention that d_namlen
2877         is an optional BSD extension.
2879         [BZ #10254]
2880         * manual/stdio.texi (Opening Streams): Document additional fopen
2881         parameters.
2883 2012-04-09  Roland McGrath  <roland@hack.frob.com>
2885         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2886         %eax without telling the compiler.
2888 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
2890         [BZ # 13963]
2891         * manual/install.texi: Use sourceware.org.
2893 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
2895         [BZ #13873]
2896         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2897         (__ieee754_pow): Generate overflow and underflow using huge*huge
2898         and tiny*tiny rather than just returning constant infinity or zero
2899         for large exponents.
2900         * math/libm-test.inc (pow_test): Require overflow exceptions for
2901         applicable cases of large exponents.
2903         [BZ #706]
2904         * sysdeps/i386/fpu/e_pow.S (p10): New object.
2905         (__ieee754_pow): Use iterative multiplication algorithm only for
2906         integer exponents with absolute value below 1024.  Check for odd
2907         integer exponents when using algorithm for real exponents.
2908         * math/libm-test.inc (pow_test): Add more tests.
2909         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2911 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
2913         [BZ #13705]
2914         * math/libm-test.inc (exp_test): Do not allow overflow exception
2915         on underflow test.
2917 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
2919         [BZ #13705]
2920         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2921         instead of __kernel_standard_f.
2923 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
2925         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2926         * sysdeps/x86_64/memset_chk.S: Likewise.
2928 2012-04-08  Andreas Jaeger  <aj@suse.de>
2930         [BZ #10153]
2931         * manual/startup.texi (Environment Access): Describe return value
2932         for putenv and setenv.
2934         [BZ #6895]
2935         * manual/filesys.texi (Directory Entries): Add description for
2936         DT_LNK.
2938         [BZ #6890]
2939         * manual/filesys.texi (Directory Entries): Clarify that it's file
2940         system not operating system in the description of DT_UNKNOWN.
2942         [BZ #6578]
2943         * manual/syslog.texi (closelog): Fix reference, it's openlog.
2945 2012-04-08  Stephen Compall  <s11@member.fsf.org>
2947         [BZ #6649]
2948         * manual/llio.texi (Opening and Closing Files): Add cross
2949         reference to explain mode argument.
2951 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
2953         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2954         * sysdeps/x86_64/memset_chk.S: Likewise.
2956 2012-04-07  David S. Miller  <davem@davemloft.net>
2958         * elf/elf.h (R_SPARC_WDISP10): Define.
2959         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2960         R_SPARC_SIZE32.
2961         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2962         R_SPARC_SIZE64 and R_SPARC_H34.
2964 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
2966         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2967         conditions and remove no longer applicable assertion.
2969 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
2971         * bits/byteswap.h: Include <features.h>.
2972         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2973         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2975 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
2977         * bits/byteswap.h (__bswap_16): Removed.
2978         Include <bits/byteswap-16.h> to get __bswap_16.
2979         * sysdeps/i386/bits/byteswap.h: Likewise.
2980         * sysdeps/s390/bits/byteswap.h: Likewise.
2981         * sysdeps/x86_64/bits/byteswap.h: Likewise.
2982         * bits/byteswap-16.h: New file.
2983         * sysdeps/i386/bits/byteswap-16.h: Likewise.
2984         * sysdeps/s390/bits/byteswap-16.h: Likewise.
2985         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2986         * string/Makefile (headers): Add bits/byteswap-16.h.
2988 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
2990         [BZ #13895]
2991         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2992         extra indirection.
2993         * nss/Makefile (tests-static, tests): Add tst-nss-static.
2994         * nss/tst-nss-static.c: New.
2996 2012-04-06  Robert Millan  <rmh@gnu.org>
2998         [BZ #6486]
2999         * manual/llio.texi (File Position Primitive): lseek
3000         refers to WHENCE when it really means OFFSET.
3002 2012-04-06  Andreas Jaeger  <aj@suse.de>
3004         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3005         strncmp declarations.
3007         * abilist/libc.abilist: Add __poll and __ppoll.
3009 2012-04-05  David S. Miller  <davem@davemloft.net>
3011         * scripts/check-local-headers.sh: Accept a host triplet in the
3012         path matched by the exclude regexp.
3014         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3015         definition.
3016         * sysdeps/powerpc/powerpc32/dl-machine.h
3017         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3018         * sysdeps/s390/s390-32/dl-machine.h
3019         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3020         * sysdeps/sparc/sparc32/dl-machine.h
3021         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3022         * sysdeps/sparc/sparc64/dl-machine.h
3023         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3025         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3026         lazy binding.
3027         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
3028         undefined symbol errors.
3030         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
3031         DT_NEEDED entries.
3033 2012-04-05  Michael Matz  <matz@suse.de>
3035         [BZ #13592]
3036         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3038 2012-04-05  Andreas Jaeger  <aj@suse.de>
3040         [BZ #13908]
3041         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3042         comment.
3044 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
3046         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3047         which ROUND is no valid rounding mode.
3049 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
3051         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3052         read again.
3053         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3055 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
3057         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3058         an exception using FPU order intentionally.
3060 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
3062         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3063         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3064         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3065         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3067 2012-04-05  Simon Josefsson  <simon@josefsson.org>
3069         [BZ #12340]
3070         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3071         EINVAL when BUFLEN is too smal.
3073 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
3075         [BZ #13553]
3076         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3077         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3079 2012-04-03  Andreas Jaeger  <aj@suse.de>
3081         [BZ #13938]
3082         * manual/setjmp.texi (System V contexts): Fix sentence.
3084         [BZ #13926]
3085         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3086         New macro for this case.
3087         [!__GNUC__] (__bswap_64): New inline function for this case.
3088         * sysdeps/x86_64/bits/byteswap.h: Likewise.
3089         * bits/byteswap.h: Likewise.
3090         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3091         ull, guard with __GLIBC_HAVE_LONG_LONG.
3093         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3094         __GLIBC_HAVE_LONG_LONG.
3096         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3097         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3099 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3101         [BZ #13691]
3102         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3103         inptr and inend, rather than using last_ch.
3105 2012-04-02  David S. Miller  <davem@davemloft.net>
3107         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3108         * stdio-common/printf-parse.h (read_int): Change return type to
3109         'int', return -1 on INT_MAX overflow.
3110         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3111         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
3112         overflows INT_MAX.  Check for overflow of in-format-string precision
3113         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
3114         SIZE_MAX not INT_MAX for integer overflow test.
3115         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3116         skip the construct in the format string but do not record anything.
3117         * stdio-common/bug22.c: Adjust to test both width/prevision
3118         INT_MAX overflow as well as total length INT_MAX overflow.  Check
3119         explicitly for proper errno values.
3121 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
3123         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3124         CHAR_MAX.
3125         * string/test-strcmp.c [! WIDE]: Likewise.
3126         * time/tst-mktime2.c: Likewise for INT_MAX.
3127         * string/test-string.h: #include <sys/param.h> for MIN.
3129         * csu/init-first.c (__libc_init_first): Call __ctype_init.
3130         * sysdeps/i386/init-first.c (init): Likewise.
3131         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3132         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3133         * sysdeps/sh/init-first.c (init): Likewise.
3135 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
3137         * po/ru.po: Update from translation team.
3138         * po/vi.po: Likewise.
3140 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3142         * resolv/nss_dns/dns-host.c: Merge copyright years.
3144 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
3146         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3147         Optimize memcpy with prefetch if
3148         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
3149         src, dst pointers have unequal 16 byte alignments.
3151 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3153         [BZ #13928]
3154         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3155         from a CNAME entry and return the minimum ttl for the query.
3156         (gaih_getanswer_slice): Likewise.
3158 2012-03-30  Jeff Law  <law@redhat.com>
3160         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3161         due to long keys.
3162         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3163         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3165         * resolv/nss_dns/dns-host.c: Update copyright year.
3167 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
3169         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
3170         requests to save a system call.  Fix check that all bytes are sent.
3172         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3173         comments for sendmmsg.
3175 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3177         [BZ #13691]
3178         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3179         with only 1 character between 0x0041 and 0x01b0.
3180         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3181         * wcsmbs/tst-mbsnrtowcs.c: New file.
3183 2012-03-29  David S. Miller  <davem@davemloft.net>
3185         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3186         small copies by hand.
3188 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3190         [BZ #13761]
3191         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3192         _nss_compat_initgroups_dyn): Fall back to malloc/free
3193         for large group memberships.
3195 2012-03-28  David S. Miller  <davem@davemloft.net>
3197         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3198         that branches into memcpy.
3199         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3200         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3201         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3202         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3203         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3204         bits.
3205         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3206         implementation too.
3207         * sysdeps/sparc/mempcpy.S: New file.
3209         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3210         the IFUNC routine in the libc case.
3211         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3213         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3214         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3215         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3216         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3217         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3218         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3219         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3220         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3222         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3223         loop to 256 bytes instead of 64 bytes and fix test signedness.
3225         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3226         * sysdeps/sparc/sparc32/Makefile: rather than here...
3227         * sysdeps/sparc/sparc64/Makefile: and here.
3229 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
3231         * malloc/mallocbug.c: Avoid warnings about unused variables.
3233 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3235         [BZ #13760]
3236         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3237         in the right place. Discard and retry query if response is
3238         larger than input buffer size.
3240 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
3242         [BZ #369]
3243         [BZ #2678]
3244         [BZ #3866]
3245         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3246         x for large integer exponent.
3247         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3248         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
3249         sign of result as needed afterwards.
3250         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3251         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3252         result for underflowing pow the same as for overflow.
3253         (__kernel_standard_l): Handle powl overflow and underflow here
3254         rather than calling __kernel_standard.
3255         * math/libm-test.inc (pow_test): Add more tests.
3257         [BZ #3868]
3258         [BZ #13879]
3259         [BZ #13910]
3260         [BZ #13911]
3261         [BZ #13912]
3262         [BZ #13913]
3263         [BZ #13915]
3264         [BZ #13916]
3265         [BZ #13917]
3266         [BZ #13918]
3267         [BZ #13919]
3268         [BZ #13920]
3269         [BZ #13921]
3270         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3271         * sysdeps/ieee754/k_standard.c: Include <float.h>.
3272         (__kernel_standard_l): New function.
3273         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3274         __kernel_standard.
3275         * math/w_acosl.c (__acosl): Likewise.
3276         * math/w_asinl.c (__asinl): Likewise.
3277         * math/w_atan2l.c (__atan2l): Likewise.
3278         * math/w_atanhl.c (__atanhl): Likewise.
3279         * math/w_coshl.c (__coshl): Likewise.
3280         * math/w_exp10l.c (__exp10l): Likewise.
3281         * math/w_exp2l.c (__exp2l): Likewise.
3282         * math/w_fmodl.c (__fmodl): Likewise.
3283         * math/w_hypotl.c (__hypotl): Likewise.
3284         * math/w_j0l.c (__j0l, __y0l): Likewise.
3285         * math/w_j1l.c (__j1l, __y1l): Likewise.
3286         * math/w_jnl.c (__jnl, __ynl): Likewise.
3287         * math/w_lgammal.c (__lgammal): Likewise.
3288         * math/w_log10l.c (__log10l): Likewise.
3289         * math/w_log2l.c (__log2l): Likewise.
3290         * math/w_logl.c (__logl): Likewise.
3291         * math/w_powl.c (__powl): Likewise.
3292         * math/w_remainderl.c (__remainderl): Likewise.
3293         * math/w_scalbl.c (sysv_scalbl): Likewise.
3294         * math/w_sinhl.c (__sinhl): Likewise.
3295         * math/w_sqrtl.c (__sqrtl): Likewise.
3296         * math/w_tgammal.c (__tgammal): Likewise.
3297         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3298         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3299         * math/libm-test.inc (acos_test): Add more tests.
3300         (acosh_test): Likewise.
3301         (asin_test): Likewise.
3302         (atanh_test): Likewise.
3303         (exp_test): Likewise.
3304         (exp10_test): Likewise.
3305         (exp2_test): Likewise.
3306         (expm1_test): Likewise.
3307         (lgamma_test): Likewise.
3308         (log_test): Likewise.
3309         (log10_test): Likewise.
3310         (log1p_test): Likewise.
3311         (log2_test): Likewise.
3312         (pow_test): Do not allow some spurious overflow exceptions.
3313         (sqrt_test): Add more tests.
3314         (tgamma_test): Likewise.
3315         (y0_test): Likewise.
3316         (y1_test): Likewise.
3317         (yn_test): Likewise.
3319 2012-03-27  Anton Blanchard  <anton@samba.org>
3321         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3322         MAP_HUGETLB.
3323         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3324         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3325         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3327 2012-03-27  David S. Miller  <davem@davemloft.net>
3329         * conform/Makefile: Run run-conformtest.sh using $(BASH).
3331         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3332         have-as-vis3 check.
3334 2012-03-27  Andreas Jaeger  <aj@suse.de>
3336         * sysdeps/x86_64/elf/configure.in: Moved to ...
3337         * sysdeps/x86_64/configure.in: ... here.
3338         * sysdeps/x86_64/elf/start.S: Moved to ...
3339         * sysdeps/x86_64/start.S: ... here.
3340         * sysdeps/x86_64/elf/configure: Delete.
3342         * sysdeps/x86_64/configure.in: Merge contents from
3343         sysdeps/i386/configure.in (without i686 check).
3345         * sysdeps/i386/elf/Versions: Merge into ...
3346         * sysdeps/i386/Versions: ... this.
3347         * sysdeps/i386/elf/Versions: Delete file.
3348         * sysdeps/i386/elf/start.S: Moved to ...
3349         * sysdeps/i386/start.S: ...here.
3350         * sysdeps/i386/elf/configure.in: Merge into...
3351         * sysdeps/i386/configure.in: ...here.
3352         * sysdeps/i386/elf/configure.in: Delete file.
3353         * sysdeps/i386/elf/configure: Delete file.
3355         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3356         * debug/backtracesyms.c: ... here.
3357         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3358         * debug/backtracesymsfd.c: ... here.
3359         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3360         * sysdeps/generic/ifunc-sel.h: ... here.
3362         * sysdeps/unix/i386/start.c: Delete file.
3363         * sysdeps/unix/sparc/start.c: Delete file.
3364         * sysdeps/unix/start.c: Delete file.
3366         * sysdeps/sh/elf/configure.in: Moved to ...
3367         * sysdeps/sh/configure.in: ... here.
3368         * sysdeps/sh/elf/start.S: Moved to ...
3369         * sysdeps/sh/start.S: ... here.
3370         * sysdeps/sh/elf/configure: Delete file.
3372         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3373         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3374         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3375         * sysdeps/powerpc/powerpc64/entry.h: ... here.
3376         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3377         * sysdeps/powerpc/powerpc64/start.S: here.
3378         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3379         * sysdeps/powerpc/powerpc64/Makefile: ... this.
3380         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3381         * sysdeps/powerpc/powerpc64/configure.in: ... this.
3382         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3384         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3385         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3386         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3387         * sysdeps/powerpc/powerpc32/start.S: ... here.
3388         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3389         * sysdeps/powerpc/powerpc32/configure.in: ... this.
3390         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3392         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3393         * sysdeps/powerpc/ifunc-sel.h: ... here.
3394         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3395         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3397         * sysdeps/sparc/elf/configure.in: Moved to ...
3398         * sysdeps/sparc/configure.in: ... here.
3399         * sysdeps/sparc/elf/configure: Delete file.
3400         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3401         * sysdeps/sparc/sparc32/start.S: ... here.
3402         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3403         * sysdeps/sparc/sparc64/start.S: ... here.
3404         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3405         * sysdeps/sparc/sparc32/Makefile: ... this.
3406         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3407         * sysdeps/sparc/sparc64/Makefile: ... this.
3409         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3410         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3411         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3412         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3413         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3414         * sysdeps/s390/s390-32/setjmp.S: ... here.
3415         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3416         * sysdeps/s390/s390-32/configure.in: ... here.
3417         * sysdeps/s390/s390-32/elf/configure: Delete file.
3418         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3419         * sysdeps/s390/s390-32/start.S: ... here.
3421         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3422         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3423         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3424         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3425         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3426         * sysdeps/s390/s390-64/setjmp.S: ... here.
3427         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3428         * sysdeps/s390/s390-64/configure.in: ... here
3429         * sysdeps/s390/s390-64/elf/configure: Delete file.
3430         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3431         * sysdeps/s390/s390-64/start.S: ... here.
3432         * sysdeps/s390/s390-64/elf/configure: Delete.
3434         * configure.in: Remove support for elf directories in sysdeps.
3436         * configure: Regenerated.
3437         * sysdeps/i386/configure: Regenerated.
3438         * sysdeps/powerpc/powerpc32/configure: Regenerated.
3439         * sysdeps/powerpc/powerpc64/configure: Regenerated.
3440         * sysdeps/s390/s390-32/configure: Regenerated.
3441         * sysdeps/s390/s390-64/configure: Regenerated.
3442         * sysdeps/sh/configure: Regenerated.
3443         * sysdeps/sparc/configure: Regenerated.
3444         * sysdeps/x86_64/configure: Regenerated.
3446 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
3448         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3450         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3451         denormal result into account.
3453 2012-03-25  Roland McGrath  <roland@hack.frob.com>
3455         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3456         Reported by Allan McRae <allan@archlinux.org>.
3458 2012-03-23  Jeff Law  <law@redhat.com>
3460         * nss/getnssent.c (__nss_getent): Fix typo.
3462 2012-03-23  David S. Miller  <davem@davemloft.net>
3464         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3466 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
3468         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3469         to pad to uint64_t for each field.
3470         (dl_tls_index): Replace unsigned long with uint64_t.
3472 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
3473         Paul Pluzhnikov  <ppluzhnikov@google.com>
3475         [BZ #6528]
3476         * grp/Makefile (otherlibs): Don't set it.
3477         * inet/Makefile (otherlibs): Likewise.
3478         * login/Makefile (otherlibs): Likewise.
3479         * nscd/Makefile (otherlibs): Likewise.
3480         * posix/Makefile (otherlibs): Likewise.
3481         * pwd/Makefile (otherlibs): Likewise.
3482         * rt/Makefile (otherlibs): Likewise.
3483         * sunrpc/Makefile (otherlibs): Likewise.
3484         * nss/Makefile (otherlibs): Likewise.
3485         Add libnss_files to routines and static-only-routines.
3486         ($(objpfx)getent): Remove rule.
3487         * resolv/Makefile: Add libnss_dns and libresolv to routines and
3488         static-only-routines.
3490 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
3492         [BZ #13892]
3493         * math/s_cexp.c: Include <float.h>.
3494         (__cexp): Handle exp result overflowing not necessarily
3495         overflowing both real and imaginary parts of result.
3496         * math/s_cexpf.c: Likewise.
3497         * math/s_cexpl.c: Likewise.
3498         * math/libm-test.inc (cexp_test): Add more tests.
3499         * sysdeps/i386/fpu/libm-test-ulps: Update.
3500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3502 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3504         * include/link.h (ELFW): New macro.
3505         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3506         Replace ELF64_R_TYPE with ELFW(R_TYPE).
3508 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3510         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3511         with uint64_t.
3513 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3515         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3516         declaration.
3517         (struct La_x32_retval): Likewise.
3519 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3521         * sysdeps/x86_64/preconfigure.in: New file.
3522         * sysdeps/x86_64/preconfigure: New generated file.
3524 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
3526         [BZ #13824]
3527         * math/e_exp2l.c: Include <float.h>.
3528         (__ieee754_exp2l): Handle overflow and underflow cases
3529         separately.  Only pass fractional part of argument to
3530         __ieee754_expl.
3531         * math/libm-test.inc (exp2_test): Add more tests.
3533         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3534         negating x to take absolute value.
3535         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3536         Likewise.
3537         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3538         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3539         Likewise.
3540         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3541         computing low part if x was negated.
3542         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3544 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3546         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3547         la_x32_gnu_pltexit.
3548         (pltexit): Cast int_retval to ptrdiff_t.
3549         * elf/tst-auditmod3b.c: Likewise.
3550         * elf/tst-auditmod4b.c: Likewise.
3551         * elf/tst-auditmod5b.c: Likewise.
3552         * elf/tst-auditmod6b.c: Likewise.
3553         * elf/tst-auditmod6c.c: Likewise.
3554         * elf/tst-auditmod7b.c: Likewise.
3556         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3557         and x32_gnu_pltexit.
3559         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3560         __ELF_NATIVE_CLASS.
3561         (La_x32_regs): New macro.
3562         (La_x32_retval): Likewise.
3563         (la_x32_gnu_pltenter): New function prototype.
3564         (la_x32_gnu_pltexit): Likewise.
3566 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
3568         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3569         exponent.
3571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3573         * configure.in (libc_cv_cc_nofma): Check for option to disable
3574         generation of FMA instructions.
3575         * configure: Regenerate.
3576         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3577         * sysdeps/ieee754/dbl-64/Makefile: New file.
3578         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3579         Remove brandred-fma4.
3580         (CFLAGS-brandred-fma4.c): Remove.
3581         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3582         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3583         define.
3584         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3585         define.
3587 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3589         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3590         LLONG_MAX != LONG_MAX.
3591         (_itoa_word): Use _ITOA_WORD_TYPE on value.
3592         (_fitoa_word): Likewise.
3593         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3594         LLONG_MAX != LONG_MAX.
3595         * stdio-common/_itowa.h: Include <_itoa.h>.
3596         (_itowa_word): Use _ITOA_WORD_TYPE on value.
3597         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
3598         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
3599         only if not defined.
3600         (_ITOA_WORD_TYPE): Likewise.
3601         (_itoa_word): Use _ITOA_WORD_TYPE on value.
3602         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3604 2012-03-21  David S. Miller  <davem@davemloft.net>
3606         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3608 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3610         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3611         of x86_64 when setting libc_cv_slibdir, libdir and
3612         libc_cv_localedir.
3613         * sysdeps/unix/sysv/linux/configure: Regenerated.
3615 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
3617         * manual/lang.texi (Old Varargs): Remove section.
3618         (How Variadic): Update menu.
3619         (va_start): Do not mention varargs.h.
3621 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
3622             Joseph Myers  <joseph@codesourcery.com>
3624         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3625         link test.
3626         * configure: Regenerated.
3628 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
3630         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3631         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3632         conformtest.pl
3634 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
3636         * NOTES: Remove.
3637         * Makefile (files-for-dist): Remove NOTES.
3638         (NOTES): Remove rule.
3639         * README: Don't refer to NOTES.
3640         * manual/creature.texi: Don't include macros.texi.
3641         * manual/intro.texi (creature.texi): Remove comment referring to
3642         NOTES.
3644         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3645         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3646         * configure: Regenerated.
3647         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3648         LIBC_TRY_CC_OPTION.
3649         (libc_cv_as_i686): Likewise.
3650         (libc_cv_cc_avx): Likewise.
3651         (libc_cv_cc_sse2avx): Likewise.
3652         (libc_cv_cc_fma4): Likewise.
3653         (libc_cv_cc_novzeroupper): Likewise.
3654         * sysdeps/i386/configure: Regenerated.
3656         [BZ #13883]
3657         * sysdeps/i386/fpu/s_cexp.S: Remove.
3658         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3659         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3660         * math/libm-test.inc (cexp_test): Add more tests.
3661         * sysdeps/i386/fpu/libm-test-ulps: Update.
3662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3664 2012-03-21  Allan McRae  <allan@archlinux.org>
3666         * timezone/Makefile: Do not install iso3166.tab and zone.tab
3668 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
3670         [BZ #13871]
3671         * math/w_exp2.c: Do not include <float.h>.
3672         (o_threshold, u_threshold): Remove.
3673         (__exp2): Calculate result before checking finiteness and calling
3674         __kernel_standard.
3675         * math/w_exp2f.c: Likewise.
3676         * math/w_exp2l.c: Likewise.
3677         * math/libm-test.inc (exp2_test): Require overflow exception for
3678         1e6 input.
3680         [BZ #3866]
3681         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3682         range of signed 64-bit integers before using fistpll.  Remove
3683         checks for whether integers fit in mantissa bits.
3684         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3685         the range of signed 32-bit integers before using fistpl.  Remove
3686         checks for whether integers fit in mantissa bits.
3687         * sysdeps/i386/fpu/e_powl.S (p64): New object.
3688         (__ieee754_powl): Test for y outside the range of signed 64-bit
3689         integers before using fistpll.  Reduce 64-bit values to 63-bit
3690         ones as needed.
3691         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3692         divide-by-zero is raised for zero to large negative powers.
3693         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3694         (__ieee754_powl): Test for y outside the range of signed 64-bit
3695         integers before using fistpll.  Reduce 64-bit values to 63-bit
3696         ones as needed.
3697         * math/libm-test.inc (pow_test): Add more tests.
3699 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
3701         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3702         <stdio-common/_itoa.h>.
3703         * debug/segfault.c: Likewise.
3704         * elf/dl-cache.c: Likewise.
3705         * elf/dl-minimal.c: Likewise.
3706         * elf/dl-misc.c: Likewise.
3707         * elf/dl-sysdep.c: Likewise.
3708         * elf/dl-version.c: Likewise.
3709         * elf/rtld.c: Likewise.
3710         * hurd/hurdsock.c: Likewise.
3711         * hurd/lookup-retry.c: Likewise.
3712         * malloc/malloc.c: Likewise.
3713         * malloc/mtrace.c: Likewise.
3714         * nscd/nscd_getgr_r.c: Likewise.
3715         * nscd/nscd_getpw_r.c: Likewise.
3716         * nscd/nscd_getserv_r.c: Likewise.
3717         * posix/getopt_init.c: Likewise.
3718         * posix/wordexp.c: Likewise.
3719         * stdio-common/_itoa.c: Likewise.
3720         * stdio-common/printf_fphex.c: Likewise.
3721         * stdio-common/vfprintf.c: Likewise.
3722         * string/_strerror.c: Likewise.
3723         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3724         * sysdeps/i386/i686/hp-timing.h: Likewise.
3725         * sysdeps/mach/_strerror.c: Likewise.
3726         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3727         * sysdeps/mach/hurd/sethostid.c: Likewise.
3728         * sysdeps/mach/hurd/xmknodat.c: Likewise.
3729         * sysdeps/mach/xpg-strerror.c: Likewise.
3730         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3731         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3732         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3733         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3734         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3735         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3736         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3737         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3738         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3739         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3740         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3741         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3742         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3743         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3744         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3745         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3746         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3747         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3748         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3749         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3750         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3752         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3754         * stdio-common/_itoa.h: Moved to ...
3755         * sysdeps/generic/_itoa.h: Here.
3757         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3759         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3760         instead of "_itoa.h" and "_itowa.h".
3761         * stdio-common/vfprintf.: Likewise.
3763 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
3765         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3766         <bits/wordsize.h>.
3767         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3768         (__signbit): Likwise.
3769         (llrintf): Likwise.
3770         (llrint): Likwise.
3772 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
3774         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3775         __WORDSIZE != 64.
3777 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
3779         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3780         OVERFLOW_EXCEPTION_OK.
3781         * math/libm-test.inc ("Philosophy"): Update comment about
3782         exception testing.
3783         (OVERFLOW_EXCEPTION): Define.
3784         (OVERFLOW_EXCEPTION_OK): Likewise.
3785         (INVALID_EXCEPTION_OK): Renumber.
3786         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3787         (IGNORE_ZERO_INF_SIGN): Likewise.
3788         (test_exceptions): Handle FE_OVERFLOW.
3789         (exp10_test): Expect overflow exceptions.
3790         (exp2_test): Likewise.
3791         (expm1_test): Likewise.
3792         (nextafter_test): Likewise.
3793         (pow_test): Likewise.
3794         (scalbn_test): Likewise.
3795         (scalbln_test): Likewise.
3797 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3799         * sysdeps/x86_64/bits/atomic.h
3800         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3801         64bit integer.
3802         (atomic_exchange_acq): Likewise.
3803         (__arch_exchange_and_add_body): Likewise.
3804         (__arch_add_body): Likewise.
3805         (atomic_add_negative): Likewise.
3806         (atomic_add_zero): Likewise.
3808 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3810         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
3811         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3813 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3815         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3816         Check __x86_64__ instead of __WORDSIZE.
3818 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3820         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3822 2012-03-19  David S. Miller  <davem@davemloft.net>
3824         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3826         * sysdeps/sparc/fpu/fenv_private.h: New file.
3827         * sysdeps/sparc/fpu/math_private.h: Use it.
3828         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3829         Remove.
3830         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3831         (libc_feholdexcept_setroundl): Remove.
3832         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3833         Remove.
3834         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3835         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3837 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3839         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3840         int64_t instead of long int.
3841         (INSERT_WORDS64): Likwise.
3843 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
3845         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3846         _Unwind_GetCFA return to _Unwind_Ptr first.
3848 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
3850         [BZ #13629]
3851         * math/s_clog.c: Include <float.h>.
3852         (__clog): Scale large or subnormal inputs.
3853         * math/s_clogf.c: Likewise.
3854         * math/s_clogl.c: Likewise.
3855         * math/s_clog10.c: Include <float.h>.
3856         (M_LOG10_2): Define.
3857         (__clog10): Scale large or subnormal inputs.
3858         * math/s_clog10f.c: Likewise.
3859         * math/s_clog10l.c: Likewise.
3860         * math/libm-test.inc (clog_test): Add more tests.
3861         (clog10_test): Likewise.
3862         * sysdeps/i386/fpu/libm-test-ulps: Update.
3863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3865         [BZ #11451]
3866         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3867         x and y.
3868         * math/libm-test.inc (atan2_test): Add another test.
3870         * Makerules (common-objdir-compile): Remove.
3871         * sysdeps/unix/Makefile (config-generated): Do not add
3872         $(unix-generated) to variable.
3873         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3874         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3875         Remove rule.
3876         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3877         Likewise.
3878         [generic bits/local_lim.h] (before-compile): Do not append to
3879         variable.
3880         [generic bits/local_lim.h] (common-generated): Likewise.
3881         [generic sys/param.h] (before-compile): Do not append to variable.
3882         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3883         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3884         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3885         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3886         include.
3887         [generic sys/param.h] (sys/param.h-includes): Remove variable.
3888         [generic sys/param.h] (sys/param.h-includes): Remove rule.
3889         [generic sys/param.h] ($(addprefix
3890         $(common-objpfx),$(sys/param.h-includes))): Likewise.
3891         [generic sys/param.h] (common-generated): Do not append to
3892         variable.
3893         [generic sys/param.h] (sysdep_headers): Likewise.
3894         [generic bits/errno.h] (before-compile): Do not append to
3895         variable.
3896         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3897         rule.
3898         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3899         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3900         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3901         [generic bits/errno.h] (common-generated): Do not append to
3902         variable.
3903         [generic bits/ioctls.h] (before-compile): Do not append to
3904         variable.
3905         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3906         rule.
3907         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3908         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3909         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3910         rule.
3911         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3912         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3913         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3914         [generic bits/ioctls.h] (common-generated): Do not append to
3915         variable.
3916         [generic sys/syscall.h] (syscall.h): Remove variable.
3917         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3918         rule.
3919         [generic sys/syscall.h] (before-compile): Do not append to
3920         variable.
3921         [generic sys/syscall.h] (common-generated): Likewise.
3922         * sysdeps/unix/errnos-tmpl.c: Remove file.
3923         * sysdeps/unix/errnos.awk: Likewise.
3924         * sysdeps/unix/ioctls-tmpl.c: Likewise.
3925         * sysdeps/unix/ioctls.awk: Likewise.
3926         * sysdeps/unix/mk-local_lim.c: Likewise.
3927         * sysdeps/unix/snarf-ioctls: Likewise.
3929 2012-03-19  Richard Henderson  <rth@twiddle.net>
3931         * sysdeps/i386/fpu/fenv_private.h: New file.
3932         * sysdeps/i386/fpu/math_private.h: Use it.
3933         (math_opt_barrier, math_force_eval): Remove.
3934         (libc_feholdexcept_setround_53bit): Remove.
3935         (libc_feupdateenv_53bit): Remove.
3936         * sysdeps/x86_64/fpu/math_private.h: Likewise.
3937         (math_opt_barrier, math_force_eval): Remove.
3938         (libc_feholdexcept): Remove.
3939         (libc_feholdexcept_setround): Remove.
3940         (libc_fetestexcept, libc_fesetenv): Remove.
3941         (libc_feupdateenv_test): Remove.
3942         (libc_feupdateenv, libc_feholdsetround): Remove.
3943         (libc_feresetround): Remove.
3945         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3946         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3948         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3949         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3950         (libc_feupdateenv_testl): New.
3951         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3952         (libc_feupdateenv_testf): New.
3953         (libc_feupdateenv): Use libc_feupdateenv_test.
3954         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3955         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3957         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3958         (libc_feholdsetroundf, libc_feholdsetroundl): New.
3959         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3960         (libc_feresetround_noex): New.
3961         (libc_feresetround_noexf): New.
3962         (libc_feresetround_noexl): New.
3963         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3964         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3965         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3966         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3967         SET_RESTORE_ROUND.
3968         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3969         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3970         (__cos): Likewise.
3971         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3972         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3973         SET_RESTORE_ROUND_NOEX.
3974         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3975         SET_RESTORE_ROUND_NOEXF.
3976         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3977         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3978         (libc_feholdsetroundf): New.
3979         (libc_feresetround, libc_feresetroundf): New.
3981         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3982         (libc_feholdexcept_setround_53bit): Convert from macro to function.
3983         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
3985         * sysdeps/generic/math_private.h: Include <fenv.h>.
3986         (default_libc_feholdexcept): New.
3987         (default_libc_feholdexcept_setround): New.
3988         (default_libc_fesetenv, default_libc_feupdateenv): New.
3989         (libc_feholdexcept): Only define if undefined.
3990         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3991         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3992         (libc_feholdexcept_setroundl): Likewise.
3993         (libc_feholdexcept_setround_53bit): Likewise.
3994         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3995         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3996         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3997         (libc_feupdateenv_53bit): Likewise.
3998         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3999         (libc_feholdexcept): Convert from macro to inline function.
4000         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4001         (libc_fesetenv, libc_feupdateenv): Likewise.
4003         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4004         not previously defined.
4005         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4006         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4007         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4008         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4009         * sysdeps/ieee754/flt-32/math_private.h: New file.
4010         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4011         math_private.h below SET_FLOAT_WORD.
4012         (__isnan, __isinf_ns, __finite): Remove.
4013         (__isnanf, __isinf_nsf, __finitef): Remove.
4015 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
4017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4019 2012-03-17  David S. Miller  <davem@davemloft.net>
4021         [BZ #6471]
4022         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4023         for 2.16.
4025 2012-03-16  David S. Miller  <davem@davemloft.net>
4027         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4028         warnings.
4030         [BZ #6471]
4031         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4032         properly.
4033         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4034         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4035         sysdep_routines when subdir is sysvipc.
4036         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4037         __getshmlba helper.
4039         * sysdeps/sparc/fpu/libm-test/ulps: Update.
4041 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4043         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4044         [__LP64__].
4046 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4048         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4049         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4050         (__lround): Renamed to ...
4051         (__llround): This.  Replace long int with long long int.
4052         Define lround functions as aliases of llround functions.
4053         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4055 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4057         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4058         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
4059         adresses to uintptr_t.  Replace "long int" and "unsigned long
4060         int" with "greg_t" on va_arg.
4062 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4064         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4065         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4067         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4068         Move e_machine check before EI_CLASS check.  Handle x32
4069         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4070         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4071         SKIP_EM_IA_64 and include
4072         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4074         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4075         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4076         (add_system_dir): New macro.
4078         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4079         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4081 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
4083         [BZ #2551]
4084         [BZ #2552]
4085         [BZ #2553]
4086         [BZ #2554]
4087         [BZ #2562]
4088         [BZ #2563]
4089         [BZ #2565]
4090         [BZ #2566]
4091         [BZ #2576]
4092         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4093         (y0): Likewise.
4094         * math/w_j0f.c (j0f): Likewise.
4095         (y0f): Likewise.
4096         * math/w_j0l.c (__j0l): Likewise.
4097         (__y0l): Likewise.
4098         * math/w_j1.c (j1): Likewise.
4099         (y1): Likewise.
4100         * math/w_j1f.c (j1f): Likewise.
4101         (y1f): Likewise.
4102         * math/w_j1l.c (__j1l): Likewise.
4103         (__y1l): Likewise.
4104         * math/w_jn.c (jn): Likewise.
4105         (yn): Likewise.
4106         * math/w_jnf.c (jnf): Likewise.
4107         (ynf): Likewise.
4108         * math/w_jnl.c (__jnl): Likewise.
4109         (__ynl): Likewise.
4110         * math/libm-test.inc (j0_test): Add more tests.
4111         (j1_test): Likewise.
4112         (jn_test): Likewise.  Add trailing semicolon to existing test.
4113         (y0_test): Likewise.
4114         (y1_test): Likewise.
4115         * sysdeps/i386/fpu/libm-test-ulps: Update.
4116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4118         [BZ #13851]
4119         [BZ #13854]
4120         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4121         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4122         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4123         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4124         (__tanl): Set errno for infinite argument.
4125         * sysdeps/i386/fpu/mptan.c: Remove.
4126         * sysdeps/i386/fpu/s_tan.S: Likewise.
4127         * sysdeps/i386/fpu/s_tanl.S: Likewise.
4128         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4129         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4130         * math/libm-test.inc (tan_test): Add more tests and enable more
4131         tests for double and long double.
4132         * sysdeps/i386/fpu/libm-test-ulps: Update.
4133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4135 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
4137         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4138         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4140 2012-03-16  Roland McGrath  <roland@hack.frob.com>
4142         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4143         * configure.in: Use it for both main tree and add-ons.
4144         * configure: Regenerated.
4146 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4148         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4150 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
4152         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4153         in comment.
4155         [BZ #13851]
4156         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4157         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4158         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4159         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4160         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4161         infinite argument.
4162         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4163         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4164         != 0 for prec == 2.
4165         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4166         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4167         * sysdeps/i386/fpu/s_cosl.S: Likewise.
4168         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4169         * sysdeps/i386/fpu/s_sinl.S: Likewise.
4170         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4171         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4172         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4173         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4174         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4175         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4176         * math/libm-test.inc (cos_test): Add more tests and enable more
4177         tests for long double.
4178         (sin_test): Likewise.
4179         (sincos_test): Likewise.
4180         * sysdeps/i386/fpu/libm-test-ulps: Update.
4181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4183 2012-03-16  David S. Miller  <davem@davemloft.net>
4185         * sysdeps/sparc/fpu/math_private.h: New file.
4187 2012-03-15  David S. Miller  <davem@davemloft.net>
4189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4190         file.
4191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
4192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4193         file.
4194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4195         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4196         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4197         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4198         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4199         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4200         sysdep routines.
4201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4203         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4204         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4206         * sysdeps/sparc/sparc-ifunc.h: New file.
4207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4208         sparc-ifunc.h
4209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4211         Likewise.
4212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4213         Likewise.
4214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4218         Likewise.
4219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4224         Likewise.
4225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4226         Likewise.
4227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4231         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4232         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4233         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4234         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4235         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4236         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4237         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4238         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4239         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4240         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4241         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4242         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4243         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4244         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4245         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4246         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4247         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4248         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4249         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4250         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4252 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
4254         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4255         scaling.
4256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4258 2012-03-15  Andreas Jaeger  <aj@suse.de>
4260         [BZ #13852]
4261         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4262         ieee754/flt-32 implementation for sin, cos and sincos.
4263         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4264         * sysdeps/i386/fpu/s_cosf.S: Likewise.
4265         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4266         * sysdeps/i386/fpu/s_sinf.S: Likewise.
4267         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4268         ieee754/flt-32 implementation for tan.
4270         * math/libm-test.inc (cos_test): Enable some large input tests for
4271         float as well
4272         (sin_test): Likewise.
4273         (sincos_test): Likewise.
4274         (tan_test): Add tests for large input.
4276         * sysdeps/i386/fpu/libm-test-ulps: Update.
4278 2012-03-15  Andreas Jaeger  <aj@suse.de>
4280         [BZ #13658]
4281         * math/libm-test.inc (cos_test): Add more test cases.
4282         (sin_test): Likewise.
4283         (sincos_test): Likewise.
4285 2012-03-15  Andreas Jaeger  <aj@suse.de>
4287         [BZ #13837]
4288         * math/libm-test.inc (cos_test): Add a test case for large input
4289         value.
4290         (sin_test): Likewise.
4291         (sincos_test): Likewise.
4293 2012-03-15  Andreas Jaeger  <aj@suse.de>,
4294         Joseph Myers  <joseph@codesourcery.com>
4296         [BZ #13658]
4297         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
4298         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4299         * sysdeps/i386/fpu/branred.c: Likewise.
4300         * sysdeps/i386/fpu/dosincos.c: Likewise.
4301         * sysdeps/i386/fpu/mpa.c: Likewise.
4302         * sysdeps/i386/fpu/s_cos.S: Likewise.
4303         * sysdeps/i386/fpu/s_sin.S: Likewise.
4304         * sysdeps/i386/fpu/s_sincos.S: Likewise.
4305         * sysdeps/i386/fpu/sincos32.c: Likewise.
4307         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4308         Define.
4309         (libc_feupdateenv_53bit): Define.
4310         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4311         Define.
4312         (libc_feupdateenv_53bit): Define.
4314         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4315         53 bit (without extend i386 double precision).
4317         * math/libm-test.inc (sincos_test): Add tests for large input.
4318         (sin): Likewise.
4319         (cos): Likewise.
4321         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4323 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
4325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4327 2012-03-15  David S. Miller  <davem@davemloft.net>
4329         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4330         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4331         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4332         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4337         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4338         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4339         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4340         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4341         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4342         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4343         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
4344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4345         file.
4346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
4347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4348         file.
4349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
4350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4351         file.
4352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
4353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4354         file.
4355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4356         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4357         fmin/fmax sysdep routines.
4358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4360 2012-03-14  David S. Miller  <davem@davemloft.net>
4362         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4363         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4364         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4365         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4366         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4367         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4368         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4369         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4370         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4371         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4372         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4373         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4374         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4375         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4376         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4377         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4378         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4379         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4380         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4381         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4382         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4383         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4384         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4385         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4386         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4387         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4388         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4389         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
4390         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4391         routines.
4392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4393         file.
4394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
4395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4396         file.
4397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
4398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4399         file.
4400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
4401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4402         file.
4403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
4404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4405         file.
4406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
4407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4408         file.
4409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4410         file.
4411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4412         file.
4413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4414         file.
4415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4416         New file.
4417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4418         file.
4419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4420         file.
4421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
4422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4423         file.
4424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
4425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4426         file.
4427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
4428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4429         file.
4430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
4431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4432         VIS3 routines.
4434         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4435         New file.
4437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4439         * sysdeps/sparc/configure.in: New file.
4440         * sysdeps/sparc/configure: Generate.
4441         * configure.in (libc_cv_sparc_as_vis3): Substitute.
4442         * configure: Regenerate.
4443         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4444         * config.make.in (have-as-vis3): New.
4445         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4446         available use -Av9d instead of -Av9a.
4447         * sysdeps/sparc/sparc64/Makefile: Likewise.
4448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
4449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4450         New file.
4451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4452         file.
4453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4454         New file.
4455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4456         file.
4457         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4458         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4459         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4460         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4461         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4463         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4464         fzeros/fnegs to load 0x80000000 into a float register instead of
4465         using the stack.
4466         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4468 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
4470         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4471         bits/syscall.h.
4472         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4473         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4474         ($(inst_includedir)/bits/syscall.h): Remove rule.
4475         ($(objpfx)bits/syscall.d): Include instead of
4476         $(objpfx)syscall-list.d.
4477         (generated): Change syscall-list.h and syscall-list.d to
4478         bits/syscall.h and bits/syscall.d.
4480 2012-03-14  Roland McGrath  <roland@hack.frob.com>
4482         [BZ #13846]
4483         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4485 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
4487         [BZ #13841]
4488         * math/s_csqrt.c: Include <float.h>.
4489         (__csqrt): Scale large or subnormal inputs.
4490         * math/s_csqrtf.c: Likewise.
4491         * math/s_csqrtl.c: Likewise.
4492         * math/libm-test.inc (csqrt_test): Add more tests.
4493         * sysdeps/i386/fpu/libm-test-ulps: Update.
4494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4496         [BZ #13840]
4497         * math/libm-test.inc (hypot_test): Add more tests.
4499 2012-03-13  David S. Miller  <davem@davemloft.net>
4501         [BZ #13840]
4502         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4503         double-precision for the calculation instead of scaling.
4505 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
4507         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4508         manipulate bits before adding and subtracting TWO52[sx].
4509         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4510         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4511         Likewise.
4512         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4514 2012-03-13  David S. Miller  <davem@davemloft.net>
4516         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4517         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4518         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4519         rtld-global-offsets.h
4520         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4522         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4523         large parameters.
4525         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4527         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4528         'err' in the ifdef scope in which it is actually used.
4530         * nss/nss_db/db-init.c: Include string.h
4532 2012-03-12  David S. Miller  <davem@davemloft.net>
4534         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4535         masking out of the most significant byte of random value used.
4536         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4537         Fix coding style in previous change.
4539         * sysdeps/unix/sysv/linux/kernel-features.h
4540         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4541         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4542         expression.
4543         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4544         later.
4546 2012-03-11  David S. Miller  <davem@davemloft.net>
4548         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4549         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4550         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4551         for 'resultvar' otherwise things get truncated on 64-bit.
4553         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4554         Fix masking out of the most significant byte of random value used.
4556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4558 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
4560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4562 2012-03-09  David S. Miller  <davem@davemloft.net>
4564         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4565         variables with appropriate CPP guards.
4566         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4567         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
4568         on resulting framesize and the management of the outregs buffer for pltexit.
4569         Preserve floating point return values across _dl_call_pltexit call.
4570         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4571         framesize and the management of the outregs buffer for pltexit.
4572         Preserve floating point return values across _dl_call_pltexit
4573         call.
4574         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4575         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4576         (print_exit): Fix format string for return register value.
4578 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
4580         * sunrpc/Makefile (others): Add rpcgen.
4581         ($(objpfx)rpcgen): Remove special build rule and dependency on
4582         libc.
4583         * sunrpc/rpcgen.c: New file.
4585 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
4587         [BZ #13673]
4588         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4589         * stdio-common/bug-vfprintf-nargs.c: Likewise.
4590         * sysdeps/i386/crti.S: Likewise.
4591         * sysdeps/i386/crtn.S: Likewise.
4592         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4593         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4594         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4595         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4596         * sysdeps/sh/crti.S: Likewise.
4597         * sysdeps/sh/crtn.S: Likewise.
4598         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4600         [BZ #13673]
4601         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4602         with URL.
4603         * locale/programs/locfile-kw.gperf: Likewise.
4604         * locale/programs/charmap-kw.h: Regenerated.
4605         * locale/programs/locfile-kw.h: Likewise.
4607         [BZ #13673]
4608         * intl/plural.y: Replace FSF snail mail address with URL.
4609         * intl/plural.c: Regenerated.
4611 2012-03-09  Richard Henderson  <rth@twiddle.net>
4613         * include/math_private.h: Remove file.
4614         * math/math_private.h: Move file ...
4615         * sysdeps/generic/math_private.h: ... here.
4617         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4618         * sysdeps/powerpc/fpu/math_private.h: Likewise.
4619         * sysdeps/x86_64/fpu/math_private.h: Likewise.
4621         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
4622         and <math_private.h>.
4623         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4624         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4625         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4626         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4627         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4628         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4629         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4630         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4631         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4632         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4633         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4634         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4635         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4636         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4637         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4638         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4639         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4640         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4641         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4642         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4643         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4644         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4645         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4646         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4647         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4648         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4649         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4650         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4651         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4652         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4653         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4654         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4655         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4656         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4657         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4658         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4659         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4660         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4661         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4662         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4663         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4664         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4665         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4666         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4667         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4668         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4669         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4670         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4671         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4672         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4673         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4674         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4675         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4676         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4677         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4678         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4679         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4680         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4681         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4682         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4683         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4684         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4685         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4686         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4687         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4688         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4689         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4690         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4691         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4692         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4693         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4694         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4695         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4696         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4697         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4698         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4699         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4700         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4701         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4702         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4703         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4704         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4705         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4706         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4707         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4708         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4709         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4710         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4711         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4712         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4713         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4714         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4715         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4716         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4717         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4718         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4719         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4720         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4721         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4722         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4723         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4724         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4725         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4726         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4727         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4728         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4729         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4730         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4731         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4732         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4733         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4734         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4735         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4736         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4737         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4738         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4739         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4740         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4741         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4742         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4743         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4744         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4745         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4746         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4747         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4748         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4749         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4750         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4751         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4752         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4753         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4754         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4755         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4756         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4757         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4758         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4759         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4760         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4761         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4762         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4763         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4764         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4765         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4766         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4767         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4768         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4769         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4770         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4771         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4772         * sysdeps/ieee754/k_standard.c: Likewise.
4773         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4774         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4775         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4776         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4777         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4778         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4779         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4780         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4781         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4782         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4783         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4784         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4785         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4786         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4787         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4788         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4789         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4790         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4791         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4792         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4793         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4794         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4795         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4796         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4797         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4798         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4799         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4800         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4801         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4802         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4803         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4804         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4805         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4806         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4807         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4808         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4809         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4810         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4811         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4812         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4813         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4814         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4815         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4816         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4817         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4818         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4819         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4820         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4821         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4822         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4823         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4824         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4825         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4826         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4827         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4828         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4829         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4830         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4831         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4832         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4833         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4834         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4835         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4836         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4837         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4838         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4839         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4840         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4841         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4842         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4843         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4844         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4845         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4846         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4847         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4848         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4849         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4850         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4851         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4852         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4853         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4854         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4855         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4856         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4857         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4858         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4859         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4860         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4861         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4862         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4863         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4864         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4865         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4866         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4867         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4868         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4869         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4870         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4871         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4872         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4873         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4874         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4875         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4876         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4877         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4878         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4879         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4880         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4881         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4882         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4883         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4884         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4885         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4886         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4887         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4888         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4889         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4890         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4891         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4892         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4893         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4894         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4895         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4896         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4897         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4898         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4899         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4900         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4901         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4902         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4903         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4904         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4905         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4906         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4907         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4908         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4909         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4910         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4911         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4912         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4913         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4914         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4915         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4916         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4917         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4918         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4919         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4920         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4921         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4922         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4923         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4924         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4925         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4926         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4927         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4928         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4929         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4930         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4931         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4932         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4933         * sysdeps/ieee754/s_lib_version.c: Likewise.
4934         * sysdeps/ieee754/s_matherr.c: Likewise.
4935         * sysdeps/ieee754/s_signgam.c: Likewise.
4936         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4937         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4938         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4939         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4940         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4941         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4942         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4943         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4944         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4945         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4946         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4947         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4948         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4949         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4950         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4951         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4952         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4953         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4954         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4955         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4956         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4958 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
4960         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4961         * sunrpc/rpc_main.c: Likewise.
4962         * sunrpc/rpc_svcout.c: Likewise.
4964 2012-03-09  David S. Miller  <davem@davemloft.net>
4966         * include/math_private.h: New file.
4968 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
4970         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4971         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4972         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4973         from <bits/socket_type.h>.
4974         (enum __socket_type): Don't define here.
4975         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4976         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4977         bits/socket_type.h.
4979         [BZ #13566]
4980         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4981         checking __USE_GNU.
4983         * Makerules ($(inst_includedir)/%.h): New rule.
4984         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4985         (install-others): Remove variable setting.
4986         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4988 2012-03-08  Richard Henderson  <rth@twiddle.net>
4990         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4991         from macro to inline function; merge with the
4992         !__LIBC_INTERNAL_MATH_INLINES version.
4993         (__ieee754_sqrtf): Likewise.
4995         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4996         to inline function.
4997         (__rintf, __floor, __floorf): Likewise.
4999         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5000         macro to inline function.
5001         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5003         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5004         not <math/math_private.h>.
5006 2012-03-08  David S. Miller  <davem@davemloft.net>
5008         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5009         copyright year.
5010         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5012 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
5014         * resolv/gai_misc.c (handle_requests): Fix struct timespec
5015         normalization.
5016         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5017         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5019 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
5021         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
5022         be defined individually, they must be defined as a block.  Define
5023         S for printing a string instead of hidint the different by using a
5024         macro for adding the 'l'.
5025         * stdio-common/tst-fphex-wide.c: Adjust.
5027 2012-03-07  Marek Polacek  <polacek@redhat.com>
5029         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5031 2012-03-08  Marek Polacek  <polacek@redhat.com>
5033         [BZ #13806]
5034         * stdio-common/Makefile (tests): Add tst-fphex-wide.
5035         * stdio-common/tst-fphex.c: Define a few macros to make the
5036         test reusable.  Use them.
5037         * stdio-common/tst-fphex-wide.c: New file.
5039 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
5041         [BZ #6911]
5042         * manual/macros.texi (gnusystems): New macro.
5043         (nongnusystems): Likewise.
5044         (gnulinuxhurdsystems): Likewise.
5045         (gnuhurdsystems): Likewise..
5046         (gnulinuxsystems): Likewise.
5047         * manual/charset.texi: Use new macros or @theglibc{} to refer to
5048         variants of the GNU system, not "GNU system".
5049         * manual/conf.texi: Likewise.
5050         * manual/errno.texi: Likewise.  Update example of errno macro
5051         expansion.
5052         * manual/filesys.texi: Likewise.
5053         (getumask): Document as specific to GNU/Hurd.
5054         * manual/install.texi: Likewise.  Reword some references to
5055         GNU/Linux.
5056         * manual/intro.texi: Likewise.
5057         * manual/io.texi: Likewise.
5058         (File Name Portability): Detail which constraints are inapplicable
5059         to all GNU systems and which are only inapplicable to GNU/Hurd.
5060         * manual/job.texi: Likewise.
5061         * manual/llio.texi: Likewise.
5062         (O_NOCTTY): Document as present on GNU/Linux.
5063         * manual/maint.texi: Likewise.
5064         * manual/memory.texi: Likewise.
5065         * manual/pattern.texi: Likewise.
5066         * manual/pipe.texi: Likewise.
5067         * manual/process.texi: Likewise.
5068         * manual/resource.texi: Likewise.
5069         (RUSAGE_CHILDREN): Remove statement about specifying a particular
5070         child on GNU/Hurd.
5071         * manual/setjmp.texi: Likewise.
5072         * manual/signal.texi: Likewise.
5073         * manual/startup.texi: Likewise.
5074         * manual/stdio.texi: Likewise.
5075         * manual/terminal.texi: Likewise.
5076         (ONLCR): Document as POSIX.
5077         (OXTABS): Document availability on GNU/Linux as XTABS.
5078         (ONOEOT): Document availability separately from other bits.
5079         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5080         * manual/time.texi: Likewise.
5081         * manual/users.texi: Likewise.
5082         * INSTALL: Regenerated.
5083         * sysdeps/gnu/errlist.c: Regenerated.
5085         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5086         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5087         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
5088         puts.
5089         * configure: Regenerated.
5091 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
5093         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5094         default includes instead of AC_HEADER_CHECK.
5095         * sysdeps/i386/configure: Regenerated.
5097         [BZ #10716]
5098         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5099         * math/s_cacoshf.c (__cacoshf): Likewise.
5100         * math/s_cacoshl.c (__cacoshl): Likewise.
5101         * math/s_casinh.c (__casinh): Set signs of result from argument.
5102         * math/s_casinhf.c (__casinhf): Likewise.
5103         * math/s_casinhl.c (__casinhl): Likewise.
5104         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5105         (casinh_test): Add more tests.
5106         * sysdeps/i386/fpu/libm-test-ulps: Update.
5107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5109 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
5111         * po/zh_TW.po: Update from translation team.
5113         * login/Makefile (distribute): Remove variable.
5114         * catgets/Makefile: Likewise.
5115         * mach/Makefile: Likewise.
5116         * malloc/Makefile: Likewise.
5117         * misc/Makefile: Likewise.
5118         * iconv/Makefile: Likewise.
5119         * nscd/Makefile: Likewise.
5120         * hurd/Makefile: Likewise.
5121         * manual/Makefile: Likewise.
5122         * locale/Makefile: Likewise.
5123         * intl/Makefile: Likewise.
5124         * conform/Makefile: Likewise.
5125         * nss/Makefile: Likewise.
5126         * time/Makefile: Likewise.
5127         * soft-fp/Makefile: Likewise.
5128         * dirent/Makefile: Likewise.
5129         * gmon/Makefile: Likewise.
5130         * po/Makefile: Likewise.
5131         * rt/Makefile: Likewise.
5132         * socket/Makefile: Likewise.
5133         * math/Makefile: Likewise.
5134         * signal/Makefile: Likewise.
5135         * debug/Makefile: Likewise.
5136         * elf/Makefile: Likewise.
5137         * timezone/Makefile: Likewise.
5138         * stdlib/Makefile: Likewise.
5139         * iconvdata/Makefile: Likewise.
5140         * sunrpc/Makefile: Likewise.
5141         * io/Makefile: Likewise.
5142         * argp/Makefile: Likewise.
5143         * inet/Makefile: Likewise.
5144         * hesiod/Makefile: Likewise.
5145         * grp/Makefile: Likewise.
5146         * csu/Makefile: Likewise.
5147         * wctype/Makefile: Likewise.
5148         * crypt/Makefile: Likewise.
5149         * libio/Makefile: Likewise.
5150         * string/Makefile: Likewise.
5151         * nis/Makefile: Likewise.
5152         * resolv/Makefile: Likewise.
5153         * stdio-common/Makefile: Likewise.
5154         * wcsmbs/Makefile: Likewise.
5155         * dlfcn/Makefile: Likewise.
5156         * posix/Makefile: Likewise.
5158         [BZ #6959]
5159         * timezone/Makefile: Don't install timezone files, just the programs
5160         and scripts.
5162 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
5164         * nss/databases.def: Add missing gshadow entry.
5166         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
5168 2012-03-06  Marek Polacek  <polacek@redhat.com>
5170         [BZ #13726]
5171         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5172         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5173         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5174         * stdio-common/tst-long-dbl-fphex.c: New file.
5176 2012-03-06  David S. Miller  <davem@davemloft.net>
5178         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5179         (set_obp_int): New function.
5180         (get_obp_int): New function.
5181         (__get_clockfreq_via_dev_openprom): Likewise.
5182         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5183         Avoid unused variable warnings on 'val' and use builtin_expect.
5184         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5185         __builtin_expect.
5186         (INLINE_CLONE_SYSCALL): Likewise.
5188 2012-03-05  David S. Miller  <davem@davemloft.net>
5190         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5192 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
5194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5196         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5197         only for |x| >= 40.
5198         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5200 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
5202         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5203         Replace gettimeofday with __vdso_gettimeofday.
5205         * sysdeps/unix/sysv/linux/x86_64/init-first.c
5206         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5207         __vdso_clock_gettime and __vdso_getcpu.
5209         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5210         time with __vdso_time.
5212 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
5214         * manual/lang.texi (size_t): Note types to which size_t may be
5215         equivalent with the GNU C Library, but do not describe when
5216         differences between them are significant.
5218 2012-03-05  Andreas Jaeger  <aj@suse.de>
5220         * sysdeps/i386/fpu/libm-test-ulps: Update.
5222 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
5224         [BZ #3976]
5225         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5226         (__ieee754_pow): Save and restore rounding mode and use
5227         round-to-nearest for main computations.
5228         * math/libm-test.inc (pow_test_tonearest): New function.
5229         (pow_test_towardzero): Likewise.
5230         (pow_test_downward): Likewise.
5231         (pow_test_upward): Likewise.
5232         (main): Call the new functions.
5233         * sysdeps/i386/fpu/libm-test-ulps: Update.
5234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5236         [BZ #3976]
5237         * math/libm-test.inc (cosh_test_tonearest): New function.
5238         (cosh_test_towardzero): Likewise.
5239         (cosh_test_downward): Likewise.
5240         (cosh_test_upward): Likewise.
5241         (sinh_test_tonearest): Likewise.
5242         (sinh_test_towardzero): Likewise.
5243         (sinh_test_downward): Likewise.
5244         (sinh_test_upward): Likewise.
5245         (main): Call the new functions.
5246         * sysdeps/i386/fpu/libm-test-ulps: Update.
5247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5249 2012-03-05  Tom de Vries  <tom@codesourcery.com>
5251         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5252         default stack guard is set in last bytes.
5253         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5255 2012-03-05  Kees Cook  <keescook@chromium.org>
5257         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
5259         [BZ #13656]
5260         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5261         possibly allocate from heap instead of stack.
5262         * stdio-common/bug-vfprintf-nargs.c: New file.
5263         * stdio-common/Makefile (tests): Add nargs overflow test.
5265 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
5267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5269 2012-03-03  Marek Polacek  <polacek@redhat.com>
5271         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5272         * math/math_private.h: Likewise.
5273         * stdlib/tst-strtod.c: Likewise.
5274         * sysdeps/i386/i486/bits/atomic.h: Likewise.
5275         * sysdeps/x86_64/bits/atomic.h: Likewise.
5277 2012-03-02  David S. Miller  <davem@davemloft.net>
5279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5283         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5284         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5285         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5286         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5288 2012-03-02  Roland McGrath  <roland@hack.frob.com>
5290         [BZ #13792]
5291         * manual/examples/README: New file, says the example source files
5292         can be used under GPL>=2.
5293         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5294         line containing just "*/".
5295         * manual/examples/add.c: Add copyright header (GPL>=2).
5296         * manual/examples/argp-ex1.c: Likewise.
5297         * manual/examples/argp-ex2.c: Likewise.
5298         * manual/examples/argp-ex3.c: Likewise.
5299         * manual/examples/argp-ex4.c: Likewise.
5300         * manual/examples/atexit.c: Likewise.
5301         * manual/examples/db.c: Likewise.
5302         * manual/examples/dir.c: Likewise.
5303         * manual/examples/dir2.c: Likewise.
5304         * manual/examples/execinfo.c: Likewise.
5305         * manual/examples/filecli.c: Likewise.
5306         * manual/examples/filesrv.c: Likewise.
5307         * manual/examples/fmtmsgexpl.c: Likewise.
5308         * manual/examples/genpass.c: Likewise.
5309         * manual/examples/inetcli.c: Likewise.
5310         * manual/examples/inetsrv.c: Likewise.
5311         * manual/examples/isockad.c: Likewise.
5312         * manual/examples/longopt.c: Likewise.
5313         * manual/examples/memopen.c: Likewise.
5314         * manual/examples/memstrm.c: Likewise.
5315         * manual/examples/mkfsock.c: Likewise.
5316         * manual/examples/mkisock.c: Likewise.
5317         * manual/examples/mygetpass.c: Likewise.
5318         * manual/examples/pipe.c: Likewise.
5319         * manual/examples/popen.c: Likewise.
5320         * manual/examples/rprintf.c: Likewise.
5321         * manual/examples/search.c: Likewise.
5322         * manual/examples/select.c: Likewise.
5323         * manual/examples/setjmp.c: Likewise.
5324         * manual/examples/sigh1.c: Likewise.
5325         * manual/examples/sigusr.c: Likewise.
5326         * manual/examples/stpcpy.c: Likewise.
5327         * manual/examples/strdupa.c: Likewise.
5328         * manual/examples/strftim.c: Likewise.
5329         * manual/examples/strncat.c: Likewise.
5330         * manual/examples/subopt.c: Likewise.
5331         * manual/examples/swapcontext.c: Likewise.
5332         * manual/examples/termios.c: Likewise.
5333         * manual/examples/testopt.c: Likewise.
5334         * manual/examples/testpass.c: Likewise.
5335         * manual/examples/timeval_subtract.c: Likewise.
5337         [BZ #13792]
5338         * manual/time.texi (Elapsed Time): Move timeval_subtract example
5339         function to ...
5340         * manual/timeval_subtract.c.texi: ... here, new file.
5342 2012-03-02  David S. Miller  <davem@davemloft.net>
5344         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5346 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
5348         [BZ #3976]
5349         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5350         (__sin): Save and restore rounding mode and use round-to-nearest
5351         for all computations.
5352         (__cos): Save and restore rounding mode and use round-to-nearest
5353         for all computations.
5354         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5355         <fenv.h>.
5356         (tan): Save and restore rounding mode and use round-to-nearest for
5357         all computations.
5358         * math/libm-test.inc (cos_test_tonearest): New function.
5359         (cos_test_towardzero): Likewise.
5360         (cos_test_downward): Likewise.
5361         (cos_test_upward): Likewise.
5362         (sin_test_tonearest): Likewise.
5363         (sin_test_towardzero): Likewise.
5364         (sin_test_downward): Likewise.
5365         (sin_test_upward): Likewise.
5366         (tan_test_tonearest): Likewise.
5367         (tan_test_towardzero): Likewise.
5368         (tan_test_downward): Likewise.
5369         (tan_test_upward): Likewise.
5370         (main): Call the new functions.
5371         * sysdeps/i386/fpu/libm-test-ulps: Update.
5372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5374         [BZ #10135]
5375         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5376         small n, then large n, before computing and testing k+n.
5377         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5378         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5379         Likewise.
5380         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5381         Likewise.
5382         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5383         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5384         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5385         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5386         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5387         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5388         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5389         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5390         * math/libm-test.inc (scalbn_test): Add more tests.
5391         (scalbln_test): Likewise.
5393         * manual/filesys.texi (mode_t): Describe constraints on size and
5394         signedness, not exact equivalence to a particular type.
5395         (ino_t): Likewise.
5396         (ino64_t): Likewise.
5397         (dev_t): Likewise.
5398         (nlink_t): Likewise.
5399         (blkcnt_t): Likewise.
5400         (blkcnt64_t): Likewise.
5401         * manual/llio.texi (off_t): Likewise.
5403         [BZ #3976]
5404         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5405         (__ieee754_exp): Save and restore rounding mode and use
5406         round-to-nearest for all computations.
5407         * math/libm-test.inc (exp_test_tonearest): New function.
5408         (exp_test_towardzero): Likewise.
5409         (exp_test_downward): Likewise.
5410         (exp_test_upward): Likewise.
5411         (main): Call the new functions.
5412         * sysdeps/i386/fpu/libm-test-ulps: Update.
5413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5415 2012-03-01  Chris Demetriou  <cgd@google.com>
5417         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5418         have predictable order.
5420 2012-03-01  David S. Miller  <davem@davemloft.net>
5422         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5424         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5425         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5426         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5427         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5429         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5430         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5431         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5433         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5434         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5435         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5436         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5437         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5439         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5441         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5442         * sysdeps/sparc/fpu/libm-test-ulps: to here.
5443         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5445         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5446         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5447         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5448         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5449         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5450         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5451         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5452         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5453         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5454         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5455         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5456         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5457         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5458         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5459         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5460         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5461         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5462         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5463         * sysdeps/sparc/elf/configure: Regenerated.
5465 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
5467         * configure.in (AS, LD): Require binutils 2.20 or later.
5468         * configure: Regenerated.
5469         * manual/install.texi (Tools for Compilation): Give binutils 2.20
5470         as required minimum version.
5471         * INSTALL: Regenerated.
5473         [BZ #2541]
5474         [BZ #4108]
5475         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5476         before squaring exponent.
5477         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5478         bottom long double and 27 bits of top long double before squaring
5479         exponent.
5480         * math/libm-test.inc (erfc_test): Add more tests.
5481         * sysdeps/i386/fpu/libm-test-ulps: Update.
5482         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5485 2012-03-01  Kai Tietz  <ktietz@redhat.com>
5487         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5488         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5489         containing bit-fields.
5490         * soft-fp/extended.h (_FP_UNION_E): Likewise.
5491         * soft-fp/single.h (_FP_UNION_S): Likewise.
5492         * soft-fp/double.h (_FP_UNION_D): Likewise.
5494 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
5496         [BZ #13786]
5497         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5498         not include ../strcmp.S.
5499         [USE_AS_STRNCASECMP_L]: Likewise.
5500         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5501         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5502         * sysdeps/i386/i686/multiarch/strncase_l-c.c
5503         (__strncasecmp_l_ia32): Define as alias to
5504         __strncasecmp_l_nonascii.
5506         [BZ #5794]
5507         * math/libm-test.inc (expm1_test): Add test for bug 5794.
5508         * sysdeps/i386/fpu/libm-test-ulps: Update.
5509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5511         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5514 2012-02-29  Jeff Law  <law@redhat.com>
5516         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5517         out of bounds read.
5519 2012-02-29  Marek Polacek  <polacek@redhat.com>
5521         [BZ #13706]
5522         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5523         * elf/Makefile: Add rules to run tst-unused-dep.out.
5525 2012-02-28  David S. Miller  <davem@davemloft.net>
5527         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5528         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5529         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5530         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5531         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5532         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5534 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
5536         * math/libm-test.inc (llround_test): Move one test from
5537         lround_test.  Use TEST_f_L in moved test.
5538         (lround_test): Move misplaced test to llround_test.  Add testcase
5539         from bug 2561.
5541 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
5543         * sysdeps/x86_64/fpu/e_expf.S: New file.
5544         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5546 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
5548         [BZ #13637]
5549         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5550         of remain_len that may cause incomplete multi-byte character and
5551         false match.
5552         * posix/bug-regex33.c: New file.
5553         * posix/Makefile (tests): Add bug-regex33.
5555 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
5557         * manual/macros.texi: New file.
5558         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5559         * manual/libc.texinfo: Include macros.texi.
5560         * manual/creatute.texi: Likewise.
5561         * manual/install.texi: Likewise.
5562         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5563         @glibcadj{} in references to the GNU C Library.
5564         * manual/charset.texi: Likewise.
5565         * manual/conf.texi: Likewise.
5566         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
5567         when not using those macros.
5568         * manual/creature.texi: Likewise.
5569         * manual/crypt.texi: Likewise.
5570         * manual/errno.texi: Likewise.
5571         * manual/filesys.texi: Likewise.
5572         * manual/header.texi: Likewise.
5573         * manual/install.texi: Likewise.
5574         * manual/intro.texi: Likewise.
5575         * manual/io.texi: Likewise.
5576         * manual/job.texi: Likewise.
5577         * manual/lang.texi: Likewise.
5578         * manual/libc.texiinfo: Likewise.
5579         * manual/llio.texi: Likewise.
5580         * manual/locale.texi: Likewise.
5581         * manual/maint.texi: Likewise.
5582         * manual/math.texi: Likewise.
5583         * manual/memory.texi: Likewise.
5584         * manual/message.texi: Likewise.
5585         * manual/nss.texi: Likewise.
5586         * manual/pattern.texi: Likewise.
5587         * manual/process.texi: Likewise.
5588         * manual/resource.texi: Likewise.
5589         * manual/search.texi: Likewise.
5590         * manual/setjmp.texi: Likewise.
5591         * manual/signal.texi: Likewise.
5592         * manual/socket.texi: Likewise.
5593         * manual/startup.texi: Likewise.
5594         * manual/stdio.texi: Likewise.
5595         * manual/string.texi: Likewise.
5596         * manual/sysinfo.texi: Likewise.
5597         * manual/syslog.texi: Likewise.
5598         * manual/terminal.texi: Likewise.
5599         * manual/time.texi: Likewise.
5600         * manual/users.texi: Likewise.
5601         * INSTALL: Regenerated.
5602         * NOTES: Regenerated.
5603         * sysdeps/gnu/errlist.c: Regenerated.
5605 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
5607         * include/dirent.h: Include <dirstream.h> before
5608         <dirent/dirent.h>.
5610 2012-02-28  David S. Miller  <davem@davemloft.net>
5612         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5613         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5614         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5615         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5617 2012-02-27  David S. Miller  <davem@davemloft.net>
5619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5621         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5622         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5624         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5625         frame pointer instead of stack pointer relative arg slot.
5626         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5627         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5628         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5630 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
5632         [BZ #3992]
5633         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5635 2012-02-27  David S. Miller  <davem@davemloft.net>
5637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5641         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5642         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5643         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5644         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5646 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
5648         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5649         later.  Allow versions 5-9.
5650         * configure: Regenerated.
5651         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5652         required minimum version and 4.6 as recommended version.  Do not
5653         mention bugs in GCC 2.7 and 2.8.
5654         * INSTALL: Regenerated.
5656 2012-02-27  David S. Miller  <davem@davemloft.net>
5658         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5660         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5662         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5663         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5664         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5665         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5667         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5668         manipulate bits before adding and subtracting TWO112[sx].
5669         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5671 2012-02-27  Roland McGrath  <roland@hack.frob.com>
5673         [BZ #13775]
5674         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5675         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5676         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5677         being in POSIX, because they are in 1003.1-2008.
5679         * rt/tst-aio.c: Include <fcntl.h>.
5680         * rt/tst-aio7.c: Likewise.
5681         * rt/tst-aio64.c: Likewise.
5683         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5685 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
5687         * manual/install.texi (--with-headers): Describe headers as
5688         interface headers, not private headers.
5689         (Specific advice for GNU/Linux systems): Describe use of headers
5690         from "make headers_install", not private headers from older
5691         kernels.
5692         * INSTALL: Regenerated.
5693         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5694         Change to 2.6.19.
5695         * sysdeps/unix/sysv/linux/configure: Regenerated.
5697         * manual/llio.texi (fclean): Remove documentation.
5699         * manual/Makefile (libc-texi-generated): New variable.  Include
5700         version.texi.
5701         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5702         $(libc-texi-generated), not duplicated list of files.
5703         (version.texi, stamp-version): New rules.
5704         (realclean): Remove $(libc-texi-generated), not individual files
5705         from that list.  Do not remove dir-add.texinfo.
5706         * manual/libc.texinfo: Comment out uses of edition numbers and
5707         references to printed manual.  Remove last-updated dates.
5708         (EDITION): Comment out.
5709         (ISBN): Likewise.
5710         (VERSION, UPDATED): Remove.
5711         (version.texi): Include.
5713 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
5715         * sysdeps/posix/spawni.c: Include <signal.h>.
5716         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5717         * sysdeps/pthread/aio_fsync.c: Likewise.
5719 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
5721         * conform/Makefile (tests): Run only when not cross-compiling and
5722         when fast-check is not defined.
5724         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5725         * conform/data/limits.h-data: Fixes for POSIX2008.
5726         * conform/run-conformtest.sh: Run all tests.
5727         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5728         headers.
5729         * include/bits/dlfcn.h: Likewise.
5730         * include/langinfo.h: Likewise.
5731         * include/monetary.h: Likewise.
5732         * include/sys/poll.h: Likewise.
5734         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5735         for __USE_GNU.
5736         * posix/spawn.h: Define __need_sigset_t.
5737         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5738         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5739         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
5740         to get sigevent_t only.
5741         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5742         only for __USE_GNU.
5743         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5744         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5745         process_vm_writev only for __USE_GNU.
5746         * termios/termios.h: Declare tcgetsid also for POSIX2008.
5748         * conform/Makefile: For now ignore errors from run-conformtest.
5749         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
5750         POSIX to avoid namespace pollution.  Don't prepend headers.
5751         * conform/data/aio.h-data: Fixes for POSIX testing.
5752         * conform/data/fcntl.h-data: Likewise.
5753         * conform/data/glob.h-data: Likewise.
5754         * conform/data/grp.h-data: Likewise.
5755         * conform/data/pthread.h-data: Likewise.
5756         * conform/data/pwd.h-data: Likewise.
5757         * conform/data/signal.h-data: Likewise.
5758         * conform/data/spawn.h-data: Likewise.
5759         * conform/data/stdio.h-data: Likewise.
5760         * conform/data/stdlib.h-data: Likewise.
5761         * conform/data/stropts.h-data: Likewise.
5762         * conform/data/sys/mman.h-data: Likewise.
5763         * conform/data/sys/stat.h-data: Likewise.
5764         * conform/data/sys/types.h-data: Likewise.
5765         * conform/data/sys/wait.h-data: Likewise.
5766         * conform/data/time.h-data: Likewise.
5767         * conform/data/unistd.h-data: Likewise.
5768         * conform/data/utime.h-data: Likewise.
5770         * io/sys/stat.h: fchmod was always in POSIX.
5771         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5772         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5773         * rt/aio.h: Define __need_timespec before including <time.h>.
5774         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5775         struct.  Add forward declaration of pthread_attr_t and use it in
5776         sigevent.
5777         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5778         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5779         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5780         always remove CLK_TCK definition.
5782 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
5784         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5786 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
5788         * conform/run-conformtest.sh: New file.
5789         * conform/Makefile: Run run-conformtest for tests.
5790         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
5791         support.
5793         * conform/data/uchar.h-data: New file.
5794         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5795         * conform/data/arpa/inet.h-data: Likewise.
5796         * conform/data/assert.h-data: Likewise.
5797         * conform/data/complex.h-data: Likewise.
5798         * conform/data/cpio.h-data: Likewise.
5799         * conform/data/ctype.h-data: Likewise.
5800         * conform/data/dirent.h-data: Likewise.
5801         * conform/data/dlfcn.h-data: Likewise.
5802         * conform/data/errno.h-data: Likewise.
5803         * conform/data/fcntl.h-data: Likewise.
5804         * conform/data/float.h-data: Likewise.
5805         * conform/data/fmtmsg.h-data: Likewise.
5806         * conform/data/fnmatch.h-data: Likewise.
5807         * conform/data/ftw.h-data: Likewise.
5808         * conform/data/glob.h-data: Likewise.
5809         * conform/data/grp.h-data: Likewise.
5810         * conform/data/iconv.h-data: Likewise.
5811         * conform/data/inttypes.h-data: Likewise.
5812         * conform/data/langinfo.h-data: Likewise.
5813         * conform/data/libgen.h-data: Likewise.
5814         * conform/data/limits.h-data: Likewise.
5815         * conform/data/locale.h-data: Likewise.
5816         * conform/data/math.h-data: Likewise.
5817         * conform/data/monetary.h-data: Likewise.
5818         * conform/data/mqueue.h-data: Likewise.
5819         * conform/data/ndbm.h-data: Likewise.
5820         * conform/data/net/if.h-data: Likewise.
5821         * conform/data/netdb.h-data: Likewise.
5822         * conform/data/netinet/in.h-data: Likewise.
5823         * conform/data/nl_types.h-data: Likewise.
5824         * conform/data/poll.h-data: Likewise.
5825         * conform/data/pthread.h-data: Likewise.
5826         * conform/data/pwd.h-data: Likewise.
5827         * conform/data/regex.h-data: Likewise.
5828         * conform/data/sched.h-data: Likewise.
5829         * conform/data/search.h-data: Likewise.
5830         * conform/data/semaphore.h-data: Likewise.
5831         * conform/data/setjmp.h-data: Likewise.
5832         * conform/data/signal.h-data: Likewise.
5833         * conform/data/spawn.h-data: Likewise.
5834         * conform/data/stdarg.h-data: Likewise.
5835         * conform/data/stdio.h-data: Likewise.
5836         * conform/data/stdlib.h-data: Likewise.
5837         * conform/data/string.h-data: Likewise.
5838         * conform/data/strings.h-data: Likewise.
5839         * conform/data/stropts.h-data: Likewise.
5840         * conform/data/sys/ipc.h-data: Likewise.
5841         * conform/data/sys/mman.h-data: Likewise.
5842         * conform/data/sys/msg.h-data: Likewise.
5843         * conform/data/sys/resource.h-data: Likewise.
5844         * conform/data/sys/select.h-data: Likewise.
5845         * conform/data/sys/sem.h-data: Likewise.
5846         * conform/data/sys/shm.h-data: Likewise.
5847         * conform/data/sys/socket.h-data: Likewise.
5848         * conform/data/sys/stat.h-data: Likewise.
5849         * conform/data/sys/statvfs.h-data: Likewise.
5850         * conform/data/sys/time.h-data: Likewise.
5851         * conform/data/sys/timeb.h-data: Likewise.
5852         * conform/data/sys/times.h-data: Likewise.
5853         * conform/data/sys/types.h-data: Likewise.
5854         * conform/data/sys/uio.h-data: Likewise.
5855         * conform/data/sys/un.h-data: Likewise.
5856         * conform/data/sys/utsname.h-data: Likewise.
5857         * conform/data/sys/wait.h-data: Likewise.
5858         * conform/data/syslog.h-data: Likewise.
5859         * conform/data/tar.h-data: Likewise.
5860         * conform/data/termios.h-data: Likewise.
5861         * conform/data/utime.h-data: Likewise.
5862         * conform/data/utmpx.h-data: Likewise.
5863         * conform/data/varargs.h-data: Likewise.
5864         * conform/data/wchar.h-data: Likewise.
5865         * conform/data/wctype.h-data: Likewise.
5866         * conform/data/wordexp.h-data: Likewise.
5868         * include/stropts.h: New file.
5869         * include/uchar.h: New file.
5870         * include/aio.h: Changes to allow conformtest.pl to use the headers.
5871         * include/assert.h: Likewise.
5872         * include/ctype.h: Likewise.
5873         * include/dirent.h: Likewise.
5874         * include/dlfcn.h: Likewise.
5875         * include/fcntl.h: Likewise.
5876         * include/fnmatch.h: Likewise.
5877         * include/glob.h: Likewise.
5878         * include/grp.h: Likewise.
5879         * include/libio.h: Likewise.
5880         * include/locale.h: Likewise.
5881         * include/math.h: Likewise.
5882         * include/net/if.h: Likewise.
5883         * include/netdb.h: Likewise.
5884         * include/netinet/in.h: Likewise.
5885         * include/pthread.h: Likewise.
5886         * include/pwd.h: Likewise.
5887         * include/regex.h: Likewise.
5888         * include/sched.h: Likewise.
5889         * include/search.h: Likewise.
5890         * include/setjmp.h: Likewise.
5891         * include/signal.h: Likewise.
5892         * include/stdio.h: Likewise.
5893         * include/stdlib.h: Likewise.
5894         * include/string.h: Likewise.
5895         * include/sys/cdefs.h: Likewise.
5896         * include/sys/mman.h: Likewise.
5897         * include/sys/msg.h: Likewise.
5898         * include/sys/resource.h: Likewise.
5899         * include/sys/select.h: Likewise.
5900         * include/sys/socket.h: Likewise.
5901         * include/sys/stat.h: Likewise.
5902         * include/sys/statvfs.h: Likewise.
5903         * include/sys/time.h: Likewise.
5904         * include/sys/times.h: Likewise.
5905         * include/sys/uio.h: Likewise.
5906         * include/sys/utsname.h: Likewise.
5907         * include/sys/wait.h: Likewise.
5908         * include/termios.h: Likewise.
5909         * include/time.h: Likewise.
5910         * include/ulimit.h: Likewise.
5911         * include/unistd.h: Likewise.
5912         * include/utime.h: Likewise.
5913         * include/wchar.h: Likewise.
5914         * include/wctype.h: Likewise.
5915         * include/wordexp.h: Likewise.
5917         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5919         * time/time.h: TIME_UTC must be a macro.
5920         Make timespec_get available for ISO C11 only as well.
5922 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
5924         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5925         Reported by Peng Haitao <penght@cn.fujitsu.com>.
5927 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
5929         * configure.in: Use -o not -a in test for unsupported multi-arch.
5931 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
5933         * manual/texinfo.tex: Update to version 2012-01-19.16.
5935 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
5937         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5939 2012-02-24  Roland McGrath  <roland@hack.frob.com>
5941         [BZ #13738]
5942         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5943         * manual/fdl-1.3.texi: New file.
5944         * manual/fdl-1.1.texi: File removed.
5946         [BZ #13738]
5947         * manual/libc.texinfo (FDL_VERSION): New @set.
5948         Use it for mention of FDL in cover text.
5949         (Documentation License): Use it in @include file name.
5951 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5952             Roland McGrath  <roland@hack.frob.com>
5954         [BZ #5461]
5955         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5956         not LONG_LONG_MAX and LONG_LONG_MIN.
5957         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5958         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
5959         name.
5960         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5962 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5964         [BZ #2547]
5965         [BZ #11365]
5966         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5967         manipulate bits before adding and subtracting TWO23[sx].
5968         * math/libm-test.inc (nearbyint_test): Add more tests.
5970 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5972         [BZ #2548]
5973         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5974         bits before adding and subtracting TWO23[sx].
5975         * math/libm-test.inc (rint_test): Add more tests.
5976         (rint_test_tonearest): Likewise.
5977         (rint_test_towardzero): Likewise.
5978         (rint_test_downward): Likewise.
5979         (rint_test_upward: Likewise.
5981 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5983         [BZ #10110]
5984         * include/stdc-predef.h: New file.  Extracted from features.h.
5985         * include/features.h: Include stdc-predef.h.
5986         * Makefile (headers): Add stdc-predef.h.
5987         * CONFORMANCE (Compiler limitations): Update.
5989 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
5991         * manual/libc.texinfo (VERSION, UPDATED): Revert.
5993 2012-02-21  David S. Miller  <davem@davemloft.net>
5995         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5996         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5998 2012-02-20  David S. Miller  <davem@davemloft.net>
6000         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6001         using a normal save/restore sequence, rather than allocating a
6002         dummy stack frame just to store a frame pointer and restore.
6003         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6005 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
6007         * manual/install.texi: Fix stray word in line-wrapped comment.
6009 2012-02-20  David S. Miller  <davem@davemloft.net>
6011         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6012         both binutils and gcc support GOTDATA.
6014         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6015         "rd %pc" in the PIC register setup sequences.
6017         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6018         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6019         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6020         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6021         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6022         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6023         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6024         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6025         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6026         (SYSCALL_ERROR_HANDLER): Likewise.
6027         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6028         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6029         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6030         (SYSCALL_ERROR_HANDLER): Likewise.
6032         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6033         (HAVE_GCC_GOTDATA): New.
6034         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6035         relocation support in both binutils and gcc.
6036         * sysdeps/sparc/elf/configure: Regenerate.
6038         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6039         * sysdeps/sparc/sparc32/elf/configure: Delete.
6040         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6041         * sysdeps/sparc/sparc64/elf/configure: Delete.
6042         * sysdeps/sparc/elf/configure.in: New file.
6043         * sysdeps/sparc/elf/configure: Generate.
6045         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6046         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6047         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6048         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6049         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6051 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
6053         * manual/install.texi: Do not mention specific glibc version
6054         numbers.
6055         * manual/libc.texinfo (VERSION, UPDATED): Update.
6056         (@copying): Use @copyright{} and range of years.
6058 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
6060         [BZ #13695]
6061         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6062         [crti.S not in sysdirs] (generated): Do not append.
6063         [crti.S not in sysdirs] (omit-deps): Likewise.
6064         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6065         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6066         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6067         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6068         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6069         Likewise.
6070         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6071         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6072         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6073         * csu/defs.awk: Remove file.
6074         * sysdeps/generic/initfini.c: Likewise.
6075         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6076         variable.
6077         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6078         Likewise.
6080 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
6082         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6083         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6084         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6085         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6086         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6087         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6088         <bits/epoll.h>.
6089         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6090         (__EPOLL_PACKED): Define to empty if not defined by
6091         <bits/epoll.h>.
6092         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6093         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6094         bits/epoll.h.
6096 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
6098         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6099         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6100         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6101         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6102         <bits/timerfd.h>.
6103         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6104         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6105         bits/timerfd.h.
6107 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
6109         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6110         in C locale.
6111         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6112         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6113         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6116 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
6118         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6119         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6121 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
6123         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6124         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6125         defined.
6126         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6127         Likewise.
6128         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6129         entry for 2.16.
6131 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
6133         * math/w_acos.c: Use non-signaling floating-point comparisons.
6134         * math/w_acosf.c: Likewise.
6135         * math/w_acosh.c: Likewise.
6136         * math/w_acoshf.c: Likewise.
6137         * math/w_acoshl.c: Likewise.
6138         * math/w_acosl.c: Likewise.
6139         * math/w_asin.c: Likewise.
6140         * math/w_asinf.c: Likewise.
6141         * math/w_asinl.c: Likewise.
6142         * math/w_atanh.c: Likewise.
6143         * math/w_atanhf.c: Likewise.
6144         * math/w_atanhl.c: Likewise.
6145         * math/w_exp2.c: Likewise.
6146         * math/w_exp2f.c: Likewise.
6147         * math/w_exp2l.c: Likewise.
6148         * math/w_j0.c: Likewise.
6149         * math/w_j0f.c: Likewise.
6150         * math/w_j0l.c: Likewise.
6151         * math/w_j1.c: Likewise.
6152         * math/w_j1f.c: Likewise.
6153         * math/w_j1l.c: Likewise.
6154         * math/w_jn.c: Likewise.
6155         * math/w_jnf.c: Likewise.
6156         * math/w_log.c: Likewise.
6157         * math/w_log10.c: Likewise.
6158         * math/w_log10f.c: Likewise.
6159         * math/w_log10l.c: Likewise.
6160         * math/w_log2.c: Likewise.
6161         * math/w_log2f.c: Likewise.
6162         * math/w_log2l.c: Likewise.
6163         * math/w_logf.c: Likewise.
6164         * math/w_logl.c: Likewise.
6165         * math/w_sqrt.c: Likewise.
6166         * math/w_sqrtf.c: Likewise.
6167         * math/w_sqrtl.c: Likewise.
6168         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6169         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6170         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6171         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6172         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6174 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
6176         [BZ #9739]
6177         * manual/string.texi (strnlen): Use correct parameter name in
6178         equivalent expression.
6180 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
6182         [BZ #11174]
6183         * manual/users.texi (seteuid): Consistently use neweuid for
6184         argument name.
6186 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
6188         [BZ #13704]
6189         * manual/nss.texi (Services in the NSS configuration): Correct
6190         list of services in example configuration file.
6192 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
6194         [BZ #11322]
6195         * manual/arith.texi: Remove statements about negative zero
6196         behaving identically to zero.
6198 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
6200         [BZ #5993]
6201         * manual/install.texi: Do not document upgrading from libc5.
6203 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
6205         [BZ #4596]
6206         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6208 2012-02-18  David S. Miller  <davem@davemloft.net>
6210         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6211         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6212         %o7 across the call.
6213         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6214         instead.
6215         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6216         SETUP_PIC_REG_LEAF.
6217         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6218         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6219         * sysdeps/sparc/crtn.S: Likewise.
6221 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
6223         * aout/Makefile: Remove.
6225 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
6227         [BZ #13058]
6228         * manual/examples/argp-ex1.c (main): Format definition in GNU
6229         style.
6230         * manual/examples/argp-ex2.c (main): Likewise.
6231         * manual/examples/argp-ex3.c (main): Likewise.
6232         * manual/examples/argp-ex4.c (main): Likewise.
6233         * manual/examples/longopt.c (main): Use new-style prototype
6234         definition.
6235         * manual/examples/strncat.c (main): Specify return type and use
6236         (void) for arguments.
6237         * manual/examples/subopt.c (main): Use char **argv argument.
6239 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
6241         [BZ #5077]
6242         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6243         rounding modes.
6245 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
6247         [BZ #6907]
6248         * manual/string.texi (strchr): Change when strchrnul is
6249         recommended.
6251 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
6253         [BZ #174]
6254         * manual/locale.texi (setlocale): Document LOCPATH.
6256 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
6258         [BZ #10210]
6259         * manual/process.texi (execle): Move @dots{} before last argument.
6261 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
6263         [BZ #12047]
6264         * manual/charset.texi (Generic Charset Conversion): Fix typo
6265         (LC_TYPE -> LC_CTYPE).
6267 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
6269         [BZ #5805]
6270         * manual/arith.texi (scalbn): Use @var{} on parameter names.
6271         (scalbnf): Likewise.
6272         (scalbnl): Likewise.
6273         (scalbln): Likewise.
6274         (scalblnf): Likewise.
6275         (scalblnl): Likewise.
6276         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6277         (vwarnx): Likewise.
6278         (verr): Likewise.
6279         (verrx): Likewise.
6280         * manual/filesys.texi (telldir): Use braces around return type.
6281         * manual/llio.texi (mmap): Add space after comma.
6282         (mmap64): Likewise.
6283         * manual/math.texi (jn): Use @var{} on parameter names.
6284         (jnf): Likewise.
6285         (jnl): Likewise.
6286         (yn): Likewise.
6287         (ynf): Likewise.
6288         (ynl): Likewise.
6289         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6290         line.
6291         * manual/resource.texi (ulimit): Use @dots{} instead of literal
6292         "...".
6293         (sched_get_priority_min): Remove semicolon on @deftypefun line.
6294         (sched_get_priority_max): Likewise.
6295         * manual/signal.texi (sigvec): Add space after comma.
6296         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6297         names.
6298         (if_indextoname): Likewise.
6299         (if_freenameindex): Likewise.
6300         (sendto): Use ',' instead of '.' in prototype.
6301         * manual/startup.texi (syscall): Use @dots{} instead of literal
6302         "...".
6303         * manual/stdio.texi (__fpending): Separate initial words of
6304         paragraph from @deftypefun line.
6305         * manual/syslog.texi (syslog): Use @dots{} instead of literal
6306         "...".
6307         (vsyslog): Use @var{} on parameter names.
6308         * manual/terminal.texi (stty): Use @var{} on parameter names.
6309         * manual/users.texi (getutmp): Use @var{} on parameter names.
6310         (getutmpx): Likewise.
6312 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
6314         [BZ #6884]
6315         * manual/stdio.texi (fopen): Fix typos in description of
6316         ",ccs=STRING".
6318 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
6320         [BZ #4026]
6321         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6322         get clock_id definition.
6324 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
6326         [BZ #4822]
6327         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6328         (madvise): Cast every argument to void on its own.
6330 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
6332         [BZ #9902]
6333         * manual/startup.texi (Exit Status): Fix typo.
6335 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
6337         [BZ #10140]
6338         * manual/examples/argp-ex1.c: Include <stdlib.h>.
6339         * manual/examples/argp-ex2.c: Likewise.
6340         * manual/examples/argp-ex3.c: Likewise.
6342 2012-02-16  Richard Henderson  <rth@redhat.com>
6344         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6345         * sysdeps/s390/s390-32/initfini.c: Remove.
6346         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6347         * sysdeps/s390/s390-64/initfini.c: Remove.
6349 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6351         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6352         compiler output for sysdeps/generic/initfini.c.
6353         * sysdeps/sh/elf/initfini.c: Remove file.
6355 2012-02-16  David S. Miller  <davem@davemloft.net>
6357         [BZ #11494]
6358         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6360         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6361         * sysdeps/sparc/crti.S: New file.
6362         * sysdeps/sparc/crtn.S: New file.
6363         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6364         * sysdeps/sparc/sparc64/Makefile: Likewise.
6366 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
6368         [BZ #3335]
6369         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6371 2012-02-15  Roland McGrath  <roland@hack.frob.com>
6373         [BZ #4822]
6374         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6376         * mach/devstream.c (cookie_io_functions_t): Macro removed.
6377         (write, read, close): Likewise.
6378         Patch by Aurelien Jarno <aurelien@aurel32.net>.
6380 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
6382         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6383         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6384         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6385         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6386         <bits/signalfd.h>.
6387         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6388         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6389         bits/signalfd.h.
6391 2012-02-14  Marek Polacek  <polacek@redhat.com>
6393         * sysdeps/x86_64/crti.S: New file.
6394         * sysdeps/x86_64/crtn.S: New file.
6395         * sysdeps/x86_64/elf/initfini.c: Remove file.
6397 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
6399         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6400         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6401         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6402         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6403         <bits/inotify.h>.
6404         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6405         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6406         bits/inotify.h.
6408 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
6410         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6411         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6412         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6413         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6414         <bits/eventfd.h>.
6415         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6416         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6417         bits/eventfd.h.
6419 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
6421         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6422         __feraiseexcept instead of feraiseexcept.
6424         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6425         nanosleep invocations.
6426         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6427         strings, and add error checking for a nanosleep invocations.
6429 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
6431         Replace FSF snail mail address with URLs, as per GNU coding standards.
6432         Most of the snail mail addresses were wrong anyway, and omitting
6433         them makes the source code easier to maintain.  Almost all of the
6434         changes are to license notices and to locale LC_IDENTIFICATION
6435         addresses, except for this one:
6436         * manual/libc.texinfo: In "Published by", give the FSF's URL,
6437         not its snail mail address.
6439 2012-02-09  Richard Henderson  <rth@twiddle.net>
6441         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6442         of kernel-features.h.
6444         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6446 2012-02-08  Marek Polacek  <polacek@redhat.com>
6448         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6449         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6450         * sysdeps/gnu/_G_config.h: Likewise.
6451         * sysdeps/generic/_G_config.h: Likewise.
6453 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
6455         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6456         tests.
6457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6459         * sysdeps/powerpc/powerpc32/crti.S: New file.
6460         * sysdeps/powerpc/powerpc32/crtn.S: New file.
6461         * sysdeps/powerpc/powerpc64/crti.S: New file.
6462         * sysdeps/powerpc/powerpc64/crtn.S: New file.
6464         * Makeconfig (have-initfini): Don't set.
6465         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6466         * configure.in (nopic_initfini): Don't substitute.
6467         * config.h.in (HAVE_INITFINI): Don't #undef.
6468         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6469         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6471 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
6473         Support crti.S and crtn.S provided directly by architectures.
6474         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6475         [crti.S in sysdirs] (omit-deps): Likewise.
6476         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6477         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6478         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6479         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6480         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6481         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6482         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6483         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6484         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6485         compiler output for sysdeps/generic/initfini.c.
6486         * sysdeps/i386/elf/Makefile: Remove file.
6487         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6489 2012-02-07  Marek Polacek  <polacek@redhat.com>
6491         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6492         * sysdeps/gnu/_G_config.h: Likewise.
6493         * sysdeps/mach/hurd/_G_config.h: Likewise.
6495 2012-02-07  Marek Polacek  <polacek@redhat.com>
6497         * math/Makefile (tests): Add tst-CMPLX2.
6498         * math/tst-CMPLX2.c: New file.
6500 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
6502         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6504         * math/libm-test.inc (jn_test): Add missing L suffix.
6506 2012-02-06  Marek Polacek  <polacek@redhat.com>
6508         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6509         * sysdeps/i386/fpu/e_powf.S: Likewise.
6510         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6511         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6512         * sysdeps/i386/fpu/e_acosh.S: Likewise.
6513         * sysdeps/i386/fpu/e_pow.S: Likewise.
6514         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6515         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6516         * sysdeps/i386/fpu/s_expm1.S: Likewise.
6517         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6518         * sysdeps/i386/fpu/e_log2.S: Likewise.
6519         * sysdeps/i386/fpu/e_log2l.S: Likewise.
6520         * sysdeps/i386/fpu/e_scalb.S: Likewise.
6521         * sysdeps/i386/fpu/e_powl.S: Likewise.
6522         * sysdeps/i386/fpu/s_log1p.S: Likewise.
6523         * sysdeps/i386/fpu/e_log10f.S: Likewise.
6524         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6525         * sysdeps/i386/fpu/e_logl.S: Likewise.
6526         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6527         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6528         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6529         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6530         * sysdeps/i386/fpu/e_log2f.S: Likewise.
6531         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6532         * sysdeps/i386/fpu/e_log.S: Likewise.
6533         * sysdeps/i386/fpu/s_cexp.S: Likewise.
6534         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6535         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6536         * sysdeps/i386/fpu/e_logf.S: Likewise.
6537         * sysdeps/i386/fpu/e_log10l.S: Likewise.
6538         * sysdeps/i386/fpu/e_atanh.S: Likewise.
6539         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6540         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6541         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6542         * sysdeps/i386/fpu/e_log10.S: Likewise.
6543         * sysdeps/i386/fpu/s_frexp.S: Likewise.
6544         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6545         * sysdeps/i386/fpu/s_asinh.S: Likewise.
6546         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6547         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6548         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6549         * sysdeps/i386/asm-syntax.h: Likewise.
6550         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6551         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6552         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6553         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6554         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6555         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6556         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6557         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6558         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6559         * sysdeps/powerpc/sysdep.h: Likewise.
6560         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6561         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6563 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
6565         [BZ #411]
6566         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6568 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
6570         * sysdeps/i386/sysdep.h: Include <features.h>.
6571         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6572         version.
6574 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
6576         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6577         Define.
6578         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6579         LOAD_PIC_REG_STR.
6581 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
6583         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6584         (SETUP_PIC_REG): Use GET_PC_THUNK.
6585         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6586         macro.
6588 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
6590         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6591         for non-PIC compilation.
6592         (SETUP_PIC_REG): Add .p2align directive.
6593         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6594         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6595         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6596         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6597         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6598         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6599         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6600         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6601         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6602         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6603         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6604         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6605         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6606         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6607         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6608         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6609         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6610         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6611         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6612         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6613         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6614         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6615         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6616         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6617         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6618         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6619         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6620         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6621         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6622         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6623         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6624         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6625         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6626         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6627         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6628         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6629         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6630         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6631         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6632         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6633         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6635 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
6637         * math/tst-CMPLX.c: Include <stdio.h>.
6639 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
6641         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6642         float.
6643         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6644         * sysdeps/sparc/bits/mathdef.h: Likewise.
6646 2012-01-31  Marek Polacek  <polacek@redhat.com>
6648         * libio/libio.h: Don't define _PARAMS.
6649         * locale/programs/config.h: Don't define PARAMS.
6650         * stdlib/strtol_l.c: Likewise.
6651         (__strtol_l): Remove PARAMS from the prototype.
6653 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
6655         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
6656         names.  Just use the correct names.  Remove unnecessary wrapper
6657         functions.
6658         * malloc/arena.c: Likewise.
6659         * malloc/hooks.c: Likewise.
6661         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6662         ARENA_TEST says not to.  Simplify test for creation of a new arena.
6663         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6665 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
6667         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6668         into tail calls.
6669         (update_get_addr): New function.
6670         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6671         GET_ADDR_MODULE parameter.
6673 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
6675         * crypt/cert.c: Remove __STDC__ conditionals.
6676         * crypt/crypt-entry.c: Likewise.
6677         * crypt/crypt_util.c: Likewise.
6678         * libio/filedoalloc.c: Likewise.
6679         * libio/fileops.c: Likewise.
6680         * libio/genops.c: Likewise.
6681         * libio/iofclose.c: Likewise.
6682         * libio/iofdopen.c: Likewise.
6683         * libio/iofopen.c: Likewise.
6684         * libio/iofopen64.c: Likewise.
6685         * libio/iogetdelim.c: Likewise.
6686         * libio/iopopen.c: Likewise.
6687         * libio/obprintf.c: Likewise.
6688         * libio/oldfileops.c: Likewise.
6689         * libio/oldiofclose.c: Likewise.
6690         * libio/oldiofdopen.c: Likewise.
6691         * libio/oldiofopen.c: Likewise.
6692         * libio/oldiopopen.c: Likewise.
6693         * libio/wfiledoalloc.c: Likewise.
6694         * libio/wgenops.c: Likewise.
6695         * locale/programs/xmalloc.c: Likewise.
6696         * misc/syslog.c: Likewise.
6697         * stdio-common/xbug.c: Likewise.
6698         * string/memchr.c: Likewise.
6699         * string/memcmp.c: Likewise.
6700         * string/memrchr.c: Likewise.
6701         * string/rawmemchr.c: Likewise.
6702         * sysdeps/posix/getcwd.c: Likewise.
6703         * time/strftime_l.c: Likewise.
6705 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
6707         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
6708         * config.make.in (config-cflags-sse2avx): Define.
6709         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6710         Fix typo.
6712 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
6714         * scripts/config.guess: Update from upstream config git repository.
6715         * scripts/config.sub: Likewise.
6717 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
6719         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6720         (EM_NUM): Update.
6721         (R_TILEPRO_*, R_TILEGX_*): New macros.
6723         * scripts/firstversions.awk: Fix bug in version range handling.
6725         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6727         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6729         * include/sys/epoll.h: New file.
6730         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6731         libc_hidden_def.
6733 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
6735         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6736         Avoid unnecessary __WORDSIZE == 64 test.
6737         (fmaxf): Use VEX format if possible.
6738         (fmax): Likewise.
6739         (fminf): Likewise.
6740         (fmin): Likewise.
6742         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6743         * math/math_private.h: Remove libc_fegetround* and
6744         libc_fesetround*.
6745         * sysdeps/i386/configure.in: Check for -msse2avx.
6746         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6747         also if SSE2AVX is defined.
6748         Remove libc_fegetround* and libc_fesetround*.
6749         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6750         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
6751         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6752         of HAS_YMM_USABLE.
6753         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6754         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6755         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6756         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6757         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6759         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6761 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6763         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6764         size is not set.
6765         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6767 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
6769         [BZ #13618]
6770         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6771         relocation.
6772         * Makeconfig (libm): Define.
6773         * elf/Makefile: Add rules to build and run tst-relsort1.
6774         * elf/tst-relsort1.c: New file.
6775         * elf/tst-relsort1mod1.c: New file.
6776         * elf/tst-relsort1mod2.c: New file.
6778 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
6780         * math/s_ldexp.c: Remove __STDC__ conditionals.
6781         * math/s_ldexpf.c: Likewise.
6782         * math/s_ldexpl.c: Likewise.
6783         * math/s_nextafter.c: Likewise.
6784         * math/s_nexttowardf.c: Likewise.
6785         * math/s_significand.c: Likewise.
6786         * math/s_significandf.c: Likewise.
6787         * math/s_significandl.c: Likewise.
6788         * math/w_jnl.c: Likewise.
6789         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6790         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6791         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6792         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6793         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6794         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6795         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6796         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6797         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6798         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6799         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6800         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6801         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6802         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6803         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6804         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6805         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6806         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6807         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6808         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6809         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6810         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6811         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6812         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6813         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6814         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6815         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6816         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6817         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6818         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6819         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6820         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6821         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6822         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6823         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6824         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6825         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6826         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6827         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6828         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6829         * sysdeps/ieee754/k_standard.c: Likewise.
6830         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6831         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6832         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6833         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6834         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6835         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6836         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6837         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6838         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6839         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6840         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6841         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6842         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6843         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6844         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6845         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6846         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6847         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6848         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6849         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6850         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6851         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6852         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6853         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6854         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6855         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6856         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6857         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6858         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6859         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6860         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6861         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6862         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6863         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6864         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6865         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6866         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6867         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6868         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6869         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6870         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6871         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6872         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6873         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6874         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6875         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6876         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6877         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6878         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6879         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6880         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6881         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6882         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6883         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6884         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6885         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6886         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6887         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6888         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6889         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6890         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6891         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6892         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6893         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6894         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6895         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6896         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6897         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6898         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6899         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6900         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6901         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6902         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6903         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6904         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6905         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6906         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6907         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6908         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6909         * sysdeps/ieee754/s_matherr.c: Likewise.
6910         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6911         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6912         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6913         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6915 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
6917         * crypt/md5.h: Remove __STDC__ conditionals.
6918         * libio/libioP.h: Likewise.
6919         * locale/programs/config.h: Likewise.
6920         * sysdeps/generic/sysdep.h: Likewise.
6921         * sysdeps/i386/asm-syntax.h: Likewise.
6922         * sysdeps/s390/asm-syntax.h: Likewise.
6923         * sysdeps/unix/sysdep.h: Likewise.
6924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6927 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
6929         * libio/libio.h: Remove __STDC__ conditionals.
6930         * malloc/obstack.h: Likewise.
6931         * math/complex.h: Likewise.
6932         * math/math.h: Likewise.
6933         * sysdeps/generic/_G_config.h: Likewise.
6934         * sysdeps/gnu/_G_config.h: Likewise.
6935         * sysdeps/mach/hurd/_G_config.h: Likewise.
6936         * sysdeps/powerpc/bits/mathdef.h: Likewise.
6937         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6938         * sysdeps/sparc/bits/mathdef.h: Likewise.
6940 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
6942         [BZ #13583]
6943         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6944         Clean up HAS_* macros.
6945         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6946         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6947         possible.
6948         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6949         HAS_AVX.
6950         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6951         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6952         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6953         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6954         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6956 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
6958         * elf/tst-unique3.cc (gets): Remove declaration.
6959         * elf/tst-unique3lib.cc (gets): Likewise.
6960         * elf/tst-unique3lib2.cc (gets): Likewise.
6961         * elf/tst-unique4.cc (gets): Likewise.
6963 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
6965         * include/stdio.h: Add C++ protection.  Add gets declarations and
6966         definitions.
6967         * debug/tst-chk1.c: Don't declare gets here.
6968         * stdio-common/tst-gets.c: Likewise.
6970 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
6972         * posix/glob: Remove directory.
6974 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
6976         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6978 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
6980         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6981         of the non-standard EPFNOSUPPORT.
6983 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6985         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6986         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6987         ANYWHERE set to 1 only on KERN_NO_SPACE error.
6989 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
6991         * wcsmbs/uchar.h: Test __STDC_VERSION__.
6993 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
6995         * nscd/aicache.c (addhstaiX): Do not cache negative results of
6996         transient errors.
6997         * nscd/grpcache.c (cache_addgr): Likewise.
6998         * nscd/hstcache.c (cache_addhst): Likewise.
6999         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7000         * nscd/pwdcache.c (cache_addpw): Likewise.
7001         * nscd/servicescache.c (cache_addserv): Likewise.
7003 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
7005         * malloc/malloc.c: Various cleanups.
7006         * malloc/hooks.c: Likewise.
7008         * stdlib/Makefile (tests): Add bug-fmtmsg1.
7009         * stdlib/bug-fmtmsg1.c: New file.
7011         * stdlib/fmtmsg.c (init): Add missing unlock.
7012         Patch by Peng Haitao <penght@cn.fujitsu.com>.
7014 2012-01-12  Marek Polacek  <polacek@redhat.com>
7016         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7017         and _GNU_SOURCE.
7019 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
7021         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7022         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7023         macro to ensure uniqueness of label name.
7024         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7025         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7027 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
7029         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7031         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7032         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7033         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7034         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7036 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
7038         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7040         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7041         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7042         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7044         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7046         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
7047         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7048         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7049         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
7051         * math/bits/math-finite.h: Add ldexp support.
7053 2012-01-10  Marek Polacek  <polacek@redhat.com>
7055         * locale/programs/localedef.h (show_archive_content): Add noreturn
7056         attribute.
7058 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
7060         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7062 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
7064         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7066         * io/Makefile (headers): Add bits/poll2.h.
7068 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
7070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7071         typo #include statement.
7073 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
7075         * include/sys/cdefs.h: Define __attribute_alloc_size.
7076         * catgets/gencat.c: Add alloc_size attribute and apply consistently
7077         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7078         * elf/pldd.c: Likewise.
7079         * iconv/iconv_charmap.c: Likewise.
7080         * iconv/iconvconfig.c: Likewise.
7081         * iconv/strtab.c: Likewise.
7082         * locale/programs/locale.c: Likewise.
7083         * locale/programs/localedef.h: Likewise.
7084         * locale/programs/simple-hash.c: Likewise.
7085         * nscd/nscd.h: Likewise.
7086         * nss/makedb.c: Likewise.
7087         * sysdeps/generic/ldconfig.h: Likewise.
7088         * locale/programs/localedef.c: Remove xmalloc prototype.
7089         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7091 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7093         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7094         appropriate.
7096 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
7098         * math/Makefile (tests): Add tst-CMPLX.
7099         * math/tst-CMPLX.c: New file.
7101         * math/complex.h (CMPLXL): Fix typo.
7103         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7104         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7105         GLIBC_2.16.
7106         * debug/tst-chk1.c: Add poll and ppoll tests.
7107         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7108         * include/sys/poll.h: Add hidden proto for ppoll.
7109         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7110         * sysdeps/mach/hurd/ppoll.c: Likewise.
7111         * io/ppoll.c: Likewise.
7112         * debug/poll_chk.c: New file.
7113         * debug/ppoll_chk.c: New file.
7114         * include/bits/poll2.h: New file.
7115         * io/bits/poll2.h: New file.
7117         [BZ #1350]
7118         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7120         * configure.in: static is always set to yes.  Remove.
7121         * config.make.in: Don't set build-static.
7122         * Makeconfig: Remove use of build-static.
7123         * dlfcn/Makefile: Likewise.
7124         * elf/Makefile: Likewise.
7125         * math/Makefile: Likewise.
7126         * misc/Makefile: Likewise.
7127         * nptl/Makefile: Likewise.
7128         * sysdeps/mach/hurd/Makefile: Likewise.
7130         * configure.in: PWD_P is not used anymore.
7131         * config.make.in: Remove PWD_P entry.
7133         * configure.in: Remove last remnants of RANLIB.
7134         No need to check for signed size_t anymore.
7135         Don't set libc_commonpagesize and libc_relro_required here for Alpha
7136         and IA-64.
7137         Remove __builtin_expect test because we require at least gcc 3.4.
7138         * aclocal.m4: Likewise.
7140         * wcsmbs/mbrtoc16.c: Implement using towc function.
7141         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7142         * wcsmbs/wcsmbsload.c: Likewise.
7143         * iconv/gconv_simple.c: Likewise.
7144         * iconv/gconv_int.h: Likewise.
7145         * iconv/gconv_builtin.h: Likewise.
7146         * iconv/iconv_prog.c: Remove CHAR16 handling.
7148         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7150         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7152         * configure.in: Remove --with-elf and --enable-bounded options.
7153         Dont set base_machine for ia64.  More non-ELF conditions removed.
7154         Remove testing and setting of leading underscore information.
7155         * config.make.in (build-bounded): Set to no.
7156         * config.h.in: Remove NO_UNDERSCORES entry.
7157         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
7158         them.
7159         * csu/start.c: Remove !NO_UNDERSCORE code.
7160         * locale/localeinfo.h: Likewise.
7161         * sysdeps/generic/machine-gmon.h: Likewise.
7162         * sysdeps/generic/sysdep.h: Likewise.
7163         * sysdeps/i386/sysdep.h: Likewise.
7164         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7165         * sysdeps/mach/sysdep.h: Likewise.
7166         * sysdeps/s390/s390-32/sysdep.h: Likewise.
7167         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7168         * sysdeps/sh/sysdep.h: Likewise.
7169         * sysdeps/sparc/sparc32/alloca.S: Likewise.
7170         * sysdeps/unix/i386/sysdep.S: Likewise.
7171         * sysdeps/unix/sparc/start.c: Likewise.
7172         * sysdeps/unix/sparc/sysdep.S: Likewise.
7173         * sysdeps/unix/sparc/sysdep.h: Likewise.
7174         * sysdeps/unix/start.c: Likewise.
7175         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7176         * sysdeps/x86_64/sysdep.h: Likewise.
7178 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
7180         [BZ #13553]
7181         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7182         for non-gcc.
7183         * argp/argp-fmtstream.h: Use const instead __const.
7184         * argp/argp.h: Likewise.
7185         * assert/assert.h: Likewise.
7186         * bits/fenv.h: Likewise.
7187         * bits/sched.h: Likewise.
7188         * bits/sigset.h: Likewise.
7189         * bits/sigthread.h: Likewise.
7190         * catgets/nl_types.h: Likewise.
7191         * conform/data/pthread.h-data: Likewise.
7192         * crypt/crypt-private.h: Likewise.
7193         * crypt/crypt.h: Likewise.
7194         * crypt/crypt_util.c: Likewise.
7195         * ctype/ctype.h: Likewise.
7196         * debug/execinfo.h: Likewise.
7197         * debug/mbsnrtowcs_chk.c: Likewise.
7198         * debug/mbsrtowcs_chk.c: Likewise.
7199         * debug/wcsnrtombs_chk.c: Likewise.
7200         * debug/wcsrtombs_chk.c: Likewise.
7201         * debug/wcstombs_chk.c: Likewise.
7202         * dirent/dirent.h: Likewise.
7203         * dlfcn/dlfcn.h: Likewise.
7204         * elf/neededtest4.c: Likewise.
7205         * grp/grp.h: Likewise.
7206         * gshadow/gshadow.h: Likewise.
7207         * iconv/gconv.h: Likewise.
7208         * iconv/gconv_int.h: Likewise.
7209         * iconv/gconv_simple.c: Likewise.
7210         * iconv/iconv.h: Likewise.
7211         * iconv/loop.c: Likewise.
7212         * iconv/skeleton.c: Likewise.
7213         * include/aio.h: Likewise.
7214         * include/aliases.h: Likewise.
7215         * include/argz.h: Likewise.
7216         * include/arpa/inet.h: Likewise.
7217         * include/assert.h: Likewise.
7218         * include/dirent.h: Likewise.
7219         * include/dlfcn.h: Likewise.
7220         * include/execinfo.h: Likewise.
7221         * include/fcntl.h: Likewise.
7222         * include/fenv.h: Likewise.
7223         * include/glob.h: Likewise.
7224         * include/grp.h: Likewise.
7225         * include/libintl.h: Likewise.
7226         * include/mntent.h: Likewise.
7227         * include/netdb.h: Likewise.
7228         * include/pwd.h: Likewise.
7229         * include/rpc/netdb.h: Likewise.
7230         * include/sched.h: Likewise.
7231         * include/search.h: Likewise.
7232         * include/shadow.h: Likewise.
7233         * include/signal.h: Likewise.
7234         * include/stdio.h: Likewise.
7235         * include/stdlib.h: Likewise.
7236         * include/string.h: Likewise.
7237         * include/sys/socket.h: Likewise.
7238         * include/sys/stat.h: Likewise.
7239         * include/sys/statfs.h: Likewise.
7240         * include/sys/statvfs.h: Likewise.
7241         * include/sys/syslog.h: Likewise.
7242         * include/sys/time.h: Likewise.
7243         * include/sys/uio.h: Likewise.
7244         * include/time.h: Likewise.
7245         * include/unistd.h: Likewise.
7246         * include/utmp.h: Likewise.
7247         * include/wchar.h: Likewise.
7248         * include/wctype.h: Likewise.
7249         * inet/aliases.h: Likewise.
7250         * inet/arpa/inet.h: Likewise.
7251         * inet/netinet/ether.h: Likewise.
7252         * inet/netinet/in.h: Likewise.
7253         * intl/libintl.h: Likewise.
7254         * io/bits/fcntl2.h: Likewise.
7255         * io/fcntl.h: Likewise.
7256         * io/ftw.h: Likewise.
7257         * io/sys/poll.h: Likewise.
7258         * io/sys/stat.h: Likewise.
7259         * io/sys/statfs.h: Likewise.
7260         * io/sys/statvfs.h: Likewise.
7261         * io/utime.h: Likewise.
7262         * libio/bits/stdio.h: Likewise.
7263         * libio/bits/stdio2.h: Likewise.
7264         * libio/libio.h: Likewise.
7265         * libio/libioP.h: Likewise.
7266         * libio/stdio.h: Likewise.
7267         * locale/lc-ctype.c: Likewise.
7268         * locale/locale.h: Likewise.
7269         * login/utmp.h: Likewise.
7270         * malloc/arena.c: Likewise.
7271         * malloc/malloc.c: Likewise.
7272         * malloc/malloc.h: Likewise.
7273         * malloc/mcheck.c: Likewise.
7274         * malloc/mtrace.c: Likewise.
7275         * math/bits/mathcalls.h: Likewise.
7276         * math/fenv.h: Likewise.
7277         * math/math_private.h: Likewise.
7278         * misc/bits/error.h: Likewise.
7279         * misc/bits/syslog.h: Likewise.
7280         * misc/err.h: Likewise.
7281         * misc/error.h: Likewise.
7282         * misc/fstab.h: Likewise.
7283         * misc/mntent.h: Likewise.
7284         * misc/regexp.h: Likewise.
7285         * misc/search.h: Likewise.
7286         * misc/sgtty.h: Likewise.
7287         * misc/sys/mman.h: Likewise.
7288         * misc/sys/syslog.h: Likewise.
7289         * misc/sys/uio.h: Likewise.
7290         * misc/sys/xattr.h: Likewise.
7291         * misc/ttyent.h: Likewise.
7292         * nis/rpcsvc/ypclnt.h: Likewise.
7293         * nss/nss.h: Likewise.
7294         * posix/bits/unistd.h: Likewise.
7295         * posix/fnmatch.h: Likewise.
7296         * posix/glob.h: Likewise.
7297         * posix/sched.h: Likewise.
7298         * posix/spawn.h: Likewise.
7299         * posix/sys/wait.h: Likewise.
7300         * posix/unistd.h: Likewise.
7301         * posix/wordexp.h: Likewise.
7302         * pwd/pwd.h: Likewise.
7303         * resolv/netdb.h: Likewise.
7304         * resource/sys/resource.h: Likewise.
7305         * rt/aio.h: Likewise.
7306         * rt/bits/mqueue2.h: Likewise.
7307         * rt/mqueue.h: Likewise.
7308         * shadow/shadow.h: Likewise.
7309         * signal/signal.h: Likewise.
7310         * socket/send.c: Likewise.
7311         * socket/sendto.c: Likewise.
7312         * socket/sys/socket.h: Likewise.
7313         * stdio-common/printf.h: Likewise.
7314         * stdlib/bits/stdlib.h: Likewise.
7315         * stdlib/fmtmsg.h: Likewise.
7316         * stdlib/monetary.h: Likewise.
7317         * stdlib/stdlib.h: Likewise.
7318         * stdlib/ucontext.h: Likewise.
7319         * streams/stropts.h: Likewise.
7320         * string/argz.h: Likewise.
7321         * string/bits/string2.h: Likewise.
7322         * string/string.h: Likewise.
7323         * string/strings.h: Likewise.
7324         * sunrpc/rpc/auth.h: Likewise.
7325         * sunrpc/rpc/auth_des.h: Likewise.
7326         * sunrpc/rpc/clnt.h: Likewise.
7327         * sunrpc/rpc/netdb.h: Likewise.
7328         * sunrpc/rpc/pmap_clnt.h: Likewise.
7329         * sunrpc/rpc/xdr.h: Likewise.
7330         * sysdeps/generic/inttypes.h: Likewise.
7331         * sysdeps/generic/net/if.h: Likewise.
7332         * sysdeps/generic/sys/swap.h: Likewise.
7333         * sysdeps/gnu/net/if.h: Likewise.
7334         * sysdeps/gnu/utmpx.h: Likewise.
7335         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7336         * sysdeps/i386/i486/bits/string.h: Likewise.
7337         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7338         * sysdeps/s390/bits/string.h: Likewise.
7339         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7340         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7341         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7342         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7343         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7344         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7345         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7346         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7347         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7348         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7349         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7350         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7351         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7352         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7353         * sysdeps/unix/sysv/linux/readv.c: Likewise.
7354         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7355         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7356         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7357         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7358         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7359         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7360         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7361         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7362         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7363         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7364         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7365         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7366         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7367         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7368         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7369         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7370         * sysvipc/sys/ipc.h: Likewise.
7371         * sysvipc/sys/msg.h: Likewise.
7372         * sysvipc/sys/sem.h: Likewise.
7373         * sysvipc/sys/shm.h: Likewise.
7374         * termios/termios.h: Likewise.
7375         * time/sys/time.h: Likewise.
7376         * time/time.h: Likewise.
7377         * wcsmbs/bits/wchar2.h: Likewise.
7378         * wcsmbs/uchar.h: Likewise.
7379         * wcsmbs/wchar.h: Likewise.
7380         * wctype/wctype.h: Likewise.
7382         [BZ #13551]
7383         * Makeconfig: Remove all but ELF support including AIX support.
7384         * Makerules: Likewise.
7385         * config.h.in: Likewise.
7386         * config.make.in: Likewise.
7387         * configure: Likewise.
7388         * configure.in: Likewise.
7389         * csu/Makefile: Likewise.
7390         * csu/version.c: Likewise.
7391         * debug/Makefile: Likewise.
7392         * dlfcn/Makefile: Likewise.
7393         * elf/Makefile: Likewise.
7394         * extra-lib.mk: Likewise.
7395         * iconv/Makefile: Likewise.
7396         * include/libc-symbols.h: Likewise.
7397         * include/shlib-compat.h: Likewise.
7398         * resolv/Makefile: Likewise.
7399         * resolv/res_libc.c: Likewise.
7400         * rt/Makefile: Likewise.
7401         * sysdeps/i386/asm-syntax.h: Likewise.
7402         * sysdeps/i386/sysdep.h: Likewise.
7403         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7404         * sysdeps/mach/sysdep.h: Likewise.
7405         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7406         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7407         * sysdeps/s390/asm-syntax.h: Likewise.
7408         * sysdeps/s390/s390-32/sysdep.h: Likewise.
7409         * sysdeps/s390/s390-64/sysdep.h: Likewise.
7410         * sysdeps/sh/sysdep.h: Likewise.
7411         * sysdeps/unix/sparc/sysdep.h: Likewise.
7412         * sysdeps/wordsize-32/divdi3.c: Likewise.
7413         * sysdeps/x86_64/sysdep.h: Likewise.
7415         * argp/Versions: Remove _argp_unlock_xxx.
7417         [BZ #13559]
7418         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
7419         * abilist/libBrokenLocale.abilist: Likewise.
7420         * abilist/libanl.abilist: Likewise.
7421         * abilist/libc.abilist: Likewise.
7422         * abilist/libcrypt.abilist: Likewise.
7423         * abilist/libdl.abilist: Likewise.
7424         * abilist/libm.abilist: Likewise.
7425         * abilist/libnsl.abilist: Likewise.
7426         * abilist/libpthread.abilist: Likewise.
7427         * abilist/libresolv.abilist: Likewise.
7428         * abilist/librt.abilist: Likewise.
7429         * abilist/libthread_db.abilist: Likewise.
7430         * abilist/libutil.abilist: Likewise.
7431         * abilist/libnss_db.abilist: New file.
7433         * scripts/abilist.awk: Add support for indirect functions.
7435         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7437         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7439         * shlib-versions: Remove entries for ports architectures.
7441         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
7442         files in ports.
7443         * elf/stackguard-macros.h: Remove support for IA-64.
7444         * elf/tst-auditmod1.c: Likewise.
7445         * sysdeps/generic/ldsodefs.h: Likewise.
7447         * sysdeps/unix/sysv/linux/configure.in: Ports should define
7448         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7449         configure files.
7451         [BZ #13552]
7452         * configure.in: Remove --enable-omitfp support.
7453         * FAQ.in: Adjust.
7454         * config.make.in: Likewise.
7455         * Makeconfig: Likewise.
7456         * manual/install.texi: Likewise.
7458         In case anyone cares, the IA-64 architecture could move to ports.
7459         * sysdeps/ia64/*: Removed.
7460         * sysdeps/unix/sysv/linux/ia64/*: Removed.
7461         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
7463         [BZ #13555]
7464         * configure.in: Remove entries for unsupported architectures.
7466         [BZ #13533]
7467         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7468         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
7469         routines.
7470         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7471         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7472         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
7473         fall back to using wcrtomb.
7474         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7475         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
7476         renaming.
7477         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7478         * wcsmbs/tst-c16c32-1.c: New file.
7480         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7481         local variable.
7483         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7485         * elf/tst-unique3.cc: Add explicit declaration of gets.
7486         * elf/tst-unique3lib.cc: Likewise.
7487         * elf/tst-unique3lib2.cc: Likewise.
7488         * elf/tst-unique4.cc: Likewise.
7490         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7492 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
7494         [BZ #13566]
7495         * assert/assert.h (static_assert): Don't define for C++.
7496         * libio/stdio.h (gets): Do declare for C++ <= C++11.
7497         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7499 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
7501         * iconv/loop.c (single loop): Fix assertion in storing of
7502         remaining bytes.
7504         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7506 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
7508         * posix/getconf.c: Update copyright year.
7509         * nss/getent.c: Likewise.
7510         * nss/makedb.c: Likewise.
7511         * iconv/iconvconfig.c: Likewise.
7512         * iconv/iconv_prog.c: Likewise.
7513         * elf/ldconfig.c: Likewise.
7514         * elf/pldd.c: Likewise.
7515         * elf/sotruss.ksh: Likewise.
7516         * catgets/gencat.c: Likewise.
7517         * csu/version.c: Likewise.
7518         * elf/ldd.bash.in: Likewise.
7519         * elf/sprof.c (print_version): Likewise.
7520         * locale/programs/locale.c: Likewise.
7521         * locale/programs/localedef.c: Likewise.
7522         * login/programs/pt_chown.c: Likewise.
7523         * nscd/nscd.c (print_version): Likewise.
7524         * debug/xtrace.sh: Likewise.
7525         * malloc/memusage.sh: Likewise.
7526         * malloc/mtrace.pl: Likewise.
7527         * debug/catchsegv.sh: Likewise.
7529 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
7531         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7532         pure attribute.
7534 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
7536         [BZ #13533]
7537         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7538         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7539         transformations.
7540         * iconv/gconv_int.h: Likewise.
7541         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7542         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7543         from libc for GLIBC_2.16.
7544         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7545         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7546         * wcsmbs/uchar.h: Really define mbstate_t.
7547         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7548         * wcsmbs/c16rtomb.c: New file.
7549         * wcsmbs/mbrtoc16.c: New file.
7550         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7551         for C/POSIX locale.
7552         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7553         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7555         * wcsmbs/wchar.h: Add missing __restrict.
7557 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
7559         [BZ #13532]
7560         * time/Makefile (routines): Add timespec_get.
7561         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7562         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
7563         timespec for ISO C11.
7564         * time/timespec_get.c: New file.
7565         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7566         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7568         [BZ #13531]
7569         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7570         * stdlib/stdlib.h: Declare aligned_alloc.
7571         * Versions.def: Add GLIBC_2.16 for libc.
7572         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7574         [BZ 13527]
7575         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7576         ISO C11.
7578         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
7579         code.
7581         [BZ #13528]
7582         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7584         [BZ #13529]
7585         * assert/assert.h (static_assert): Define.
7587         * version.h: Update for 2.16 development version.
7589         [BZ #13526]
7590         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7591         _ISOC11_SOURCE.
7593         * version.h (RELEASE): Bump for 2.15 release.
7594         * include/features.h (__GLIBC_MINOR__): Bump to 15.
7596         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7597         Patch by Marek Polacek <mpolacek@redhat.com>.
7599         * bits/byteswap.h: Protect long long constants with __extension__.
7600         * sysdeps/i386/bits/byteswap.h: Likewise.
7601         * sysdeps/ia64/bits/byteswap.h: Likewise.
7602         * sysdeps/s390/bits/byteswap.h: Likewise.
7603         * sysdeps/x86_64/bits/byteswap.h: Likewise.
7605 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7607         [BZ #13540]
7608         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7609         destination buffer.
7610         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7612 2011-12-23  Marek Polacek  <polacek@redhat.com>
7614         * elf/dl-addr.c (determine_info): Add inline keyword.
7615         * elf/tst-auditmod4b.c (check_avx): Likewise.
7616         * elf/tst-auditmod6b.c (check_avx): Likewise.
7617         * elf/tst-auditmod6c.c (check_avx): Likewise.
7618         * elf/tst-auditmod7b.c (check_avx): Likewise.
7620 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
7622         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7623         !__SSE_MATH__.
7625 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7627         [BZ #13540]
7628         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7629         processing for last bytes.
7631 2011-08-06  Bruno Haible  <bruno@clisp.org>
7633         [BZ #13061]
7634         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7635         U+0385, not to U+1FEE.
7637         [BZ #13062]
7638         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7639         entry for U+00A5 U+0301.
7641 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
7643         [BZ #13166]
7644         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7645         buffer for the output is too small.
7647         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7648         optimization.
7650         [BZ #13185]
7651         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7652         SSE flags if possible.
7654 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7656         [BZ #13540]
7657         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7658         processing for last bytes.
7660 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
7662         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7663         (syscall-list-default-options, syscall-list-default-condition)
7664         (syscall-list-includes): Define.
7665         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7666         list of ABIs and options and #if conditions for each ABI.  Do not
7667         handle common syscalls between ABIs specially.
7668         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7669         Remove.
7670         (syscall-list-variants, syscall-list-32bit-options)
7671         (syscall-list-32bit-condition, syscall-list-64bit-options)
7672         (syscall-list-64bit-condition): Define.
7673         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7674         (syscall-list-variants, syscall-list-32bit-options)
7675         (syscall-list-32bit-condition, syscall-list-64bit-options)
7676         (syscall-list-64bit-condition): Define.
7677         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7678         Remove.
7679         (syscall-list-variants, syscall-list-32bit-options)
7680         (syscall-list-32bit-condition, syscall-list-64bit-options)
7681         (syscall-list-64bit-condition): Define.
7682         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7683         Remove.
7684         (syscall-list-variants, syscall-list-32bit-options)
7685         (syscall-list-32bit-condition, syscall-list-64bit-options)
7686         (syscall-list-64bit-condition): Define.
7688 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
7690         * locale/iso-639.def: Add brx entry.
7692         [BZ #13328]
7693         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7694         Proposed by Mariusz_Cukr <marcukr@op.pl>.
7696         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7697         __feraiseexcept_renamed.
7699 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
7701         [BZ #13538]
7702         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7703         EPOLLET with unsigned values.
7704         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7705         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7707         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7708         to large cancellation.
7709         * math/s_cacoshf.c: Likewise.
7710         * math/s_cacoshl.c: Likewise.
7712 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
7714         [BZ #13305]
7715         [BZ #12786]
7716         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7717         * math/s_cacoshf.c: Likewise.
7718         * math/s_cacoshl.c: Likewise.
7720 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
7722         [BZ #13439]
7723         * iconv/gconv.h: Define __GCONV_SWAP.
7724         * iconvdata/unicode.c: The swap bit must be stored in __flags.
7725         * iconvdata/utf-16.c: Likewise.
7726         * iconvdata/utf-32.c: Likewise.
7728 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
7730         [BZ #13524]
7731         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7732         numerator after shifting it by one limb.
7734 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
7736         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7737         under [__USE_EXTERN_INLINES].
7739 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
7741         [BZ #13446]
7742         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7744 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7746         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7747         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7748         optimized code.
7749         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7750         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7751         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7752         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7753         for strncasecmp/strncasecmp_l compilation.
7754         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7755         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7757 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
7759         [BZ #13484]
7760         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7761         of __asm__.
7763 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
7765         [BZ #13506]
7766         * time/tzfile.c (__tzfile_read): Check values from file header.
7768 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
7770         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7771         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7772         * powerpc/powerpc32/dl-start.S: Likewise.
7773         * powerpc/powerpc32/elf/start.S: Likewise.
7774         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7775         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7776         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7777         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7778         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7779         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7780         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7781         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7782         * powerpc/powerpc32/fpu/s_round.S: Likewise.
7783         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7784         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7785         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7786         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7787         * powerpc/powerpc32/memset.S: Likewise.
7788         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7789         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7790         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7791         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7792         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7793         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7794         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7795         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7796         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7797         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7798         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7799         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7800         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7802 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7804         * math/libm-test.inc: Added more nearbyint tests.
7805         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7806         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7807         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7808         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7810 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
7812         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7813         FD_CLOEXEC.
7815 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7817         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7818         Add wcscpy-ssse3 wcscpy-c.
7819         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7820         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7821         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7822         * sysdeps/x86_64/wcschr.S: New file.
7823         * sysdeps/x86_64/wcsrchr.S: New file.
7824         * string/test-strcmp.c: Remove checking of wcscmp function for
7825         wrong alignments.
7826         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7827         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7828         wcsrchr-sse2 wcsrchr-c.
7829         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7830         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7831         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7832         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7833         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7834         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7835         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7836         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7837         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7838         * wcsmbc/wcschr.c (WCSCHR): New macro.
7840 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
7842         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7843         * wcsmbs/test-wcsrchr.c: New file.
7844         * string/test-strrchr.c: Add wcsrchr support.
7845         (WIDE): New macro.
7846         * wcsmbs/test-wcscpy.c: New file.
7847         * string/test-strcpy.c: Add wcscpy support.
7848         (WIDE): New macro.
7850 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
7852         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7853         the inner loop.
7855 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
7857         [BZ #13472]
7858         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7860 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
7862         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7863         Minor optimizations.
7865         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7866         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7867         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7869 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
7871         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7872         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7873         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7874         for gcc to avoid warnings.
7875         * inet/Makefile (tests): Add tst-checks.
7876         * inet/tst-checks.c: New file.
7878         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7879         warning.
7881         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7882         __wmemcmp_sse2.
7884         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7885         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7887         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7889 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
7891         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7892         problem.
7894         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7896 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
7898         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7899         conditional on GCC version.
7900         (__arch_compare_and_exchange_val_8_acq)
7901         (__arch_compare_and_exchange_val_16_acq)
7902         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7903         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7904         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7906 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
7908         * sysdeps/sh/backtrace.c: New file.
7910 2011-12-02  Andreas Schwab  <schwab@redhat.com>
7912         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
7913         parenthesis.
7915 2011-12-01  Andreas Schwab  <schwab@redhat.com>
7917         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7918         falling back to utime.
7920 2011-11-30  Andreas Schwab  <schwab@redhat.com>
7922         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7923         expectations for float.
7925 2011-11-29  Andreas Schwab  <schwab@redhat.com>
7927         * locale/weight.h (findidx): Add parameter len.
7928         * locale/weightwc.h (findidx): Likewise.
7929         * posix/fnmatch_loop.c (FCT): Adjust caller.
7930         * posix/regcomp.c (build_equiv_class): Likewise.
7931         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7932         * posix/regexec.c (check_node_accept_bytes): Likewise.
7933         * string/strcoll_l.c (STRCOLL): Likewise.
7934         * string/strxfrm_l.c (STRXFRM): Likewise.
7936 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
7938         * Makefile.in: Remove CVSOPT handling.
7939         * configure.in: Remove use of AC_REVISION.
7940         * iconvdata/Makefile (distribute): No need to filter out CVS.
7941         * scripts/list-sources.sh: Remove CVS, subversion and monotone
7942         handling.
7944 2011-11-16  Andreas Schwab  <schwab@redhat.com>
7946         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7947         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7948         [USE_AS_STRNCASECMP_L]: Likewise.
7949         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7950         NO_TLS_DIRECT_SEG_REFS.
7951         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7952         Fix argument offsets for non-PIC.
7953         [USE_AS_STRNCASECMP_L]: Likewise.
7954         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7955         NO_TLS_DIRECT_SEG_REFS.
7957 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
7959         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7960         O_CLOEXEC.
7961         * locale/loadlocale.c (_nl_load_locale): Likewise.
7963 2011-11-15  Andreas Schwab  <schwab@redhat.com>
7965         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7966         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7967         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7968         (SYSCALL_GETTIME): Set errno on error.
7970         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7971         count references to noai6ai_cached.
7973 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
7975         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7977         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7978         FD_CLOEXEC for /proc/self/maps.
7980         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7981         FD_CLOEXEC for /proc/meminfo.
7983         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7984         gai.conf.
7986         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
7987         FD_CLOEXEC for given file.
7989         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7991         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7992         FD_CLOEXEC for /etc/hosts.
7993         (_gethtent): Likewise.
7995         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7997         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7998         cancellation and set FD_CLOEXEC for /etc/netgroup.
8000         * nss/nss_files/files-key.c (search): Don't allow cancellation when
8001         reading /etc/publickey.
8003         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8004         allow cancellation when reading /etc/group.
8006         * nss/nss_files/files-alias.c (internal_setent): Don't allow
8007         cancellation.
8008         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
8010         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8011         when using data file.
8013         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8015         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8016         (write_nis_obj): Use "c" and "e" in fopen.
8018         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8020         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8022         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8024         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8026         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8027         locale.alias.
8029         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8031         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8033         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8035         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8036         file parsing and set FD_CLOEXEC.
8038 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
8040         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8042 2011-11-14  Andreas Schwab  <schwab@redhat.com>
8044         * malloc/arena.c (arena_get2): Don't call reused_arena when
8045         _int_new_arena failed.
8047 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
8049         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8050         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8051         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8052         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8053         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8054         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8055         to compile strcasecmp and strncasecmp.
8056         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8057         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8059         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8061 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
8063         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8064         locale-defines.sym to gen-as-const-headers.
8065         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8066         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8067         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8068         to compile strcasecmp and strncasecmp.
8069         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8070         strcasecmp_l and strncasecmp_l.
8071         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8072         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8073         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8074         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8075         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8076         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8077         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8078         * sysdeps/i386/i686/multiarch/strncase.S: New file.
8079         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8080         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8081         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8083 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
8085         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8086         result of SYSDEP_GETTIME_CPU to retval.
8087         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8088         parameter list to macro.  Remove trailing semicolon.  Adjust users.
8090         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8091         variable.
8093         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8094         mantissa words.
8095         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8097         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8098         from unused variable.
8100         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8101         DWARF definitions.
8102         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8103         for assembling.
8105         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8106         over namespaces.
8108         * sunrpc/rpc_prot.c (rejected): Fix case value.
8110         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8111         unsigned long long int to avoid warnings in shift.
8113         * posix/regex_internal.c (re_string_reconstruct): Actually use result
8114         of use of trans.
8115         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8116         variable tmp.
8118         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8119         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8120         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8122         * nis/nis_table.c (nis_list): Use variable of correct type for
8123         result of __follow_path call.
8125 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8127         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8128         of math functions ceil, trunc, floor, round, and sqrt, when
8129         avaliable on the platform.
8130         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8131         name clash.
8132         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8133         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8134         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8136 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
8138         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8139         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8141 2011-11-11  Roland McGrath  <roland@hack.frob.com>
8143         * include/unistd.h: Fix __readlink return type.
8144         Reported by Chris Metcalf <cmetcalf@tilera.com>.
8146 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
8148         * stdlib/ucontext.h: Undo last change for makecontext.
8150 2011-11-11  Andreas Schwab  <schwab@redhat.com>
8152         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8154         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8155         * setjmp/setjmp.h: Mark functions as non-leaf.
8156         * setjmp/bits/setjmp2.h: Likewise.
8157         * stdlib/ucontext.h: Likewise.
8159 2011-11-10  Andreas Schwab  <schwab@redhat.com>
8161         * malloc/arena.c (_int_new_arena): Don't increment narenas.
8162         (reused_arena): Don't check arena limit.
8163         (arena_get2): Atomically check arena limit.
8165 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
8167         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8168         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8170         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8171         instructions.
8173 2011-11-07  Andreas Schwab  <schwab@redhat.com>
8175         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8176         handler when locking.
8178         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8179         Fix size of allocated buffer.
8181 2011-11-04  Andreas Schwab  <schwab@redhat.com>
8183         [BZ #10103]
8184         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8185         declarations for long double functions.
8186         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8188         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8190 2011-11-03  Andreas Schwab  <schwab@redhat.com>
8192         * nscd/nscd.c (main): Don't start AVC thread until credentials are
8193         installed.
8195         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8196         is disabled.
8198 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8200         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8202 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
8204         * include/alloca.h (stackinfo_alloca_round): Define.
8205         (extend_alloca): Use it.
8206         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8207         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8208         here.
8210         * scripts/check-local-headers.sh: Ignore libaudit.h.
8212         * nscd/Makefile (extra-objs): Make recursively expanded.
8214 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
8216         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8217         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8219         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8220         * posix/tst-rfc3484-2.c: Likewise.
8221         * posix/tst-rfc3484-3.c: Likewise.
8223         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8224         process_vm_writev.
8225         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8226         process_vm_writev.
8227         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8228         process_vm_writev from libc using GLIBC_2.15 version.
8230         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8232 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
8234         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8235         stack usage.
8237 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
8239         [BZ #13367]
8240         * nss/getent.c (initgroups_keys): Show error message in case no group
8241         names are given.
8243         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8244         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8245         __bump_nl_timestamp.
8246         * nscd/connections (nscd_init): When host database is served open
8247         netlink socket and request notification about configuration changes.
8248         (main_loop_poll): Track netlink file descriptor and bump timestamp
8249         in case data becomes available.
8250         (main_loop_epoll): Likewise.
8251         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8252         (database_pers_head): Add extra_data fileds.
8253         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8254         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8255         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8256         Adjust caller.
8257         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8258         in6ai data, call __free_in6ai.
8259         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8260         Add -DHAVE_NETLINK.
8261         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
8262         interface information.  Reuse previous data if netlink timestamp
8263         is not changed.
8264         (__bump_nl_timestamp): New function.
8265         (__free_in6ai): New function.
8267 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
8269         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8270         close_not_cancel_no_status here.
8271         (__check_pf): Reorganize code a bit to not call close twice if OOM.
8273 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
8275         [BZ #13276]
8276         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8277         return value.
8279         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
8280         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8281         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8283 2011-07-03  Andreas Jaeger  <aj@suse.de>
8285         [BZ #10709]
8286         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8287         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8288         * math/libm-test.inc (sin_test): Add test case.
8290 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
8292         [BZ #13337]
8293         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8294         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8296         * elf/chroot_canon.c (chroot_canon): Cleanups.
8298         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8300         [BZ #13335]
8301         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8302         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8304         * string/test-strchr.c: Make usable for strchrnul testing.
8305         * string/test-strchrnul.c: New file.
8306         * string/Makefile (strop-tests): Add strchrnul.
8308         * po/it.po: Update from translation team.
8309         * po/es.po: Likewise.
8311 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
8313         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8314         the three constants needed as parameters.  Drop the others.
8315         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8316         __m128i_strloadu_tolower.
8317         Create and initialize variable zero and use it in all the places
8318         where _mm_setzero_si128 was used.
8320         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8321         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8322         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8323         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8324         anymore.
8325         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8326         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8327         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8328         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8329         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8330         __mpranred, __mptan.
8331         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8332         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8333         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8334         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8335         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8336         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8337         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8338         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8339         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8341 2011-10-28  Andreas Schwab  <schwab@redhat.com>
8343         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8344         redefine if SHARED.
8345         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8347         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8348         wide char related routines to wcsmbs subdir.
8350 2011-10-27  Andreas Schwab  <schwab@redhat.com>
8352         [BZ #13344]
8353         * misc/sys/cdefs.h (__THROWNL): Define.
8354         * posix/unistd.h: Use __THREADNL instead of __THREAD
8355         for memory synchronization functions.
8357 2011-10-26  Roland McGrath  <roland@hack.frob.com>
8359         [BZ #13349]
8360         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8361         doesn't exist.
8362         * manual/stdio.texi (Obstack Streams): Node removed.
8364 2011-10-26  Andreas Schwab  <schwab@redhat.com>
8366         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8367         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8368         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8370         * math/math_private.h (math_force_eval): Allow non-addressable
8371         arguments.
8372         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8374 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
8376         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8377         file is not needed.
8379         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8380         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8381         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8382         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8383         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8384         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8385         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8386         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8387         Add AVX variants.
8388         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8389         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8390         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8391         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8392         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8393         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8394         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8395         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8396         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8397         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8398         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8399         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8400         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8401         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8402         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8403         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8404         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8405         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8406         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8408         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8409         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
8411         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8412         place.  Use VEX encoding when compiling for AVX.
8414 2011-10-25  Andreas Schwab  <schwab@redhat.com>
8416         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8417         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8419         * string/test-strchr.c (do_test): Don't generate NUL bytes.
8421 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
8423         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
8424         useless if() expression.
8425         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8426         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8427         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8428         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8429         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8430         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8431         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8432         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8433         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8434         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8435         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8436         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8437         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8438         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8439         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8440         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8441         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8442         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8443         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8445         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8447 2011-10-25  Andreas Schwab  <schwab@redhat.com>
8449         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8450         condition.
8451         * elf/dl-fini.c (_dl_sort_fini): Likewise.
8453 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
8455         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8456         .text section.  Avoid duplicate constants.
8457         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8458         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8459         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8460         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8461         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8462         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8463         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8464         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8465         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8466         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8467         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8468         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8469         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8470         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8471         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8472         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8473         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8474         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8475         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8476         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8477         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8478         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8479         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8480         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8481         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8482         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8483         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8484         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8485         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8486         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8487         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8488         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8489         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8490         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8491         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8492         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8493         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8494         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8495         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8496         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8497         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8498         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8499         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8500         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8501         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8503 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
8505         * sysdeps/x86_64/dla.h: Move to ...
8506         * sysdeps/x86_64/fpu/dla.h: ...here.
8507         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8508         situations.  Use __builtin_fma only for gcc 4.6 and up.
8510         * config.make.in: Add have-mfma4 entry.
8511         * configure.in: Substitute libc_cv_cc_fma4.
8512         * math/Makefile (dbl-only-routines): Add sincostab.
8513         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8514         Use __sincostab not sincos.
8515         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8516         name is a macro.
8517         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8518         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8519         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8520         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
8521         using __copysign.
8522         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
8523         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
8524         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8525         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8526         and __inv.
8527         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8528         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8529         __copysign.
8530         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
8531         define aliases when function name is a macro.
8532         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8533         sysdeps/ieee754/dbl-64/sincos.tbl.
8534         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8535         fma4-enabled routines.
8536         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8537         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8538         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8539         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8540         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8541         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8542         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8543         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8544         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8545         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8546         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8547         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8548         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8549         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8550         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8551         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8552         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8553         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8554         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8555         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8556         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8557         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8558         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8559         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8560         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8561         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8562         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8563         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8564         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8565         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8567         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8568         rename.
8569         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8570         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8571         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8572         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8573         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8574         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8575         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8576         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8578 2011-10-24  Andreas Schwab  <schwab@redhat.com>
8580         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8582 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
8584         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8586         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8587         prediction.
8588         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8590         * string/strnlen.c: Don't define STRNLEN, reverse logic.
8591         Remove unused variable magic_bits.
8592         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8594         * string/strnlen.c: Define and use STRNLEN macro.
8595         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8596         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8597         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8598         * wcsmbs/wcslen.c: Define and use WCSLEN.
8599         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8600         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8601         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8602         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8603         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8604         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8605         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8607 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8609         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8610         strnlen-sse2-no-bsf.
8611         Rename strlen-no-bsf to strlen-sse2-no-bsf.
8612         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8613         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8614         Add strnlen support.
8615         (USE_AS_STRNLEN): New macro.
8616         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8617         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8618         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8619         * sysdeps/x86_64/wcslen.S: New file.
8621 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
8623         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8624         XMM-moves are used for copying on small sizes.
8626 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8628         * wcsmbs/Makefile (strop-tests): Add wcschr.
8629         * wcsmbs/test-wcschr.c: New file.
8630         * string/test-strchr.c: Update.
8631         Add wcschr support.
8632         (WIDE): New macro.
8634 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8636         * wcsmbs/Makefile (strop-tests): Add wcslen.
8637         * wcsmbs/test-wcslen.c: New file.
8638         * string/test-strlen.c: Update.
8639         Add wcslen support.
8640         (WIDE): New macro.
8642 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
8644         * po/it.po: Update from translation team.
8646 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8648         * sysdeps/x86_64/wcscmp.S: Update.
8649         Fix wrong comparison semantics.
8650         wcscmp shall use signed comparison not unsigned.
8651         Don't use substraction to avoid overflow bug.
8652         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8653         * wcsmbc/wcscmp.c: Likewise.
8654         * string/test-strcmp.c: Likewise.
8655         Add new tests to check cases with negative values.
8657 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
8659         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8660         * sysdeps/x86_64/dla.h: ...here.  New file.
8661         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8662         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8663         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8664         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8665         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8666         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8667         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8668         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8669         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8671 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
8673         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8674         __ynl_finite aliases.
8676 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
8678         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8680         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8681         define DLA_FMA.
8682         [DLA_FMA] (EMULV): Use DLA_FMA.
8683         [DLA_FMA] (MUL12): Use EMULV.
8684         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8685         that are not needed.
8686         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8687         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8688         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8689         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8690         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8691         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8692         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8694 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
8696         * math/s_nan.c: Undef __nan.
8697         * math/s_nanf.c: Undef __nanf.
8698         * math/s_nanl.c: Undef __nanl.
8699         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8700         "math_private.h".
8702 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
8704         * math/s_catan.c: Add branch predictions.
8705         * math/s_catanf.c: Likewise.
8706         * math/s_catanh.c: Likewise.
8707         * math/s_catanhf.c: Likewise.
8708         * math/s_catanhl.c: Likewise.
8709         * math/s_catanl.c: Likewise.
8710         * math/s_cexp.c: Likewise.
8711         * math/s_cexpf.c: Likewise.
8712         * math/s_cexpl.c: Likewise.
8713         * math/s_clog.c: Likewise.
8714         * math/s_clog10.c: Likewise.
8715         * math/s_clog10f.c: Likewise.
8716         * math/s_clog10l.c: Likewise.
8717         * math/s_clogf.c: Likewise.
8718         * math/s_clogl.c: Likewise.
8719         * math/s_csqrt.c: Likewise.
8720         * math/s_csqrtf.c: Likewise.
8721         * math/s_csqrtl.c: Likewise.
8722         * math/s_ctanf.c: Likewise.
8723         * math/s_ctanh.c: Likewise.
8724         * math/s_ctanhf.c: Likewise.
8725         * math/s_ctanhl.c: Likewise.
8726         * math/s_ctanl.c: Likewise.
8728         * math/math_private.h: Define __nan, __nanf, __nanl.
8729         * math/s_cacosh.c: Include <math_private.h>.
8730         * math/s_cacoshl.c: Likewise.
8731         * math/s_casinh.c: Likewise.
8732         * math/s_casinhf.c: Likewise.
8733         * math/s_casinhl.c: Likewise.
8734         * math/s_ccos.c: Rely entire on ccosh.
8735         * math/s_ccosf.c: Rely entire on ccoshf.
8736         * math/s_ccosl.c: Rely entirely on ccoshl.
8737         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
8738         Remove tests for FE_INVALID.
8739         * math/s_ccoshf.c: Likewise.
8740         * math/s_ccoshl.c: Likewise.
8741         * math/s_csin.c: Likewise.
8742         * math/s_csinf.c: Likewise.
8743         * math/s_csinh.c Likewise.
8744         * math/s_csinhf.c: Likewise.
8745         * math/s_csinhl.c: Likewise.
8746         * math/s_csinl.c: Likewise.
8747         * math/s_ctan.c: Likewise.
8748         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8749         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8750         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8752 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
8754         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8755         compilation problems.
8757         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8758         __builtin_expect.
8760 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
8762         * sysdeps/i386/configure.in: Test for -mfma4 option.
8763         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8764         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8765         COMMON_CPUID_INDEX_80000001.
8766         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8767         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8768         use it if FMA3 is not supported.
8769         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8771         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8772         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8774 2011-10-20  Andreas Schwab  <schwab@redhat.com>
8776         [BZ #12892]
8777         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8778         it would create a cycle with a link time dependency.
8780 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
8782         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8783         instruction.
8784         * string/Makefile (strop-tests): Add rawmemchr.
8785         * string/test-rawmemchr.c: New file.
8787         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8788         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
8789         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
8790         when compiling str{,n}casecmp and when AVX is available.  Hook up
8791         new optimized code in initializers.
8793 2011-10-19  Andreas Schwab  <schwab@redhat.com>
8795         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8796         __feraiseexcept instead of feraiseexcept.
8798 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
8800         * math/math_private.h: Define defaults for libc_fetestexcept and
8801         libc_feupdateenv.
8802         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8803         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8804         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8805         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8806         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8807         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8808         libc_fetestexcept and libc_feupdateenv.
8810         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8811         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8812         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8813         * sysdeps/x86_64/fpu/math_private.h: Define special version of
8814         libc_feholdexcept_setround.
8816         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8817         Add s_nearbyint-c and s_nearbyintf-c.
8818         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8819         nearbyintf inlines.
8820         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8821         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8822         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8823         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8825         * math/math_private.h: Define defaults for libc_fegetround,
8826         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8827         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8828         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8829         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8830         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8831         standard functions.
8832         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8833         Remove comments and hacks for old compiler versions.
8834         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8835         libc_fegetround, libc_fesetround, libc_feholdexcept, and
8836         libc_feholdexceptl.
8838 2011-10-18  Andreas Schwab  <schwab@redhat.com>
8840         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8841         (__feraiseexcept_renamed): Add __NTH.
8842         (feraiseexcept): Add __NTH.  Rename local variables to fix
8843         namespace violations.
8845 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
8847         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8849         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8851         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8852         recently added interfaces.
8853         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8855         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8856         about macro parameter expansion.
8858         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8859         __NO_MATH_INLINES is defined.  Cleanups.
8861         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8862         and __floorf is target has SSE4.1.
8863         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8864         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8865         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8866         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8868         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8869         name.
8870         (floorf): Likewise.
8872         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8874 2011-10-17  Andreas Schwab  <schwab@redhat.com>
8876         * misc/sys/cdefs.h: Fix last change.
8878         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8879         database lookup.
8881 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
8883         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8885         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8886         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8887         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8888         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8889         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8890         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8891         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8892         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8893         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8894         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8895         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8896         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8897         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8898         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8899         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8900         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8901         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8902         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8903         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8904         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8905         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8906         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8908         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8909         ceil, ceilf, floor, floorf.
8911         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8912         Perform IRELATIVE relocations last.
8914         * elf/do-rel.h: Add another parameter nrelative, replacing the
8915         local variable with the same name.  Change name of the function
8916         to end in Rel or Rela (uppercase).
8917         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8918         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
8919         elf_dynamic_do_##reloc function.
8921 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
8923         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8924         is sufficient, at least on modern CPUs.
8926         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8928         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8929         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8931         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8932         __expl_finite.
8933         * math/bits/math-finite.h: Add entries for exp.
8934         * math/e_expl.c: Add __*_finite alias.
8935         * sysdeps/i386/fpu/e_exp.S: Likewise.
8936         * sysdeps/i386/fpu/e_expf.S: Likewise.
8937         * sysdeps/i386/fpu/e_expl.c: Likewise.
8938         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8939         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8940         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8941         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8942         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8943         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8944         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8946         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8947         is sufficient, at least on modern CPUs.
8949         * ctype/ctype-info.c (__ctype_init): Define.
8950         * include/ctype.h (__ctype_init): Declare.
8951         (__ctype_b_loc): The variable is always initialized.
8952         (__ctype_toupper_loc): Likewise.
8953         (__ctype_tolower_loc): Likewise.
8954         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8955         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8957 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
8959         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8961         * configure.in: Also look in $cxxmachine/include for C++ system
8962         headers.
8964 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8966         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8967         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8968         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8969         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
8970         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8971         (USE_AS_WMEMCMP): New macro.
8972         Fixing indents.
8973         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8974         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8975         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8976         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8977         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8978         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8979         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8980         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8981         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8982         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8983         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8984         (USE_AS_WMEMCMP): New macro.
8985         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8986         * sysdeps/string/test-memcmp.c: Update.
8987         Fix simple_wmemcmp.
8988         Add new tests.
8989         * wcsmbs/wmemcmp.c: Update.
8990         (WMEMCMP): New macro.
8991         Fix overflow bug.
8993 2011-10-12  Andreas Jaeger  <aj@suse.de>
8995         [BZ #13268]
8996         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8998 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
9000         * libio/iofwide.c (do_length): Avoid warning.
9002         * ctype/ctype.h (__isctype_f): Add missing __THROW.
9004 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
9006         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9008         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9009         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9010         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9011         * sysdeps/i386/i686/fpu/e_log.S: New file.
9012         * sysdeps/i386/i686/fpu/e_logf.S: New file.
9013         * sysdeps/i386/i686/fpu/e_logl.S: New file.
9015         * ctype/ctype.h: Add support for inlined isXXX functions when
9016         compiling C++ code.
9018 2011-10-14  Andreas Schwab  <schwab@redhat.com>
9020         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9022         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9024 2011-10-13  Roland McGrath  <roland@hack.frob.com>
9026         [BZ #13291]
9027         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9029 2011-10-13  Andreas Schwab  <schwab@redhat.com>
9031         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9032         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9033         feraiseexcept.
9035         * sysdeps/x86_64/memrchr.S: Check for zero size.
9037         * string/stratcliff.c: Add memrchr tests.
9039 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9041         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9042         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9043         rawmemchr-sse2 rawmemchr-sse2-bsf.
9044         * sysdeps/i386/i686/multiarch/memchr.S: New file.
9045         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9046         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9047         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9048         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9049         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9050         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9051         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9052         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9053         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9054         * string/memrchr.c (MEMRCHR): New macro.
9056 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
9058         Add integration with gcc's -ffinite-math-only and optimize wrapper
9059         functions in libm.
9060         * Versions.def: Define GLIBC_2.15 version for libm.
9061         * math/Makefile (headers): Add bits/math-finite.h.
9062         * math/bits/math-finite.h: New file.
9063         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9064         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9065         * math/e_acoshl.c: Add __*_finite alias.
9066         * math/e_acosl.c: Likewise.
9067         * math/e_asinl.c: Likewise.
9068         * math/e_atan2l.c: Likewise.
9069         * math/e_atanhl.c: Likewise.
9070         * math/e_coshl.c: Likewise.
9071         * math/e_exp10.c: Likewise.
9072         * math/e_exp10f.c: Likewise.
9073         * math/e_exp10l.c: Likewise.
9074         * math/e_exp2l.c: Likewise.
9075         * math/e_fmodl.c: Likewise.
9076         * math/e_gammal_r.c: Likewise.
9077         * math/e_hypotl.c: Likewise.
9078         * math/e_j0l.c: Likewise.
9079         * math/e_j1l.c: Likewise.
9080         * math/e_jnl.c: Likewise.
9081         * math/e_lgammal_r.c: Likewise.
9082         * math/e_log10l.c: Likewise.
9083         * math/e_log2l.c: Likewise.
9084         * math/e_logl.c: Likewise.
9085         * math/e_powl.c: Likewise.
9086         * math/e_sinhl.c: Likewise.
9087         * math/e_sqrtl.c: Likewise.
9088         * math/e_scalb.c: Completely rewritten and optimized.
9089         * math/e_scalbf.c: Likewise.
9090         * math/e_scalbl.c: Likewise.
9091         * math/w_acos.c: Likewise.
9092         * math/w_acosf.c: Likewise.
9093         * math/w_acosl.c: Likewise.
9094         * math/w_acosh.c: Likewise.
9095         * math/w_acoshf.c: Likewise.
9096         * math/w_acoshl.c: Likewise.
9097         * math/w_asin.c: Likewise.
9098         * math/w_asinf.c: Likewise.
9099         * math/w_asinl.c: Likewise.
9100         * math/w_atan2.c: Likewise.
9101         * math/w_atan2f.c: Likewise.
9102         * math/w_atan2l.c: Likewise.
9103         * math/w_atanh.c: Likewise.
9104         * math/w_atanhf.c: Likewise.
9105         * math/w_atanhl.c: Likewise.
9106         * math/w_exp10.c: Likewise.
9107         * math/w_exp10f.c: Likewise.
9108         * math/w_exp10l.c: Likewise.
9109         * math/w_fmod.c: Likewise.
9110         * math/w_fmodf.c: Likewise.
9111         * math/w_fmodl.c: Likewise.
9112         * math/w_j0.c: Likewise.
9113         * math/w_j0f.c: Likewise.
9114         * math/w_j0l.c: Likewise.
9115         * math/w_j1.c: Likewise.
9116         * math/w_j1f.c: Likewise.
9117         * math/w_j1l.c: Likewise.
9118         * math/w_jn.c: Likewise.
9119         * math/w_jnf.c: Likewise.
9120         * math/w_log.c: Likewise.
9121         * math/w_logf.c: Likewise.
9122         * math/w_logl.c: Likewise.
9123         * math/w_log10.c: Likewise.
9124         * math/w_log10f.c: Likewise.
9125         * math/w_log10l.c: Likewise.
9126         * math/w_log2.c: Likewise.
9127         * math/w_log2f.c: Likewise.
9128         * math/w_log2l.c: Likewise.
9129         * math/w_pow.c: Likewise.
9130         * math/w_powf.c: Likewise.
9131         * math/w_powl.c: Likewise.
9132         * math/w_remainder.c: Likewise.
9133         * math/w_remainderf.c: Likewise.
9134         * math/w_remainderl.c: Likewise.
9135         * math/w_scalb.c: Likewise.
9136         * math/w_scalbf.c: Likewise.
9137         * math/w_scalbl.c: Likewise.
9138         * math/w_sqrt.c: Likewise.
9139         * math/w_sqrtf.c: Likewise.
9140         * math/w_sqrtl.c: Likewise.
9141         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9142         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
9143         used.
9144         * math/math_private.h: Declare __kernel_standard_f.
9145         * math/w_cosh.c: Remove cruft and optimize a bit.
9146         * math/w_coshf.c: Likewise.
9147         * math/w_coshl.c: Likewise.
9148         * math/w_exp2.c: Likewise.
9149         * math/w_exp2f.c: Likewise.
9150         * math/w_exp2l.c: Likewise.
9151         * math/w_hypot.c: Likewise.
9152         * math/w_hypotf.c: Likewise.
9153         * math/w_hypotl.c: Likewise.
9154         * math/w_lgamma.c: Likewise.
9155         * math/w_lgamma_r.c: Likewise.
9156         * math/w_lgammaf.c: Likewise.
9157         * math/w_lgammaf_r.c: Likewise.
9158         * math/w_lgammal.c: Likewise.
9159         * math/w_lgammal_r.c: Likewise.
9160         * math/w_sinh.c: Likewise.
9161         * math/w_sinhf.c: Likewise.
9162         * math/w_sinhl.c: Likewise.
9163         * math/w_tgamma.c: Likewise.
9164         * math/w_tgammaf.c: Likewise.
9165         * math/w_tgammal.c: Likewise.
9166         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9167         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9168         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9169         Minor optimizations.  Pretty printing.  Remove cruft.
9170         * sysdeps/i386/fpu/e_acosf.S: Likewise.
9171         * sysdeps/i386/fpu/e_acosh.S: Likewise.
9172         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9173         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9174         * sysdeps/i386/fpu/e_acosl.c: Likewise.
9175         * sysdeps/i386/fpu/e_asin.S: Likewise.
9176         * sysdeps/i386/fpu/e_asinf.S: Likewise.
9177         * sysdeps/i386/fpu/e_atan2.S: Likewise.
9178         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9179         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9180         * sysdeps/i386/fpu/e_atanh.S: Likewise.
9181         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9182         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9183         * sysdeps/i386/fpu/e_exp10.S: Likewise.
9184         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9185         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9186         * sysdeps/i386/fpu/e_exp2.S: Likewise.
9187         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9188         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9189         * sysdeps/i386/fpu/e_fmod.S: Likewise.
9190         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9191         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9192         * sysdeps/i386/fpu/e_hypot.S: Likewise.
9193         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9194         * sysdeps/i386/fpu/e_log.S: Likewise.
9195         * sysdeps/i386/fpu/e_log10.S: Likewise.
9196         * sysdeps/i386/fpu/e_log10f.S: Likewise.
9197         * sysdeps/i386/fpu/e_log10l.S: Likewise.
9198         * sysdeps/i386/fpu/e_log2.S: Likewise.
9199         * sysdeps/i386/fpu/e_log2f.S: Likewise.
9200         * sysdeps/i386/fpu/e_log2l.S: Likewise.
9201         * sysdeps/i386/fpu/e_logf.S: Likewise.
9202         * sysdeps/i386/fpu/e_logl.S: Likewise.
9203         * sysdeps/i386/fpu/e_pow.S: Likewise.
9204         * sysdeps/i386/fpu/e_powf.S: Likewise.
9205         * sysdeps/i386/fpu/e_powl.S: Likewise.
9206         * sysdeps/i386/fpu/e_remainder.S: Likewise.
9207         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9208         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9209         * sysdeps/i386/fpu/e_scalb.S: Likewise.
9210         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9211         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9212         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9213         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9214         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9215         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9216         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9217         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9218         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9219         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9220         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9221         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9222         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9223         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9224         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9225         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9226         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9227         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9228         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9229         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9230         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9231         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9232         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9233         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9234         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9235         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9236         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9237         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9238         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9239         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9240         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9241         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9242         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9243         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9244         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9245         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9246         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9247         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9248         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9249         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9250         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9251         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9252         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9253         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9254         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9255         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9256         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9257         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9258         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9259         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9260         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9261         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9262         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9263         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9264         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9265         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9266         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9267         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9268         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9269         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9270         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9271         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9272         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9273         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9274         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9275         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9276         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9277         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9278         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9279         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9280         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9281         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9282         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9283         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9284         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9285         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9286         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9287         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9288         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9289         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9290         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9291         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9292         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9293         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9294         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9295         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9296         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9297         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9298         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9299         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9300         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9301         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9302         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9303         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9304         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9305         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9306         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9307         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9308         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9309         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9310         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9311         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9312         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9313         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9314         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9315         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9316         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9317         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9318         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9319         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9320         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9321         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9322         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9323         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9324         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9325         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
9326         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9327         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9328         (__isnanf): Likewise.
9329         (__isinf_ns): Likewise.
9330         (__isinf_nsf): Likewise.
9331         (__finite): Likewise.
9332         (__finitef): Likewise.
9333         (__ieee754_sqrt): Define as macro.
9334         (__ieee754_sqrtf): Define as macro.
9335         (__ieee754_sqrtl): Define as macro.
9336         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9337         inlined copy.
9338         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9339         __FINITE_MATH_ONLY__ consistent.
9340         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9342 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
9344         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9345         of rawmemchr.
9347         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9349 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
9351         * po/ja.po: Update from translation team.
9353 2011-10-08  Roland McGrath  <roland@hack.frob.com>
9355         * locale/programs/locarchive.c (prepare_address_space): New function.
9356         (create_archive, enlarge_archive, open_archive): Use it.
9358         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9359         inside [SHARED], where it is used.
9361         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9363         * nss/getent.c (netgroup_keys): Remove unused variable.
9364         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9366 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
9368         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9369         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9370         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9371         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9372         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9373         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9374         * math/Makefile (libm-calls): Add s_isinf_ns.
9375         * math/divtc3.c: Use __isinf_nsl instead of isinf.
9376         * math/multc3.c: Likewise.
9377         * math/s_casin.c: Likewise.
9378         * math/s_casinf.c: Likewise.
9379         * math/s_casinl.c: Likewise.
9380         * math/s_ccos.c: Likewise.
9381         * math/s_ccosf.c: Likewise.
9382         * math/s_ccosl.c: Likewise.
9383         * math/s_ctan.c: Likewise.
9384         * math/s_ctanf.c: Likewise.
9385         * math/s_ctanh.c: Likewise.
9386         * math/s_ctanhf.c: Likewise.
9387         * math/s_ctanhl.c: Likewise.
9388         * math/s_ctanl.c: Likewise.
9389         * math/w_fmod.c: Likewise.
9390         * math/w_fmodf.c: Likewise.
9391         * math/w_fmodl.c: Likewise.
9392         * math/w_remainder.c: Likewise.
9393         * math/w_remainderf.c: Likewise.
9394         * math/w_remainderl.c: Likewise.
9395         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9396         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9397         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9398         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9399         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9400         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9401         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9402         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9404         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9405         of the number.
9406         * stdio-common/printf_fphex.c: Likewise.
9407         * stdio-common/printf_size.c: Likewise.
9409         * math/e_exp10.c: Include math_private.h using <...> not "...".
9410         * math/e_exp10f.c: Likewise.
9411         * math/e_exp10l.c: Likewise.
9412         * math/e_exp2l.c: Likewise.
9413         * math/e_j0l.c: Likewise.
9414         * math/e_j1l.c: Likewise.
9415         * math/e_jnl.c: Likewise.
9416         * math/e_lgammal_r.c: Likewise.
9417         * math/e_rem_pio2l.c: Likewise.
9418         * math/e_scalb.c: Likewise.
9419         * math/e_scalbf.c: Likewise.
9420         * math/e_scalbl.c: Likewise.
9421         * math/k_cosl.c: Likewise.
9422         * math/k_sinl.c: Likewise.
9423         * math/k_tanl.c: Likewise.
9424         * math/s_cacoshf.c: Likewise.
9425         * math/s_catan.c: Likewise.
9426         * math/s_catanf.c: Likewise.
9427         * math/s_catanh.c: Likewise.
9428         * math/s_catanhf.c: Likewise.
9429         * math/s_catanhl.c: Likewise.
9430         * math/s_catanl.c: Likewise.
9431         * math/s_ccosh.c: Likewise.
9432         * math/s_ccoshf.c: Likewise.
9433         * math/s_ccoshl.c: Likewise.
9434         * math/s_cexp.c: Likewise.
9435         * math/s_cexpf.c: Likewise.
9436         * math/s_cexpl.c: Likewise.
9437         * math/s_clog.c: Likewise.
9438         * math/s_clog10.c: Likewise.
9439         * math/s_clog10f.c: Likewise.
9440         * math/s_clog10l.c: Likewise.
9441         * math/s_clogf.c: Likewise.
9442         * math/s_clogl.c: Likewise.
9443         * math/s_csin.c: Likewise.
9444         * math/s_csinf.c: Likewise.
9445         * math/s_csinh.c: Likewise.
9446         * math/s_csinhf.c: Likewise.
9447         * math/s_csinhl.c: Likewise.
9448         * math/s_csinl.c: Likewise.
9449         * math/s_csqrt.c: Likewise.
9450         * math/s_csqrtf.c: Likewise.
9451         * math/s_csqrtl.c: Likewise.
9452         * math/s_ctan.c: Likewise.
9453         * math/s_ctanf.c: Likewise.
9454         * math/s_ctanh.c: Likewise.
9455         * math/s_ctanhf.c: Likewise.
9456         * math/s_ctanhl.c: Likewise.
9457         * math/s_ctanl.c: Likewise.
9458         * math/s_ldexp.c: Likewise.
9459         * math/s_ldexpf.c: Likewise.
9460         * math/s_ldexpl.c: Likewise.
9461         * math/s_significand.c: Likewise.
9462         * math/s_significandf.c: Likewise.
9463         * math/s_significandl.c: Likewise.
9464         * math/w_acos.c: Likewise.
9465         * math/w_acosf.c: Likewise.
9466         * math/w_acosh.c: Likewise.
9467         * math/w_acoshf.c: Likewise.
9468         * math/w_acoshl.c: Likewise.
9469         * math/w_acosl.c: Likewise.
9470         * math/w_asin.c: Likewise.
9471         * math/w_asinf.c: Likewise.
9472         * math/w_asinl.c: Likewise.
9473         * math/w_atan2.c: Likewise.
9474         * math/w_atan2f.c: Likewise.
9475         * math/w_atan2l.c: Likewise.
9476         * math/w_atanh.c: Likewise.
9477         * math/w_atanhf.c: Likewise.
9478         * math/w_atanhl.c: Likewise.
9479         * math/w_cosh.c: Likewise.
9480         * math/w_coshf.c: Likewise.
9481         * math/w_coshl.c: Likewise.
9482         * math/w_dremf.c: Likewise.
9483         * math/w_exp10.c: Likewise.
9484         * math/w_exp10f.c: Likewise.
9485         * math/w_exp10l.c: Likewise.
9486         * math/w_exp2.c: Likewise.
9487         * math/w_exp2f.c: Likewise.
9488         * math/w_fmod.c: Likewise.
9489         * math/w_fmodf.c: Likewise.
9490         * math/w_fmodl.c: Likewise.
9491         * math/w_hypot.c: Likewise.
9492         * math/w_hypotf.c: Likewise.
9493         * math/w_hypotl.c: Likewise.
9494         * math/w_j0.c: Likewise.
9495         * math/w_j0f.c: Likewise.
9496         * math/w_j0l.c: Likewise.
9497         * math/w_j1.c: Likewise.
9498         * math/w_j1f.c: Likewise.
9499         * math/w_j1l.c: Likewise.
9500         * math/w_jn.c: Likewise.
9501         * math/w_jnf.c: Likewise.
9502         * math/w_jnl.c: Likewise.
9503         * math/w_lgamma.c: Likewise.
9504         * math/w_lgamma_r.c: Likewise.
9505         * math/w_lgammaf.c: Likewise.
9506         * math/w_lgammaf_r.c: Likewise.
9507         * math/w_lgammal.c: Likewise.
9508         * math/w_lgammal_r.c: Likewise.
9509         * math/w_log.c: Likewise.
9510         * math/w_log10.c: Likewise.
9511         * math/w_log10f.c: Likewise.
9512         * math/w_log10l.c: Likewise.
9513         * math/w_log2.c: Likewise.
9514         * math/w_log2f.c: Likewise.
9515         * math/w_log2l.c: Likewise.
9516         * math/w_logf.c: Likewise.
9517         * math/w_logl.c: Likewise.
9518         * math/w_pow.c: Likewise.
9519         * math/w_powf.c: Likewise.
9520         * math/w_powl.c: Likewise.
9521         * math/w_remainder.c: Likewise.
9522         * math/w_remainderf.c: Likewise.
9523         * math/w_remainderl.c: Likewise.
9524         * math/w_scalb.c: Likewise.
9525         * math/w_scalbf.c: Likewise.
9526         * math/w_scalbl.c: Likewise.
9527         * math/w_sinh.c: Likewise.
9528         * math/w_sinhf.c: Likewise.
9529         * math/w_sinhl.c: Likewise.
9530         * math/w_sqrt.c: Likewise.
9531         * math/w_sqrtf.c: Likewise.
9532         * math/w_sqrtl.c: Likewise.
9533         * math/w_tgamma.c: Likewise.
9534         * math/w_tgammaf.c: Likewise.
9535         * math/w_tgammal.c: Likewise.
9537         * po/ja.po: Update from translation team.
9539 2011-09-29  Andreas Jaeger  <aj@suse.de>
9541         [BZ #13179]
9542         * sunrpc/netname.c (netname2host): Fix logic.
9544         [BZ #6779]
9545         [BZ #6783]
9546         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9547         correctly.
9548         * math/w_remainder.c (__remainder): Likewise.
9549         * math/w_remainderf.c (__remainderf): Likewise.
9550         * math/libm-test.inc (remainder_test): Add test cases.
9552 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9554         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
9555         sdiv_qrnnd.
9557 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
9559         * string/test-memcmp.c: Avoid unncessary #defines.
9560         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9562 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9564         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9565         Use new sse2 version for core i3 - i7 as it's faster
9566         than sse42 version.
9567         (bit_Prefer_PMINUB_for_stringop): New.
9568         * sysdeps/x86_64/rawmemchr.S: Update.
9569         Replace with faster SSE2 version.
9570         * sysdeps/x86_64/memrchr.S: New file.
9571         * sysdeps/x86_64/memchr.S: Update.
9572         Replace with faster SSE2 version.
9574 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
9576         * elf/dl-load.c (lose): Add cast to avoid warning.
9578 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
9580         * po/ca.po: Update from translation team.
9582         * inet/getnetgrent_r.c: Hook up nscd.
9583         * nscd/Makefile (routines): Add nscd_netgroup.
9584         (nscd-modules): Add netgroupcache.
9585         (CFLAGS-netgroupcache.c): Define.
9586         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9587         (cache_search): Add const to second parameter.
9588         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9589         INNETGR.
9590         (dbs): Add netgrdb entry.
9591         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9592         (verify_persistent_db): Handle netgrdb.
9593         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9594         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9595         GETFDNETGR.
9596         (netgroup_response_header): Define.
9597         (innetgroup_response_header): Define.
9598         (datahead): Add netgroup_response_header and innetgroup_response_header
9599         elements.
9600         * nscd/nscd.conf: Add entries for netgroup cache.
9601         * nscd/nscd.h (dbtype): Add netgrdb.
9602         (_PATH_NSCD_NETGROUP_DB): Define.
9603         (netgroup_iov_disabled): Declare.
9604         (xmalloc, xcalloc, xrealloc): Move declarations here.
9605         (cache_search): Adjust prototype.
9606         Add netgroup-related prototypes.
9607         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9608         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9609         (__nscd_innetgr): Declare.
9610         * nscd/selinux.c (perms): Use access_vector_t as element type and
9611         add netgroup-related initializers.
9612         * nscd/netgroupcache.c: New file.
9613         * nscd/nscd_netgroup.c: New file.
9614         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9615         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9616         For four parameters use innetgr.
9617         * nss/nss_files/files-init.c: Add definition and callback for netgr.
9618         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9619         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9620         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9622         * nscd/connections.c (register_traced_file): Don't register file
9623         for disabled databases.
9625 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
9627         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9629         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9630         from tree and freeing node.
9632 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
9634         * nss/nsswitch.c (__nss_database_lookup): Handle
9635         nss_parse_service_list out of memory case.
9637 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
9639         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9640         out of memory case.
9642 2011-10-04  Andreas Schwab  <schwab@redhat.com>
9644         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9645         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9646         pass it down.
9647         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9648         elf_machine_rela, elf_machine_lazy_rel.
9649         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9650         (ELF_DYNAMIC_DO_REL): Likewise.
9651         (ELF_DYNAMIC_DO_RELA): Likewise.
9652         (ELF_DYNAMIC_RELOCATE): Likewise.
9653         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9654         to ELF_DYNAMIC_DO_REL.
9655         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9656         (dl_main): In trace mode always set __RTLD_NOIFUNC.
9657         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9658         elf_machine_rela.
9659         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9660         skip_ifunc, don't call ifunc function if non-zero.
9661         (elf_machine_rela): Likewise.
9662         (elf_machine_lazy_rel): Likewise.
9663         (elf_machine_lazy_rela): Likewise.
9664         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9665         (elf_machine_lazy_rel): Likewise.
9666         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9667         Likewise.
9668         (elf_machine_lazy_rel): Likewise.
9669         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9670         Likewise.
9671         (elf_machine_lazy_rel): Likewise.
9672         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9673         (elf_machine_lazy_rel): Likewise.
9674         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9675         (elf_machine_lazy_rel): Likewise.
9676         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9677         (elf_machine_lazy_rel): Likewise.
9678         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9679         (elf_machine_lazy_rel): Likewise.
9680         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9681         (elf_machine_lazy_rel): Likewise.
9682         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9683         (elf_machine_lazy_rel): Likewise.
9685 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
9687         * nss/nss_files/files-init.c (_nss_files_init): Use static
9688         initialization for all the *_traced_file variables.
9690 2011-09-28  Andreas Schwab  <schwab@redhat.com>
9692         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9694 2011-09-27  Roland McGrath  <roland@hack.frob.com>
9696         [BZ #13226]
9697         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9699 2011-09-27  Andreas Schwab  <schwab@redhat.com>
9701         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9702         Reread the line before reparsing it.
9704 2011-09-26  Andreas Schwab  <schwab@redhat.com>
9706         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9708 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
9709             Maxim Kuvyrkov  <maxim@codesourcery.com>
9710             Joseph Myers  <joseph@codesourcery.com>
9712         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9713         if needed for __stack_chk_guard.
9715 2011-09-19  Roland McGrath  <roland@hack.frob.com>
9717         * sysdeps/posix/spawni.c (script_execute): Always define it.
9718         It will be optimized away if unused.
9719         (maybe_script_execute): New function.
9720         (__spawni): Call it.
9722         * Makerules: Don't include tls.make.
9723         (config-tls): Always set to thread.
9724         * tls.make.c: File removed.
9726 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
9728         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9729         * config.make.in (CPPFLAGS-config): New substituted variable.
9731 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
9733         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9735         [BZ #13192]
9736         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9737         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9739 2011-09-15  Roland McGrath  <roland@hack.frob.com>
9741         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9742         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9743         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9744         (CALL_FAIL): Likewise.
9745         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9746         (CALL_FAIL): Macro removed.
9747         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9749 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
9751         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9752         for __FINITE_MATH_ONLY__ == 1.
9754 2011-09-15  Andreas Schwab  <schwab@redhat.com>
9756         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9757         __ieee754_sqrt instead of sqrt.
9758         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9759         __ieee754_sqrtf instead of sqrtf.
9760         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9761         __floorf instead of floorf.
9762         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9763         __floorf, __truncf instead of floorf, truncf.
9765 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
9767         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9769         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9770         __extern_always_inline.
9771         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9772         32-bit.
9774 2011-09-14  Andreas Schwab  <schwab@redhat.com>
9776         * elf/rtld.c (dl_main): Also relocate in dependency order when
9777         doing symbol dependency testing.
9779 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
9781         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9782         Always define `refsym'.
9784 2011-09-13  Andreas Schwab  <schwab@redhat.com>
9786         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9787         (__FD_ELT): Renamed from __FDELT.
9788         * misc/bits/select2.h (__FD_ELT): Likewise.
9789         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9790         __FD_MASK instead of __FDELT, __FDMASK.
9791         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9792         Likewise.
9793         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9794         Likewise.
9796         * elf/Makefile (gen-ldd): Fix pattern.
9798         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9799         (init_tls): Likewise.
9801 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
9803         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9805 2011-09-12  Andreas Schwab  <schwab@redhat.com>
9807         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9808         `struct cmsghdr *' instead of `void *'.
9809         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9810         Likewise.
9812 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
9814         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9815         if non-absolute.
9816         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9817         ldd_rewrite_script.
9819 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
9821         * configure.in: Remove --with-tls option.
9822         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9823         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9824         out in case it is missing.
9825         * sysdeps/ia64/elf/configure.in: Likewise.
9826         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9827         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9828         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9829         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9830         * sysdeps/sh/elf/configure.in: Likewise.
9831         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9832         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9833         * sysdeps/x86_64/elf/configure.in: Likewise.
9834         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9835         * sysdeps/mach/hurd/tls.h: Likewise.
9837         [BZ #13067]
9838         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9840         [BZ #13090]
9841         * configure.in: Fix use of AC_INIT.
9843         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9845 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
9847         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9848         __set_errno.
9849         * malloc/hooks.c: Likewise.
9851         [BZ #11929]
9852         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
9853         variables statically.
9854         (narenas): Initialize.
9855         (list_lock): Initialize.
9856         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
9857         initializtion of main_arena and list_lock.  Small cleanups.
9858         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9859         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
9860         Add initializers to main_arena and mp_.
9861         (malloc_state): Remove pagesize member.  Change all users to use
9862         GLRO(dl_pagesize).
9864         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9865         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
9866         is always initialized.
9868         * malloc/malloc.c: Removed unused configurations and dead code.
9869         * malloc/arena.c: Likewise.
9870         * malloc/hooks.c: Likewise.
9871         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9873         * include/tls.h: Removed.  USE___THREAD must always be defined.
9874         * bits/libc-tsd.h: Don't handle !USE___THREAD.
9875         * elf/dl-libc.c: Likewise.
9876         * elf/dl-tsd.c: Likewise.
9877         * include/errno.h: Likewise.
9878         * include/netdb.h: Likewise.
9879         * include/resolv.h: Likewise.
9880         * inet/herrno-loc.c: Likewise.
9881         * inet/herrno.c: Likewise.
9882         * malloc/arena.c: Likewise.
9883         * malloc/hooks.c: Likewise.
9884         * malloc/malloc.c: Likewise.
9885         * resolv/res-state.c: Likewise.
9886         * resolv/res_libc.c: Likewise.
9887         * sysdeps/i386/dl-machine.h: Likewise.
9888         * sysdeps/ia64/dl-machine.h: Likewise.
9889         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9890         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9891         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9892         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9893         * sysdeps/sh/dl-machine.h: Likewise.
9894         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9895         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9896         * sysdeps/unix/i386/sysdep.S: Likewise.
9897         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9898         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9899         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9900         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9901         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9902         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9903         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9904         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9905         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9906         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9907         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9908         * sysdeps/x86_64/dl-machine.h: Likewise.
9909         * tls.make.c: Likewise.
9911         * configure.in: Remove --with-__thread option.  Make tests for
9912         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9913         tls_model attribute fail if no support is available.  Remove
9914         USE_IN_LIBIO.
9915         * Makeconfig: Adjust for dropped configure option.  All features are
9916         now mandatory.
9917         * Makerules: Likewise.
9918         * Versions.def: Likewise.
9919         * argp/argp-fmtstream.c: Likewise.
9920         * argp/argp-fmtstream.h: Likewise.
9921         * argp/argp-help.c: Likewise.
9922         * assert/assert.c: Likewise.
9923         * config.h.in: Likewise.
9924         * config.make.in: Likewise.
9925         * configure: Likewise.
9926         * configure.in: Likewise.
9927         * csu/Versions: Likewise.
9928         * csu/init.c: Likewise.
9929         * elf/tst-audit2.c: Likewise.
9930         * elf/tst-tls10.c: Likewise.
9931         * elf/tst-tls10.h: Likewise.
9932         * elf/tst-tls11.c: Likewise.
9933         * elf/tst-tls12.c: Likewise.
9934         * elf/tst-tls14.c: Likewise.
9935         * elf/tst-tlsmod11.c: Likewise.
9936         * elf/tst-tlsmod12.c: Likewise.
9937         * elf/tst-tlsmod13.c: Likewise.
9938         * elf/tst-tlsmod13a.c: Likewise.
9939         * elf/tst-tlsmod14a.c: Likewise.
9940         * elf/tst-tlsmod15b.c: Likewise.
9941         * elf/tst-tlsmod16a.c: Likewise.
9942         * elf/tst-tlsmod16b.c: Likewise.
9943         * elf/tst-tlsmod7.c: Likewise.
9944         * elf/tst-tlsmod8.c: Likewise.
9945         * elf/tst-tlsmod9.c: Likewise.
9946         * gmon/gmon.c: Likewise.
9947         * grp/fgetgrent_r.c: Likewise.
9948         * grp/putgrent.c: Likewise.
9949         * hurd/fopenport.c: Likewise.
9950         * include/libc-symbols.h: Likewise.
9951         * include/tls.h: Likewise.
9952         * intl/gettextP.h: Likewise.
9953         * intl/loadinfo.h: Likewise.
9954         * locale/global-locale.c: Likewise.
9955         * locale/localeinfo.h: Likewise.
9956         * mach/devstream.c: Likewise.
9957         * malloc/arena.c: Likewise.
9958         * malloc/set-freeres.c: Likewise.
9959         * misc/err.c: Likewise.
9960         * misc/getttyent.c: Likewise.
9961         * misc/mntent_r.c: Likewise.
9962         * posix/getopt.c: Likewise.
9963         * posix/wordexp.c: Likewise.
9964         * pwd/fgetpwent_r.c: Likewise.
9965         * resolv/Versions: Likewise.
9966         * resolv/res_hconf.c: Likewise.
9967         * shadow/fgetspent_r.c: Likewise.
9968         * shadow/putspent.c: Likewise.
9969         * stdio-common/printf_fphex.c: Likewise.
9970         * stdio-common/tmpfile.c: Likewise.
9971         * stdlib/abort.c: Likewise.
9972         * stdlib/fmtmsg.c: Likewise.
9973         * sunrpc/auth_unix.c: Likewise.
9974         * sunrpc/clnt_perr.c: Likewise.
9975         * sunrpc/clnt_tcp.c: Likewise.
9976         * sunrpc/clnt_udp.c: Likewise.
9977         * sunrpc/clnt_unix.c: Likewise.
9978         * sunrpc/openchild.c: Likewise.
9979         * sunrpc/svc_simple.c: Likewise.
9980         * sunrpc/svc_tcp.c: Likewise.
9981         * sunrpc/svc_udp.c: Likewise.
9982         * sunrpc/svc_unix.c: Likewise.
9983         * sunrpc/xdr.c: Likewise.
9984         * sunrpc/xdr_array.c: Likewise.
9985         * sunrpc/xdr_rec.c: Likewise.
9986         * sunrpc/xdr_ref.c: Likewise.
9987         * sunrpc/xdr_stdio.c: Likewise.
9989 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
9991         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9993 2011-07-03  Andreas Jaeger  <aj@suse.de>
9995         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9996         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9997         regenerate with gen-libm-tests.pl.
9999 2010-05-12  Petr Baudis  <pasky@suse.cz>
10001         [BZ #11589]
10002         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10003         around j0() zero points by switching to j1().
10004         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10005         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10006         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10007         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10009 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
10011         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10012         instead of 0.
10013         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10014         instead of 0.                              .
10015         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10016         Patch in part by Pavel Roskin <proski@gnu.org>.
10018         [BZ #13138]
10019         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10020         realloc.
10021         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
10022         Free memory block if necessary.
10024         [BZ #12847]
10025         * libio/genops.c (INTDEF): For string streams the _lock pointer can
10026         be NULL.  Don't lock in this case.
10028 2011-09-09  Roland McGrath  <roland@hack.frob.com>
10030         * elf/elf.h (ELFOSABI_GNU): New macro.
10031         (ELFOSABI_LINUX): Define to that.
10033 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
10035         * string/strncat.c (strncat): Undef the symbol in case it has been
10036         defined in bits/string.h.
10038 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
10040         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10042         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
10043         link map.
10045 2011-08-17  Andreas Jaeger  <aj@suse.de>
10047         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10049 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
10050             Ian Lance Taylor  <iant@google.com>
10052         * math/libm-test.inc (lround_test): New testcase.
10053         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10055 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
10057         * Makefile: Remove support for automatic cvs check-ins.
10058         * Makerules: Likewise.
10059         * config.make.in: Likewise.
10060         * configure.in: Likewise.
10061         * intl/Makefile: Likewise.
10062         * locale/Makefile: Likewise.
10063         * po/Makefile: Likewise.
10064         * posix/Makefile: Likewise.
10065         * sysdeps/gnu/Makefile: Likewise.
10066         * sysdeps/mach/hurd/Makefile: Likewise.
10067         * sysdeps/sparc/sparc32/Makefile: Likewise.
10069         [BZ #13118]
10070         * posix/Makefile (bug-regex32-ENV): Define.
10071         Patch by John Stanley <jpsinthemix@verizon.net>.
10073         * misc/Makefile (headers): Add bits/select2.h.
10074         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10075         * misc/bits/select2.h: New file.
10076         * include/bits/select2.h: New file.
10077         * debug/Makefile (routines): Add fdelt_chk.
10078         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10079         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10080         FD_ISSET.
10081         * debug/fdelt_chk.c: New file.
10083         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
10084         * wcsmbs/test-wmemcmp.c: Likewise.
10085         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
10086         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
10088 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10090         * string/Makefile (strop-tests): Add memcmp.
10091         * string/test-wmemcmp.c: New file.
10092         * string/test-memcmp.c: Add wmemcmp support.
10094 2011-09-08  Roland McGrath  <roland@hack.frob.com>
10096         [BZ #13153]
10097         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10098         2011-07-19 change.
10100         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10101         garbage value in a __mach_port_mod_refs call in the cases of the
10102         task-self and thread-self ports.
10104 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10106         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10108 2011-09-08  Andreas Schwab  <schwab@redhat.com>
10110         * elf/dl-load.c (lose): Check for non-null L.
10112 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
10114         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10116         * elf/dl-libc.c (dlerror_run): Pass back error code from
10117         dl_catch_error.
10119         [BZ #13123]
10120         * elf/dl-load.c (lose): Free l_origin if it is valid.
10122         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10123         names.
10124         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10125         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10126         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10127         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10128         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10129         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10131 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10133         * sysdeps/powerpc/fpu/e_hypot.c: New file.
10134         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10135         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10136         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10137         * sysdeps/powerpc/fpu/k_cosf.c: New file.
10138         * sysdeps/powerpc/fpu/k_sinf.c: New file.
10139         * sysdeps/powerpc/fpu/s_cosf.c: New file.
10140         * sysdeps/powerpc/fpu/s_sinf.c: New file.
10141         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10142         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10144 2011-08-15  Alan Modra  <amodra@gmail.com>
10146         [BZ #13092]
10147         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10148         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10149         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
10150         ppc_mcount to static-only-routines.
10151         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10152         __mcount_internal.
10153         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10154         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
10156 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
10158         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10159         for finite and infinity parameters.
10161 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
10163         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10164         and add nop instructions for throughput optimization.
10165         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10167 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
10169         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10170         aligned copy for power7 with vector-scalar instructions.
10171         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10173 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
10175         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10176         AVX check.
10178 2011-09-07  Andreas Schwab  <schwab@redhat.com>
10180         [BZ #13144]
10181         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10182         last change.
10184 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
10186         * sysdeps/unix/sysv/linux/x86_64/init-first.c
10187         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10188         syscall wrapper around clock_gettime in __vdso_clock_gettime.
10189         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10190         clock_gettime.
10192 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
10194         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10195         Forgot to demangle the pointer.
10197         * sysdeps/i386/sysdep.h: Define atom_text_section.
10198         * sysdeps/x86_64/sysdep.h: Likewise.
10199         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10200         section with atom_text_section.
10201         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10202         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10203         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10204         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10205         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10207         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10208         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10209         already be defined.  Change to take two parameters and don't assign
10210         result to variable.  Adjust all users.
10211         Define INTERNAL_GETTIME if not already defined.
10212         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10213         call.
10214         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10215         HAVE_CLOCK_GETTIME_VSYSCALL.
10216         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10218         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10219         gettimeofday vsyscall, just use time.
10221 2011-09-06  Andreas Schwab  <schwab@redhat.com>
10223         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10224         <errno.h>.
10226 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
10228         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10229         syscall on x86-64.
10230         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10231         syscall.
10232         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10233         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10234         syscall if possible.
10236 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
10238         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10239         e_ident.  Don't pass to find_mapsXX.
10240         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10242 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10244         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10245         strchr-sse2-no-bsf strrchr-sse2-no-bsf
10246         * sysdeps/x86_64/multiarch/strchr.S: Update.
10247         Check bit_slow_BSF bit.
10248         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10249         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10250         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10252 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
10254         [BZ #13134]
10255         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10256         before glibc 2.15.
10257         (tryshell): Define.
10258         (__spawni): Change last parameter to be flag.  Test
10259         SPAWN_XFLAGS_USE_PATH flag to use path or not.
10260         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10261         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10262         * posix/spawni.c: Likewise.
10263         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10264         * posix/spawnp.c: Likewise.  Change normal version to use
10265         SPAWN_XFLAGS_USE_PATH.
10266         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10267         SPAWN_XFLAGS_TRY_SHELL.
10269         [BZ #13150]
10270         * posix/glob.h: Remove gcc 1.x support.
10272         [BZ #13068]
10273         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10275 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10277         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10278         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10279         strrchr-sse2-bsf
10280         * sysdeps/i386/i686/multiarch/strchr.S: New file.
10281         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10282         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10283         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10284         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10285         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10287 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10289         * sysdeps/x86_64/wcscmp.S: New file.
10291         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10292         wcscmp-c wcscmp-sse2
10293         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10294         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10295         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10296         * wcsmbs/wcscmp.c: Allow renaming.
10298 2011-09-05  David S. Miller  <davem@davemloft.net>
10300         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10301         stack slot, rather than the struct return pointer slot.
10302         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10303         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10305         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10307 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
10309         * po/ja.po: Update from translation team.
10311         [BZ #13144]
10312         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10313         kernel in 64-bit binaries.
10315 2011-09-01  David S. Miller  <davem@davemloft.net>
10317         * elf/elf.h (HWCAP_SPARC_*): Move to..
10318         * sysdeps/sparc/sysdep.h: this new file and add new values.
10319         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10320         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10321         _DL_HWCAP_COUNT to 24.
10322         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10323         entries.
10324         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10325         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10326         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10327         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10328         instead of magic constants.
10329         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10331 2011-08-31  David S. Miller  <davem@davemloft.net>
10333         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10334         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10335         Reimplement to do errno handling inline.
10336         (SYSCALL_ERROR_HANDLER): New macro.
10337         (__SYSCALL_STRING): Do not do errno handling in asm.
10338         (__CLONE_SYSCALL_STRING): Delete.
10339         (__INTERNAL_SYSCALL_STRING): Delete.
10340         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10341         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10342         (PSEUDO): Reimplement to do errno handling inline.
10343         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10344         (SYSCALL_ERROR_HANDLER): New macro.
10345         (__SYSCALL_STRING): Do not do errno handling in asm.
10346         (__CLONE_SYSCALL_STRING): Delete.
10347         (__INTERNAL_SYSCALL_STRING): Delete.
10348         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10349         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10350         i386.
10351         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10352         (inline_syscall*): Add 'err' argument.
10353         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10354         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10355         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10356         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10358         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10359         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10361 2011-08-30  Andreas Schwab  <schwab@redhat.com>
10363         * elf/rtld.c (dl_main): Relocate objects in dependency order.
10365 2011-08-29  Jiri Olsa <jolsa@redhat.com>
10367         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10368         directive.
10370 2011-08-24  David S. Miller  <davem@davemloft.net>
10372         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10374 2011-08-24  Andreas Schwab  <schwab@redhat.com>
10376         * elf/Makefile: Add rules to build and run unload8 test.
10377         * elf/unload8.c: New file.
10378         * elf/unload8mod1.c: New file.
10379         * elf/unload8mod1x.c: New file.
10380         * elf/unload8mod2.c: New file.
10381         * elf/unload8mod3.c: New file.
10383         * elf/dl-close.c (_dl_close_worker): Reset private search list if
10384         it wasn't used.
10386 2011-08-23  David S. Miller  <davem@davemloft.net>
10388         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10389         subtract stack bias.
10390         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10391         %sp not %fp in calculations.
10392         (_JMPBUF_UNWINDS_ADJ): Likewise.
10394         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10395         (aio_suspend): Call it to force an exception region around the
10396         AIO_MISC_WAIT() invocation.
10398 2011-08-23  Andreas Schwab  <schwab@redhat.com>
10400         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10401         backslash.
10403 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
10405         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10406         protection macro.
10407         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10408         and <dl-machine.h>.
10409         (Elf64_FuncDesc): Remove.
10411 2011-08-22  David S. Miller  <davem@davemloft.net>
10413         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10414         sigaltstack check, add missing cfi directives.
10415         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10416         missing cfi directives, and sigaltstack handling.
10418 2011-08-16  Andreas Schwab  <schwab@redhat.com>
10420         [BZ #11724]
10421         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10422         object is seen twice.
10423         * elf/dl-fini.c (_dl_sort_fini): Likewise.
10425         * elf/Makefile (distribute): Add tst-initorder2.c.
10426         (tests): Add tst-initorder2.
10427         (modules-names): Add tst-initorder2a tst-initorder2b
10428         tst-initorder2c tst-initorder2d.  Add rules to build them.
10429         ($(objpfx)tst-initorder2.out): New rule.
10430         * elf/tst-initorder2.c: New file.
10431         * elf/tst-initorder2.exp: New file.
10433 2011-08-22  Andreas Schwab  <schwab@redhat.com>
10435         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10437         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10438         dependencies back to end of function.
10440         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10441         $(elfobjdir)/ld.so.
10443 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
10445         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10446         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10447         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10448         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10449         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10450         of __vdso_gettimeofday.
10451         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10452         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
10453         attribute_hidden.
10454         (_libc_vdso_platform_setup): Remove initialization of
10455         __vdso_gettimeofday and __vdso_time.
10457 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
10459         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10460         and fgetc_unlocked.
10461         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10462         getc_unlocked.
10464         * elf/dl-open.c (add_to_global): Report additions to the global scope
10465         for LD_DEBUG=scopes.
10466         (dl_open_worker): Also print scope of newly loaded dependencies.
10467         (_dl_show_scope): Indicate if there is no scope.
10469         [BZ #13114]
10470         * stdio-common/Makefile (tests): Add bug24.
10471         * stdio-common/bug24.c: New file.
10473 2011-08-19  Andreas Jaeger  <aj@suse.de>
10475         [BZ #13114]
10476         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10477         non-existant file when using close-on-exec mode.
10479 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
10481         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10482         the very first instruction.
10484         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10485         the CFI state in the end.
10486         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10487         inclusion of dl-trampoline.h.
10488         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10490 2011-08-19  Andreas Schwab  <schwab@redhat.com>
10492         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10493         expectations for long double.
10495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10496         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10498 2011-08-14  David S. Miller  <davem@davemloft.net>
10500         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10501         artificual limit depends upon the system page size.
10503 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
10505         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10506         * resolv/Makefile: Define CFLAGS-libresolv.
10508 2011-08-17  Andreas Schwab  <schwab@redhat.com>
10510         * nss/makedb.c (compute_tables): Make variables used in nested
10511         function static.
10513 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
10515         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10516         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10517         if buffer was too small.
10519         * elf/pldd.c (main): Attach to all threads in the process.
10520         Rewrite /proc handling to use *at functions.
10522 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
10524         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10525         specifies first scope to show.
10526         (dl_open_worker): Update callers.  Move printing scope of new
10527         object to before the relocation.
10528         * elf/rtld.c (dl_main): Update _dl_show_scope call.
10529         * sysdeps/generic/ldsodefs.h: Update declaration.
10531         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10532         string for the scope number.
10534 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
10536         * nscd/servicescache.c (cache_addserv): Make sure written is always
10537         initialized.
10539 2011-08-14  Roland McGrath  <roland@hack.frob.com>
10541         * sysdeps/i386/i486/bits/atomic.h
10542         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10543         statement expression, so as to suppress "set but not used" warning.
10544         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10546         * string/strncat.c (STRNCAT): Use prototype definition.
10548         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10549         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10550         -Iprograms here.
10551         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10552         (localedef-modules): Add localedef.
10553         (locale-modules): Add locale.
10555         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10556         * elf/rtld.c (dl_main): Invert order of assignment in last change,
10557         to avoid a warning.
10559 2011-08-14  David S. Miller  <davem@davemloft.net>
10561         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10562         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10564 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
10566         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
10567         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10568         * elf/rtld.c (dl_main): Set l_name of vDSO.
10569         Call _dl_show_scope when DL_DEBUG_SCOPES.
10570         (process_dl_debug): Recognize scopes flag and also set it for all.
10571         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10572         Declare _dl_show_scope.
10574         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10575         (do_dlopen): Pass caller_dlopen to dl_open.
10576         (__libc_dlopen_mode): Initialize caller_dlopen.
10578         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10579         of libc.  Make tolower call locale-independent.  Optimize a bit by
10580         using isdigit instead of isalnum.
10581         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10583 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
10585         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10586         was a dependency or dynamically loaded.
10588 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
10590         * intl/l10nflist.c: Allow architecture-specific pop function.
10591         * sysdeps/x86_64/l10nflist.c: New file.
10593         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10594         classification.
10596 2011-08-10  Andreas Schwab  <schwab@redhat.com>
10598         * include/dirent.h: Add libc_hidden_proto for scandirat and
10599         scandirat64.  Don't declare __scandirat64.
10600         * dirent/scandirat.c: Add libc_hidden_def.
10601         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10602         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10604 2011-08-10  David S. Miller  <davem@davemloft.net>
10606         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10607         enum.
10608         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10609         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10610         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10612 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
10614         * Versions.def [libc]: Add GLIBC_2.15.
10615         * dirent/Makefile (routines): Add scandirat and scandirat64.
10616         * dirent/Versions [libc]: Export scandirat and scandirat64 for
10617         GLIBC_2.15.
10618         * dirent/dirent.h: Declare scandirat and scandirat64.
10619         * dirent/scandirat.c: New file.
10620         * dirent/scandirat64.c: New file.
10621         * sysdeps/wordsize-64/scandirat.c: New file.
10622         * sysdeps/wordsize-64/scandirat64.c: New file.
10623         * dirent/opendir.c: Define opendirat.
10624         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
10625         using scandirat.
10626         * dirent/scandir64.c: Adjust for scandir.c change.
10627         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
10628         __scandirat64, and __scandir_cancel_handler.
10629         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
10630         additional parameter and use openat instead of open (outside of ld.so).
10631         Add new __opendir as wrapper around __opendirat.
10632         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10633         here without requiring old scandirat implementation.
10635 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
10637         * dirent/scandir.c (cancel_handler): Renamed to
10638         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
10639         defined.  Adjust users.
10640         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10641         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10643 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
10645         * string/test-string.h (IMPL): Use __STRING to expand name and then
10646         stringify it.
10648         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
10649         of cleanups.
10651 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10653         * string/Makefile: Update.
10654         (strop-tests): Append strncat.
10655         * string/test-wcscmp.c: New file.
10656         New comprehensive test for wcscmp.
10657         * string/test-strcmp.c: Update.
10658         (WIDE): New define.
10660 2011-07-22  Andreas Schwab  <schwab@redhat.com>
10662         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10663         line.
10665 2011-07-26  Andreas Schwab  <schwab@redhat.com>
10667         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10668         encoding to ACE if AI_IDN.
10670 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
10672         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10673         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10675 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10677         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10678         Fix overflow bug in strncat.
10679         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10681         * string/test-strncat.c: Update.
10682         Add new tests for checking overflow bugs.
10684 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10686         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10687         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10688         * sysdeps/i386/i686/multiarch/strcat.S: New file.
10689         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10690         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10691         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10692         * sysdeps/i386/i686/multiarch/strncat.S: New file.
10693         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10694         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10696         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10697         (USE_AS_STRCAT): Define.
10698         Add strcat and strncat support.
10699         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10701 2011-07-25  Andreas Schwab  <schwab@redhat.com>
10703         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10704         __n bigger than INT_MAX+1.
10705         (__strncmp_g): Likewise.
10707 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
10709         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10710         * libio/stido.h: Likewise.
10712         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10713         (AF_NFC): Define.
10714         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10715         (AF_NFC): Define.
10717         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10718         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10719         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10720         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10721         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10723         [BZ #13021]
10724         * scripts/test-installation.pl: Don't expect libnss_test1 to be
10725         installed.
10727         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10728         typo.
10729         (_dl_x86_64_save_sse): Likewise.
10731 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
10733         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10734         OSXSAVE.
10735         (_dl_x86_64_save_sse): Likewise.
10737         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10739         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10741 2011-07-21  Andreas Schwab  <schwab@redhat.com>
10743         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10744         change.
10745         (_dl_x86_64_save_sse): Use correct AVX check.
10747 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
10749         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10750         bug in strncpy/strncat.
10751         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10753 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
10755         * string/tester.c (test_strcat): Add tests for different alignments
10756         of source and destination.
10757         (test_strncat): Likewise.
10759 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
10761         [BZ #12852]
10762         * posix/glob.c (glob): Check passed in values before using them in
10763         expressions to avoid some overflows.
10764         (glob_in_dir): Likewise.
10766         [BZ #13007]
10767         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10768         check for AVX enablement so that we don't crash with old kernels and
10769         new hardware.
10770         * elf/tst-audit4.c: Add same checks here.
10771         * elf/tst-audit6.c: Likewise.
10773         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
10775 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
10777         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10779 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
10781         * po/cs.po: Update from translation team.
10782         * po/bg.po: Likewise.
10784 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
10786         * misc/sys/cdefs.h: Add support for const attribute.
10787         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10788         to gnu_dev_{major,minor,makedev} functions.
10790 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
10792         * intl/dcigettext.c (get_output_charset): Add missing bracket.
10794 2011-07-20  Andreas Schwab  <schwab@redhat.com>
10796         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10797         strlen results.
10799 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10801         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10802         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10803         register in order to avoid conflicts with the soft frame pointer
10804         being held in r11 when necessary.
10805         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10806         (INTERNAL_VSYSCALL_NCS): Likewise.
10808 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
10810         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10811         * elf/dl-fini.c (_dl_fini): Adjust caller.
10812         * elf/dl-close.c (_dl_close_worker): Likewise.
10813         * sysdeps/generic/ldsodefs.h: Adjust declaration.
10815 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
10817         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10818         "aux_cache->nlibs < 0".
10820         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10821         in the reload-count case.
10823 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10825         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10826         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10827         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10828         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10829         * sysdeps/x86_64/multiarch/strcat.S: New file.
10830         * sysdeps/x86_64/multiarch/strncat.S: New file.
10831         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10832         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10833         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10834         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10835         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10836         (USE_AS_STRCAT): Define.
10837         Add strcat and strncat support.
10838         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10839         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10840         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10841         * string/strncat.c: Update.
10842         (USE_AS_STRNCAT): Define.
10843         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10844         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10845         and i7.
10846         * sysdeps/x86_64/multiarch/init-arch.h
10847         (bit_Prefer_PMINUB_for_stringop): New.
10848         (index_Prefer_PMINUB_for_stringop): Likewise.
10849         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10850         bit_Prefer_PMINUB_for_stringop.
10852 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
10854         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10855         buffer64.
10856         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10857         of casting of buffer.
10858         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10859         buffer32 and buffer64.
10860         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10861         writes instead of casting of buffer.
10862         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10863         buffer32.
10864         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10865         casting of buffer.
10867 2011-07-19  Andreas Schwab  <schwab@redhat.com>
10869         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10871 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
10873         * nscd/nscd.c (termination_handler): Don't do anything for a database
10874         if it has not yet been initialized.
10876 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
10878         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10880 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
10882         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10884 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
10886         * po/nl.po: Update from translation team.
10887         * po/sv.po: Likewise.
10889 2011-07-16  Roland McGrath  <roland@hack.frob.com>
10891         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10892         now disallowed by GCC.
10894         * configure.in (use-default-link): Default to yes if a test -shared
10895         link meets our qualifications.
10896         * configure: Regenerated.
10898         * config.make.in (output-format): New variable.
10899         * configure.in: Check for ld --print-output-format support.
10900         * configure: Regenerated.
10901         * Makerules ($(common-objpfx)format.lds)
10902         [$(output-format) != unknown]: Just use $(output-format),
10903         instead of the linker-script munging.
10905 2011-07-14  Roland McGrath  <roland@hack.frob.com>
10907         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10908         of $(common-objpfx)shlib.lds.
10909         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10911         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10912         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10914         * configure.in (-z relro check): Adjust test code to add a large
10915         writable data section after it.
10916         * configure: Regenerated.
10918 2011-07-11  Roland McGrath  <roland@hack.frob.com>
10920         * configure.in (-z relro check): Fix test code to make the variable
10921         truly const.
10922         * configure: Regenerated.
10924 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
10926         * nscd/nscd.h (struct traced_file): Define.
10927         (struct database_dyn): Remove inotify_descr, reset_res, and filename
10928         elements.  Add traced_files.
10929         (inotify_fd): Declare.
10930         (register_traced_file): Declare.
10931         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10932         (inotify_fd): Export.
10933         (resolv_conf_descr): Remove.
10934         (nscd_init): Move inotify descriptor creation to main.
10935         Don't register files for notification here.
10936         (register_traced_file): New function.
10937         (invalidate_cache): Don't use reset_res to determine whether to call
10938         res_init, go through the list of registered files.
10939         (main_loop_poll): The inotify descriptors are now stored in the
10940         structures for the traced files.
10941         (main_loop_epoll): Likewise
10942         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
10943         to __nss_disable_nscd.
10944         * nscd/cache.c (prune_cache): There is no single inotify descriptor
10945         for a database anymore.  Check the records for all the registered
10946         files instead.
10947         * nss/Makefile (libnss_files-routines): Add files-init.
10948         (libnss_db-routines): Add db-init.
10949         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10950         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10951         * nss/nss_db/db-init.c: New file.
10952         * nss/nss_files/files-init.c: New file.
10953         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
10954         __nss_lookup_function.
10955         (__nss_lookup_function): Call nss_load_library.
10956         (nss_load_all_libraries): New function.
10957         (__nss_disable_nscd): Take parameter with callback function for files
10958         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
10959         used for the cached services.
10960         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10961         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10962         options for features to all the files in nscd.
10964         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10966 2011-07-10  Roland McGrath  <roland@hack.frob.com>
10968         * csu/elf-init.c (__libc_csu_init): Comment typo.
10970 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
10972         * po/pl.po: Update from translation team.
10973         * po/ja.po: Likewise.
10974         * po/ru.po: Likewise.
10975         * po/ko.po: Likewise.
10976         * po/fr.po: Likewise.
10978 2011-07-09  Roland McGrath  <roland@hack.frob.com>
10980         * configure.in (.ctors/.dtors header and trailer check):
10981         Use an empirical test on a built program.
10982         * configure: Regenerated.
10984         * configure.in (-z relro check): Use an empirical test on a built DSO.
10985         Detect, but do not require, on ia64.
10986         * configure: Regenerated.
10988         * configure.in (READELF): Find it with AC_CHECK_TOOL.
10989         Update tests that use readelf to use $READELF instead.
10990         * configure: Regenerated.
10992 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
10994         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10995         if the result is not used.
10997 2011-07-05  Andreas Jaeger  <aj@suse.de>
10999         [BZ#9696]
11000         * stdlib/tst-strtod.c: Add testcase.
11002 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
11004         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
11005         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
11006         The latter has a higher limit.  Take additional parameter to pass to
11007         the new function.
11008         (__pathconf): Pass file to __statfs_link_max.
11009         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11010         __statfs_link_max.
11011         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11012         __statfs_link_max.
11014         [BZ #12868]
11015         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11016         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11017         Handle Lustre.
11018         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11019         (__statfs_filesize_max): Likewise.
11020         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11022 2011-07-05  Andreas Jaeger  <aj@suse.de>
11024         * resolv/res_comp.c (dn_skipname): Remove unused variable.
11026 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
11028         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11029         `status' variable.
11030         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11031         Likewise.
11033 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
11035         * Makefile (strop-tests): Add strncat.
11036         * string/test-strncat.c: New file.
11038 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
11040         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11042 2011-06-21  Andreas Jaeger  <aj@suse.de>
11044         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11045         Copy rule from iconvdata/Makefile.
11047 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
11049         [BZ #12922]
11050         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11051         but no long options are defined, just return 'W'.
11053 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
11055         [BZ #9696]
11056         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11058 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
11060         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11061         netgroups to read.
11062         (innetgr): Likewise.
11064 2011-07-05  Roland McGrath  <roland@hack.frob.com>
11066         * config.make.in (install_root): Default to $(DESTDIR).
11068 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
11070         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11072 2011-07-02  Roland McGrath  <roland@hack.frob.com>
11074         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11076         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11077         containing directory rather than embedding absolute directory names.
11079         * scripts/check-local-headers.sh: Rewritten using awk.
11080         Match by word, not by line.  Print error messages for matches.
11081         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11083         * Makerules [shlib-lds-flags empty]:
11084         ($(common-objpfx)libc_pic.opts): New target.
11085         ($(common-objpfx)libc_pic.os.clean): New target.
11086         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11088         * config.make.in (OBJCOPY): New variable.
11089         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11090         * configure: Regenerated.
11092         * config.make.in (use-default-link): New variable.
11093         * configure.in (use_default_link): Grok --with-default-link to set it.
11094         * configure: Regenerated.
11095         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11096         (shlib-lds, shlib-lds-flags): Define to empty.
11098         * Makerules (shlib-lds): New variable.
11099         (shlib-lds-flags): New variable.
11100         (build-shlib, build-moduile, build-module-asneeded): Use it.
11101         ($(common-objpfx)libc.so): Use $(shlib-lds).
11102         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11103         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11105         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11106         DT_FLAGS/DT_FLAGS_1 with zero flags.
11108         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11109         linker script munging.
11111 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
11113         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11114         as 128-bit value.
11115         * crypt/sha512.c (sha512_process_block): Perform total addition using
11116         128-bit if possible.
11117         (__sha512_finish_ctx): Likewise.
11118         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11119         as 64-bit value.
11120         * crypt/sha256.c (SWAP64): Define.
11121         (sha256_process_block): Perform total addition using 64-bit if
11122         possible.
11123         (__sha256_finish_ctx): Likewise.
11125 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
11127         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
11128         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11129         * nscd/hstcache.c (cache_addhst): Likewise.
11130         * nscd/grpcache.c (cache_addgr): Likewise.
11131         * nscd/aicache.c (addhstaiX): Likewise
11132         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11134 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
11136         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11137         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11138         * nscd/hstcache.c (cache_addhst): Likewise.
11139         * nscd/grpcache.c (cache_addgr): Likewise.
11140         * nscd/aicache.c (addhstaiX): Likewise
11142 2011-07-01  Andreas Schwab  <schwab@redhat.com>
11144         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11145         domain only when needed.
11147 2011-06-30  Andreas Schwab  <schwab@redhat.com>
11149         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11150         is always restored.
11152 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
11154         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11155         are re-adding the entry.
11156         * nscd/servicescache.c (cache_addserv): Likewise.
11158 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
11160         * sysdeps/generic/dl-irel.h: fix protection against multiple
11161         inclusions.
11162         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11164 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
11166         [BZ #12935]
11167         * malloc/memusage.sh: Fix quoting in message.
11168         * debug/xtrace.sh: Likewise.
11170         * configure.in: Remove support for --experimental-malloc option, make
11171         it the default.
11172         * config.make.in: Likewise.
11173         * malloc/Makefile: Likewise.
11175 2011-06-27  Andreas Schwab  <schwab@redhat.com>
11177         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11178         two-byte characters.
11180 2011-06-27  Roland McGrath  <roland@hack.frob.com>
11182         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11183         AC_CACHE_CHECK invocation.
11184         * configure: Regenerated.
11186         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11188 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
11190         [BZ #12350]
11191         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
11192         bit from old_res_options.
11194         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11196         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11197         value type for setfct.
11199 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
11201         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11202         __gettimeofday instead of gettimeofday.
11204 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
11206         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11208 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11210         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11212         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11213         info.
11215 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
11217         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11218         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11219         strcpy-sse2-unaligned strncpy-sse2-unaligned
11220         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11221         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11222         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11223         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11224         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11225         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11226         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11227         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11228         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11229         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11230         (STRCPY): Support SSE2 and SSSE3 versions.
11232 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
11234         [BZ #12874]
11235         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11236         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11237         kernels which artificially limit size of requests.
11239 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
11241         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11242         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11243         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11244         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11245         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11246         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11247         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11248         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11249         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11250         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11251         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11252         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11253         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11254         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11255         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11256         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11257         Enable unaligned load optimization for Intel Core i3, i5 and i7
11258         processors.
11259         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11260         Define.
11261         (index_Fast_Unaligned_Load): Define.
11262         (HAS_FAST_UNALIGNED_LOAD): Define.
11264 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
11266         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11268 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
11270         [BZ #12907]
11271         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11272         until it is clear that the information is realy needed.
11273         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11275 2011-06-22  Andreas Schwab  <schwab@redhat.com>
11277         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11279 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
11281         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11282         /sys/devices/system/cpu/online if it is usable.
11284         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11285         reading the information from the /proc filesystem to once a second.
11287 2011-06-21  Andreas Jaeger  <aj@suse.de>
11289         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11290         NULL after inclusion of kernel headers.
11292 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
11294         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11295         calls to internal_setent.
11297         [BZ #12885]
11298         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11299         addresses using gethostbyname4_r ignore IPv4 addresses.
11301         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11302         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
11304         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11306 2011-06-20  David S. Miller  <davem@davemloft.net>
11308         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11309         inclusions.
11310         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11312         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11313         (elf_irel): Use it.
11314         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11315         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11316         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11317         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11318         * sysdeps/x86_64/dl-irel.h: Likewise.
11320         * elf/dl-runtime.c: Use elf_ifunc_invoke.
11321         * elf/dl-sym.c: Likewise.
11323 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
11325         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
11326         need to dereference resplen2.
11328 2011-06-14  Andreas Schwab  <schwab@redhat.com>
11330         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11332 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
11334         * Makeconfig: Define vardbdir and inst_vardbdir.
11335         * nss/Makefile: Add rules to install db-Makefile.
11337         * nss/nss_db/db-XXX.c: Cleanup.
11339         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11340         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11341         GLIBC_PRIVATE.
11342         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11343         * nss/makedb.c: Implement -g option to specify that value strings
11344         are generated and should not be added to table iterated over for
11345         get*ent calls.
11346         * nss/nss_db/db-initgroups.c: New file.
11348         * nss/getent.c: Add support for initgroups lookups through getgrouplist
11349         interface.
11351         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11352         (internal_getgrouplist): Adjust to name change.
11353         Update use_initgroups_entry if this is not the first call.
11354         * nss/databases.def: Add initgroups entry.
11356         * nss/makedb.c (compute_tables): Check result of multiple hash table
11357         sizes to minimize maximum chain length.
11359 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
11361         * Versions.def: Add entry for libnss_db.
11362         * shlib-versions: Likewise.
11363         * nss/Makefile: Add rules to build libnss_db.
11364         * nss/Versions: Add libnss_db information.  Organize libnss_files
11365         entries better.
11366         * nss/db-Makefile: Add gshadow support.  Change rules for the new
11367         makedb progra.  Some minor improvements to generate smaller files.
11368         * nss/nss_db/nss_db.h: Move NSS database header data structures to
11369         here from...
11370         * nss/makedb.c: ...here.
11371         Improve database format to be smaller and require less memory at
11372         runtime.
11373         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
11374         db anymore.
11375         * nss/nss_db/db-netgrp.c: Likewise.
11376         * nss/nss_db/db-open.c: Likewise.
11377         * nss/nss_files/flies-XXX.x: Adjust comments.
11378         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11379         * nss/nss_files/files-grp.c: Likewise.
11380         * nss/nss_files/files-hosts.c: Likewise.
11381         * nss/nss_files/files-network.c: Likewise.
11382         * nss/nss_files/files-proto.c: Likewise.
11383         * nss/nss_files/files-pwd.c: Likewise.
11384         * nss/nss_files/files-rpc.c: Likewise.
11385         * nss/nss_files/files-service.c: Likewise.
11386         * nss/nss_files/files-sgrp.c: Likewise.
11387         * nss/nss_files/files-spwd.c: Likewise.
11388         * nss/nss_db/db-alias.c: Removed.
11389         * nss/nss_db/dummy-db.h: Removed.
11391 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
11393         * nss/makedb.c: Rewritten to not use database library.
11394         * nss/Makefile: Update to build new makedb program.
11396 2011-06-14  Andreas Jaeger  <aj@suse.de>
11398         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11399         memset declaration.
11401 2011-06-10  Andreas Schwab  <schwab@redhat.com>
11403         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11404         tmpbuf.
11406 2011-06-10  Roland McGrath  <roland@hack.frob.com>
11408         * Makerules (shlib.lds): Fail if the linker script comes out empty.
11409         * elf/Makefile ($(objpfx)ld.so): Likewise.
11411         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11412         Don't list ld.so twice in dependencies.
11414         * posix/bug-regex31.c: Include <stdlib.h>.
11416         * nscd/hstcache.c (cache_addhst): Remove unused variable.
11418         * nis/nss_compat/compat-spwd.c
11419         (getspent_next_nss_netgr): Remove unused variable.
11420         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11422         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11423         nonmembers" output to use the right array.
11425         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11427         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11429         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11430         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11431         * catgets/gencat.c (read_input_file): Likewise.
11432         * locale/programs/locarchive.c (enlarge_archive): Likewise.
11434         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11435         variable definition inside #if's controlling its use.
11437         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11439         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11441         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11443         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11444         unreachable code.
11446         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11448         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11449         * configure: Regenerated.
11451         * Makerules: Revert last change.
11452         * elf/Makefile: Likewise.
11454 2011-06-09  Roland McGrath  <roland@hack.frob.com>
11456         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11457         * elf/Makefile ($(objpfx)librtld.os): Likewise.
11458         (reloc-link): Likewise.
11460 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
11462         * elf/Makefile: Add rules to build pldd.
11463         * elf/pldd.c: New file.
11464         * elf/pldd-xx.c: New file.
11466 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
11468         * version.h: Update for 2.15 development version.
11470 2011-06-07  David S. Miller  <davem@davemloft.net>
11472         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11473         ifuncs.
11474         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11475         elf_machine_lazy_rel): Likewise.
11476         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11477         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11478         elf_machine_lazy_rel): Likewise.
11479         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11480         dl_hwcap via passed in argument.
11481         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11482         Likewise.
11484 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11486         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
11488 2011-06-06  Roland McGrath  <roland@hack.frob.com>
11490         [BZ #12849]
11491         * manual/fdl-1.1.texi: New file, verbatim from:
11492         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11493         * manual/lgpl-2.1.texi: New file, verbatim from:
11494         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11495         * manual/Makefile (licenses): New variable, list those new file names.
11496         (texis): Use it.
11497         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11499         * manual/fdl.texi: File removed.
11500         * manual/lesser.texi: File removed.
11501         * manual/libc.texinfo (Copying, Documentation License):
11502         Use new @include file names, put @appendix directive before @include.
11504 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
11506         [BZ #12841]
11507         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11508         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11509         (mq_open): Add __NTH.
11511 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
11513         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11514         Assume Intel Core i3/i5/i7 processor if AVX is available.
11516 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
11518         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11519         typo.
11521 2011-05-31  Andreas Schwab  <schwab@redhat.com>
11523         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11524         memory.  Use alloca_account.  Fix memory leak when retrying.
11526 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
11528         * version.h (RELEASE): Bump for 2.14 release.
11529         * include/features.h (__GLIBC_MINOR__): Bump to 14.
11531         * config.make.in (RANLIB): Remove entry.
11533 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
11535         * po/Makefile (po-sed-cmd): Add ksh to extensions.
11536         (libc.pot): Work around missing support for .ksh extension in xgettext.
11538         [BZ #12684]
11539         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11540         if both request failed.
11541         (send_dg): In case of server errors clear resplen or *resplen2.
11543         [BZ #12454]
11544         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11545         when there are multiple maps.
11546         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11547         (_dl_fini): Remove test here.
11549         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11551 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
11553         [BZ #12350]
11554         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11555         bit from old_res_options.
11556         (gaih_inet): Likewise.
11558         [BZ #11099]
11559         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
11560         as signed.
11562         * resolv/res_init.c (res_setoptions): Make the code more compact.
11564         [BZ #11558]
11565         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11566         set RES_USEVC.
11568         [BZ #11634]
11569         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11571         * malloc/malloc.h: Mark malloc hook variables as deprecated.
11573         [BZ #11781]
11574         * malloc/malloc.h: Declare malloc hook variables as volatile.
11576         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11577         in last patch.
11579         [BZ #11799]
11580         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
11581         raise in the comment.
11582         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11583         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11584         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
11586 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
11588         [BZ #12811]
11589         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11590         grow the buffers more if it already has to be sufficient.
11591         (build_wcs_upper_buffer): Likewise.
11592         * posix/regexec.c (check_matching): Likewise.
11593         (clean_state_log_if_needed): Likewise.
11594         (extend_buffers): Don't enlarge buffers beyond size of the input
11595         buffer.
11596         Patches mostly by Emil Wojak <emil@wojak.eu>.
11597         * posix/bug-regex32.c: New file.
11598         * posix/Makefile (tests): Add bug-regex32.
11600         * locale/findlocale.c (_nl_find_locale): Return right away if
11601         _nl_explode_name failed.
11602         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11604         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11606         * debug/xtrace.sh: Unify messages.
11607         * malloc/memusage.sh: Likewise.
11609         [BZ #12813]
11610         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11611         time symbol from vDSO.  Substitute with vsyscall if not available.
11612         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11613         __vdso_time.
11615         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11616         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11617         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11618         Add sendmmsg and internal_sendmmsg.
11619         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11620         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11621         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11623         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11624         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11625         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11627 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
11629         [BZ #12813]
11630         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11631         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
11632         available.
11633         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11634         __vdso_getcpu.
11636         [BZ #12814]
11637         * iconvdata/Makefile (tests): Add bug-iconv9.
11638         * iconvdata/bug-iconv9.c: New file.
11640 2011-05-27  Andreas Schwab  <schwab@redhat.com>
11642         [BZ #12814]
11643         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11645 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
11647         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11648         (struct user_regs_struct): Change intcs field back to cs.
11650 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
11652         * po/ja.po: Update from translation team.
11654 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
11656         [BZ #12795]
11657         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11658         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11660 2011-05-20  Andreas Schwab  <schwab@redhat.com>
11662         * stdlib/longlong.h: Update from GCC.
11664 2011-05-23  Andreas Schwab  <schwab@redhat.com>
11666         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11667         parameter name.
11668         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11669         Add parameter name.
11670         (__sysconf): Pass it down.
11672 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
11674         [BZ #12671]
11675         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11676         some situations.
11677         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11678         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11679         add in in __libc_use_alloca calls.  Adjust callers.
11680         (glob): Use malloc in some situations.
11682         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11683         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11684         pltexit.
11686 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
11688         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11689         and CLOCK_BOOTTIME_ALARM.
11691         [BZ #12782]
11692         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11693         is returned.
11695         * string/_strerror.c (__strerror_r): Print negative errors as signed
11696         numbers.
11698         [BZ #12777]
11699         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11700         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11701         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11703         * configure.in: Fix typo in redirection and correct removal of test
11704         files in two cases.
11706         [BZ #12788]
11707         * locale/setlocale.c (new_composite_name): Fix test to check for
11708         identical name of all categories.
11710         [BZ #12792]
11711         * libio/filedoalloc.c (local_isatty): New function.
11712         (_IO_file_doallocate): Use local_isatty.
11713         * stdio-common/perror.c (perror): In case a new stream is used
11714         forward the stream error.
11715         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11716         error flag.
11718 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
11720         [BZ #11869]
11721         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11722         alloca.
11723         * include/alloca.h (extend_alloca_account): Define.
11725         [BZ #11857]
11726         * posix/regex.h: Fix comments with documentation of user-accessible
11727         fields after compilation and describe correct free'ing of pattern
11728         after re_compile_pattern.
11729         Patch by Reuben Thomas <rrt@sc3d.org>.
11731 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
11733         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11734         and -mno-altivec to prevent the compiler from using Altivec and/or
11735         VSX instructions when the corresponding registers are not available.
11737 2011-05-19  Andreas Schwab  <schwab@redhat.com>
11739         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11741 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
11743         * libio/freopen.c (freopen): Use __dup2, not dup2.
11744         * libio/freopen64.c (freopen64): Likewise.
11746 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
11748         [BZ #12775]
11749         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11750         * math/Makefile (tests): Add test-powl.
11751         (CFLAGS-test-powl.c): Define.
11752         * math/test-powl.c: New file.
11754 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
11756         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11758 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
11760         [BZ #11837]
11761         * iconvdata/gb18030.c: Update to GB18020-2005.
11763 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
11765         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11766         RE_SYNTAX_POSIX_AWK): Update to match recent development.
11767         Patch by Aharon Robbins <arnold@skeeve.com>.
11769         [BZ #11892]
11770         * stdlib/putenv.c (putenv): Don't always create copy of the variable
11771         on the stack.
11773         [BZ #11895]
11774         * misc/pselect.c (__pselect): Handle timeout value errors hidden
11775         through underflows.
11777         [BZ #12766]
11778         * misc/error.c (error_at_line): Ensure file_name and old_file_name
11779         point to strings before performing equality test for error_one_per_line
11780         mode.
11782         [BZ #11697]
11783         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11785         [BZ #11820]
11786         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11787         (struct user_fpregs_struct): Avoid __uint*_t types.
11789         [BZ #6420]
11790         * malloc/mtrace.c (tr_where): Add additional parameter to point to
11791         symbol info.  Use it instead of calling _dl_addr locally.
11792         (lock_and_info): New function.
11793         (tr_freehook): Call lock_and_info and pass symbol info as additional
11794         parameter to tr_where.
11795         (tr_mallochook): Likewise.
11796         (tr_reallochook): Likewise.
11797         (tr_memalignhook): Likewise.
11799         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
11800         used and couldn't be at all thread-safe.
11802 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
11804         * libio/freopen.c (freopen): Don't close old file descriptor
11805         before the new one is opened.  Instead dup the new file descriptor
11806         to the old one after the new stream is created.
11807         * libio/freopen64.c (freopen64): Likewise.
11808         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11809         * libio/fileops.c (_IO_new_file_close_it): Handle new
11810         _IO_FLAGS2_NOCLOSE flag.
11811         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11812         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11813         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11814         _IO_FLAGS2_NOCLOSE flag.
11815         * include/unistd.h: Add hidden_proto for dup3.
11816         Define __have_dup3.
11817         * io/dup3.c: Define hidden symbol.
11818         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11820         [BZ #7101]
11821         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11822         when an incomplete long option is used.
11823         * posix/tst-getopt_long1.c: New file.
11824         * posix/Makefile (tests): Add tst-getopt_long1.
11826         [BZ #10138]
11827         * scripts/config.guess: Update from autoconf-2.68.
11828         * scripts/config.sub: Likewise.
11830         [BZ #10157]
11831         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11832         tests into ...
11833         (has_cpuclock): ...this.  New function.
11834         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11835         macro here based on has_cpuclock code.
11837         [BZ #10149]
11838         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11839         First byte (not low byte) is now always NUL.
11840         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11842         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11843         Use non-cancelable interfaces.
11845         [BZ #9809]
11846         * locale/iso-639.def: Add entry for Sorani.
11848         [BZ #11901]
11849         * include/stdlib.h: Move include protection to the right place.
11850         Define abort_msg_s.  Declare __abort_msg with it.
11851         * stdlib/abort.c (__abort_msg): Adjust type.
11852         * assert/assert.c (__assert_fail_base): New function.  Majority
11853         of code from __assert_fail.  Allocate memory for __abort_msg with
11854         mmap.
11855         (__assert_fail): Now call __assert_fail_base.
11856         * assert/assert-perr.c: Remove bulk of implementation.  Use
11857         __assert_fail_base.
11858         * include/assert.hL Declare __assert_fail_base.
11859         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11860         mmap.
11861         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11863 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
11865         [BZ #11952]
11866         [BZ #12453]
11867         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11868         until all modules are registered in the DTV.
11869         * elf/Makefile: Add rules to build and run tst-tls19.
11870         * elf/tst-tls19.c: New file.
11871         * elf/tst-tls19mod1.c: New file.
11872         * elf/tst-tls19mod2.c: New file.
11873         * elf/tst-tls19mod3.c: New file.
11874         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11876         [BZ #12083]
11877         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11878         correctly.
11880         [BZ #12601]
11881         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11882         two-byte sequence errors.
11883         * iconvdata/Makefile (tests): Add bug-iconv8.
11884         * iconvdata/bug-iconv8.c: New file.
11886         [BZ #12626]
11887         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11888         buf2 definition.
11890         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11892         [BZ #12432]
11893         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11894         (dummy_getcfa): New function.
11895         (init): Get _Unwind_GetCFA address, use dummy if not found.
11896         (backtrace_helper): In recursion check, also check whether CFA changes.
11897         (__backtrace): Completely initialize arg.
11899         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11900         storing incomplete byte sequence in state object.  Avoid testing for
11901         guaranteed too small input if we know there is enough data available.
11903 2011-05-11  Andreas Schwab  <schwab@redhat.com>
11905         * Makeconfig (+link-pie): Indent.
11906         * Rules (binaries-pie): Define if $(have-fpie) and
11907         $(build-shared).
11908         (binaries-shared): Also filter out $(binaries-pie).
11909         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11910         * nscd/Makefile (others-pie): Add nscd.
11911         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11912         ($(objpfx)nscd): Remove command override.
11913         * login/Makefile (others-pie): Add pt_chown.
11914         ($(objpfx)pt_chown): Remove command override.
11915         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11916         remove command overrides.
11918 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
11920         * libio/tst_putwc.c: Fix error messages.
11922         [BZ #12724]
11923         * libio/fileops.c (_IO_new_file_close_it): Always flush when
11924         currently writing and seek to current position when not.
11925         * libio/Makefile (tests): Add bug-fclose1.
11926         * libio/bug-fclose1.c: New file.
11928 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
11930         [BZ #12511]
11931         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11932         don't set DF_1_NODELETE here.
11933         (do_lookup_x): When entering new entry test for copy relocation
11934         and if necessary set DF_1_NODELETE flag.
11935         * elf/tst-unique4.cc: New file.
11936         * elf/tst-unique4.h: New file.
11937         * elf/tst-unique4lib.cc: New file.
11938         * elf/Makefile: Add rules to build and run tst-unique4.
11939         Patch by Piotr Bury <pbury@goahead.com>.
11941 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
11943         [BZ #12052]
11944         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11946         [BZ #12625]
11947         * misc/mntent_r.c (addmntent): Flush the stream after the output
11949         [BZ #12393]
11950         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11951         (is_trusted_path_normalize): Skip initial colon.  Append slash
11952         to empty buffer.  Duplicate is_trusted_path code but allow
11953         constructed patch to be prefix.
11954         (is_dst): Allow $ORIGIN followed by /.
11955         (_dl_dst_substitute): Correct clearing of check_for_trusted.
11956         Correct testing of result of is_trusted_path_normalize
11957         (decompose_rpath): Fix warning.
11959 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
11961         [BZ #11257]
11962         * grp/initgroups.c (internal_getgrouplist): When we found the service
11963         list through the initgroups entry in nsswitch.conf do not always
11964         continue on a successful lookup.  Don't always use the
11965         __nss_group_database value if it is set.
11966         * nss/nsswitch.conf (initgroups): Change action for successful db
11967         lookup to continue for compatibility.
11969 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
11971         [BZ #11532]
11972         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11973         and CP774 modules.
11974         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11975         and CP774 modules.
11976         * iconvdata/tst-tables.sh: Likewise.
11977         * iconvdata/cp770.c: New file.
11978         * iconvdata/cp771.c: New file.
11979         * iconvdata/cp772.c: New file.
11980         * iconvdata/cp773.c: New file.
11981         * iconvdata/cp774.c: New file.
11982         * iconvdata/testdata/CP770: New file.
11983         * iconvdata/testdata/CP770..UTF8: New file.
11984         * iconvdata/testdata/CP771: New file.
11985         * iconvdata/testdata/CP771..UTF8: New file.
11986         * iconvdata/testdata/CP772: New file.
11987         * iconvdata/testdata/CP772..UTF8: New file.
11988         * iconvdata/testdata/CP773: New file.
11989         * iconvdata/testdata/CP773..UTF8: New file.
11990         * iconvdata/testdata/CP774: New file.
11991         * iconvdata/testdata/CP774..UTF8: New file.
11993         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11994         END CHARMAP line.
11995         * iconvdata/gen-8bit-gap.sh: Likewise.
11996         * iconvdata/gen-8bit.sh: Likewise.
11998         * locale/iso-639.def: Add ary entry.
12000         [BZ #11258]
12001         * locale/C-translit.h.in: Add U20A1 transliteration.
12003         [BZ #12178]
12004         * locale/iso-639.def: Add wae entry.
12005         Patch by Kevin Bortis <bortis@translate-wae.ch>.
12007         [BZ #12545]
12008         * locale/programs/localedef.c (construct_output_path): Use ssize_t
12009         for n.
12011         [BZ #12711]
12012         * locale/C-translit.h.in: Add entry for U20B9.
12013         Patch by pravin.d.s@gmail.com.
12015 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
12017         [BZ #12713]
12018         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12019         ENAMETOOLONG use generic getcwd.
12020         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
12021         in rtld.  Use *stat64.
12022         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
12023         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
12024         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
12025         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12026         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12027         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12028         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12029         __fstatat64 macros.
12030         * include/dirent.h: Add libc_hidden_proto for rewinddir.
12031         * dirent/rewinddir.c: Add libc_hidden_def.
12032         * sysdeps/mach/hurd/rewinddir.c: Likewise.
12033         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
12035         * include/dirent.h (__alloc_dir): Add flags parameter.
12036         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12037         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12038         __alloc_dir.
12039         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
12040         from fdopendir if O_CLOEXEC is already set.
12042 2011-03-15  Alan Modra  <amodra@gmail.com>
12044         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12045         l_tls_firstbyte_offset non-zero.  Save padding offset in
12046         l_tls_firstbyte_offset for later use.
12047         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12048         freeing static tls block.
12050 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
12052         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12053         where #ifdef was intended.  The intent is to prevent ARG_MAX from
12054         being defined by the kernel headers.
12056 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
12058         [BZ #12734]
12059         * resolv/resolv.h: Define RES_NOTLDQUERY.
12060         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12061         no-tld-query and set RES_NOTLDQUERY.
12062         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12063         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12064         modern BIND to search name as TLD unless forbidden.
12066 2011-05-07  Petr Baudis  <pasky@suse.cz>
12067             Ulrich Drepper  <drepper@gmail.com>
12069         [BZ #12393]
12070         * elf/dl-load.c (fillin_rpath): Move trusted path check...
12071         (is_trusted_path): ...to here.
12072         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
12073         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
12074         using is_trusted_path_normalize() in setuid scripts.
12076 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12078         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12079         __BEGIN/__END_DECLS.
12081 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
12083         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12084         NSS_STATUS_NOTFOUND if no record was found.
12086 2011-05-05  Andreas Schwab  <schwab@redhat.com>
12088         * sunrpc/Makefile (headers): Add rpc/netdb.h.
12089         (headers-not-in-tirpc): Remove rpc/netdb.h
12090         * resolv/netdb.h: Revert last change.
12092 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12094         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12095         circular dependency between libgcc.a and libc.a.
12097 2011-05-05  Andreas Schwab  <schwab@redhat.com>
12099         * resolv/netdb.h: Don't include <rpc/netdb.h>.
12100         * nis/Makefile: Don't install rpcsvc/*.
12101         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12102         instead of <rpc/types.h>.
12103         (MAXHOSTNAMELEN): Define.
12105 2011-05-03  Andreas Schwab  <schwab@redhat.com>
12107         * elf/ldconfig.c (add_dir): Don't crash on empty path.
12109 2011-04-28  Maciej Babinski  <mbabinski@google.com>
12111         [BZ #12714]
12112         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12113         gethostbyname4_r when IPv6 results are possible.
12115 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
12117         [BZ #12723]
12118         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12119         _PC_PIPE_BUF handling.
12121 2011-04-30  Bruno Haible  <bruno@clisp.org>
12123         [BZ #12717]
12124         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12125         * resolv/netdb.h (getnameinfo): Change type of flags parameter
12126         to 'int'.
12127         * inet/getnameinfo.c (getnameinfo): Likewise.
12129 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
12131         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12132         to groups setting in database lookup.
12133         * nss/nsswitch.conf: Add initgroups entry.
12135 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
12137         [BZ #12685]
12138         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12139         mode string.
12140         Patch by Eric Blake <eblake@redhat.com>.
12142 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
12144         * sunrpc/Makefile (need-export-routines): Add svc_run.
12145         (routines): Remove svc_run.
12146         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12147         * sunrpc/clnt_perr.c (clnt_perrno): Export.
12148         * sunrpc/svc_run.c (svc_run): Likewise.
12149         * sunrpc/svc_udp.c (svcudp_create): Likewise.
12151 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
12153         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12154         problem in reallocation in last patch.
12156 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
12158         * sunrpc/Makefile: Move inclusion of Rules.
12160 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
12162         * nss/nss_files/files-initgroups.c: New file.
12163         * nss/Makefile (libnss_files-routines): Add files-initgroups.
12164         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12165         _nss_files_initgroups_dyn.
12167 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
12169         * elf/elf.h (R_ARM_IRELATIVE): Define.
12171 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
12173         * po/ru.po: Update from translation team.
12175 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
12177         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12178         dependencies.
12180 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
12182         [BZ #12653]
12183         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12184         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12185         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12186         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12187         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12189 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
12191         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12192         differing bytes.
12193         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12194         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12195         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12197 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
12199         [BZ #12420]
12200         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12201         storing it.
12202         * stdlib/bug-getcontext.c: New file.
12203         * stdlib/Makefile: Add rules to build and run bug-getcontext.
12205 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12207         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12208         instructions into .machine "z9-109".
12209         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12210         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12212 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12214         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12215         between environment variables and auxiliary vector.
12217 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
12219         * Makefile: Add rules to build linkobj/libc.so.
12220         * include/libc-symbols.h: Define libc_hidden_nolink.
12221         * include/rpc/auth.h: Mark functions which are to be hidden.
12222         * include/rpc/auth_des.h: Likewise.
12223         * include/rpc/auth_unix.h: Likewise.
12224         * include/rpc/clnt.h: Likewise.
12225         * include/rpc/des_crypt.h: Likewise.
12226         * include/rpc/key_prot.h: Likewise.
12227         * include/rpc/pmap_clnt.h: Likewise.
12228         * include/rpc/pmap_prot.h: Likewise.
12229         * include/rpc/pmap_rmt.h: Likewise.
12230         * include/rpc/rpc_msg.h: Likewise.
12231         * include/rpc/svc.h: Likewise.
12232         * include/rpc/svc_auth.h: Likewise.
12233         * include/rpc/xdr.h: Likewise.
12234         * nis/Makefile: Link all DSOs against linkobj/libc.so.
12235         * nss/Makefile: Likewise.
12236         * sunrpc/Makefile: Don't install headers.  Build library with normal
12237         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
12238         * sunrpc/auth_des.c: Hide exported symbols by default, export some
12239         for the compat linking library.  Remove use of INTDEF/INTUSE.
12240         * sunrpc/auth_none.c: Likewise.
12241         * sunrpc/auth_unix.c: Likewise.
12242         * sunrpc/authdes_prot.c: Likewise.
12243         * sunrpc/authuxprot.c: Likewise.
12244         * sunrpc/clnt_gen.c: Likewise.
12245         * sunrpc/clnt_perr.c: Likewise.
12246         * sunrpc/clnt_raw.c: Likewise.
12247         * sunrpc/clnt_simp.c: Likewise.
12248         * sunrpc/clnt_tcp.c: Likewise.
12249         * sunrpc/clnt_udp.c: Likewise.
12250         * sunrpc/clnt_unix.c: Likewise.
12251         * sunrpc/des_crypt.c: Likewise.
12252         * sunrpc/des_soft.c: Likewise.
12253         * sunrpc/get_myaddr.c: Likewise.
12254         * sunrpc/key_call.c: Likewise.
12255         * sunrpc/key_prot.c: Likewise.
12256         * sunrpc/netname.c: Likewise.
12257         * sunrpc/pm_getmaps.c: Likewise.
12258         * sunrpc/pm_getport.c: Likewise.
12259         * sunrpc/pmap_clnt.c: Likewise.
12260         * sunrpc/pmap_prot.c: Likewise.
12261         * sunrpc/pmap_prot2.c: Likewise.
12262         * sunrpc/pmap_rmt.c: Likewise.
12263         * sunrpc/publickey.c: Likewise.
12264         * sunrpc/rpc_cmsg.c: Likewise.
12265         * sunrpc/rpc_common.c: Likewise.
12266         * sunrpc/rpc_dtable.c: Likewise.
12267         * sunrpc/rpc_prot.c: Likewise.
12268         * sunrpc/rpc_thread.c: Likewise.
12269         * sunrpc/rtime.c: Likewise.
12270         * sunrpc/svc.c: Likewise.
12271         * sunrpc/svc_auth.c: Likewise.
12272         * sunrpc/svc_authux.c: Likewise.
12273         * sunrpc/svc_raw.c: Likewise.
12274         * sunrpc/svc_run.c: Likewise.
12275         * sunrpc/svc_simple.c: Likewise.
12276         * sunrpc/svc_tcp.c: Likewise.
12277         * sunrpc/svc_udp.c: Likewise.
12278         * sunrpc/svc_unix.c: Likewise.
12279         * sunrpc/svcauth_des.c: Likewise.
12280         * sunrpc/xcrypt.c: Likewise.
12281         * sunrpc/xdr.c: Likewise.
12282         * sunrpc/xdr_array.c: Likewise.
12283         * sunrpc/xdr_float.c: Likewise.
12284         * sunrpc/xdr_intXX_t.c: Likewise.
12285         * sunrpc/xdr_mem.c: Likewise.
12286         * sunrpc/xdr_rec.c: Likewise.
12287         * sunrpc/xdr_ref.c: Likewise.
12288         * sunrpc/xdr_sizeof.c: Likewise.
12289         * sunrpc/xdr_stdio.c: Likewise.
12291 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
12293         [BZ #12650]
12294         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12295         * sysdeps/ia64/dl-tls.h: Likewise.
12296         * sysdeps/powerpc/dl-tls.h: Likewise.
12297         * sysdeps/s390/dl-tls.h: Likewise.
12298         * sysdeps/sh/dl-tls.h: Likewise.
12299         * sysdeps/sparc/dl-tls.h: Likewise.
12300         * sysdeps/x86_64/dl-tls.h: Likewise.
12301         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12303 2011-03-14  Andreas Schwab  <schwab@redhat.com>
12305         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12306         rpath element also skip the following colon.
12307         (expand_dynamic_string_token): Add is_path parameter and pass
12308         down to DL_DST_REQUIRED and _dl_dst_substitute.
12309         (decompose_rpath): Call expand_dynamic_string_token with
12310         non-zero is_path.  Ignore empty rpaths.
12311         (_dl_map_object_from_fd): Call expand_dynamic_string_token
12312         with zero is_path.
12314 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
12316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12317         Make cancelable.
12319 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
12321         [BZ #12655]
12322         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12323         Patch by Filipe David Manana <fdmanana@apache.org>.
12325 2011-04-07  Andreas Schwab  <schwab@redhat.com>
12327         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12328         Maintain aligned stack.
12329         (CHECK_RSP): Remove unused macro.
12331 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
12333         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12334         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12336 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
12338         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12340         * include/features.h: Mention __USE_XOPEN2K8 in comment.
12342 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
12344         [BZ #12518]
12345         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12346         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12347         * sysdeps/x86_64/memmove.c: New file.
12348         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12349         (memcpy): Renamed to ...
12350         (__new_memcpy): This.
12351         (memcpy): Provide GLIBC_2_14 memcpy.
12352         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12353         (memcpy): Provide GLIBC_2_2_5 memcpy.
12355 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
12357         [BZ #12631]
12358         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12360 2011-03-30  Andreas Schwab  <schwab@redhat.com>
12362         * misc/syncfs.c: New file.
12363         * misc/Makefile (routines): Add syncfs.
12364         * posix/unistd.h: Declare syncfs.
12365         * sysdeps/unix/syscalls.list: Add syncfs.
12367 2011-04-01  Andreas Schwab  <schwab@redhat.com>
12369         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12370         open_by_handle_at.
12371         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12372         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12373         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12374         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12375         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12376         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12377         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12379 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
12381         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12382         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12383         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12384         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12385         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12386         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12387         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12389         * io/Makefile: Compile fallocate.c, fallocate64.c, and
12390         sync_file_range.c with -fexceptions.
12391         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12392         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12393         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12394         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12395         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12396         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12397         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
12398         sync_file_range as cancellation point
12399         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
12400         now a wrapper around __call_sync_file_range with cancellation handling.
12401         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12402         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
12403         function name to __call_sync_file_range.
12404         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12405         Add call_sync_file_range.
12407 2011-04-01  Andreas Schwab  <schwab@redhat.com>
12409         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12410         bits/timex.h.
12412 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
12414         * iconv/iconv.h: Fix typo in comment.
12415         * io/fcntl.h: Likewise.
12416         * libio/stdio.h: Likewise.
12417         * posix/spawn.h: Likewise.
12418         * posix/unistd.h: Likewise.
12419         * stdlib/stdlib.h: Likewise.
12420         * time/time.h: Likewise.
12421         * wcsmbs/wchar.h: Likewise.
12423         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12424         open_by_handle): Add.
12425         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12426         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
12427         Augment a few comments.
12428         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12429         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12430         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12431         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12432         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12433         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12434         open_by_handle.
12436         * io/fcntl.h (AT_EMPTY_PATH): Define.
12438 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
12440         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12441         * sysdeps/unix/sysv/linux/bits/time.h: New file.
12442         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12443         to...
12444         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
12445         * Versions.def: Add GLIBC_2.14.
12446         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12447         Export.
12449 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
12451         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12452         round counter.
12453         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12455 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
12457         [BZ #12597]
12458         * string/test-strncmp.c (do_page_test): New function.
12459         (check2): Likewise.
12460         (test_main): Call check2.
12461         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12463 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
12465         [BZ #12587]
12466         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12467         Handle cache information in CPU leaf 4.
12468         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12470 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
12472         [BZ #12583]
12473         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12474         character representation.
12475         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12477 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
12479         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12480         END(__isnan) to END(__isnanf) to match function entry point/label
12481         EALIGN(__isnanf,...).
12483 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
12485         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12487 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
12489         [BZ #12510]
12490         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12491         copy from the symbol referenced in the relocation to initialize the
12492         used variable.
12493         Patch by Piotr Bury <pbury@goahead.com>.
12494         * elf/Makefile: Add rules to build and tst-unique3.
12495         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12496         * elf/tst-unique3.cc: New file.
12497         * elf/tst-unique3.h: New file.
12498         * elf/tst-unique3lib.cc: New file.
12499         * elf/tst-unique3lib2.cc: New file.
12501         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12503 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
12505         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12506         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
12507         to _start.
12509 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
12511         * elf/dl-load.c (_dl_map_object): If we are looking for the first
12512         to-be-loaded object along a path to loader is ld.so.
12514 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
12515             Ulrich Drepper  <drepper@gmail.com>
12517         * sysdeps/x86_64/memset.S: After aligning destination, code
12518         branches to different locations depending on the value of
12519         misalignment, when multiarch is enabled. Fix this.
12521 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
12523         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12524         Set _x86_64_preferred_memory_instruction for AMD processsors.
12525         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12526         Set bit_Prefer_SSE_for_memop for AMD processors.
12528 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
12530         * libio/fmemopen.c (fmemopen): Optimize a bit.
12532 2011-03-03  Andreas Schwab  <schwab@redhat.com>
12534         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12536 2011-03-03  Roland McGrath  <roland@redhat.com>
12538         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12540 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
12542         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
12543         __bzero_ultra1 instead of __memset_ultra1.
12545 2011-02-23  Andreas Schwab  <schwab@redhat.com>
12546             Ulrich Drepper  <drepper@gmail.com>
12548         [BZ #12509]
12549         * include/link.h (struct link_map): Add l_orig_initfini.
12550         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12551         returning unsuccessfully.
12552         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12553         close of a file loaded at startup, restore the original l_initfini
12554         list.
12555         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12556         list, store the pointer.
12557         * elf/Makefile ($(objpfx)noload-mem): New rule.
12558         (noload-ENV): Define.
12559         (tests): Add $(objpfx)noload-mem.
12560         * elf/noload.c: Include <memcheck.h>.
12561         (main): Call mtrace.  Close all opened handles.
12563 2011-02-17  Andreas Schwab  <schwab@redhat.com>
12565         [BZ #12454]
12566         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12567         dependencies are missing.
12569 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12571         Fix __if_freereq crash: Unlike the generic version which uses free,
12572         Hurd needs munmap.
12573         * sysdeps/mach/hurd/ifreq.h: New file.
12575 2011-01-27  Petr Baudis  <pasky@suse.cz>
12576             Ulrich Drepper  <drepper@gmail.com>
12578         [BZ 12445]#
12579         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12580         to extend_alloca().
12581         * stdio-common/bug23.c: New file.
12582         * stdio-common/Makefile (tests): Add bug23.
12584 2010-09-28  Andreas Schwab  <schwab@redhat.com>
12585             Ulrich Drepper  <drepper@gmail.com>
12587         [BZ #12489]
12588         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12589         before performing relro protection.  At old place add assertion
12590         to make sure nothing changed.
12592 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
12593             Glauber de Oliveira Costa  <glommer@gmail.com>
12595         * elf/elf.h: Add new ARM TLS relocs.
12597 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
12599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12600         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12601         cast from r3.
12602         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
12603         'tests' variable.
12604         * sysdeps/wordsize-64/tst-writev.c: New file.
12606 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
12608         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12609         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12610         insns in _dl_start to prevent a TOC reference before relocs are
12611         resolved.
12613 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
12615         [BZ #12469]
12616         * Makeconfig: Remove RANLIB definition.
12617         * Makerules: Don't use RANLIB.
12618         * aclocal.m4: Remove ranlib test.
12619         * configure.in: No need to check for ranlib.
12620         * elf/rtld-Rules: Don't use RANLIB.
12622 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12624         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12625         protection macro.
12626         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12627         inclusion protection macro.
12629         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12630         SIGRTMIN and SIGRTMAX and print information in that case only when
12631         SIGRTMIN is defined.
12633 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
12635         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12636         arginfo fn returning -1.
12638         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12639         and thousands string is zero terminated.
12641 2011-02-03  Andreas Schwab  <schwab@redhat.com>
12643         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12644         sysdeps/unix/sysv/linux/bits/socket.h.
12646 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12648         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12649         (__CPU_COUNT): Remove old macros.
12650         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12651         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12652         (__CPU_ALLOC, __CPU_FREE): Add macros.
12653         (__sched_cpualloc, __sched_cpufree): Add declarations.
12655 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
12657         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12658         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12659         * nscd/aicache.c (addhstaiX): Return timeout of added value.
12660         (readdhstai): Return value of addhstaiX call.
12661         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12662         (addgrbyX): Return value returned by cache_addgr.
12663         (readdgrbyname): Return value returned by addgrbyX.
12664         (readdgrbygid): Likewise.
12665         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12666         (addpwbyX): Return value returned by cache_addpw.
12667         (readdpwbyname): Return value returned by addhstbyX.
12668         (readdpwbyuid): Likewise.
12669         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12670         (addservbyX): Return value returned by cache_addserv.
12671         (readdservbyname): Return value returned by addservbyX:
12672         (readdservbyport): Likewise.
12673         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12674         (addhstbyX): Return value returned by cache_addhst.
12675         (readdhstbyname): Return value returned by addhstbyX.
12676         (readdhstbyaddr): Likewise.
12677         (readdhstbynamev6): Likewise.
12678         (readdhstbyaddrv6): Likewise.
12679         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12680         (readdinitgroups): Return value returned by addinitgroupsX.
12681         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12682         (prune_cache): Keep track of timeout value of re-added entries.
12683         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12684         * nscd/nscd.h: Adjust prototypes of readd* functions.
12686 2011-02-04  Roland McGrath  <roland@redhat.com>
12688         * nis/nis_server.c (nis_servstate): Use the right name for 0.
12689         (nis_stats): Likewise.
12690         * nis/nis_modify.c (nis_modify): Likewise.
12691         * nis/nis_remove.c (nis_remove): Likewise.
12692         * nis/nis_add.c (nis_add): Likewise.
12694         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12696         * posix/fnmatch_loop.c: Add some consts.
12698         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12700 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
12702         [BZ #12460]
12703         * config.make.in (config-cflags-novzeroupper): Define.
12704         * configure.in: Substitute libc_cv_cc_novzeroupper.
12705         * elf/Makefile (AVX-CFLAGS): Define.
12706         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12707         (CFLAGS-tst-auditmod4a.c): Likewise.
12708         (CFLAGS-tst-auditmod4b.c): Likewise.
12709         (CFLAGS-tst-auditmod6b.c): Likewise.
12710         (CFLAGS-tst-auditmod6c.c): Likewise.
12711         (CFLAGS-tst-auditmod7b.c): Likewise.
12712         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12714 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
12716         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12717         function to the callback.
12718         Patch partly by Jiri Olsa <jolsa@redhat.com>.
12720 2011-02-02  Andreas Schwab  <schwab@redhat.com>
12722         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12723         of errno.
12725 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
12727         [BZ #11724]
12728         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12729         of constructors.
12730         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12731         of destructors.
12732         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12734         [BZ #11724]
12735         * elf/Makefile: Add rules to build and run new test.
12736         * elf/tst-initorder.c: New file.
12737         * elf/tst-initorder.exp: New file.
12738         * elf/tst-initordera1.c: New file.
12739         * elf/tst-initordera2.c: New file.
12740         * elf/tst-initordera3.c: New file.
12741         * elf/tst-initordera4.c: New file.
12742         * elf/tst-initorderb1.c: New file.
12743         * elf/tst-initorderb2.c: New file.
12744         * elf/tst-order-a1.c: New file.
12745         * elf/tst-order-a2.c: New file.
12746         * elf/tst-order-a3.c: New file.
12747         * elf/tst-order-a4.c: New file.
12748         * elf/tst-order-b1.c: New file.
12749         * elf/tst-order-b2.c: New file.
12750         * elf/tst-order-main.c: New file.
12751         New test case by George Gensure <werkt0@gmail.com>.
12753 2010-10-01  Andreas Schwab  <schwab@redhat.com>
12755         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12756         decoding ACE if AI_CANONIDN.
12758 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
12760         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12762 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
12764         * version.h (RELEASE): Bump for 2.13 release.
12765         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12767         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12769         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12770         MADV_NOHUGEPAGE.
12771         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12772         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12773         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12774         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12775         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12776         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12778         * posix/getconf.c: Update copyright year.
12779         * catgets/gencat.c: Likewise.
12780         * csu/version.c: Likewise.
12781         * debug/catchsegv.sh: Likewise.
12782         * debug/xtrace.sh: Likewise.
12783         * elf/ldconfig.c: Likewise.
12784         * elf/ldd.bash.in: Likewise.
12785         * elf/sprof.c (print_version): Likewise.
12786         * iconv/iconv_prog.c: Likewise.
12787         * iconv/iconvconfig.c: Likewise.
12788         * locale/programs/locale.c: Likewise.
12789         * locale/programs/localedef.c: Likewise.
12790         * malloc/memusage.sh: Likewise.
12791         * malloc/mtrace.pl: Likewise.
12792         * nscd/nscd.c (print_version): Likewise.
12793         * nss/getent.c: Likewise.
12795         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12796         PF_CAIF, and PF_ALG.
12797         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12799 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
12801         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12802         (modules-names): Use them.
12803         (ifunc-test-modules, ifunc-pie-tests): Define.
12804         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12805         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12806         (test-extras): Likewise.
12807         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12808         $(compile-command.c).
12809         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12810         (all-built-dso): Define.
12811         (check-textrel.out, check-execstack.out): Depend on it.
12813         * configure.in: Don't override --enable-multi-arch.
12815 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
12817         [BZ #6812]
12818         * nscd/hstcache.c (tryagain): Define.
12819         (cache_addhst): Return tryagain not notfound for temporary errors.
12820         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12821         failed.
12823 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
12825         [BZ #10563]
12826         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12827         to make the syscall.
12828         * sysdeps/unix/sysv/linux/setgroups.c: New file.
12830         [BZ #12378]
12831         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12832         and fall back to matching as normal character if the string ends before
12833         the matching ']' is found.  This is what POSIX requires.
12834         * posix/testfnm.c: Adjust test result.
12835         * posix/globtest.sh: Adjust test result.  Add new test.
12836         * posix/tst-fnmatch.input: Likewise.
12837         * posix/tst-fnmatch2.c: Add new test.
12839 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
12841         * elf/Makefile (check-execstack): Revert last change.  Depend on
12842         check-execstack.h.
12843         (check-execstack.h): New target.
12844         (generated): Add check-execstack.h.
12845         * elf/check-execstack.c: Include "check-execstack.h".
12846         (main): Revert last change.
12847         (handle_file): Return zero if GNU_STACK is absent and
12848         DEFAULT_STACK_PERMS doesn't include PF_X.
12850 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
12852         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12853         in child fails because the descriptor is already closed.
12854         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12855         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12856         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12858         [BZ #12397]
12859         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12860         syscall.
12862         [BZ #10484]
12863         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12864         temporary buffer used to handle multi lookups locally.
12865         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12867 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
12869         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12870         loader is ld.so.
12872 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
12874         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12875         alignment for SSE2.
12877 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
12879         [BZ #12394]
12880         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12881         characters.  When rounding increased number of integer digits recompute
12882         number of groups.
12883         * stdio-common/tst-grouping.c: New file.
12884         * stdio-common/Makefile: Add rules to build and run tst-grouping.
12886 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
12888         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12889         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
12891         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12892         void.
12893         * bits/select.h: Likewise.
12895 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
12897         * po/ja.po: Update from translation team.
12899 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
12901         [BZ #11155]
12902         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12903         implementation just like for lxstat, fxstatat, et al.
12905 2010-12-27  Jim Meyering  <meyering@redhat.com>
12907         [BZ #12348]
12908         * posix/regexec.c (build_trtable): Return failure indication upon
12909         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
12911 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
12913         [BZ #12201]
12914         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12915         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12916         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12917         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12919         [BZ #12207]
12920         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12922         [BZ #12204]
12923         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12924         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12926 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12928         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12929         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12930         script has SORT_BY_INIT_PRIORITY.
12931         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12932         NO_CTORS_DTORS_SECTIONS is defined.
12933         * elf/soinit.c: Likewise.
12934         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12935         NO_CTORS_DTORS_SECTIONS is defined.
12936         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12937         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12938         * sysdeps/sh/init-first.c: Likewise.
12939         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12941 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
12943         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12944         always use the slow path.
12946 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
12948         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12949         similar rule which adds the sysdep directories to the header search in
12950         order to pick up the correct platform stackinfo.h.
12951         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12952         perform test if it is, otherwise return successfully without testing.
12953         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12954         DEFAULT_STACK_PERMS define in stackinfo.h.
12955         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12956         defined in stackinfo.h.
12957         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12958         DEFAULT_STACK_PERMS defined in stackinfo.h.
12959         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12960         * sysdeps/ia64/stackinfo.h: Likewise.
12961         * sysdeps/s390/stackinfo.h: Likewise.
12962         * sysdeps/sh/stackinfo.h: Likewise.
12963         * sysdeps/sparc/stackinfo.h: Likewise.
12964         * sysdeps/x86_64/stackinfo.h: Likewise.
12965         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12966         PF_X for powerpc64.  Retain PF_X for powerpc32.
12968 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
12970         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12971         accurately.
12972         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12973         GETDENTS_64BIT_ALIGNED.
12975 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
12977         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12979 2010-12-10  Andreas Schwab  <schwab@redhat.com>
12981         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12982         _GNU_SOURCE.
12984         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12985         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12986         Remove __restrict.
12987         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12988         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12990 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
12992         [BZ #11655]
12993         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12994         are initialized.
12996 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
12998         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13000 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
13002         * po/it.po: Update from translation team.
13004 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
13006         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13007         unused codes.
13009 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
13011         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13013 2010-11-24  Andreas Schwab  <schwab@redhat.com>
13015         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13016         specially.
13017         (gaih_getanswer_slice): Likewise.
13019 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
13021         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13023 2010-05-31  Petr Baudis  <pasky@suse.cz>
13025         [BZ #11149]
13026         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13027         silently even in the chroot mode.
13029 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
13031         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13032         last patch a bit.  Pretty printing
13034 2010-05-31  Petr Baudis <pasky@suse.cz>
13036         [BZ #10085]
13037         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13038         initialization of skip_initgroups_dyn.
13040 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
13042         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13043         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13045 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
13047         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13049 2010-11-11  Andreas Schwab  <schwab@redhat.com>
13051         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13052         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13053         (tst-fnmatch-ENV): Set MALLOC_TRACE.
13054         ($(objpfx)tst-fnmatch-mem): New rule.
13055         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13056         * posix/tst-fnmatch.c (main): Call mtrace.
13058 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
13060         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13061         Support Intel processor model 6 and model 0x2c.
13063 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
13065         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13066           signed comparison.
13068 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
13070         [BZ #12205]
13071         * string/test-strncasecmp.c (check_result): New function.
13072         (do_one_test): Use it.
13073         (check1): New function.
13074         (test_main): Use it.
13075         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13076         Support strcasecmp and strncasecmp.
13078 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
13080         [BZ #12194]
13081         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13082         * sysdeps/x86_64/bits/byteswap.h: Likewise.
13084 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13086         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13087         IFUNC support.
13088         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13089         memset-x86-64.
13090         * sysdeps/x86_64/multiarch/bzero.S: New file.
13091         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13092         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13093         * sysdeps/x86_64/multiarch/memset.S: New file.
13094         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13095         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13096         Set bit_Prefer_SSE_for_memop for Intel processors.
13097         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13098         Define.
13099         (index_Prefer_SSE_for_memop): Define.
13100         (HAS_PREFER_SSE_FOR_MEMOP): Define.
13102 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
13104         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13105         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13107 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
13109         [BZ #12191]
13110         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13111         (__x86_64_raw_data_cache_size_half): Likewise.
13112         (__x86_64_raw_shared_cache_size): Likewise.
13113         (__x86_64_raw_shared_cache_size_half): Likewise.
13115         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13116         (__x86_64_raw_data_cache_size_half): Likewise.
13117         (__x86_64_raw_shared_cache_size): Likewise.
13118         (__x86_64_raw_shared_cache_size_half): Likewise.
13119         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13120         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13121         and __x86_64_raw_shared_cache_size_half.  Round
13122         __x86_64_data_cache_size_half, __x86_64_data_cache_size
13123         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13124         to multiple of 256 bytes.
13126 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
13128         [BZ #12167]
13129         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13130         of inacessible symlinks.  Verify result of symlink before returning it.
13131         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13132         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13134 2010-10-28  Erich Ritz  <erichritz@gmail.com>
13136         * math/math.h (isinf): Fix typo in comment.
13138 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
13140         * po/da.po: Update from translation team.
13142 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
13144         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13145         is added to the list.
13147 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13148             Ulrich Drepper  <drepper@gmail.com>
13150         * elf/dl-object.c (_dl_new_object): Don't append the new object to
13151         the global list here.  Move code to...
13152         (_dl_add_to_namespace_list): ...here.  New function.
13153         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13154         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13155         * elf/dl-load.c (lose): Don't remove the element from the list.
13156         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13157         (_dl_map_object): Likewise.
13159 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
13161         [BZ #12159]
13162         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13163         into all bytes of SSE register.
13164         Patch by Richard Li <richardpku@gmail.com>.
13166 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
13168         [BZ #12140]
13169         * malloc/malloc.c (_int_free): Fill correct number of bytes when
13170         perturbing.
13172 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
13174         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13175         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13176         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13177         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13179         submachine.
13180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13182 2010-10-22  Andreas Schwab  <schwab@redhat.com>
13184         * include/dlfcn.h (__RTLD_SECURE): Define.
13185         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
13186         mode & __RTLD_SECURE instead.
13187         (open_path): Rename preloaded parameter to secure.
13188         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13189         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13190         * elf/dl-deps.c (openaux): Likewise.
13191         * elf/rtld.c (struct map_args): Remove is_preloaded.
13192         (map_doit): Don't use it.
13193         (dl_main): Likewise.
13194         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13195         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13197 2010-09-09  Andreas Schwab  <schwab@redhat.com>
13199         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13200         (sysd-rules-targets): Remove duplicates.
13201         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13202         rtld-%.$o dependency.
13204 2010-10-18  Andreas Schwab  <schwab@redhat.com>
13206         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13207         _dl_map_object do it.
13209 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
13211         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13212         fast fma builtins, define the macros in the C99 standard.
13213         (FP_FAST_FMAF): Likewise.
13214         (FP_FAST_FMAL): Likewise.
13215         * sysdeps/x86_64/bits/mathdef.h: Likewise.
13217         * bits/mathdef.h: Update copyright year.
13218         * sysdeps/powerpc/bits/mathdef.h: Likewise.
13220 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
13222         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13223         builtins, define the macros in the C99 standard.
13224         (FP_FAST_FMAF): Likewise.
13225         (FP_FAST_FMAL): Likewise.
13226         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13227         multiply/add.
13228         (FP_FAST_FMAF): Likewise.
13230 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
13232         [BZ #3268]
13233         * math/libm-test.inc (fma_test): Some new testcases.
13234         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13235         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13236         y and infinite z.  Do multiplication by C already in long double.
13237         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13238         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13239         y and infinite z.  Do bitwise or of inexact bit into u.d.
13240         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13241         * sysdeps/i386/fpu/s_fmaf.S: Removed.
13242         * sysdeps/i386/fpu/s_fma.S: Removed.
13243         * sysdeps/i386/fpu/s_fmal.S: Removed.
13245 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
13247         [BZ #3268]
13248         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13249         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13250         computation is not scheduled after fetestexcept.  Fix value
13251         of minimum denormal long double.
13253 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
13255         [BZ #3268]
13256         * math/libm-test.inc (fma_test): Add some more tests.
13257         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13258         correctly.
13260 2010-10-15  Andreas Schwab  <schwab@redhat.com>
13262         * scripts/data/localplt-s390-linux-gnu.data: New file.
13263         * scripts/data/localplt-s390x-linux-gnu.data: New file.
13265 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
13267         [BZ #3268]
13268         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13269         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13270         instead of dbl-64.
13271         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13272         inlines.
13273         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13274         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13275         if one of x and y is very large and the other is subnormal.
13276         * sysdeps/s390/fpu/s_fmaf.c: New file.
13277         * sysdeps/s390/fpu/s_fma.c: New file.
13278         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13279         * sysdeps/powerpc/fpu/s_fma.S: New file.
13280         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13281         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13282         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13284 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
13286         [BZ #3268]
13287         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13288         fma tests.
13289         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13290         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13291         * sysdeps/i386/i686/multiarch/s_fma.c: Include
13292         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13293         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13294         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13295         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13297 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
13299         [BZ #12078]
13300         * posix/regcomp.c (parse_branch): One more memory leak plugged.
13301         * posix/bug-regex31.input: Add test case.
13303 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
13305         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13306         * posix/bug-regex31.input: New file.
13308         [BZ #12078]
13309         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13310         (parse_sub_exp): Fix last change, use postorder.
13312         * posix/bug-regex31.c: New file.
13313         * posix/Makefile: Add rules to build and run bug-regex31.
13315         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13317         [BZ #12078]
13318         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13320         [BZ #12108]
13321         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13322         to have entries in sys_siglist.
13324         [BZ #12093]
13325         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13326         be NULL.
13328 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
13330         [BZ #3268]
13331         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13332         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13333         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13334         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13335         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13336         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13337         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13338         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13339         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13340         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13341         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13342         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13343         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13344         * math/ftestexcept.c (fetestexcept): Likewise.
13345         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13346         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13347         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13348         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13349         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13350         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13351         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13353 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
13355         [BZ #12107]
13356         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13357         newline.
13359 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
13361         * string/bug-strstr1.c: New file.
13362         * string/Makefile: Add rules to build and run bug-strstr1.
13364 2010-10-05  Eric Blake  <eblake@redhat.com>
13366         [BZ #12092]
13367         * string/str-two-way.h (two_way_long_needle): Always clear memory
13368         when skipping input due to the shift table.
13370 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
13372         [BZ #12005]
13373         * malloc/mcheck.c: Handle large requests.
13375         [BZ #12077]
13376         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13377         for strncmp and strncasecmp.
13378         * string/stratcliff.c: Add tests for strcmp and strncmp.
13379         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13381 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
13383         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13384         __set_fpscr.
13386 2010-09-30  Andreas Jaeger  <aj@suse.de>
13388         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13389         (CGROUP_SUPER_MAGIC): Define.
13390         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13391         Handle btrfs and cgroup file systems.
13392         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13393         Likewise.
13395 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
13397         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13398         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13400 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13402         [BZ #12067]
13403         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13404         trying to locate the ELF header.
13406 2010-09-27  Andreas Schwab  <schwab@redhat.com>
13408         [BZ #11611]
13409         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13410         Mask out sign-bit copies when constructing f_fsid.
13412 2010-09-24  Petr Baudis <pasky@suse.cz>
13414         * debug/stack_chk_fail_local.c: Add missing licence exception.
13415         * debug/warning-nop.c: Likewise.
13417 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
13419         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13420         implementing getdents64 using getdents syscall, set d_type if
13421         __ASSUME_GETDENTS32_D_TYPE.
13423 2010-09-16  Andreas Schwab  <schwab@redhat.com>
13425         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13426         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13428 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
13430         [BZ #12037]
13431         * posix/unistd.h: Undo change of feature selection for ftruncate from
13432         2010-01-11.
13434 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
13436         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
13437         detection.
13439 2010-09-20  Andreas Schwab  <schwab@redhat.com>
13441         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13442         fanotify_mark.
13443         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13445 2010-09-14  Andreas Schwab  <schwab@redhat.com>
13447         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13448         variables after CHECK_SP call.
13449         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13451 2010-09-13  Andreas Schwab  <schwab@redhat.com>
13452             Ulrich Drepper  <drepper@redhat.com>
13454         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13455         re-relocationg ld.so.
13456         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13457         _dl_init_paths call.
13458         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
13459         here anymore.
13461 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
13463         * resolv/res_init.c (__res_vinit): Count the default server we added.
13465 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
13466             Ulrich Drepper  <drepper@redhat.com>
13468         [BZ #11968]
13469         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13470         (____longjmp_chk): Use %ebx for saving value across system call.
13471         Add unwind info.
13473 2010-09-06  Andreas Schwab  <schwab@redhat.com>
13475         * manual/Makefile: Don't mix pattern rules with normal rules.
13477 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
13479         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13480         operation.
13481         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13482         * libio/iofopncook.c (_IO_cookie_init): Likewise.
13483         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13484         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13485         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13486         Likewise.
13488 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
13490         [BZ #11979]
13491         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13492         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13494 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
13496         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13497         * sysdeps/x86_64/addmul_1.S: Likewise.
13498         * sysdeps/x86_64/lshift.S: Likewise.
13499         * sysdeps/x86_64/mul_1.S: Likewise.
13500         * sysdeps/x86_64/rshift.S: Likewise.
13501         * sysdeps/x86_64/sub_n.S: Likewise.
13502         * sysdeps/x86_64/submul_1.S: Likewise.
13504 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13506         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13507         Define __sched_param instead of SCHED_* and sched_param when
13508         <bits/sched.h> is included with __need_schedparam defined.
13509         * bits/sched.h [__need_schedparam]
13510         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
13511         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13512         (__defined_schedparam): Define to 1.
13513         (__sched_param): New structure, identical to sched_param.
13514         (__need_schedparam): Undefine.
13516 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
13518         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13519         (epoll_create1): Declare.
13521         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13523 2010-08-31  Andreas Schwab  <schwab@redhat.com>
13525         [BZ #7066]
13526         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13527         shifting retval into place.
13529 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
13531         * nis/rpcsvc/nis.h: Update copyright notice.
13532         * nis/rpcsvc/nis.x: Likewise.
13533         * nis/rpcsvc/nis_callback.h: Likewise.
13534         * nis/rpcsvc/nis_callback.x: Likewise.
13535         * nis/rpcsvc/nis_object.x: Likewise.
13536         * nis/rpcsvc/nis_tags.h: Likewise.
13537         * nis/rpcsvc/yp.h: Likewise.
13538         * nis/rpcsvc/yp.x: Likewise.
13539         * nis/rpcsvc/ypupd.h: Likewise.
13540         * nis/yp_xdr.c: Likewise.
13541         * nis/ypupdate_xdr.c: Likewise.
13543         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
13544         mainly the body of pmap_getport.  Add parameters to specify timeouts.
13545         (pmap_getport): Use __libc_rpc_getport.
13546         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13547         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13548         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13550 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
13552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13553         fanotify_mark.
13555 2010-08-27  Roland McGrath  <roland@redhat.com>
13557         * sysdeps/i386/i686/multiarch/Makefile
13558         (CFLAGS-varshift.c): New variable.
13560 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
13562         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13563         * sysdeps/i386/i686/multiarch/varshift.c: New file.
13565         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13567         * sysdeps/x86_64/strlen.S: Minimal code improvement.
13569 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13571         * sysdeps/x86_64/strlen.S: Unroll the loop.
13572         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13573         strlen-sse2 strlen-sse2-bsf.
13574         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13575         __strlen_no_bsf if bit_Slow_BSF is set.
13576         (__strlen_sse42): Removed.
13577         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13578         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13580 2010-08-25  Roland McGrath  <roland@redhat.com>
13582         * sysdeps/x86_64/multiarch/varshift.S: File removed.
13583         * sysdeps/x86_64/multiarch/varshift.c: New file.
13584         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13585         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13586         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13587         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13589 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
13591         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13592         strlen-sse2 strlen-sse2-bsf.
13593         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13594         __strlen_sse2_bsf if bit_Slow_BSF is unset.
13595         (__strlen_sse2): Removed.
13596         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13597         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13598         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13599         bit_Slow_BSF for Atom.
13600         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13601         (index_Slow_BSF): Define.
13602         (HAS_SLOW_BSF): Define.
13604 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
13606         [BZ #10851]
13607         * resolv/res_init.c (__res_vinit): When no server address at all
13608         is given default to loopback.
13610 2010-08-24  Roland McGrath  <roland@redhat.com>
13612         * configure.in: Remove config-name.h generation.
13613         * configure: Regenerated.
13614         * config-name.in: File removed.
13615         * scripts/config-uname.sh: New file.
13616         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13617         ($(objdir)config-name.h): New target.
13619         * sunrpc/rpc_parse.h: Avoid nested comment.
13621 2010-08-24  Richard Henderson  <rth@redhat.com>
13622             Ulrich Drepper  <drepper@redhat.com>
13623             H.J. Lu  <hongjiu.lu@intel.com>
13625         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13626         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13627         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13628         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
13629         _mm_alignr_epi8 with _mm_loadu_si128.
13630         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13631         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13632         (__m128i_shift_right): Removed.
13633         * sysdeps/i386/i686/multiarch/varshift.h: New file.
13634         * sysdeps/i386/i686/multiarch/varshift.S: New file.
13635         * sysdeps/x86_64/multiarch/varshift.h: New file.
13636         * sysdeps/x86_64/multiarch/varshift.S: New file.
13638 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
13640         * configure.in: Move assembler checks to before sysdep dir checking.
13642 2010-08-20  Petr Baudis  <pasky@suse.cz>
13644         * LICENSES: Sync the sunrpc license.
13646 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
13648         * sunrpc/auth_des.c: Update copyright notice once again.
13649         * sunrpc/auth_none.c: Likewise.
13650         * sunrpc/auth_unix.c: Likewise.
13651         * sunrpc/authdes_prot.c: Likewise.
13652         * sunrpc/authuxprot.c: Likewise.
13653         * sunrpc/bindrsvprt.c: Likewise.
13654         * sunrpc/clnt_gen.c: Likewise.
13655         * sunrpc/clnt_perr.c: Likewise.
13656         * sunrpc/clnt_raw.c: Likewise.
13657         * sunrpc/clnt_simp.c: Likewise.
13658         * sunrpc/clnt_tcp.c: Likewise.
13659         * sunrpc/clnt_udp.c: Likewise.
13660         * sunrpc/clnt_unix.c: Likewise.
13661         * sunrpc/des_crypt.c: Likewise.
13662         * sunrpc/des_soft.c: Likewise.
13663         * sunrpc/get_myaddr.c: Likewise.
13664         * sunrpc/getrpcport.c: Likewise.
13665         * sunrpc/key_call.c: Likewise.
13666         * sunrpc/key_prot.c: Likewise.
13667         * sunrpc/openchild.c: Likewise.
13668         * sunrpc/pm_getmaps.c: Likewise.
13669         * sunrpc/pm_getport.c: Likewise.
13670         * sunrpc/pmap_clnt.c: Likewise.
13671         * sunrpc/pmap_prot.c: Likewise.
13672         * sunrpc/pmap_prot2.c: Likewise.
13673         * sunrpc/pmap_rmt.c: Likewise.
13674         * sunrpc/rpc/auth.h: Likewise.
13675         * sunrpc/rpc/auth_unix.h: Likewise.
13676         * sunrpc/rpc/clnt.h: Likewise.
13677         * sunrpc/rpc/des_crypt.h: Likewise.
13678         * sunrpc/rpc/key_prot.h: Likewise.
13679         * sunrpc/rpc/netdb.h: Likewise.
13680         * sunrpc/rpc/pmap_clnt.h: Likewise.
13681         * sunrpc/rpc/pmap_prot.h: Likewise.
13682         * sunrpc/rpc/pmap_rmt.h: Likewise.
13683         * sunrpc/rpc/rpc.h: Likewise.
13684         * sunrpc/rpc/rpc_des.h: Likewise.
13685         * sunrpc/rpc/rpc_msg.h: Likewise.
13686         * sunrpc/rpc/svc.h: Likewise.
13687         * sunrpc/rpc/svc_auth.h: Likewise.
13688         * sunrpc/rpc/types.h: Likewise.
13689         * sunrpc/rpc/xdr.h: Likewise.
13690         * sunrpc/rpc_clntout.c: Likewise.
13691         * sunrpc/rpc_cmsg.c: Likewise.
13692         * sunrpc/rpc_common.c: Likewise.
13693         * sunrpc/rpc_cout.c: Likewise.
13694         * sunrpc/rpc_dtable.c: Likewise.
13695         * sunrpc/rpc_hout.c: Likewise.
13696         * sunrpc/rpc_main.c: Likewise.
13697         * sunrpc/rpc_parse.c: Likewise.
13698         * sunrpc/rpc_parse.h: Likewise.
13699         * sunrpc/rpc_prot.c: Likewise.
13700         * sunrpc/rpc_sample.c: Likewise.
13701         * sunrpc/rpc_scan.c: Likewise.
13702         * sunrpc/rpc_scan.h: Likewise.
13703         * sunrpc/rpc_svcout.c: Likewise.
13704         * sunrpc/rpc_tblout.c: Likewise.
13705         * sunrpc/rpc_util.c: Likewise.
13706         * sunrpc/rpc_util.h: Likewise.
13707         * sunrpc/rpcinfo.c: Likewise.
13708         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13709         * sunrpc/rpcsvc/key_prot.x: Likewise.
13710         * sunrpc/rpcsvc/klm_prot.x: Likewise.
13711         * sunrpc/rpcsvc/mount.x: Likewise.
13712         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13713         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13714         * sunrpc/rpcsvc/rex.x: Likewise.
13715         * sunrpc/rpcsvc/rstat.x: Likewise.
13716         * sunrpc/rpcsvc/rusers.x: Likewise.
13717         * sunrpc/rpcsvc/sm_inter.x: Likewise.
13718         * sunrpc/rpcsvc/spray.x: Likewise.
13719         * sunrpc/rpcsvc/yppasswd.x: Likewise.
13720         * sunrpc/rtime.c: Likewise.
13721         * sunrpc/svc.c: Likewise.
13722         * sunrpc/svc_auth.c: Likewise.
13723         * sunrpc/svc_authux.c: Likewise.
13724         * sunrpc/svc_raw.c: Likewise.
13725         * sunrpc/svc_run.c: Likewise.
13726         * sunrpc/svc_simple.c: Likewise.
13727         * sunrpc/svc_tcp.c: Likewise.
13728         * sunrpc/svc_udp.c: Likewise.
13729         * sunrpc/svc_unix.c: Likewise.
13730         * sunrpc/svcauth_des.c: Likewise.
13731         * sunrpc/xcrypt.c: Likewise.
13732         * sunrpc/xdr.c: Likewise.
13733         * sunrpc/xdr_array.c: Likewise.
13734         * sunrpc/xdr_float.c: Likewise.
13735         * sunrpc/xdr_mem.c: Likewise.
13736         * sunrpc/xdr_rec.c: Likewise.
13737         * sunrpc/xdr_ref.c: Likewise.
13738         * sunrpc/xdr_sizeof.c: Likewise.
13739         * sunrpc/xdr_stdio.c: Likewise.
13741         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13742         handling.
13744 2010-08-19  Andreas Schwab  <schwab@redhat.com>
13746         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13748 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
13750         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13751         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13752         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13753         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13754         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13755         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13756         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13757         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13758         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13759         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13760         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13761         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13762         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13763         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13765 2010-07-26  Anton Blanchard  <anton@samba.org>
13767         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13768         * malloc/arena.c (heap_trim): Likewise.
13770 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
13772         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13773         here.  Not...
13774         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13775         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13777 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
13779         * sysdeps/i386/elf/Makefile: New file.
13781 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
13783         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13784         from fanotify_init.
13785         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13786         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13788 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
13790         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13791         of strncasecmp_l.
13792         * sysdeps/multiarch/strcmp.S: Likewise.
13794 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
13796         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13797         strncase_l-nonascii.
13798         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13799         Add strncase_l-ssse3.
13800         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13801         * sysdeps/x86_64/strcmp.S: Likewise.
13802         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13803         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13804         * sysdeps/x86_64/strncase.S: New file.
13805         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13806         * sysdeps/x86_64/strncase_l.S: New file.
13807         * string/Makefile (strop-tests): Add strncasecmp.
13808         * string/test-strncasecmp.c: New file.
13810         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13811         warning.
13813         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13814         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13816 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
13818         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13820 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
13822         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13823         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13824         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13826 2010-05-01  Alan Modra  <amodra@gmail.com>
13828         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13829         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13830         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13831         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13832         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13833         tidying.  Don't tail-call __sigjmp_save for static lib.
13834         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13835         save location.
13836         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13837         (CALL_MCOUNT): Add eh info, and nop after bl.
13838         (TAIL_CALL_SYSCALL_ERROR): New macro.
13839         (PSEUDO_RET): Use it.
13840         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13841         Correct save location of integer regs and cr.
13842         (_dl_profile_resolve): Correct cr save location.  Delete nops
13843         after bl when SHARED.  Reduce cfi size a little by better
13844         placement of cfi directives.
13845         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13846         make a stack frame.  Instead use parm save area as a temp.
13847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13848         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
13849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13850         Don't make a stack frame for parent, use parm save area.
13851         Increase child stack frame to 112 bytes.  Don't save unused reg,
13852         and adjust reg usage.  Set up cfi on error recovery and
13853         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13855         (__makecontext): Add dummy nop after jump to exit.
13856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13857         Use correct parm save area and cr save, reduce stack frame.
13858         Correct cfi for possible PSEUDO_RET frame setup.
13859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13860         Branch to local label emitted by PSEUDO_RET rather than
13861         __syscall_error.
13863 2010-08-12  Andreas Schwab  <schwab@redhat.com>
13865         [BZ #11904]
13866         * locale/programs/locale.c (print_assignment): New function.
13867         (show_locale_vars): Use it.
13869 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
13871         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13872         field.
13873         (struct statfs64): Likewise.
13874         (_STATFS_F_FLAGS): Define.
13875         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13876         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13877         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13878         (ST_VALID): Define locally.
13879         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13880         __statvfs_getflags, use the provided value.
13881         * sysdeps/unix/sysv/linux/kernel-features.h: Define
13882         __ASSUME_STATFS_F_FLAGS.
13884         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13886         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13887         Add sys/fanotify.h.
13888         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13889         fanotify_mask for GLIBC_2.13.
13890         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13891         fanotify_init and fanotify_mark.
13892         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13893         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13895         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13896         Add prlimit.
13897         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13898         prlimit64 for GLIBC_2.13.
13899         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13900         prlimit64.
13901         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13902         syscall.
13903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13904         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13905         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13906         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13907         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
13908         add prlimit alias.
13909         * sysdeps/unix/sysv/linux/prlimit.c: New file.
13911         [BZ #11903]
13912         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13913         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13915         * nss/Makefile: Add rules to build and run tst-nss-test1.
13916         * shlib-versions: Add entry for libnss_test1.
13917         * nss/nss_test1.c: New file.
13918         * nss/tst-nss-test1.c: New file.
13920         * nss/nsswitch.c (__nss_database_custom): Define new variable.
13921         (__nss_configure_lookup): Set appropriate entry in
13922         __nss_configure_lookup to true.
13923         * nss/nsswitch.h: Define enum with indeces of databases in
13924         databases and __nss_database_custom arrays.  Declare
13925         __nss_database_custom.
13926         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13927         to avoid using nscd when custom rules are installed.
13928         * nss/getXXbyYY_r.c: Likewise.
13929         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13931         * nss/nss_files/files-parse.c: Whitespace fixes.
13933 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
13935         [BZ #11883]
13936         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13937         * posix/fnmatch_loop.c: Likewise.
13939 2010-07-17  Andi Kleen  <ak@linux.intel.com>
13941         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13942         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13943         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13944         * Versions.def [GLIBC_2.13]: Add.
13946 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
13948         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13949         Also fail if tpwd after pwuid call is NULL.
13951 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13953         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13954         when converting to ms.
13956 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13958         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13959         EOPNOTSUPP errors with ENOTTY.
13960         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13961         EOPNOTSUPP errors with ENOTTY.
13963 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
13965         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13966         Add strcasecmp_l-ssse3.
13967         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13968         strcasecmp.
13969         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13970         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13971         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13973 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
13975         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13977         * string/Makefile (strop-tests): Add strcasecmp.
13978         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13979         strcasecmp_l-nonascii.
13980         (gen-as-const-headers): Add locale-defines.sym.
13981         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13982         * sysdeps/x86_64/strcasecmp.S: New file.
13983         * sysdeps/x86_64/strcasecmp_l.S: New file.
13984         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13985         * sysdeps/x86_64/locale-defines.sym: New file.
13986         * string/test-strcasecmp.c: New file.
13988         * string/test-strcasestr.c: Test both ends of the range of characters.
13989         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13991 2010-07-29  Roland McGrath  <roland@redhat.com>
13993         [BZ #11856]
13994         * manual/locale.texi (Yes-or-No Questions): Fix example code.
13996 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
13998         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13999         for ld.so.
14001 2010-07-27  Andreas Schwab  <schwab@redhat.com>
14003         * manual/memory.texi (Malloc Tunable Parameters): Document
14004         M_PERTURB.
14006 2010-07-26  Roland McGrath  <roland@redhat.com>
14008         [BZ #11840]
14009         * configure.in (-fgnu89-inline check): Set and substitute
14010         gnu89_inline, not libc_cv_gnu89_inline.
14011         * configure: Regenerated.
14012         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14014 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
14016         * string/test-strnlen.c: New file.
14017         * string/Makefile (strop-tests): Add strnlen.
14018         * string/tester.c (test_strnlen): Add a few more test cases.
14019         * string/tst-strlen.c: Better error reporting.
14021         * sysdeps/x86_64/strnlen.S: New file.
14023 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
14025         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14026         lower-latency instructions.
14028 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
14030         * string/test-strcasestr.c: New file.
14031         * string/test-strstr.c: New file.
14032         * string/Makefile (strop-tests): Add strstr and strcasestr.
14033         * string/str-two-way.h: Don't undefine MAX.
14034         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14036 2010-07-21  Andreas Schwab  <schwab@redhat.com>
14038         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14039         strcasestr-nonascii.
14040         (CFLAGS-strcasestr-nonascii.c): Define.
14041         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14042         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14043         Remove unused attribute.
14045 2010-07-20  Roland McGrath  <roland@redhat.com>
14047         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14048         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
14049         ld.so.cache was broken.  With it, there is no way to disable dsocaps
14050         like LD_HWCAP_MASK can disable hwcaps.
14052 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
14054         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14056 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
14058         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14059         call in strcasestr.
14060         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14061         __strcasestr_sse42_nonascii.
14062         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14063         strcasestr-nonascii.c.
14064         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14066 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
14068         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14069         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14070         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14071         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14073 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
14075         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14076         fcntl.
14078 2010-07-06  Andreas Schwab  <schwab@redhat.com>
14080         [BZ #11577]
14081         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14082         dl_signal_cerror.
14084 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
14086         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14087         _PC_PIPE_BUF using F_GETPIPE_SZ.
14089 2010-07-05  Roland McGrath  <roland@redhat.com>
14091         * manual/arith.texi (Rounding Functions): Fix rint description
14092         implicit in round description.
14094 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
14096         * elf/Makefile: Fix linking for a few tests to make recent linker
14097         happy.
14099 2010-06-30  Andreas Schwab  <schwab@redhat.com>
14101         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14102         $(common-objpfx)libc_nonshared.a.
14104 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
14106         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14107         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14108         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14109         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14110         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14111         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14112         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14113         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14128         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14129         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14130         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14131         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14132         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14133         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14134         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14135         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14136         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14137         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14138         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14139         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14155 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
14157         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14158         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
14159         * string/memmove.c (memmove): Renamed to ...
14160         (MEMMOVE): ...this.  Default to memmove.
14161         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14162         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14163         (END_CHK): Define.
14164         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14165         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14166         mempcpy-ssse3-back memmove-ssse3-back.
14167         * sysdeps/x86_64/multiarch/bcopy.S: New file .
14168         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14169         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14170         * sysdeps/x86_64/multiarch/memcpy.S: New file.
14171         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14172         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14173         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14174         * sysdeps/x86_64/multiarch/memmove.c: New file.
14175         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14176         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14177         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14178         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14179         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14180         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14181         Define.
14182         (index_Fast_Copy_Backward): Define.
14183         (HAS_ARCH_FEATURE): Define.
14184         (HAS_FAST_REP_STRING): Define.
14185         (HAS_FAST_COPY_BACKWARD): Define.
14187 2010-06-21  Andreas Schwab  <schwab@redhat.com>
14189         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14190         Restore proper fallback handling.
14192 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
14194         [BZ #11701]
14195         * posix/group_member.c (__group_member): Correct checking loop.
14197         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14198         OOM in getpwuid_r correctly.  Return error number when the caller
14199         should return, otherwise -1.
14200         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14201         call returning > 0 value.
14202         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14204 2010-06-07  Andreas Schwab  <schwab@redhat.com>
14206         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14207         libc_nonshared.a from targets in modules-names.
14209 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
14211         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14212         requires it.
14214 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
14216         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14217         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14218         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14219         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14221 2010-06-02  Andreas Schwab  <schwab@redhat.com>
14223         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14225 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
14227         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14228         and F_GETPIPE_SZ.
14229         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14230         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14231         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14232         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14233         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14234         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14236 2010-06-14  Roland McGrath  <roland@redhat.com>
14238         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14240 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
14242         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14243         __REDIRECT followed by __THROW.
14244         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14245         * posix/getopt.h (getopt): Likewise.
14247 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
14249         * hurd/lookup-at.c (__file_name_lookup_at): Accept
14250         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
14251         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14252         in AT_FLAGS.
14253         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14254         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14256 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
14258         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14260 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
14262         [BZ #11640]
14263         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14264         Properly check family and model.
14266 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
14268         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14270 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
14272         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14274 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
14276         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14277         symbol reference.
14279 2010-05-19  Andreas Schwab  <schwab@redhat.com>
14281         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14282         symbol reference.
14284 2010-05-21  Andreas Schwab  <schwab@redhat.com>
14286         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14287         and internal_recvmmsg.
14288         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14289         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14290         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14291         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14293         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14294         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14295         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14297 2010-05-20  Andreas Schwab  <schwab@redhat.com>
14299         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14301 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
14303         POWER7 optimizations.
14304         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14305         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14307 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
14309         * version.h: Update for 2.13 development version.
14311 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
14313         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14314         exceptions.  Return 0.
14316 2010-05-07  Roland McGrath  <roland@redhat.com>
14318         * elf/ldconfig.c (main): Add a const.
14320 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
14322         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14323         (args_options): Add no-idn option.
14324         (ahosts_keys_int): Add idn_flags to ai_flags.
14325         (parse_option): Handle 'i' option to clear idn_flags.
14327         * malloc/malloc.c (_int_free): Possible race in the most recently
14328         added check.  Only act on the data if no current modification
14329         happened.
14331 See ChangeLog.17 for earlier changes.