.
[kopensolaris-gnu/glibc.git] / ChangeLog
1 2006-03-05  Roland McGrath  <roland@frob.com>
2
3         * sysdeps/posix/sysconf.c (__sysconf): Use #if _POSIX_FOO > 0
4         rather than #ifdef _POSIX_FOO for options.  We should return -1
5         at runtime for an option defined to 0 at compile time.
6
7         * sysdeps/mach/hurd/bits/posix_opt.h: Define many missing options,
8         many to -1 or 0.
9
10 2006-03-05  Roland McGrath  <roland@redhat.com>
11
12         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13         [__NR_clock_getres || HP_TIMING_AVAIL]: Handle _SC_CPUTIME,
14         _SC_THREAD_CPUTIME.
15
16 2006-03-05  David S. Miller  <davem@sunset.davemloft.net>
17
18         * sysdeps/sparc/sparc32/dl-trampoline.S: Add CFI markings.
19         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20         * sysdeps/sparc/sparc64/dl-trampoline.S: Likewise.
21         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22         * sysdeps/sparc/sparc32/memchr.S: Rearrange code to reside
23         within ENTRY/END.
24         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25         * sysdeps/sparc/sparc32/stpcpy.S: Likewise.
26         * sysdeps/sparc/sparc32/strcat.S: Likewise.
27         * sysdeps/sparc/sparc32/strchr.S: Likewise.
28         * sysdeps/sparc/sparc32/strcmp.S: Likewise.
29         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
30         * sysdeps/sparc/sparc32/strlen.S: Likewise.
31         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32         * sysdeps/sparc/sparc64/sparcv9v/memset.S: Likewise.
33         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Add CFI markings
34         and use __syscall_error.
35         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
36         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37         * sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S: Use __syscall_error.
38         * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
39         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
40         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
41         * sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S: Likewise.
42         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
43         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Rewrite to use
44         CFI markings and __syscall_error.
45         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S: Rearrange
47         code to reside within ENTRY/END.
48         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
49         * sysdeps/unix/sysv/linux/sparc/sysdep.c: New file.
50         * sysdeps/unix/sysv/linux/sparc/sysdep.S: File removed.
51         * sysdeps/unix/sysv/linux/sparc/rt-sysdep.c: New file.
52         * sysdeps/unix/sysv/linux/sparc/Makefile (librt-routines): Add it.
53
54         * shlib-versions: Use sparc64.*- for CPU patterns.
55
56 2006-03-05  Roland McGrath  <roland@frob.com>
57
58         * bits/resource.h (RLIMIT_SBSIZE, RLIMIT_AS, RLIMIT_VMEM): Define.
59
60         * sysdeps/mach/hurd/fdopendir.c (__fdopendir): Use O_DIRECTORY
61         to force directory check.
62         * sysdeps/mach/hurd/opendir.c (__opendir): Likewise.
63
64 2006-03-04  Roland McGrath  <roland@frob.com>
65
66         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Make sure high bits
67         of SEL are clear after copying %gs to low bits.
68         (_hurd_tls_fork): Likewise.
69
70 2006-03-03  Roland McGrath  <roland@redhat.com>
71
72         [BZ #2414]
73         * stdlib/tst-setcontext.c (f1): Take arguments of type int.
74
75 2006-03-02  Roland McGrath  <roland@redhat.com>
76
77         * sysdeps/unix/alpha/sysdep.h (PTR_MANGLE): Use __typeof in cast.
78
79 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
80
81         * sysdeps/unix/sysv/linux/configure.in: Remove MIPS cases.  Allow
82         libc_cv_slibdir et al. to be overridden.
83         * sysdeps/unix/sysv/linux/configure: Regenerated.
84
85 2005-12-27  Jakub Jelinek  <jakub@redhat.com>
86
87         * elf/ldconfig.c (search_dir): Skip prelink temporaries.
88
89 2006-03-02  H.J. Lu  <hongjiu.lu@intel.com>
90
91         * elf/check-textrel.c: Don't include "config.h".
92
93 2006-03-02  Jakub Jelinek  <jakub@redhat.com>
94
95         * io/ftw.c (process_entry): If dir->streamfd != -1,
96         use FXSTATAT rather than LXSTAT to find if unstatable
97         file is a dead symlink.
98
99         * elf/check-textrel.c: Include config.h.
100         (AB(handle_file)): Don't fail if PF_X | PF_W on architectures known
101         to have executable writable PLT.
102         * sysdeps/powerpc/powerpc32/configure.in (HAVE_PPC_SECURE_PLT): New
103         test.
104         * config.h.in (HAVE_PPC_SECURE_PLT): Add.
105
106         * malloc/malloc.c (MALLOC_ALIGNMENT): Set to __alignof__ (long double)
107         if long double is more aligned than 2 * SIZE_SZ.
108         (misaligned_chunk): Define.
109         (public_rEALLOc, _int_free, _int_realloc): Use it.
110
111 2006-01-05  H.J. Lu  <hongjiu.lu@intel.com>
112
113         [BZ #2013]
114         * sysdeps/ia64/memccpy.S: Properly handle recovery for
115         predicated speculative load.
116
117 2006-03-01  Jakub Jelinek  <jakub@redhat.com>
118
119         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
120
121         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat64): Use
122         libc_hidden_ver rather than libc_hidden_def.
123
124         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
125         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept):
126         Use inline asm to make sure the compiler doesn't optimize insns out.
127
128         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
129         (DECLARGS_6): Fix a typo.
130
131 2006-03-01  Roland McGrath  <roland@redhat.com>
132
133         * version.h (VERSION): 2.3.91
134
135         * Makeconfig (sysdeps-srcdirs): New variable.
136         (sysdeps-add-ons-srcdirs): Use it.
137         * csu/Makefile (all-Banner-files): Use it.
138
139         * Makefile (dist-selector): New variable.
140         (glibc-%.tar rule): Use it.  Make $(dist-separate) tarballs
141         contain one version-named directory.
142
143         * Makefile (format-me): Use  --plaintext --no-number-sections.
144
145         * NOTES, INSTALL: Regenerated.
146
147         * NEWS: Update 2.4 items.
148
149 2006-03-01  David S. Miller  <davem@sunset.davemloft.net>
150
151         * configure.in (machine): Match sparcv9v and sparc64v.
152         * configure: Regenerated.
153         * sysdeps/sparc/sparc32/sparcv9v/memcpy.S: New file.
154         * sysdeps/sparc/sparc32/sparcv9v/memset.S: New file.
155         * sysdeps/sparc/sparc64/sparcv9v/memcpy.S: New file.
156         * sysdeps/sparc/sparc64/sparcv9v/memset.S: New file.
157
158 2006-03-01  Roland McGrath  <roland@frob.com>
159
160         * sysdeps/mach/hurd/Subdirs: Use "first hurd".
161
162 2006-02-28  Roland McGrath  <roland@redhat.com>
163
164         * sysdeps/rs6000: Directory removed, saved in ports repository.
165
166 2006-03-01  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
167
168         * sysdeps/unix/sysv/linux/sh/pread.c: Copy in mips pread.c.
169         * sysdeps/unix/sysv/linux/sh/pwrite.c: Copy in mips pwrite.c.
170         * sysdeps/unix/sysv/linux/sh/pread64.c: Copy in mips pread64.c.
171         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Copy in mips pwrite64.c.
172
173 2006-02-28  Roland McGrath  <roland@redhat.com>
174
175         * elf/tst-tls-dlinfo.c: New file.
176         * elf/Makefile (tests): Add it.
177         ($(objpfx)tst-tls-dlinfo): Depend on $(libdl).
178         ($(objpfx)tst-tls-dlinfo.out): Depend on $(objpfx)tst-tlsmod2.so.
179
180         * dlfcn/dlfcn.h (RTLD_DI_PROFILENAME, RTLD_DI_PROFILEOUT): New enum
181         values, reserve unsupported requested names used on Solaris.
182         (RTLD_DI_TLS_MODID, RTLD_DI_TLS_DATA): New enum values.
183         (RTLD_DI_MAX): Likewise.
184         * dlfcn/dlinfo.c (dlinfo_doit): Handle RTLD_DI_TLS_MODID and
185         RTLD_DI_TLS_DATA.
186
187         * elf/dl-tls.c (_dl_tls_get_addr_soft): New function.
188         * sysdeps/generic/ldsodefs.h: Declare it.
189         * elf/Versions (ld: GLIBC_PRIVATE): Add it.
190         * elf/link.h (struct dl_phdr_info): New members dlpi_tls_modid,
191         dlpi_tls_data.
192         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill them in.
193
194         * include/link.h: Don't copy contents from elf/link.h.
195         Instead, #include it while #define'ing around link_map.
196         * elf/dl-debug.c (_dl_debug_initialize): Add a cast.
197         Add bogus extern decl to verify link_map members.
198         * elf/loadtest.c (MAPS): New macro, cast _r_debug._r_map.
199         (OUT, main): Use it in place of _r_debug._r_map.
200         * elf/unload.c: Likewise.
201         * elf/unload2.c: Likewise.
202         * elf/neededtest.c (check_loaded_objects): Likewise.
203         * elf/neededtest2.c (check_loaded_objects): Likewise.
204         * elf/neededtest3.c (check_loaded_objects): Likewise.
205         * elf/neededtest4.c (check_loaded_objects): Likewise.
206         * elf/circleload1.c (check_loaded_objects): Likewise.
207
208         * nscd/nscd_helper.c: Include <time.h> for `time' declaration.
209
210         * include/fcntl.h: Declare __openat, __open64.  Use libc_hidden_proto.
211         * io/openat.c (__openat): Define instead of openat.
212         Use libc_hidden_def.  Define openat with weak_alias.
213         * io/openat64.c (__openat64): Define instead of openat64.
214         Use libc_hidden_def.  Define openat64 with weak_alias.
215         * sysdeps/unix/sysv/linux/openat.c: Likewise.
216
217         * libio/genops.c: Include <sched.h> for __sched_yield decl.
218
219         * Makeconfig (+includes): Add back $(includes)
220         after $(+sysdep-includes).
221
222         * Makerules ($(common-objpfx)%.make): Use -DASSEMBLER.
223
224 2006-02-28  Jakub Jelinek  <jakub@redhat.com>
225
226         * posix/sys/types.h [!__GNUC_PREREQ (2, 7)] (int64_t, u_int64_t):
227         typedef to long int resp. unsigned long int on 64-bit arches.
228
229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Include x86_64
230         umount.c rather than hppa umount.c.
231         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Include sh chown.c
232         rather than m68k chown.c.
233         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include sh
234         fchownat.c rather than m68k fchownat.c.
235         * sysdeps/unix/sysv/linux/sh/chown.c: Copy over from m68k chown.c.
236         * sysdeps/unix/sysv/linux/sh/fchownat.c: Copy over from m68k
237         fchownat.c.
238         * sysdeps/unix/sysv/linux/x86_64/brk.c: Copy over from hppa brk.c.
239         * sysdeps/unix/sysv/linux/x86_64/umount.c: Copy over from hppa
240         umount.c.
241
242 2006-02-28  Roland McGrath  <roland@redhat.com>
243
244         * sysdeps/hppa: Directory removed, saved in ports repository.
245         * sysdeps/mach/hppa: Likewise.
246         * sysdeps/mach/hurd/hppa: Likewise.
247         * sysdeps/unix/sysv/linux/hppa: Likewise.
248         * configure.in (machine): Remove hppa* cases.
249         * configure: Regenerated.
250         * shlib-versions: Remove hppa cases.
251
252         * sysdeps/m68k: Directory removed, saved in ports repository.
253         * sysdeps/unix/bsd/m68k: Likewise.
254         * sysdeps/unix/sysv/linux/m68k: Likewise.
255         * configure.in (machine): Remove m68* cases.
256         * configure: Regenerated.
257
258         * elf/rtld-Rules (subdir-args): New variable.
259         (rtld-subdir-make): Use it.
260
261 2006-02-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
262
263         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
264         (DO_CALL): Add support for 6 system call parameters.
265         (DECLARGS_6, ASMFMT_6): Define.
266         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
267
268 2006-02-28  Roland McGrath  <roland@redhat.com>
269
270         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Copy in i386/bits/fcntl.h.
271
272 2006-02-27  Roland McGrath  <roland@redhat.com>
273
274         * scripts/config.guess: Update from master, timestamp='2006-02-27'.
275         * scripts/config.sub: Update from master, timestamp='2006-02-27'.
276
277         * Makefile (subdir-target-args): New variable.
278         ($(all-subdirs-targets)): Use it in place of -C option.
279         * Rules: Use $(..) instead of ../ if it's already defined.
280         * Makeconfig (subdir-srcdirs): New variable.
281         * csu/Makefile (all-Banner-files): Use it.
282
283         * configure.in (--enable-add-ons): Set to "yes" by default.
284         Handle absolute add-on directory names when looking for configure
285         fragments.  Also look for sysdeps/*/preconfigure fragments in add-ons.
286         Require add-on configure to set $libc_add_on_canonical, use
287         that in $add_ons_sfx.  Substitute add_on_subdirs with computed list
288         of subdir names each add-on configure set in libc_add_on_subdirs.
289         * configure: Regenerated.
290         * Makefile (%/preconfigure: %/preconfigure.in): New pattern rule.
291         * config.make.in (add-on-subdirs): New substituted variable.
292         * Makeconfig (all-subdirs): Include $(add-on-subdirs).
293         Remove $(add-ons), $(sysdep-subdirs).
294         Don't filter out $(sysdep-inhibit-subdirs).
295         ($(common-objpfx)sysd-dirs): Target removed.  Don't include it.
296         ($(common-objpfx)sysd-sorted): Rewritten to feed Depend and Subdirs
297         files together to gen-sorted.awk, and $(subdirs) via -v.
298         (subdirs): Remove magic reordering for mach and hurd.
299         * scripts/gen-sorted.awk: Use subdirs from command line.
300         Process Subdirs and Depend files directly.
301         Let Subdirs files use "first dir" and "inhibit dir".
302         Always move elf to the end of the list.
303         * hurd/Depend: New file.
304         * sysdeps/mach/Subdirs: Use "first mach".
305
306         * Makefile (dist-separate): Remove linuxthreads.
307         (dist-separate-linuxthreads): Variable removed.
308         (glibc-%.tar rule): Use $(sysdeps-add-ons).
309
310         * Makerules ($(common-objpfx)Versions.v.i): Use $(subdirs),
311         not $(all-subdirs).
312         (sysdep-makefiles): Use $(sysdirs).
313         (sysdirs): Remove export.
314         ($(+sysdir_pfx)sysd-rules): Handle absolute directory names in
315         $(config-sysdirs).
316         (+sysdir_pfx): Variable removed.
317         (sysd-rules): Use $(common-objpfx) in place of it.
318         (sysdirs): Variable moved to ...
319         * Makeconfig (sysdirs): ... here.
320         Handle absolute directory names in $(config-sysdirs).
321         (full_config_sysdirs): Variable removed.
322         * csu/Makefile: Use $(sysdirs) in vpath directive.
323         * math/Makefile (ulps-file): Use $(sysdirs).
324         * sysdeps/gnu/Makefile (errlist-c): Likewise.
325         ($(objpfx)errlist-compat.c): Likewise.
326         * Makeconfig (all-Subdirs-files): Likewise.
327         ($(common-objpfx)config.status): Likewise.
328
329         * configure.in (sysnames): Handle absolute add-on directory names.
330         (sysdeps_add_ons): New variable, AC_SUBST it.
331         Compute which add-ons contributed sysdeps directories.
332         * configure: Regenerated.
333         * config.make.in (sysdeps-add-ons): New substituted variable.
334         * Makerules (+sysdep_dirs, +sysdep-includes): Variables moved ...
335         * Makeconfig: ... to here.
336         (+sysdep_dirs): Append $(sysdeps-add-ons) here.
337         (+includes): Remove $(objpfx) include, already in $(+sysdep_dirs).
338         Remove $(includes).
339         (sysdep-makeconfigs): Use $(+sysdep_dirs).
340         ($(common-objpfx)shlib-versions.v.i): Likewise.
341
342         * Makeconfig: Remove hair to set Makeconfig-add-on.
343
344         * sysdeps/unix/Makefile (sysdirs): Remove export.
345         (asm_CPP): Variable removed.
346         ($(common-objpfx)sysd-syscalls): Pass them directly for the script.
347
348         * sysdeps/posix/Makefile: New file.
349         * Makerules (L_tmpnam, TMP_MAX, L_ctermid, L_cuserid): Set non-posix
350         values here with ?=.
351
352         * stdlib/gen-mpn-copy: File removed.
353         * stdlib/Makefile (distribute): Remove it.
354         * configure.in: Don't grok --with-gmp.
355         * configure: Regenerated.
356
357         * configure.in (libc_cv_idn): Don't check it; libidn/configure does it.
358         * configure: Regenerated.
359
360 2006-02-27  Ulrich Drepper  <drepper@redhat.com>
361
362         * sysdeps/unix/sysv/linux/linkat.c (linkat): Allow flags to be set
363         when syscall is used.
364         * io/fcntl.h (AT_SYMLINK_FOLLOW): Define.
365
366 2006-02-26  Roland McGrath  <roland@redhat.com>
367
368         * bare: Directory removed, saved in ports repository.
369
370         * sysdeps/unix/common/Makefile: File removed.
371         * sysdeps/unix/common/glue-ctype.c: File removed.
372         * sysdeps/unix/common/configure.in: File removed.
373         * sysdeps/unix/common/configure: File removed.
374
375         * sysdeps/unix/configure.in: File removed.
376         * sysdeps/unix/configure: File removed.
377         * sysdeps/unix/make_errlist.c: File removed.
378         * sysdeps/unix/Makefile ($(objpfx)errlist.c, $(objpfx)make_errlist):
379         Rules removed.
380
381         * timezone/africa: Update from tzdata2006b (comment changes only).
382         * timezone/antarctica: Likewise.
383         * timezone/asia: Likewise.
384         * timezone/australasia: Likewise.
385         * timezone/backward: Likewise.
386         * timezone/etcetera: Likewise.
387         * timezone/europe: Likewise.
388         * timezone/factory: Likewise.
389         * timezone/iso3166.tab: Likewise.
390         * timezone/leapseconds: Likewise.
391         * timezone/northamerica: Likewise.
392         * timezone/pacificnew: Likewise.
393         * timezone/solar87: Likewise.
394         * timezone/solar88: Likewise.
395         * timezone/solar89: Likewise.
396         * timezone/southamerica: Likewise.
397         * timezone/systemv: Likewise.
398         * timezone/zone.tab: Likewise.
399
400 2006-02-26  Ulrich Drepper  <drepper@redhat.com>
401
402         * posix/unistd.h: Add fifth parameter to linkat.
403         * io/linkat.c: Likewise.
404         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
405         * io/tst-linkat.c (do_test): Pass new parameter to linkat.
406
407         * elf/do-lookup.h (do_lookup_x): No need to compare SKIP to NULL
408         before comparison with MAP.
409
410         * elf/dl-sym.c (do_sym): For RTLD_NEXT, pass MATCH to
411         dl_lookup_symbol_x instead of L.
412
413 2006-02-24  Mike Frysinger  <vapier@gentoo.org>
414
415         * sysdeps/gnu/net/if.h (IFF_DYNAMIC): New macro.
416
417 2006-02-24  David S. Miller  <davem@sunset.davemloft.net>
418
419         * configure.in: Use sparc/sparc32/sparcv9/sparcv9b in place
420         of sparc/sparc32/sparcv9b.
421         * sysdeps/sparc/sparc32/sparcv9b/Implies: File removed.
422         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: File removed.
423
424 2006-02-24  Roland McGrath  <roland@redhat.com>
425
426         * elf/elf.h (HWCAP_SPARC_BLKINIT): New macro.
427         * sysdeps/sparc/dl-procinfo.h (HWCAP_IMPORTANT): Add it.
428         (_DL_HWCAP_COUNT): Increase to 7.
429         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add "v9v".
430         From David S. Miller <davem@sunset.davemloft.net>.
431
432         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.c: Moved to ...
433         * sysdeps/sparc/dl-procinfo.c: ... here, new file.
434         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Moved to ...
435         * sysdeps/sparc/dl-procinfo.h: ... here, new file.
436         (HWCAP_IMPORTANT): Include HWCAP_SPARC_V9 when [__WORDSIZE != 64].
437         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.c: File removed.
438         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: File removed.
439
440         * elf/sofini.c (__FRAME_END__): Mark as const.
441         * elf/soinit.c (__EH_FRAME_BEGIN__): Likewise.  Add used attribute.
442
443 2006-02-18  Joseph S. Myers  <joseph@codesourcery.com>
444
445         * soft-fp/single.h (SFtype): Define.
446         (union _FP_UNION_S): Use it.
447         * soft-fp/double.h (DFtype): Define.
448         (union _FP_UNION_D): Use it.
449         * soft-fp/extended.h (XFtype): Define.
450         (union _FP_UNION_E): Use it.
451         * soft-fp/quad.h (TFtype): Define.
452         (union _FP_UNION_Q): Use it.
453         * soft-fp/soft-fp.h: Add _LIBC conditionals.
454         (SI_BITS, DI_BITS): Define.
455         * soft-fp/op-common.h (_FP_DECL): Add __attribute__((unused)) for
456         X##_c.
457         (_FP_CMP_EQ): Use parentheses for && inside ||.
458         (_FP_TO_INT): Use statement expressions in conditional controlling
459         constant shift.
460         (_FP_FROM_INT): Likewise.  Take unsigned type as argument.
461         * soft-fp/op-2.h (_FP_FRAC_SLL_2, _FP_FRAC_SRL_2, _FP_FRAC_SRST_2,
462         _FP_FRAC_SRS_2, _FP_FRAC_ASSEMBLE_2): Use statement expressions in
463         conditional controlling possibly constant shift.
464         (_FP_FRAC_SRST_2, _FP_FRAC_SRS_2): Avoid left shift by exactly
465         _FP_W_TYPE_SIZE.
466         (_FP_FRAC_GT_2, _FP_FRAC_GE_2): Use parentheses for && inside ||.
467         * soft-fp/op-4.h (_FP_FRAC_SRST_4): Avoid left shift by exactly
468         _FP_W_TYPE_SIZE.
469         (__FP_FRAC_ADD_3, __FP_FRAC_ADD_4, __FP_FRAC_SUB_3,
470         __FP_FRAC_SUB_4): Use _FP_W_TYPE for carry flags.
471         * soft-fp/op-8.h (_FP_FRAC_SRS_8): Avoid left shift by exactly
472         _FP_W_TYPE_SIZE.
473         * soft-fp/floatdidf.c: Pass unsigned type and macro for type size.
474         * soft-fp/floatdisf.c: Likewise.
475         * soft-fp/floatditf.c: Likewise.
476         * soft-fp/floatsidf.c: Likewise.
477         * soft-fp/floatsisf.c: Likewise.
478         * soft-fp/floatsitf.c: Likewise.
479         * soft-fp/floatundidf.c: Likewise.
480         * soft-fp/floatundisf.c: Likewise.
481         * soft-fp/floatunditf.c: Likewise.
482         * soft-fp/floatunsidf.c: Likewise.
483         * soft-fp/floatunsisf.c: Likewise.
484         * soft-fp/floatunsitf.c: Likewise.
485         * soft-fp/fixdfdi.c: Pass macro for type size.
486         * soft-fp/fixdfsi.c: Likewise.
487         * soft-fp/fixsfdi.c: Likewise.
488         * soft-fp/fixsfsi.c: Likewise.
489         * soft-fp/fixtfdi.c: Likewise.
490         * soft-fp/fixtfsi.c: Likewise.
491         * soft-fp/fixunsdfdi.c: Likewise.
492         * soft-fp/fixunsdfsi.c: Likewise.
493         * soft-fp/fixunssfdi.c: Likewise.
494         * soft-fp/fixunssfsi.c: Likewise.
495         * soft-fp/fixunstfdi.c: Likewise.
496         * soft-fp/fixunstfsi.c: Likewise.
497         * sysdeps/alpha/soft-fp/ots_cvtqux.c: Pass unsigned type.
498         * sysdeps/alpha/soft-fp/ots_cvtqx.c: Likewise.
499         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
500         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
501         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
502         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
503         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Likewise.
504         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Likewise.
505         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Likewise.
506         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Likewise.
507         * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Likewise.
508         * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Likewise.
509         * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Likewise.
510         * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Likewise.
511         * soft-fp/adddf3.c: Use typedefs for argument and return types.
512         * soft-fp/addsf3.c: Likewise.
513         * soft-fp/addtf3.c: Likewise.
514         * soft-fp/divdf3.c: Likewise.
515         * soft-fp/divsf3.c: Likewise.
516         * soft-fp/divtf3.c: Likewise.
517         * soft-fp/eqdf2.c: Likewise.
518         * soft-fp/eqsf2.c: Likewise.
519         * soft-fp/eqtf2.c: Likewise.
520         * soft-fp/extenddftf2.c: Likewise.
521         * soft-fp/extendsfdf2.c: Likewise.
522         * soft-fp/extendsftf2.c: Likewise.
523         * soft-fp/fixdfdi.c: Likewise.
524         * soft-fp/fixdfsi.c: Likewise.
525         * soft-fp/fixsfdi.c: Likewise.
526         * soft-fp/fixsfsi.c: Likewise.
527         * soft-fp/fixtfdi.c: Likewise.
528         * soft-fp/fixtfsi.c: Likewise.
529         * soft-fp/fixunsdfdi.c: Likewise.
530         * soft-fp/fixunsdfsi.c: Likewise.
531         * soft-fp/fixunssfdi.c: Likewise.
532         * soft-fp/fixunssfsi.c: Likewise.
533         * soft-fp/fixunstfdi.c: Likewise.
534         * soft-fp/fixunstfsi.c: Likewise.
535         * soft-fp/floatdidf.c: Likewise.
536         * soft-fp/floatdisf.c: Likewise.
537         * soft-fp/floatditf.c: Likewise.
538         * soft-fp/floatsidf.c: Likewise.
539         * soft-fp/floatsisf.c: Likewise.
540         * soft-fp/floatsitf.c: Likewise.
541         * soft-fp/floatundidf.c: Likewise.
542         * soft-fp/floatundisf.c: Likewise.
543         * soft-fp/floatunditf.c: Likewise.
544         * soft-fp/floatunsidf.c: Likewise.
545         * soft-fp/floatunsisf.c: Likewise.
546         * soft-fp/floatunsitf.c: Likewise.
547         * soft-fp/gedf2.c: Likewise.
548         * soft-fp/gesf2.c: Likewise.
549         * soft-fp/getf2.c: Likewise.
550         * soft-fp/ledf2.c: Likewise.
551         * soft-fp/lesf2.c: Likewise.
552         * soft-fp/letf2.c: Likewise.
553         * soft-fp/muldf3.c: Likewise.
554         * soft-fp/mulsf3.c: Likewise.
555         * soft-fp/multf3.c: Likewise.
556         * soft-fp/negdf2.c: Likewise.
557         * soft-fp/negsf2.c: Likewise.
558         * soft-fp/negtf2.c: Likewise.
559         * soft-fp/sqrtdf2.c: Likewise.
560         * soft-fp/sqrtsf2.c: Likewise.
561         * soft-fp/sqrttf2.c: Likewise.
562         * soft-fp/subdf3.c: Likewise.
563         * soft-fp/subsf3.c: Likewise.
564         * soft-fp/subtf3.c: Likewise.
565         * soft-fp/truncdfsf2.c: Likewise.
566         * soft-fp/trunctfdf2.c: Likewise.
567         * soft-fp/trunctfsf2.c: Likewise.
568         * soft-fp/unorddf2.c: Likewise.
569         * soft-fp/unordsf2.c: Likewise.
570         * soft-fp/unordtf2.c: Likewise.
571
572 2006-02-09  Joseph S. Myers  <joseph@codesourcery.com>
573
574         * soft-fp/op-common.h (_FP_UNPACK_SEMIRAW): Define.
575         (_FP_OVERFLOW_SEMIRAW): Likewise.
576         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
577         (_FP_CHOOSENAN_SEMIRAW): Likewise.
578         (_FP_EXP_NORMAL): Likewise.
579         (_FP_PACK_SEMIRAW): Likewise.
580         (_FP_ADD_INTERNAL): Rewrite to operate on semi-raw value.
581         (_FP_SUB): Likewise.
582         (_FP_TO_INT): Rewrite to operate on raw values.  Don't set INVALID
583         exception for conversions where most negative representable
584         integer is correct truncated value, but do set INEXACT for such
585         conversions where appropriate.  Don't always left-shift for
586         converting to a wider integer.
587         (_FP_FROM_INT): Rewrite to yield raw value.  Correct shift for
588         integers with one more bits than (mantissa + guard) bits for the
589         floating point format.  Don't use __FP_FRAC_SRS_1 for shifting
590         integers that may be wider than _FP_W_TYPE_SIZE.
591         (FP_CONV): Don't define.
592         (FP_EXTEND): Define.
593         (FP_TRUNC): Likewise.
594         * soft-fp/op-1.h (_FP_FRAC_SRST_1, __FP_FRAC_SRST_1): Define.
595         (_FP_FRAC_CONV_1_1): Don't define.
596         (_FP_FRAC_COPY_1_1): Define.
597         * soft-fp/op-2.h (_FP_FRAC_SRST_2): Define.
598         (_FP_FRAC_CONV_1_2, _FP_FRAC_CONV_2_1): Don't define.
599         (_FP_FRAC_COPY_1_2, _FP_FRAC_COPY_2_1): Define.
600         * soft-fp/op-4.h (_FP_FRAC_SRST_4): Define.
601         (_FP_FRAC_SRS_4): Define based on _FP_FRAC_SRST_4.
602         (_FP_FRAC_CONV_1_4, _FP_FRAC_CONV_2_4): Don't define.
603         (_FP_FRAC_COPY_1_4, _FP_FRAC_COPY_2_4): Define.
604         (_FP_FRAC_CONV_4_1, _FP_FRAC_CONV_4_2): Don't define.
605         (_FP_FRAC_COPY_4_1, _FP_FRAC_COPY_4_2): Define.
606         * soft-fp/single.h (_FP_FRACTBITS_S): Define.
607         (_FP_FRACXBITS_S): Define in terms of _FP_FRACXBITS_S.
608         (_FP_WFRACXBITS_S): Likewise.
609         (_FP_QNANBIT_SH_S, _FP_IMPLBIT_SH_S): Define.
610         (FP_UNPACK_SEMIRAW_S, FP_UNPACK_SEMIRAW_SP): Define.
611         (FP_PACK_SEMIRAW_S, FP_PACK_SEMIRAW_SP): Define.
612         * soft-fp/double.h (_FP_QNANBIT_SH_D, _FP_IMPLBIT_SH_D): Define.
613         (FP_UNPACK_SEMIRAW_D, FP_UNPACK_SEMIRAW_D): Define
614         (FP_PACK_SEMIRAW_D, FP_PACK_SEMIRAW_DP): Define.
615         * soft-fp/extended.h (_FP_QNANBIT_SH_E, _FP_IMPLBIT_SH_E): Define.
616         (FP_UNPACK_EP): Correct typo.
617         (FP_UNPACK_SEMIRAW_E, FP_UNPACK_SEMIRAW_EP): Define.
618         (FP_PACK_SEMIRAW_E, FP_PACK_SEMIRAW_EP): Define.
619         * soft-fp/quad.h (_FP_QNANBIT_SH_Q, _FP_IMPLBIT_SH_Q): Define.
620         (FP_UNPACK_SEMIRAW_Q, FP_UNPACK_SEMIRAW_QP): Define.
621         (FP_PACK_SEMIRAW_Q, FP_PACK_SEMIRAW_QP): Define.
622         * soft-fp/fixdfdi.c: Use unsigned type for result of conversion.
623         * soft-fp/fixdfsi.c: Likewise.
624         * soft-fp/fixsfdi.c: Likewise.
625         * soft-fp/fixsfsi.c: Likewise.
626         * soft-fp/fixtfdi.c: Likewise.
627         * soft-fp/fixtfsi.c: Likewise.
628         * sysdeps/alpha/soft-fp/ots_cvtxq.c: Likewise.
629         * sysdeps/alpha/soft-fp/ots_nintxq.c: Likewise.
630         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
631         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
632         * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Likewise.
633         * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Likewise.
634         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
635         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
636         * soft-fp/adddf3.c: Update for changed soft-fp interfaces.
637         * soft-fp/addsf3.c: Likewise.
638         * soft-fp/addtf3.c: Likewise.
639         * soft-fp/extenddftf2.c: Likewise.
640         * soft-fp/extendsfdf2.c: Likewise.
641         * soft-fp/extendsftf2.c: Likewise.
642         * soft-fp/fixdfdi.c: Likewise.
643         * soft-fp/fixdfsi.c: Likewise.
644         * soft-fp/fixsfdi.c: Likewise.
645         * soft-fp/fixsfsi.c: Likewise.
646         * soft-fp/fixtfdi.c: Likewise.
647         * soft-fp/fixtfsi.c: Likewise.
648         * soft-fp/fixunsdfdi.c: Likewise.
649         * soft-fp/fixunsdfsi.c: Likewise.
650         * soft-fp/fixunssfdi.c: Likewise.
651         * soft-fp/fixunssfsi.c: Likewise.
652         * soft-fp/fixunstfdi.c: Likewise.
653         * soft-fp/fixunstfsi.c: Likewise.
654         * soft-fp/floatdidf.c: Likewise.
655         * soft-fp/floatdisf.c: Likewise.
656         * soft-fp/floatditf.c: Likewise.
657         * soft-fp/floatsidf.c: Likewise.
658         * soft-fp/floatsisf.c: Likewise.
659         * soft-fp/floatsitf.c: Likewise.
660         * soft-fp/floatundidf.c: Likewise.
661         * soft-fp/floatundisf.c: Likewise.
662         * soft-fp/floatunditf.c: Likewise.
663         * soft-fp/floatunsidf.c: Likewise.
664         * soft-fp/floatunsisf.c: Likewise.
665         * soft-fp/floatunsitf.c: Likewise.
666         * soft-fp/subdf3.c: Likewise.
667         * soft-fp/subsf3.c: Likewise.
668         * soft-fp/subtf3.c: Likewise.
669         * soft-fp/truncdfsf2.c: Likewise.
670         * soft-fp/trunctfdf2.c: Likewise.
671         * soft-fp/trunctfsf2.c: Likewise.
672         * sysdeps/alpha/soft-fp/ots_add.c: Likewise.
673         * sysdeps/alpha/soft-fp/ots_cvtqux.c: Likewise.
674         * sysdeps/alpha/soft-fp/ots_cvtqx.c: Likewise.
675         * sysdeps/alpha/soft-fp/ots_cvttx.c: Likewise.
676         * sysdeps/alpha/soft-fp/ots_cvtxq.c: Likewise.
677         * sysdeps/alpha/soft-fp/ots_cvtxt.c: Likewise.
678         * sysdeps/alpha/soft-fp/ots_nintxq.c: Likewise.
679         * sysdeps/alpha/soft-fp/ots_sub.c: Likewise.
680         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
681         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
682         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
683         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
684         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
685         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
686         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
687         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
688         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
689         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
690         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
691         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
692         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
693         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
694         * sysdeps/sparc/sparc32/soft-fp/q_add.c: Likewise.
695         * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Likewise.
696         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Likewise.
697         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Likewise.
698         * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Likewise.
699         * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Likewise.
700         * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Likewise.
701         * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Likewise.
702         * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Likewise.
703         * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Likewise.
704         * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Likewise.
705         * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Likewise.
706         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Likewise.
707         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Likewise.
708         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
709         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
710         * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Likewise.
711         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
712         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
713         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
714         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
715         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
716         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
717         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
718         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
719         * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Likewise.
720         * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Likewise.
721         * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Likewise.
722
723 2006-02-23  Roland McGrath  <roland@redhat.com>
724
725         * include/libc-symbols.h: Fix comment typo.
726         From Peter Kjellerstedt <peter.kjellerstedt@axis.com>.
727
728         * sysdeps/unix/sysv/linux/i386/fchownat.c: Diddle code so that "fail"
729         label is always used.
730
731         [BZ #2172]
732         * bits/syslog-path.h: New file.
733         * misc/Makefile (headers): Add it.
734         * misc/sys/syslog.h: Include it.
735         (_PATH_LOG): Macro removed.
736         From Robert Millan <robertmh@gnu.org>.
737
738         * sysdeps/unix/sysv/linux/ftruncate64.c: Find generic implementation
739         in misc/, not posix/.
740         Reported by David S. Miller <davem@davemloft.net>.
741
742 2006-02-23  Jakub Jelinek  <jakub@redhat.com>
743
744         * posix/sched_yield.c (__sched_yield): Add libc_hidden_def.
745         * sysdeps/mach/sched_yield.c (__sched_yield): Likewise.
746
747 2006-02-22  Roland McGrath  <roland@redhat.com>
748
749         * po/libc.pot: Regenerated.
750
751 2006-02-22  Jakub Jelinek  <jakub@redhat.com>
752
753         * nis/ypclnt.c (yperr_string, ypbinderr_string): Add N_()
754         around string literals.
755
756 2005-10-03  Jakub Jelinek  <jakub@redhat.com>
757
758         * nscd/selinux.c (audit_init): Print error string in the failure
759         message.
760
761 2006-02-21  Roland McGrath  <roland@redhat.com>
762
763         * sysdeps/unix/sysv/linux/kernel-features.h
764         (__ASSUME_CLONE_THREAD_FLAGS): Consolidate definitions.
765
766         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Update comment, remove
767         __THROW from epoll_wait, to match .../linux/sys/epoll.h file.
768
769 2006-02-03  Jakub Jelinek  <jakub@redhat.com>
770
771         * manual/filesys.texi (futimes): Fix prototype.
772
773 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
774
775         [BZ #315]
776         * manual/memory.texi (Obstacks Data Alignment): The default
777         alignment is not 4: it is enough to hold any type of data.
778         Problem reported by Benno in
779         <http://sources.redhat.com/ml/libc-alpha/2004-08/msg00055.html>.
780
781 2005-11-15  Robert Millan  <robertmh@gnu.org>
782
783         [BZ #2161]
784         * manual/llio.texi (read, write): Document EINVAL on unaligned access.
785
786 2006-02-21  Roland McGrath  <roland@redhat.com>
787
788         * sysdeps/i386/i686/memset.S: Fix treatment of unaligned pointer.
789         Reported by John Zulauf <john.zulauf@amd.com>.
790
791 2004-11-23  Richard Sandiford  <rsandifo@redhat.com>
792
793         * configure.in (libc_cv_gcc_dwarf2_unwind_info): Delete.
794         (HAVE_DWARF2_UNWIND_INFO{,_STATIC}): Remove AC_DEFINEs.
795         * configure: Regenerate.
796         * config.h.in (HAVE_DWARF2_UNWIND_INFO{,_STATIC}): Remove undefs.
797         * elf/soinit.c: Don't include gccframe.h.
798         (__EH_FRAME_BEGIN__): Define unconditionally.
799         (__register_frame_info, __deregister_frame_info)
800         (__register_frame_info_bases, __deregister_frame_info_bases)
801         (__register_frame, __deregister_frame): Remove declarations.
802         (__libc_global_ctors, __libc_fini): Don't call registry functions.
803         * elf/sofini.c (__EH_FRAME_END__): Define unconditionally.
804
805 2006-01-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
806
807         [BZ #2178]
808         * sysdeps/mach/hurd/getsid.c (getsid): When parameter PID is zero,
809         use _hurd_pid instead.
810
811 2006-02-20  Richard Henderson  <rth@redhat.com>
812
813         * sysdeps/alpha/soft-fp/Makefile (CPPFLAGS): Add soft-fp include
814         to math subdir.
815         * sysdeps/alpha/soft-fp/e_sqrtl.c: Don't use local-soft-fp.h.
816         (__ieee754_sqrtl): Add _round local variable.
817         * sysdeps/unix/sysv/linux/alpha/fpu/Implies: Remove.
818
819         * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Fix hidden defs.
820
821 2006-02-20  Roland McGrath  <roland@redhat.com>
822
823         * sysdeps/mips: Directory removed, saved in ports repository.
824         * sysdeps/unix/mips: Likewise.
825         * sysdeps/unix/sysv/linux/mips: Likewise.
826         * sysdeps/mach/mips: Likewise.
827         * sysdeps/mach/hurd/mips: Likewise.
828         * shlib-versions: Remove mips matches, now in ports fragment.
829         * sysdeps/unix/sysv/linux/kernel-features.h: Likewise.
830         * configure.in (machine): Likewise.
831         * configure: Regenerated.
832
833         * hurd/hurd/xattr.h: New file.
834         * hurd/xattr.c: New file.
835         * hurd/Makefile (routines): Add it.
836         * sysdeps/mach/hurd/fgetxattr.c: New file.
837         * sysdeps/mach/hurd/flistxattr.c: New file.
838         * sysdeps/mach/hurd/fremovexattr.c: New file.
839         * sysdeps/mach/hurd/fsetxattr.c: New file.
840         * sysdeps/mach/hurd/getxattr.c: New file.
841         * sysdeps/mach/hurd/lgetxattr.c: New file.
842         * sysdeps/mach/hurd/listxattr.c: New file.
843         * sysdeps/mach/hurd/lsetxattr.c: New file.
844         * sysdeps/mach/hurd/removexattr.c: New file.
845         * sysdeps/mach/hurd/setxattr.c: New file.
846
847 2006-02-15  Thomas Schwinge  <tschwinge@gnu.org>
848
849         [BZ #2329]
850         * include/unistd.h (__getresuid, __getresgid, __setresuid)
851         (__setresgid): Fix argument name order in prototypes.
852         * posix/unistd.h (getresuid, getresgid, setresuid, setresgid):
853         Likewise.
854         * posix/getresuid.c (__getresuid): Fix argument order in definition.
855         * posix/getresgid.c (__getresgid): Likewise.
856         * posix/setresuid.c (__setresuid): Likewise.
857         * posix/setresgid.c (__setresgid): Likewise.
858         * sysdeps/mach/hurd/getresuid.c (__getresuid): Likewise.
859         * sysdeps/mach/hurd/getresgid.c (__getresgid): Likewise.
860         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
861         * sysdeps/mach/hurd/setresgid.c (__setresgid): Likewise.
862         Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
863
864 2006-02-13  Mike Frysinger  <vapier@gentoo.org>
865
866         [BZ #2380]
867         * string/tester.c (test_strnlen): New function.
868         (test_strchr): Call it.
869         (test_strncat): Test lengths where the sign bit is set.
870         (test_strncmp): Likewise.
871
872 2006-02-17  Jakub Jelinek  <jakub@redhat.com>
873
874         * include/atomic.h (atomic_and, atomic_or): Define.
875
876 2006-02-15  Ulrich Drepper  <drepper@redhat.com>
877
878         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Define MADV_DONTFORK
879         and MADV_DOFORK.
880         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
881         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
882         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
883         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
884         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
885         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
886         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
887         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
888
889 2006-02-13  Jakub Jelinek  <jakub@redhat.com>
890
891         * sysdeps/unix/sysv/linux/not-cancel.h (__openat_not_cancel,
892         __openat64_not_cancel): Remove prototypes.
893         (__openat_nocancel, __openat64_nocancel): New prototypes or defines.
894         (openat_not_cancel, openat_not_cancel_3, openat64_not_cancel,
895         openat64_not_cancel_3): Use them.
896
897 2006-02-12  Ulrich Drepper  <drepper@redhat.com>
898
899         * io/ftw.c: Start using *at functions.
900         * io/ftw64.c: Likewise.
901
902         * sysdeps/generic/not-cancel.h: Define openat_not_cancel,
903         openat_not_cancel_3, openat64_not_cancel, and openat64_not_cancel_3.
904         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
905
906         * sysdeps/unix/sysv/linux/openat.c: Create separate _nocancel
907         functions.
908
909         * io/fxstatat.c: Add __fxstatat alias.
910         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise.
911         * sysdeps/unix/sysv/linux/fxstatat.c: Likewise.  Add support for
912         newfstatat syscall.
913         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Add __fxstatat alias.
914         Add support for fstatat64 syscall.
915         * include/sys/stat.h: Declare __fxstatat.
916         * io/fxstatat64.c: Add __fxstatat64 alias.
917         * sysdeps/unix/sysv/linux/fxstatat64.c: Add support for fstatat64
918         syscall.
919
920         * dirent/fdopendir.c: Add __fdopendir alias.
921         * sysdeps/unix/fdopendir.c: Likewise.
922         * sysdeps/mach/hurd/fdopendir.c: Likewise.
923         * include/dirent.h: Add __fdopendir declaration.
924
925         [BZ #2226]
926         * libio/wgenops.c (_IO_wsetb): Use correct size of wide char
927         buffer in FREE_BUF call.
928
929 2006-02-08  Ulrich Drepper  <drepper@redhat.com>
930
931         * sysdeps/unix/sysv/linux/bits/sched.h: Declare unshare.
932         * sysdeps/unix/sysv/linux/Versions [libc, GLIBC_2.4]: Export
933         unshare.
934         * sysdeps/unix/sysv/linux/syscalls.list: Add unshare syscall.
935
936         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Add some
937         preprocessor magic so that the compiler won't see the prototypes
938         for the functions we are defining as stubs.
939
940 2006-02-05  Ulrich Drepper  <drepper@redhat.com>
941
942         * io/ftw.c (ftw_startup): Use fchdir to return to original
943         directory for FTW_CHDIR.
944
945 2006-02-03  Ulrich Drepper  <drepper@redhat.com>
946
947         * manual/stdio.texi (Formatted Output Functions): Fix make_message
948         example.  Patch by NIIBE Yutaka <gniibe@m17n.org>.
949
950 2006-02-03  Roland McGrath  <roland@redhat.com>
951
952         [BZ #2268]
953         * sysdeps/posix/profil.c (__profil): Use __profile_frequency to choose
954         timer interval, don't assume smallest possible interval is it.
955
956 2006-02-03  Jakub Jelinek  <jakub@redhat.com>
957
958         * sysdeps/powerpc/fpu/bits/fenvinline.h (fegetround): Make asm
959         volatile.
960
961         * stdlib/bits/stdlib-ldbl.h (qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r):
962         Guard with [__USE_SVID || __USE_XOPEN_EXTENDED].
963
964         * math/math.h [__LDBL_COMPAT && __USE_ISOC99] (nexttowardl): New
965         prototype.
966
967         * math/math.h (__nldbl_nexttowardf): Put __THROW before
968         __attribute__ ((__const__)).
969         (__MATHDECL_2): Use __REDIRECT_NTH instead of __REDIRECT
970         followed by __THROW.
971
972 2006-02-02  Ulrich Drepper  <drepper@redhat.com>
973
974         * sysdeps/unix/sysv/linux/futimesat.c [__NR_futimesat]
975         (futimesat): If file is NULL use __futimes.
976         * include/sys/time.h: Declare __futimes.
977
978 2006-02-02  Roland McGrath  <roland@redhat.com>
979
980         * sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): Use the same
981         fstat check for ENOENT that should be EBADF as for ENOTDIR, and also
982         check for missing /proc the same way.
983
984         * include/errno.h [__cplusplus]: Avoid extra header magic for C++.
985
986         * manual/install.texi (Tools for Compilation): Require gcc 3.4,
987         recommend 4.1, advise 4.0 for powerpc64, and note 4.1 required for
988         powerpc, s390{x,} with new long double.
989         * INSTALL: Regenerated.
990
991         * timezone/private.h: Update from tzcode2006a.
992         * timezone/scheck.c: Likewise.
993         * timezone/asia: Update from tzdata2006a.
994         * timezone/northamerica: Likewise.
995         * timezone/zone.tab: Likewise.
996
997         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): New variable.
998         (CFLAGS-mcount.c): Use it instead of -msoft-float.
999         * sysdeps/powerpc/powerpc64/elf/Makefile
1000         (CFLAGS-dl-runtime.os, CFLAGS-dl-lookup.os, CFLAGS-dl-misc.os,
1001         CFLAGS-rtld-mempcpy.os, CFLAGS-rtld-memmove.os, CFLAGS-rtld-memchr.os,
1002         CFLAGS-rtld-strnlen.os): Likewise.
1003
1004 2006-02-01  Roland McGrath  <roland@redhat.com>
1005
1006         * sysdeps/ieee754/ldbl-opt/Makefile (sysdep-CFLAGS): Avoid adding
1007         -mlong-double-128 when it's already there.
1008
1009 2006-02-01  Roland McGrath  <roland@frob.com>
1010
1011         * mach/Machrules ($(objpfx)%.uh, $(objpfx)%.__h): Use static pattern
1012         rules for these, not implicit rules.
1013         ($(objpfx)%.h): Likewise.
1014         Reported by Thomas Schwinge <tschwinge@gnu.org>.
1015
1016 2006-02-01  Jakub Jelinek  <jakub@redhat.com>
1017
1018         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Use long_double_symbol
1019         even for libm.
1020
1021         * libio/bits/libio-ldbl.h (_IO_vfwscanf, _IO_vfwprintf): Remove
1022         __LDBL_REDIR_DECL.
1023
1024         * math/bits/mathcalls.h: Guard __END_NAMESPACE_C99 with the
1025         same #if condition as corresponding __BEGIN_NAMESPACE_C99.
1026         (scalb): Don't define only if __USE_ISOC99.
1027
1028         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Fix a typo.
1029         * sysdeps/s390/fpu/libm-test-ulps: Remove llrint ulps.
1030
1031 2006-01-19  Thomas Schwinge  <tschwinge@gnu.org>
1032
1033         * libio/genops.c: Include <stdbool.h>.
1034
1035 2006-02-01  Ulrich Drepper  <drepper@redhat.com>
1036
1037         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Add
1038         some more entries.
1039         * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_02_known): Likewise.
1040
1041 2006-01-31  Jakub Jelinek  <jakub@redhat.com>
1042
1043         * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file.
1044         * sysdeps/alpha/fpu/s_ceil.c: Include math_ldbl_opt.h, add
1045         compat_symbol if LONG_DOUBLE_COMPAT.
1046         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1047         * sysdeps/alpha/fpu/s_fabs.c: Likewise.
1048         * sysdeps/alpha/fpu/s_floor.c: Likewise.
1049         * sysdeps/alpha/fpu/s_rint.c: Likewise.
1050         * sysdeps/alpha/soft-fp/e_sqrtl.c: New file.
1051         * sysdeps/alpha/Implies: Add ieee754/ldbl-128.
1052
1053         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: New file.
1054         * sysdeps/unix/sysv/linux/alpha/Implies: Add ieee754/ldbl-64-128,
1055         ieee754/ldbl-opt.
1056         * sysdeps/alpha/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove.
1057         * sysdeps/unix/sysv/linux/alpha/nldbl-abi.h: New file.
1058         * sysdeps/unix/sysv/linux/alpha/Makefile
1059         [$(subdir) = math] (libm-routines): Add multc3, divtc3.
1060
1061         * math/divtc3.c: New file.
1062         * math/multc3.c: New file.
1063         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
1064         [$(subdir) = math] (libm-routines): Add multc3, divtc3.
1065
1066         * sysdeps/unix/sysv/linux/sparc/sparc32/fpu/Implies: New file.
1067         * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include math.h and
1068         math_ldbl_opt.h.
1069         (fabsl): Use long_double_symbol instead of weak_alias.
1070         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Include math.h and
1071         math_ldbl_opt.h.
1072         [LONG_DOUBLE_COMPAT] (fabsl): Add compat_symbol.
1073
1074 2006-01-31  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1075             Jakub Jelinek  <jakub@redhat.com>
1076
1077         * sysdeps/unix/sysv/linux/s390/Implies: New file.
1078         * sysdeps/unix/sysv/linux/s390/fpu/Implies: New file.
1079         * sysdeps/unix/sysv/linux/s390/nldbl-abi.h: New file.
1080         * sysdeps/s390/fpu/bits/mathinline.h (signbitl, sqrtl): New inlines.
1081         * sysdeps/s390/bits/mathdef.h: New file.
1082         * sysdeps/s390/fpu/e_sqrtl.c: New file.
1083         * sysdeps/s390/s390-32/bits/wordsize.h (__LONG_DOUBLE_MATH_OPTIONAL,
1084         __NO_LONG_DOUBLE_MATH): Define.
1085         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
1086         * sysdeps/s390/Implies: Add ieee754/ldbl-128.
1087         * sysdeps/s390/ldbl2mpn.c: File removed.
1088         * sysdeps/s390/fpu/libm-test-ulps: Updated.
1089
1090 2006-01-31  Roland McGrath  <roland@redhat.com>
1091
1092         * sysdeps/alpha/fpu/bits/mathdef.h: Moved to ...
1093         * sysdeps/alpha/bits/mathdef.h: ... here.
1094         * sysdeps/i386/fpu/bits/mathdef.h: Moved to ...
1095         * sysdeps/i386/bits/mathdef.h: ... here.
1096         * sysdeps/mips/fpu/bits/mathdef.h: Moved to ...
1097         * sysdeps/mips/bits/mathdef.h: ... here.
1098         * sysdeps/m68k/fpu/bits/mathdef.h: Moved to ...
1099         * sysdeps/m68k/bits/mathdef.h: ... here.
1100         * sysdeps/powerpc/fpu/bits/mathdef.h: Moved to ...
1101         * sysdeps/powerpc/bits/mathdef.h: ... here.
1102         * sysdeps/sparc/fpu/bits/mathdef.h: Moved to ...
1103         * sysdeps/sparc/bits/mathdef.h: ... here.
1104         * sysdeps/ia64/fpu/bits/mathdef.h: Moved to ...
1105         * sysdeps/ia64/bits/mathdef.h: ... here.
1106         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Moved to ...
1107         * sysdeps/sh/sh4/bits/mathdef.h: ... here.
1108         * sysdeps/x86_64/fpu/bits/mathdef.h: Moved to ...
1109         * sysdeps/x86_64/bits/mathdef.h: ... here.
1110
1111 2006-01-31  Jakub Jelinek  <jakub@redhat.com>
1112
1113         * sysdeps/unix/sysv/linux/i386/fxstatat.c [XSTAT_IS_STAT64]
1114         (__fxstatat64): Add libc_hidden_ver.
1115         * sysdeps/unix/sysv/linux/fxstatat.c [XSTAT_IS_STAT64] (__fxstatat64):
1116         Likewise.
1117
1118         * sysdeps/sparc/sparc64/jmpbuf-unwind.h: Remove jmpbuf-offsets.h
1119         include.
1120
1121 2006-01-31  Roland McGrath  <roland@redhat.com>
1122
1123         * sysdeps/powerpc/fpu/libm-test-ulps: Update by Jakub.
1124
1125         * inet/rcmd.c (iruserfopen): Remove redundant initialization.
1126         From Bernhard Fischer <rep.nop@aon.at>.
1127
1128         * posix/regcomp.c (calc_eclosure_iter): Remove dead variables.
1129         Reported by Mike Frysinger <vapier@gentoo.org>.
1130
1131 2006-01-30  Steven Munroe  <sjmunroe@us.ibm.com>
1132
1133         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Correct index
1134         for __sincosl_table.
1135         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1136         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1137
1138         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Correct sign of 0.0.
1139         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
1140
1141         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: New file.
1142         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: New file.
1143         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: New file.
1144
1145 2006-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
1146
1147         * sysdeps/unix/sysv/linux/mips/bits/errno.h (ECANCELED,
1148         EOWNERDEAD, ENOTRECOVERABLE): Define.
1149
1150         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_REMOVE): Define.
1151
1152         * sysdeps/mips/dl-machine.h (RTLD_START): Correct offsets for
1153         N64.
1154
1155         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct msghdr): Use
1156         size_t for msg_controllen.
1157         (__cmsg_nxthdr): Correct test.
1158         (__SCM_CONNECT): Delete.
1159
1160 2006-01-30  Alexandre Oliva  <aoliva@redhat.com>
1161             Roland McGrath  <roland@redhat.com>
1162
1163         * configure.in (fno_unit_at_a_time): Set to
1164         -fno-toplevel-reorder if the compiler supports it.
1165         Otherwise use -fno-unit-at-a-time unconditionally.
1166         * configure: Regenerated.
1167
1168 2006-01-30  Jakub Jelinek  <jakub@redhat.com>
1169
1170         * sysdeps/powerpc/fpu/libm-test-ulps: Merge ulps with older
1171         libm-test-ulps rather than overwrite it.  Remove excessively high ulps.
1172
1173 2006-01-29  Joseph S. Myers  <joseph@codesourcery.com>
1174
1175         * soft-fp/double.h (FP_CMP_UNORD_D): Also define in
1176         [_FP_W_TYPE_SIZE >= 64] case.
1177         * soft-fp/extended.h (FP_CMP_UNORD_E): Likewise.
1178         * soft-fp/quad.h (FP_CMP_UNORD_Q): Likewise.
1179
1180 2006-01-27  Dwayne Grant McConnell  <decimal@us.ibm.com>
1181             Jakub Jelinek  <jakub@redhat.com>
1182             Roland McGrath  <roland@redhat.com>
1183             Steven Munroe  <sjmunroe@us.ibm.com>
1184             Alan Modra  <amodra@bigpond.net.au>
1185
1186         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Comment fix.
1187         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1188         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1189
1190         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1191
1192         * math/libm-test.inc (check_float_internal): Allow ulp <= 0.5.
1193         (erfc_test): Don't run erfcl (27.0L) test if erfcl (27.0L) is
1194         denormal.
1195         [TEST_LDOUBLE] (ceil_test, floor_test, llrint_test, llround_test,
1196         rint_test, round_test, trunc_test): Add new tests.
1197
1198         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: New file.
1199         * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: New file.
1200         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S: New file.
1201         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: New file.
1202         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: New file.
1203         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: New file.
1204         * sysdeps/powerpc/powerpc32/fpu/s_isnan.c: New file.
1205
1206         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: New file.
1207         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: New file.
1208         * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: New file.
1209         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: New file.
1210         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: New file.
1211         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: New file.
1212         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: New file.
1213         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: New file.
1214         * sysdeps/powerpc/powerpc64/fpu/s_isnan.c: New file.
1215         * sysdeps/powerpc/powerpc64/fpu/s_llrintl.S: New file.
1216         * sysdeps/powerpc/powerpc64/fpu/s_llroundl.S: New file.
1217         * sysdeps/powerpc/powerpc64/fpu/s_lrintl.S: New file.
1218         * sysdeps/powerpc/powerpc64/fpu/s_lroundl.S: New file.
1219         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: New file.
1220         * sysdeps/powerpc/powerpc64/fpu/s_rintl.S: New file.
1221         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: New file.
1222         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: New file.
1223
1224         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: New file.
1226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: New file.
1227         * sysdeps/unix/sysv/linux/powerpc/configure.in: New file.
1228         * sysdeps/unix/sysv/linux/powerpc/configure: New file.
1229         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
1230         (__LONG_DOUBLE_MATH_OPTIONAL): Define.
1231         (__NO_LONG_DOUBLE_MATH): Define.
1232         * sysdeps/unix/sysv/linux/powerpc/nldbl-abi.h: New file.
1233         * sysdeps/powerpc/fpu/s_isnan.c: Include math_ldbl_opt.h.
1234         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include math_ldbl_opt.h.
1235         [LONG_DOUBLE_COMPAT] (ceill): Add compatibility symbols.
1236         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include math_ldbl_opt.h.
1237         [LONG_DOUBLE_COMPAT] (copysignl): Add compatibility symbols.
1238         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include math_ldbl_opt.h.
1239         [LONG_DOUBLE_COMPAT] (floorl): Add compatibility symbols.
1240         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include math_ldbl_opt.h.
1241         [LONG_DOUBLE_COMPAT] (llrintl, lrintl): Add compatibility symbols.
1242         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include math_ldbl_opt.h.
1243         [LONG_DOUBLE_COMPAT] (llroundl, lroundl): Add compatibility symbols.
1244         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include math_ldbl_opt.h.
1245         [LONG_DOUBLE_COMPAT] (rintl): Add compatibility symbols.
1246         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include math_ldbl_opt.h.
1247         [LONG_DOUBLE_COMPAT] (roundl): Add compatibility symbols.
1248         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include math_ldbl_opt.h.
1249         [LONG_DOUBLE_COMPAT] (truncl): Add compatibility symbols.
1250         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include math_ldbl_opt.h.
1251         [LONG_DOUBLE_COMPAT] (ceill): Add compatibility symbols.
1252         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include math_ldbl_opt.h.
1253         [LONG_DOUBLE_COMPAT] (copysignl): Add compatibility symbols.
1254         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include math_ldbl_opt.h.
1255         [LONG_DOUBLE_COMPAT] (floorl): Add compatibility symbols.
1256         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include math_ldbl_opt.h.
1257         [LONG_DOUBLE_COMPAT] (lrintl): Add compatibility symbols.
1258         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include math_ldbl_opt.h.
1259         [LONG_DOUBLE_COMPAT] (llrintl): Add compatibility symbols.
1260         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include math_ldbl_opt.h.
1261         [LONG_DOUBLE_COMPAT] (lroundl): Add compatibility symbols.
1262         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include math_ldbl_opt.h.
1263         [LONG_DOUBLE_COMPAT] (rintl): Add compatibility symbols.
1264         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include math_ldbl_opt.h.
1265         [LONG_DOUBLE_COMPAT] (roundl): Add compatibility symbols.
1266         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include math_ldbl_opt.h.
1267         [LONG_DOUBLE_COMPAT] (truncl): Add compatibility symbols.
1268
1269         * misc/qefgcvt_r.c [LDBL_MIN_10_EXP == -291] (FLOAT_MIN_10_NORM): New.
1270
1271         * sysdeps/powerpc/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove.
1272         * sysdeps/powerpc/Implies: Add ieee754/ldbl-128ibm.
1273         * sysdeps/powerpc/powerpc32/Implies: Remove powerpc/soft-fp.
1274         * sysdeps/ieee754/ldbl-128ibm/Makefile: New file.
1275         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: New file.
1276         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: New file.
1277         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: New file.
1278         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: New file.
1279         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: New file.
1280         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: New file.
1281         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: New file.
1282         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: New file.
1283         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: New file.
1284         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: New file.
1285         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: New file.
1286         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: New file.
1287         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: New file.
1288         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: New file.
1289         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: New file.
1290         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: New file.
1291         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: New file.
1292         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: New file.
1293         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: New file.
1294         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: New file.
1295         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: New file.
1296         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: New file.
1297         * sysdeps/ieee754/ldbl-128ibm/ieee754.h: New file.
1298         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: New file.
1299         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: New file.
1300         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: New file.
1301         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: New file.
1302         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: New file.
1303         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: New file.
1304         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: New file.
1305         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: New file.
1306         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: New file.
1307         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: New file.
1308         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: New file.
1309         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: New file.
1310         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: New file.
1311         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: New file.
1312         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: New file.
1313         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: New file.
1314         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: New file.
1315         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: New file.
1316         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: New file.
1317         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: New file.
1318         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: New file.
1319         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: New file.
1320         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: New file.
1321         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: New file.
1322         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: New file.
1323         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: New file.
1324         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: New file.
1325         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: New file.
1326         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: New file.
1327         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: New file.
1328         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: New file.
1329         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: New file.
1330         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: New file.
1331         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: New file.
1332         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: New file.
1333         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: New file.
1334         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: New file.
1335         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: New file.
1336         * sysdeps/ieee754/ldbl-128ibm/t_sincosl.c: New file.
1337         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: New file.
1338         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: New file.
1339         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: New file.
1340         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: New file.
1341         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: New file.
1342         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: New file.
1343         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: New file.
1344         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: New file.
1345         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: New file.
1346         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: New file.
1347
1348         * sysdeps/ieee754/ldbl-128/e_powl.c: Fix old comment.
1349
1350 2006-01-22  Aurelien Jarno  <aurelien@aurel32.net>
1351
1352         * sysdeps/gnu/errlist-compat.awk: Reduce required number of symbols in
1353         sanity check.
1354
1355 2006-01-21  Ulrich Drepper  <drepper@redhat.com>
1356
1357         * sysdeps/unix/sysv/linux/renameat.c (__atfct_seterrno_2): Correctly
1358         return EBADF for non-existing file descriptors.
1359         * sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): Likewise.
1360         * io/tst-openat.c (do_test): Add some more tests.
1361         * io/tst-faccessat.c (do_test): Likewise.
1362         * io/tst-renameat.c (do_test): Likewise.
1363         * io/tst-fstatat.c (do_test): Likewise.
1364         * io/tst-fchmodat.c (do_test): Likewise.
1365         * io/tst-fchownat.c (do_test): Likewise.
1366
1367 2006-01-21  Roland McGrath  <roland@redhat.com>
1368
1369         * sysdeps/unix/sysv/linux/faccessat.c: Move RESULT defn inside block.
1370
1371         * misc/tst-pselect.c: Include <unistd.h>.
1372
1373         * time/time.h [__need_timespec et al]: Include <bits/types.h> here too.
1374
1375         * stdlib/fpioconst.c: Fix whitespace typo.
1376
1377 2006-01-20  Jakub Jelinek  <jakub@redhat.com>
1378
1379         * sysdeps/ieee754/ldbl-64-128/s_nexttowardfd.c: Moved to...
1380         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: ... here.  New file.
1381         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (long_double_symbol_1): For
1382         C define again using _weak_alias, for assembler use weak_alias.
1383
1384         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: New file.
1385         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: New file.
1386         * sysdeps/powerpc/fpu/bits/mathinline.h (__CPU_HAS_FSQRT): New macro.
1387         (__ieee754_sqrt, __ieee754_sqrtf): Use it.
1388
1389 2006-01-21  Ulrich Drepper  <drepper@redhat.com>
1390
1391         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Allow actual
1392         system call code to be redefined in macro CALL_PSELECT6.
1393         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
1394         (sysdep_routines): Add call_pselect6.
1395         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: New file.
1396         * sysdeps/unix/sysv/linux/i386/pselect.c: New file.
1397         * misc/Makefile (tests): Add tst-pselect.
1398         * misc/tst-pselect.c: New file.
1399
1400 2006-01-20  Roland McGrath  <roland@frob.com>
1401
1402         * sysdeps/mach/hurd/ppoll.c: New file.
1403
1404 2006-01-20  Ulrich Drepper  <drepper@redhat.com>
1405
1406         * sysdeps/unix/sysv/linux/pselect.c: Fix typo in declaration.
1407
1408         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Cast k_dev
1409         value to unsigned int to match kernel.
1410
1411         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Try using the
1412         syscall in more cases.
1413
1414         * io/Makefile (tests): Add tst-symlinkat, tst-linkat, tst-readlinkat,
1415         tst-mkdirat, tst-mknodat, and tst-mkfifoat.
1416         * io/tst-symlinkat.c: New file.
1417         * io/tst-linkat.c: New file.
1418         * io/tst-readlinkat.c: New file.
1419         * io/tst-mkdirat.c: New file.
1420         * io/tst-mknodat.c: New file.
1421         * io/tst-mkfifoat.c: New file.
1422
1423         * dirent/Makefile (tests): Add tst-fdopendir2.
1424         * dirent/tst-fdopendir2.c: New file.
1425
1426 2006-01-20  Alexandre Oliva  <aoliva@redhat.com>
1427
1428         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
1429         (sigcontext_struct) [__WORDSIZE == 32]: Define.
1430
1431 2006-01-20  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1432
1433         * sysdeps/sh/sh4/__longjmp.S: Demangle also r14 and r15.
1434         * sysdeps/sh/sh3/__longjmp.S: Likewise.
1435         * sysdeps/sh/sh4/setjmp.S: Mangle also r14 and r15.
1436         * sysdeps/sh/sh3/setjmp.S: Likewise.
1437         * sysdeps/unix/sysv/linux/sh/sysdep.h [__ASSEMBLER__]
1438         (PTR_MANGLE): Add temporary register as the second parameter.
1439         (PTR_DEMANGLE): Likewize.
1440         (PTR_MANGLE2, PTR_DEMANGLE2): Define.
1441
1442 2006-01-19  Ulrich Drepper  <drepper@redhat.com>
1443
1444         * include/fcntl.h: Declare __have_atfcts.
1445         * sysdeps/unix/sysv/linux/faccessat.c: Use syscall if available.
1446         * sysdeps/unix/sysv/linux/fchmodat.c: Likewise.
1447         * sysdeps/unix/sysv/linux/fchownat.c: Likewise.
1448         * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
1449         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1450         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1451         * sysdeps/unix/sysv/linux/openat.c: Likewise.
1452         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1453         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1454         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1455         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1456         * sysdeps/unix/sysv/linux/xmknodat.c: Likewise.
1457         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise.
1458         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PSELECT,
1459         __ASSUME_PPOLL, and __ASSUME_ATFCTS if possible.
1460
1461         * io/ppoll.c: New file.
1462         * io/Makefile (routines): Add ppoll.
1463         (CFLAGS-ppoll.c): Define.
1464         * io/Versions: Export ppoll for GLIBC_2.4.
1465         * io/sys/poll.h: Declare ppoll.
1466         * sysdeps/unix/sysv/linux/ppoll.c: New file.
1467
1468         * misc/pselect.c: Make it possible to include this file to define
1469         the generic code as a static function.
1470         * sysdeps/unix/sysv/linux/pselect.c: New file.
1471
1472 2006-01-19  Jakub Jelinek  <jakub@redhat.com>
1473
1474         * misc/pselect.c (__pselect): Remove static.
1475         Include sysdep-cancel.h again.  Add LIBC_CANCEL_HANDLED ().
1476
1477 2006-01-18  Roland McGrath  <roland@redhat.com>
1478
1479         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h [__ASSEMBLER__]: Don't
1480         include problematic headers for assembler.
1481
1482         * Makerules ($(+sysdir_pfx)sysd-rules): Don't emit m_%.c rules,
1483         instead emit m_%.o compilation rules from s_%.? source files.
1484         * math/Makefile ($(objpfx)m_%$o: s_%.c): New rule using o-iterator.
1485
1486 2006-01-18  Ulrich Drepper  <drepper@redhat.com>
1487
1488         * misc/pselect.c (__pselect): No need to enable async cancellation
1489         here.  This is done in select.
1490
1491         * sysdeps/unix/sysv/linux/fxstatat.c [STAT_IS_KERNEL_STAT]
1492         (__fxstatat): Correct handling of invalid vers values.
1493
1494         [BZ #2173]
1495         * libio/fileops.c (_IO_new_file_fopen): If ,ccs= is given, also
1496         set vtable to the wide vtable.
1497         * libio/tst-fopenloc2.c: New file.
1498         * libio/Makefile (tests): Add tst-fopenloc2.
1499
1500 2006-01-18  Roland McGrath  <roland@redhat.com>
1501
1502         * sysdeps/ieee754/ldbl-opt/nldbl-dprintf.c: Restore
1503         attribute_hidden here.
1504
1505         * sysdeps/sparc/sparc64/Makefile (long-double-fcts): Move this ...
1506         * sysdeps/sparc/Makefile (long-double-fcts): ... to here.
1507
1508 2006-01-18  Jakub Jelinek  <jakub@redhat.com>
1509
1510         * elf/dl-deps.c (_dl_map_object_deps): In case of failure also make a
1511         copy of objname string.
1512
1513 2006-01-16  Roland McGrath  <roland@redhat.com>
1514
1515         * Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules to install
1516         into $(inst_includedir)/%.h from sysdirs.
1517         [headers]: Change static pattern rule for installing
1518         $(headers) to do only those not matching %.h.
1519         ($(inst_includedir)/%.h: $(objpfx)%.h): Add this pattern rule instead.
1520         ($(inst_includedir)/%.h: %.h): Likewise.
1521         ($(inst_includedir)/%.h: $(..)include/%.h): Likewise.
1522
1523         * Makefile ($(inst_includedir)/gnu/stubs.h):
1524         Add $(make-target-directory).
1525
1526         * stdlib/Makefile (headers): Restore headers removed in last change.
1527
1528 2006-01-16  Jakub Jelinek  <jakub@redhat.com>
1529
1530         * math/e_exp2l.c: Don't include stdio.h, errno.h, stub-tag.h, include
1531         math_private.h.
1532         (__ieee754_exp2l): Compute for now as expl (M_LN2l * x)
1533         instead of failing.
1534         (exp2l): Remove stub_warning.
1535
1536 2006-01-15  Jakub Jelinek  <jakub@redhat.com>
1537
1538         * io/tst-faccessat.c (do_test): Don't fail if geteuid () == 0.
1539
1540 2006-01-16  Ulrich Drepper  <drepper@redhat.com>
1541
1542         * sysdeps/unix/sysv/linux/kernel-features.h: Define
1543         __ASSUME_TMPFS_NAME.
1544         * sysdeps/unix/sysv/linux/shm_open.c [__ASSUME_TMPFS_NAME]
1545         (where_is_shmfs): Don't test for obsolete shm filesystem name.
1546
1547         * sysdeps/unix/sysv/linux/getsysstats.c: Don't search for proc
1548         mount point.  We assume procfs is mounted at /proc in many other
1549         places already.
1550
1551 2006-01-15  Andreas Jaeger  <aj@suse.de>
1552
1553         [BZ #1950]
1554         * posix/regex_internal.c (re_string_reconstruct): Adjust for
1555         build_wcs_upper_buffer change.
1556         (build_wcs_upper_buffer): Change return type.
1557
1558         [BZ #2153]
1559         * math/s_cacosh.c (__cacosh): Do not return a negative
1560         value. Patch by Wes Loewer <wjltemp-temp01@yahoo.com>.
1561         * math/s_cacoshl.c (__cacoshl): Likewise.
1562         * math/s_cacoshf.c (__cacoshf): Likewise.
1563         * math/libm-test.inc (cacosh_test): Adjust for change.
1564
1565         * sysdeps/alpha/fpu/libm-test-ulps: Adopt for cacosh test change.
1566         * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
1567         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1568         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1569         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
1570         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
1571         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1572         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1574         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1575         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
1576         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1577
1578         [BZ #2079]
1579         * libio/fputwc_u.c (fputwc_unlocked): Fix return value.
1580         * libio/getwc_u.c (__getwc_unlocked): Likewise.
1581         * libio/wfileops.c (_IO_wdo_write): Likewise.
1582
1583         [BZ #2078]
1584         * libio/fputwc.c (fputwc): Use proper type for result.
1585         * libio/ioungetwc.c (ungetwc): Likewise.
1586
1587 2006-01-14  Ulrich Drepper  <drepper@redhat.com>
1588
1589         * sysdeps/unix/sysv/linux/bits/sched.h: Define SCHED_BATCH.
1590
1591 2006-01-14  Roland McGrath  <roland@redhat.com>
1592
1593         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Don't try
1594         attribute_hidden here.
1595         * sysdeps/ieee754/ldbl-opt/nldbl-vsyslog.c (vsyslog): Restore
1596         attribute_hidden here.
1597         * sysdeps/ieee754/ldbl-opt/nldbl-asprintf.c (__asprintf): Likewise.
1598         * sysdeps/ieee754/ldbl-opt/nldbl-fprintf.c (fprintf): Likewise.
1599         * sysdeps/ieee754/ldbl-opt/nldbl-qecvt.c (qecvt): Likewise.
1600         * sysdeps/ieee754/ldbl-opt/nldbl-qfcvt.c (qfcvt): Likewise.
1601         * sysdeps/ieee754/ldbl-opt/nldbl-qgcvt.c (qgcvt): Likewise.
1602
1603         * sysdeps/ieee754/ldbl-opt/configure.in: Use AC_TRY_COMPILE and
1604         verify __LONG_DOUBLE_128__ predefine.
1605         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
1606
1607         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_HIDDEN): Removed.
1608         (NLDBL_DECL): Rewritten.
1609         Remove __THROW from NLDBL_DECL uses.
1610         Use NLDBL_DECL for __vstrfmon_l.
1611         (__nldbl___vsyslog_chk): Restore missing decl.
1612         * sysdeps/ieee754/ldbl-opt/nldbl-asinh.c: Restore attribute_hidden.
1613
1614 2006-01-14  Jakub Jelinek  <jakub@redhat.com>
1615
1616         * misc/sys/cdefs.h (__LDBL_REDIR1_DECL): Define.
1617         (__LDBL_REDIR_DECL): Stringize __nldbl and name.
1618         * stdlib/bits/monetary-ldbl.h: Remove pastos from wchar-ldbl.h.
1619         (strfmon, strfmon_l): Add __LDBL_REDIR_DECL.
1620         * stdlib/bits/stdlib-ldbl.h (strtold, strtold_l, __strtold_internal,
1621         qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r): Use __LDBL_REDIR1_DECL
1622         instead of __LDBL_REDIR_DECL.
1623         * wcsmbs/bits/wchar-ldbl.h: Remove stale #if.
1624         (__LDBL_REDIR_WCHAR): Remove.
1625         (fwprintf, wprintf, swprintf, vfwprintf, vwprintf, vswprintf,
1626         fwscanf, wscanf, swscanf, vfwscanf, vwscanf, vswscanf): Use
1627         __LDBL_REDIR_DECL instead of __LDBL_REDIR_WCHAR.
1628         (wcstold, wcstold_l, __wcstold_internal): Add __LDBL_REDIR1_DECL.
1629         * wcsmbs/wchar.h: Include bits/wchar-ldbl.h after bits/wchar2.h
1630         instead of before it.
1631         (wcstold inline): Move #ifndef __LDBL_COMPAT before
1632         extern keyword.
1633         * libio/bits/stdio-ldbl.h (__snprintf_chk, __vsnprintf_chk): Add
1634         __LDBL_REDIR_DECL.
1635         * misc/bits/syslog-ldbl.h (vsyslog): Protect with #ifdef __USE_BSD.
1636         (__syslog_chk, __vsyslog_chk): Add __LDBL_REDIR_DECL.
1637
1638 2006-01-14  Roland McGrath  <roland@redhat.com>
1639
1640         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Fix typo.
1641         (NLDBL_HIDDEN): New macro.
1642         (NLDBL_DECL): Use it in place of attribute_hidden.
1643
1644         * misc/efgcvt.c: Include <math_ldbl_opt.h> instead of <shlib-compat.h>.
1645         * misc/efgcvt_r.c: Likewise.
1646
1647         * sysdeps/unix/sysv/linux/sparc/sparc32/nldbl-abi.h: New file.
1648         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: #include <nldbl-abi.h>
1649         to define LONG_DOUBLE_COMPAT_VERSION.  Use that in place of
1650         NLDBL_VERSION.
1651         * sysdeps/ieee754/ldbl-opt/Versions: Include <nldbl-abi.h>.
1652         * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Revert last change.
1653
1654 2006-01-14  Jakub Jelinek  <jakub@redhat.com>
1655
1656         * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New
1657         prototype.
1658         (nexttowardf): Redirect to __nldbl_nexttowardf.
1659         (nexttoward): Redirect to nextafter.
1660         (__MATHDECL_2, __MATHDECL_1): Redirect *l functions to
1661         non-*l versions if __LONG_DOUBLE_MATH_OPTIONAL and
1662         __NO_LONG_DOUBLE_MATH.
1663         * math/complex.h (__MATHDECL_1): Likewise.
1664         * math/bits/mathcalls.h (nexttoward): Don't prototype if
1665         __LDBL_COMPAT.
1666         * misc/sys/cdefs.h: Include <bits/wordsize.h>.
1667         (__LDBL_COMPAT, __LDBL_REDIR1, __LDBL_REDIR, __LDBL_REDIR1_NTH,
1668         __LDBL_REDIR_NTH, __LDBL_REDIR_DECL): New macros.
1669
1670         * libio/bits/stdio-ldbl.h: New file.
1671         * libio/Makefile (headers): Add it.
1672         * libio/stdio.h [__LDBL_COMPAT]: #include it.
1673         * libio/bits/libio-ldbl.h: New file.
1674         * libio/Makefile (headers): Add it.
1675         * libio/libio.h [__LDBL_COMPAT]: #include it.
1676         * libio/libioP.h: Include <math_ldbl_opt.h>.
1677         * include/wchar.h (__fwprintf, __vfwprintf): Fix commented out
1678         attribute.
1679         (__vfwprintf_chk): New prototype.  Add libc_hidden_proto.
1680         * wcsmbs/bits/wchar-ldbl.h: New file.
1681         * wcsmbs/Makefile (headers): Add it.
1682         * wcsmbs/wchar.h [__LDBL_COMPAT]: #include it.
1683         * wcsmbs/bits/wchar2.h (__vswprintf_alias): Removed.
1684         (vswprintf): Define as a macro rather than inline function.
1685         * stdio-common/bits/printf-ldbl.h: New file.
1686         * stdio-common/Makefile (headers): Add it.
1687         * stdio-common/printf.h [__LDBL_COMPAT]: #include it.
1688         * libio/fwprintf.c: Include libioP.h.
1689         (fwprintf): Use ldbl_weak_alias instead of weak_alias.
1690         * libio/fwscanf.c: Include libioP.h.
1691         (fwscanf): Rename to __fwscanf and add ldbl_strong_alias.
1692         * libio/iovdprintf.c (vdprintf): Use ldbl_weak_alias instead of
1693         weak_alias.
1694         * libio/iovsprintf.c (_IO_vsprintf): Rename to __IO_vsprintf,
1695         add ldbl_strong_alias and use INTDEF2 instead of INTDEF.
1696         (vsprintf): Use ldbl_weak_alias instead of weak_alias.
1697         * libio/iovsscanf.c (__vsscanf, vsscanf): Use ldbl_weak_alias
1698         instead of weak_alias.
1699         * libio/iovswscanf.c (vswscanf): Rename to __vswscanf,
1700         add ldbl_strong_alias and use ldbl_hidden_def instead of
1701         libc_hidden_def.
1702         * libio/obprintf.c (obstack_printf, obstack_vprintf): Use
1703         ldbl_weak_alias instead of weak_alias.
1704         * libio/swprintf.c: Include libioP.h.
1705         (swprintf): Rename to __swprintf and add ldbl_strong_alias.
1706         * libio/swscanf.c: Include libioP.h.
1707         (swscanf): Rename to __swscanf and add ldbl_strong_alias.
1708         * libio/vasprintf.c (vasprintf): Use ldbl_weak_alias instead of
1709         weak_alias.
1710         * libio/vscanf.c (vscanf): Use ldbl_weak_alias instead of
1711         weak_alias.
1712         * libio/vsnprintf.c (__vsnprintf, vsnprintf): Use ldbl_weak_alias
1713         instead of weak_alias.
1714         * libio/vswprintf.c (__vswprintf): Remove alias.
1715         (vswprintf): Use ldbl_weak_alias instead of weak_alias.
1716         * libio/vwprintf.c: Include libioP.h.
1717         (vwprintf): Rename to __vwprintf and add ldbl_strong_alias.
1718         * libio/vwscanf.c (vwscanf): Rename to __vwscanf and add
1719         ldbl_strong_alias.
1720         * libio/wprintf.c: Include libioP.h.
1721         (wprintf): Rename to __wprintf and add ldbl_strong_alias.
1722         * libio/wscanf.c: Include libioP.h.
1723         (wscanf): Rename to __wscanf and add ldbl_strong_alias.
1724         * stdio-common/asprintf.c (__asprintf): Rename to ___asprintf, add
1725         ldbl_strong_alias and use INTDEF2 instead of INTDEF.
1726         (asprintf): Use ldbl_weak_alias instead of weak_alias.
1727         * stdio-common/dprintf.c (dprintf): Rename to __dprintf, add
1728         ldbl_strong_alias and use ldbl_hidden_def instead of
1729         libc_hidden_def.
1730         * stdio-common/fprintf.c: Include libioP.h.
1731         (fprintf): Rename to __fprintf, add ldbl_strong_alias and
1732         use ldbl_hidden_def instead of libc_hidden_def.
1733         (_IO_fprintf): Use ldbl_weak_alias instead of weak_alias.
1734         * stdio-common/fscanf.c: Include libioP.h.
1735         (fscanf): Rename to __fscanf and add ldbl_strong_alias.
1736         * stdio-common/printf.c: Include libioP.h.
1737         (printf): Rename to __printf and add ldbl_strong_alias.
1738         (_IO_printf): Use ldbl_strong_alias instead of strong_alias.
1739         * stdio-common/printf_fp.c (__printf_fp): Rename to __printf_fp, add
1740         ldbl_strong_alias and use ldbl_hidden_def instead of
1741         libc_hidden_def.
1742         * stdio-common/printf_size.c (printf_size): Rename to __printf_size
1743         and add ldbl_strong_alias.
1744         * stdio-common/scanf.c (scanf): Rename to __scanf and add
1745         ldbl_strong_alias.
1746         * stdio-common/snprintf.c (snprintf): Use ldbl_weak_alias instead of
1747         weak_alias.
1748         * stdio-common/sprintf.c (sprintf): Rename to __sprintf, add
1749         ldbl_strong_alias and use ldbl_hidden_def instead of
1750         libc_hidden_def.
1751         (_IO_sprintf): Use ldbl_strong_alias instead of strong_alias.
1752         * stdio-common/sscanf.c: Include libioP.h instead of iolibio.h.
1753         (sscanf): Rename to __sscanf and add ldbl_strong_alias.
1754         * stdio-common/vfprintf.c (vfprintf): Define to
1755         _IO_vfprintf_internal.  Use ldbl_strong_alias instead.  Use
1756         ldbl_hidden_def instead of libc_hidden_def.
1757         (_IO_vfprintf_internal): Clear is_long_double if __ldbl_is_dbl,
1758         handle the argument as double if it is non-zero.
1759         (vfwprintf): Use ldbl_weak_alias instead of weak_alias.
1760         (_IO_vfprintf): Add ldbl_strong_alias.
1761         * stdio-common/vfscanf.c (_IO_vfscanf): Rename to
1762         _IO_vfscanf_internal, don't use strtold if __ldbl_is_dbl, add
1763         ldbl_strong_alias.
1764         (vfwscanf): Use ldbl_weak_alias instead of weak_alias.
1765         (__vfscanf): Rename to ___vfscanf, add ldbl_strong_alias and
1766         use ldbl_hidden_def instead of libc_hidden_def.
1767         (vfscanf): Use ldbl_weak_alias instead of weak_alias.
1768         * stdio-common/vprintf.c: Include libioP.h.
1769         (vprintf): Rename to __vprintf and add ldbl_strong_alias.
1770         * debug/fprintf_chk.c (__fprintf_chk): Rename to ___fprintf_chk
1771         and add ldbl_strong_alias.
1772         * debug/printf_chk.c (__printf_chk): Rename to ___printf_chk
1773         and add ldbl_strong_alias.
1774         * debug/snprintf_chk.c: Include libioP.h.
1775         (__snprintf_chk): Rename to ___snprintf_chk and add ldbl_strong_alias.
1776         * debug/sprintf_chk.c: Include libioP.h.
1777         (__sprintf_chk): Rename to ___sprintf_chk and add ldbl_strong_alias.
1778         * debug/vfprintf_chk.c (__vfprintf_chk): Rename to ___vfprintf_chk,
1779         add ldbl_strong_alias and use ldbl_hidden_def instead of
1780         libc_hidden_def.
1781         * debug/vfwprintf_chk.c (__vfwprintf_chk): Add libc_hidden_def.
1782         * debug/vprintf_chk.c (__vprintf_chk): Rename to ___vprintf_chk
1783         and add ldbl_strong_alias.
1784         * debug/vsnprintf_chk.c (__vsnprintf_chk): Rename to ___vsnprintf_chk,
1785         add ldbl_strong_alias and use ldbl_hidden_def instead of
1786         libc_hidden_def.
1787         * debug/vsprintf_chk.c (__vsprintf_chk): Rename to ___vsprintf_chk,
1788         add ldbl_strong_alias and use ldbl_hidden_def instead of
1789         libc_hidden_def.
1790
1791         * stdlib/stdlib.h (strtold): Don't define inline if [!__LDBL_COMPAT].
1792         * wcsmbs/wchar.h (wcstold): Likewise.
1793         * stdlib/strtod_l.c: Include math_ldbl_opt.h.
1794         (____STRTOF_INTERNAL): Define.
1795         (INTERNAL (__STRTOF)): Rename to ____STRTOF_INTERNAL.
1796         (__STRTOF): Call ____STRTOF_INTERNAL instead.
1797         [LONG_DOUBLE_COMPAT] (strtold_l, wcstold_l, __strtold_l, __wcstold_l):
1798         Add compatibility symbols.
1799         * stdlib/strtod.c: Include math_ldbl_opt.h.
1800         [LONG_DOUBLE_COMPAT] (strtold, wcstold, __strtold_internal,
1801         __wcstold_internal): Add compatibility symbols.
1802         * stdlib/strtold.c: Include bits/wordsize.h, wchar.h.
1803         (NEW, NEW1): Define.
1804         (__new_strtold, __new_wcstold): New prototypes.
1805         (____new_strtold_internal, ____new_wcstold_internal): Likewise.
1806         Add libc_hidden_proto.
1807         (STRTOF): Define to NEW (*told).
1808         [__LONG_DOUBLE_MATH_OPTIONAL] (wcstold, strtold): Add
1809         long_double_symbol.
1810         [__LONG_DOUBLE_MATH_OPTIONAL] (__wcstold_internal,
1811         __strtold_internal): Likewise. Add libc_hidden_ver.
1812
1813         * stdlib/bits/stdlib-ldbl.h: New file.
1814         * stdlib/Makefile (headers): Add it.
1815         * stdlib/stdlib.h [__LDBL_COMPAT]: #include it.
1816         * include/stdlib.h (ecvt_r, fcvt_r, qecvt_r, qfcvt_r): Remove
1817         libc_hidden_proto.
1818         (__ecvt, __fcvt, __gcvt, __ecvt_r, __fcvt_r, __qecvt, __qfcvt,
1819         __qgcvt, __qecvt_r, __qfcvt_r): New prototypes.
1820         * misc/efgcvt_r.c: Include shlib-compat.h.
1821         (LONG_DOUBLE_CVT): Define.
1822         (__APPEND, __APPEND2): Define.
1823         (*fcvt_r): Use __APPEND instead of APPEND.  Remove libc_hidden_def.
1824         (*ecvt_r): Likewise.
1825         (cvt_symbol): Define.  Use it on fcvt_r and ecvt_r.
1826         * misc/efgcvt.c: Include shlib-compat.h.
1827         (LONG_DOUBLE_CVT): Define.
1828         (__APPEND, __APPEND2): Define.
1829         (fcvt): Use __APPEND instead of APPEND.  Remove libc_hidden_def.
1830         (ecvt, gcvt): Likewise.
1831         (cvt_symbol): Define.  Use it on fcvt, ecvt and gcvt.
1832
1833         * stdlib/bits/monetary-ldbl.h: New file.
1834         * stdlib/Makefile (headers): Add it.
1835         * stdlib/monetary.h [__LDBL_COMPAT]: #include it.
1836         * stdlib/strfmon.c: Include math_ldbl_opt.h.
1837         (strfmon): Rename to __strfmon and add ldbl_strong_alias.
1838         * stdlib/strfmon_l.c: Remove all traces of [!USE_IN_LIBIO].
1839         (__vstrfmon_l): Don't set is_long_double if __ldbl_is_dbl.
1840         (__strfmon_l): Rename to ___strfmon_l and add ldbl_strong_alias.
1841         (strfmon_l): Use ldbl_weak_alias instead of weak_alias.
1842
1843         * misc/bits/syslog-ldbl.h: New file.
1844         * misc/Makefile (headers): Add it.
1845         * misc/sys/syslog.h [__LDBL_COMPAT]: #include it.
1846         * misc/syslog.c: Include math_ldbl_opt.h.
1847         (syslog): Rename to __syslog and add ldbl_strong_alias,
1848         use ldbl_hidden_def instead of libc_hidden_def.
1849         (vsyslog): Rename to __vsyslog and add ldbl_strong_alias,
1850         use ldbl_hidden_def instead of libc_hidden_def.
1851
1852         * sysdeps/generic/math_ldbl_opt.h: New file.
1853         * math/w_j1l.c (j1l, y1l): Rename to __ prefixed variants.
1854         Add weak_alias.
1855         * math/w_j0l.c (j0l, y0l): Likewise.
1856         * math/w_jnl.c (jnl, ynl): Likewise.
1857         * sysdeps/ieee754/ldbl-96/s_nexttoward.c
1858         (__nexttowardl): Remove strong_alias.
1859         (nexttowardl): Remove weak_alias.
1860         * sysdeps/ieee754/ldbl-96/s_erfl.c
1861         (__erfl, __erfcl): Remove strong_alias.
1862         (erfl, erfcl): Remove weak_alias.
1863
1864         * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: New file.
1865         * sysdeps/ieee754/ldbl-64-128/s_atanl.c: New file.
1866         * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: New file.
1867         * sysdeps/ieee754/ldbl-64-128/s_ceill.c: New file.
1868         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: New file.
1869         * sysdeps/ieee754/ldbl-64-128/s_cosl.c: New file.
1870         * sysdeps/ieee754/ldbl-64-128/s_erfl.c: New file.
1871         * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: New file.
1872         * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: New file.
1873         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: New file.
1874         * sysdeps/ieee754/ldbl-64-128/s_floorl.c: New file.
1875         * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: New file.
1876         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: New file.
1877         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: New file.
1878         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: New file.
1879         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: New file.
1880         * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: New file.
1881         * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: New file.
1882         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: New file.
1883         * sysdeps/ieee754/ldbl-64-128/s_logbl.c: New file.
1884         * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: New file.
1885         * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: New file.
1886         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: New file.
1887         * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: New file.
1888         * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c: New file.
1889         * sysdeps/ieee754/ldbl-64-128/s_nexttoward.c: New file.
1890         * sysdeps/ieee754/ldbl-64-128/s_nexttowardf.c: New file.
1891         * sysdeps/ieee754/ldbl-64-128/s_nexttowardfd.c: New file.
1892         * sysdeps/ieee754/ldbl-64-128/s_remquol.c: New file.
1893         * sysdeps/ieee754/ldbl-64-128/s_rintl.c: New file.
1894         * sysdeps/ieee754/ldbl-64-128/s_roundl.c: New file.
1895         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: New file.
1896         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: New file.
1897         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: New file.
1898         * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: New file.
1899         * sysdeps/ieee754/ldbl-64-128/s_sinl.c: New file.
1900         * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: New file.
1901         * sysdeps/ieee754/ldbl-64-128/s_tanl.c: New file.
1902         * sysdeps/ieee754/ldbl-64-128/s_truncl.c: New file.
1903         * sysdeps/ieee754/ldbl-64-128/strtold_l.c: New file.
1904         * sysdeps/ieee754/ldbl-64-128/w_expl.c: New file.
1905         * sysdeps/ieee754/ldbl-opt/configure.in: New file.
1906         * sysdeps/ieee754/ldbl-opt/configure: New file.
1907         * sysdeps/ieee754/ldbl-opt/Makefile: New file.
1908         * sysdeps/ieee754/ldbl-opt/Versions: New file.
1909         * sysdeps/ieee754/ldbl-opt/cabs.c: New file.
1910         * sysdeps/ieee754/ldbl-opt/cabsl.c: New file.
1911         * sysdeps/ieee754/ldbl-opt/carg.c: New file.
1912         * sysdeps/ieee754/ldbl-opt/cargl.c: New file.
1913         * sysdeps/ieee754/ldbl-opt/cimag.c: New file.
1914         * sysdeps/ieee754/ldbl-opt/cimagl.c: New file.
1915         * sysdeps/ieee754/ldbl-opt/conj.c: New file.
1916         * sysdeps/ieee754/ldbl-opt/conjl.c: New file.
1917         * sysdeps/ieee754/ldbl-opt/creal.c: New file.
1918         * sysdeps/ieee754/ldbl-opt/creall.c: New file.
1919         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: New file.
1920         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: New file.
1921         * sysdeps/ieee754/ldbl-opt/nldbl-acos.c: New file.
1922         * sysdeps/ieee754/ldbl-opt/nldbl-acosh.c: New file.
1923         * sysdeps/ieee754/ldbl-opt/nldbl-asin.c: New file.
1924         * sysdeps/ieee754/ldbl-opt/nldbl-asinh.c: New file.
1925         * sysdeps/ieee754/ldbl-opt/nldbl-asprintf.c: New file.
1926         * sysdeps/ieee754/ldbl-opt/nldbl-atan.c: New file.
1927         * sysdeps/ieee754/ldbl-opt/nldbl-atan2.c: New file.
1928         * sysdeps/ieee754/ldbl-opt/nldbl-atanh.c: New file.
1929         * sysdeps/ieee754/ldbl-opt/nldbl-cabs.c: New file.
1930         * sysdeps/ieee754/ldbl-opt/nldbl-cacos.c: New file.
1931         * sysdeps/ieee754/ldbl-opt/nldbl-cacosh.c: New file.
1932         * sysdeps/ieee754/ldbl-opt/nldbl-carg.c: New file.
1933         * sysdeps/ieee754/ldbl-opt/nldbl-casin.c: New file.
1934         * sysdeps/ieee754/ldbl-opt/nldbl-casinh.c: New file.
1935         * sysdeps/ieee754/ldbl-opt/nldbl-catan.c: New file.
1936         * sysdeps/ieee754/ldbl-opt/nldbl-catanh.c: New file.
1937         * sysdeps/ieee754/ldbl-opt/nldbl-cbrt.c: New file.
1938         * sysdeps/ieee754/ldbl-opt/nldbl-ccos.c: New file.
1939         * sysdeps/ieee754/ldbl-opt/nldbl-ccosh.c: New file.
1940         * sysdeps/ieee754/ldbl-opt/nldbl-ceil.c: New file.
1941         * sysdeps/ieee754/ldbl-opt/nldbl-cexp.c: New file.
1942         * sysdeps/ieee754/ldbl-opt/nldbl-cimag.c: New file.
1943         * sysdeps/ieee754/ldbl-opt/nldbl-clog.c: New file.
1944         * sysdeps/ieee754/ldbl-opt/nldbl-clog10.c: New file.
1945         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: New file.
1946         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: New file.
1947         * sysdeps/ieee754/ldbl-opt/nldbl-conj.c: New file.
1948         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c: New file.
1949         * sysdeps/ieee754/ldbl-opt/nldbl-cos.c: New file.
1950         * sysdeps/ieee754/ldbl-opt/nldbl-cosh.c: New file.
1951         * sysdeps/ieee754/ldbl-opt/nldbl-cpow.c: New file.
1952         * sysdeps/ieee754/ldbl-opt/nldbl-cproj.c: New file.
1953         * sysdeps/ieee754/ldbl-opt/nldbl-creal.c: New file.
1954         * sysdeps/ieee754/ldbl-opt/nldbl-csin.c: New file.
1955         * sysdeps/ieee754/ldbl-opt/nldbl-csinh.c: New file.
1956         * sysdeps/ieee754/ldbl-opt/nldbl-csqrt.c: New file.
1957         * sysdeps/ieee754/ldbl-opt/nldbl-ctan.c: New file.
1958         * sysdeps/ieee754/ldbl-opt/nldbl-ctanh.c: New file.
1959         * sysdeps/ieee754/ldbl-opt/nldbl-dprintf.c: New file.
1960         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: New file.
1961         * sysdeps/ieee754/ldbl-opt/nldbl-erf.c: New file.
1962         * sysdeps/ieee754/ldbl-opt/nldbl-erfc.c: New file.
1963         * sysdeps/ieee754/ldbl-opt/nldbl-exp.c: New file.
1964         * sysdeps/ieee754/ldbl-opt/nldbl-exp10.c: New file.
1965         * sysdeps/ieee754/ldbl-opt/nldbl-exp2.c: New file.
1966         * sysdeps/ieee754/ldbl-opt/nldbl-expm1.c: New file.
1967         * sysdeps/ieee754/ldbl-opt/nldbl-fabs.c: New file.
1968         * sysdeps/ieee754/ldbl-opt/nldbl-fdim.c: New file.
1969         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: New file.
1970         * sysdeps/ieee754/ldbl-opt/nldbl-floor.c: New file.
1971         * sysdeps/ieee754/ldbl-opt/nldbl-fma.c: New file.
1972         * sysdeps/ieee754/ldbl-opt/nldbl-fmax.c: New file.
1973         * sysdeps/ieee754/ldbl-opt/nldbl-fmin.c: New file.
1974         * sysdeps/ieee754/ldbl-opt/nldbl-fmod.c: New file.
1975         * sysdeps/ieee754/ldbl-opt/nldbl-fprintf.c: New file.
1976         * sysdeps/ieee754/ldbl-opt/nldbl-fprintf_chk.c: New file.
1977         * sysdeps/ieee754/ldbl-opt/nldbl-frexp.c: New file.
1978         * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c: New file.
1979         * sysdeps/ieee754/ldbl-opt/nldbl-fwprintf.c: New file.
1980         * sysdeps/ieee754/ldbl-opt/nldbl-fwprintf_chk.c: New file.
1981         * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c: New file.
1982         * sysdeps/ieee754/ldbl-opt/nldbl-gamma.c: New file.
1983         * sysdeps/ieee754/ldbl-opt/nldbl-hypot.c: New file.
1984         * sysdeps/ieee754/ldbl-opt/nldbl-ilogb.c: New file.
1985         * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c: New file.
1986         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: New file.
1987         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: New file.
1988         * sysdeps/ieee754/ldbl-opt/nldbl-j0.c: New file.
1989         * sysdeps/ieee754/ldbl-opt/nldbl-j1.c: New file.
1990         * sysdeps/ieee754/ldbl-opt/nldbl-jn.c: New file.
1991         * sysdeps/ieee754/ldbl-opt/nldbl-ldexp.c: New file.
1992         * sysdeps/ieee754/ldbl-opt/nldbl-lgamma.c: New file.
1993         * sysdeps/ieee754/ldbl-opt/nldbl-lgamma_r.c: New file.
1994         * sysdeps/ieee754/ldbl-opt/nldbl-llrint.c: New file.
1995         * sysdeps/ieee754/ldbl-opt/nldbl-llround.c: New file.
1996         * sysdeps/ieee754/ldbl-opt/nldbl-log.c: New file.
1997         * sysdeps/ieee754/ldbl-opt/nldbl-log10.c: New file.
1998         * sysdeps/ieee754/ldbl-opt/nldbl-log1p.c: New file.
1999         * sysdeps/ieee754/ldbl-opt/nldbl-log2.c: New file.
2000         * sysdeps/ieee754/ldbl-opt/nldbl-logb.c: New file.
2001         * sysdeps/ieee754/ldbl-opt/nldbl-lrint.c: New file.
2002         * sysdeps/ieee754/ldbl-opt/nldbl-lround.c: New file.
2003         * sysdeps/ieee754/ldbl-opt/nldbl-modf.c: New file.
2004         * sysdeps/ieee754/ldbl-opt/nldbl-nan.c: New file.
2005         * sysdeps/ieee754/ldbl-opt/nldbl-nearbyint.c: New file.
2006         * sysdeps/ieee754/ldbl-opt/nldbl-nextafter.c: New file.
2007         * sysdeps/ieee754/ldbl-opt/nldbl-nexttoward.c: New file.
2008         * sysdeps/ieee754/ldbl-opt/nldbl-nexttowardf.c: New file.
2009         * sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf.c: New file.
2010         * sysdeps/ieee754/ldbl-opt/nldbl-obstack_vprintf.c: New file.
2011         * sysdeps/ieee754/ldbl-opt/nldbl-pow.c: New file.
2012         * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: New file.
2013         * sysdeps/ieee754/ldbl-opt/nldbl-printf.c: New file.
2014         * sysdeps/ieee754/ldbl-opt/nldbl-printf_chk.c: New file.
2015         * sysdeps/ieee754/ldbl-opt/nldbl-printf_fp.c: New file.
2016         * sysdeps/ieee754/ldbl-opt/nldbl-printf_size.c: New file.
2017         * sysdeps/ieee754/ldbl-opt/nldbl-qecvt.c: New file.
2018         * sysdeps/ieee754/ldbl-opt/nldbl-qecvt_r.c: New file.
2019         * sysdeps/ieee754/ldbl-opt/nldbl-qfcvt.c: New file.
2020         * sysdeps/ieee754/ldbl-opt/nldbl-qfcvt_r.c: New file.
2021         * sysdeps/ieee754/ldbl-opt/nldbl-qgcvt.c: New file.
2022         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c: New file.
2023         * sysdeps/ieee754/ldbl-opt/nldbl-remquo.c: New file.
2024         * sysdeps/ieee754/ldbl-opt/nldbl-rint.c: New file.
2025         * sysdeps/ieee754/ldbl-opt/nldbl-round.c: New file.
2026         * sysdeps/ieee754/ldbl-opt/nldbl-scalb.c: New file.
2027         * sysdeps/ieee754/ldbl-opt/nldbl-scalbln.c: New file.
2028         * sysdeps/ieee754/ldbl-opt/nldbl-scalbn.c: New file.
2029         * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c: New file.
2030         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: New file.
2031         * sysdeps/ieee754/ldbl-opt/nldbl-significand.c: New file.
2032         * sysdeps/ieee754/ldbl-opt/nldbl-sin.c: New file.
2033         * sysdeps/ieee754/ldbl-opt/nldbl-sincos.c: New file.
2034         * sysdeps/ieee754/ldbl-opt/nldbl-sinh.c: New file.
2035         * sysdeps/ieee754/ldbl-opt/nldbl-snprintf.c: New file.
2036         * sysdeps/ieee754/ldbl-opt/nldbl-snprintf_chk.c: New file.
2037         * sysdeps/ieee754/ldbl-opt/nldbl-sprintf.c: New file.
2038         * sysdeps/ieee754/ldbl-opt/nldbl-sprintf_chk.c: New file.
2039         * sysdeps/ieee754/ldbl-opt/nldbl-sqrt.c: New file.
2040         * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c: New file.
2041         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon.c: New file.
2042         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c: New file.
2043         * sysdeps/ieee754/ldbl-opt/nldbl-strtold.c: New file.
2044         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: New file.
2045         * sysdeps/ieee754/ldbl-opt/nldbl-strtoldint.c: New file.
2046         * sysdeps/ieee754/ldbl-opt/nldbl-swprintf.c: New file.
2047         * sysdeps/ieee754/ldbl-opt/nldbl-swprintf_chk.c: New file.
2048         * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c: New file.
2049         * sysdeps/ieee754/ldbl-opt/nldbl-syslog.c: New file.
2050         * sysdeps/ieee754/ldbl-opt/nldbl-syslog_chk.c: New file.
2051         * sysdeps/ieee754/ldbl-opt/nldbl-tan.c: New file.
2052         * sysdeps/ieee754/ldbl-opt/nldbl-tanh.c: New file.
2053         * sysdeps/ieee754/ldbl-opt/nldbl-tgamma.c: New file.
2054         * sysdeps/ieee754/ldbl-opt/nldbl-trunc.c: New file.
2055         * sysdeps/ieee754/ldbl-opt/nldbl-vasprintf.c: New file.
2056         * sysdeps/ieee754/ldbl-opt/nldbl-vdprintf.c: New file.
2057         * sysdeps/ieee754/ldbl-opt/nldbl-vfprintf.c: New file.
2058         * sysdeps/ieee754/ldbl-opt/nldbl-vfprintf_chk.c: New file.
2059         * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c: New file.
2060         * sysdeps/ieee754/ldbl-opt/nldbl-vfwprintf.c: New file.
2061         * sysdeps/ieee754/ldbl-opt/nldbl-vfwprintf_chk.c: New file.
2062         * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c: New file.
2063         * sysdeps/ieee754/ldbl-opt/nldbl-vprintf.c: New file.
2064         * sysdeps/ieee754/ldbl-opt/nldbl-vprintf_chk.c: New file.
2065         * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c: New file.
2066         * sysdeps/ieee754/ldbl-opt/nldbl-vsnprintf.c: New file.
2067         * sysdeps/ieee754/ldbl-opt/nldbl-vsnprintf_chk.c: New file.
2068         * sysdeps/ieee754/ldbl-opt/nldbl-vsprintf.c: New file.
2069         * sysdeps/ieee754/ldbl-opt/nldbl-vsprintf_chk.c: New file.
2070         * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c: New file.
2071         * sysdeps/ieee754/ldbl-opt/nldbl-vswprintf.c: New file.
2072         * sysdeps/ieee754/ldbl-opt/nldbl-vswprintf_chk.c: New file.
2073         * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c: New file.
2074         * sysdeps/ieee754/ldbl-opt/nldbl-vsyslog.c: New file.
2075         * sysdeps/ieee754/ldbl-opt/nldbl-vsyslog_chk.c: New file.
2076         * sysdeps/ieee754/ldbl-opt/nldbl-vwprintf.c: New file.
2077         * sysdeps/ieee754/ldbl-opt/nldbl-vwprintf_chk.c: New file.
2078         * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c: New file.
2079         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold.c: New file.
2080         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c: New file.
2081         * sysdeps/ieee754/ldbl-opt/nldbl-wcstoldint.c: New file.
2082         * sysdeps/ieee754/ldbl-opt/nldbl-wprintf.c: New file.
2083         * sysdeps/ieee754/ldbl-opt/nldbl-wprintf_chk.c: New file.
2084         * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c: New file.
2085         * sysdeps/ieee754/ldbl-opt/nldbl-y0.c: New file.
2086         * sysdeps/ieee754/ldbl-opt/nldbl-y1.c: New file.
2087         * sysdeps/ieee754/ldbl-opt/nldbl-yn.c: New file.
2088         * sysdeps/ieee754/ldbl-opt/s_asinh.c: New file.
2089         * sysdeps/ieee754/ldbl-opt/s_atan.c: New file.
2090         * sysdeps/ieee754/ldbl-opt/s_cacos.c: New file.
2091         * sysdeps/ieee754/ldbl-opt/s_cacosh.c: New file.
2092         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: New file.
2093         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: New file.
2094         * sysdeps/ieee754/ldbl-opt/s_casin.c: New file.
2095         * sysdeps/ieee754/ldbl-opt/s_casinh.c: New file.
2096         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: New file.
2097         * sysdeps/ieee754/ldbl-opt/s_casinl.c: New file.
2098         * sysdeps/ieee754/ldbl-opt/s_catan.c: New file.
2099         * sysdeps/ieee754/ldbl-opt/s_catanh.c: New file.
2100         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: New file.
2101         * sysdeps/ieee754/ldbl-opt/s_catanl.c: New file.
2102         * sysdeps/ieee754/ldbl-opt/s_cbrt.c: New file.
2103         * sysdeps/ieee754/ldbl-opt/s_ccos.c: New file.
2104         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: New file.
2105         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: New file.
2106         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: New file.
2107         * sysdeps/ieee754/ldbl-opt/s_ceil.c: New file.
2108         * sysdeps/ieee754/ldbl-opt/s_cexp.c: New file.
2109         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: New file.
2110         * sysdeps/ieee754/ldbl-opt/s_clog.c: New file.
2111         * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
2112         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: New file.
2113         * sysdeps/ieee754/ldbl-opt/s_clogl.c: New file.
2114         * sysdeps/ieee754/ldbl-opt/s_copysign.c: New file.
2115         * sysdeps/ieee754/ldbl-opt/s_cpow.c: New file.
2116         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: New file.
2117         * sysdeps/ieee754/ldbl-opt/s_cproj.c: New file.
2118         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: New file.
2119         * sysdeps/ieee754/ldbl-opt/s_csin.c: New file.
2120         * sysdeps/ieee754/ldbl-opt/s_csinh.c: New file.
2121         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: New file.
2122         * sysdeps/ieee754/ldbl-opt/s_csinl.c: New file.
2123         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: New file.
2124         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: New file.
2125         * sysdeps/ieee754/ldbl-opt/s_ctan.c: New file.
2126         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: New file.
2127         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: New file.
2128         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: New file.
2129         * sysdeps/ieee754/ldbl-opt/s_erf.c: New file.
2130         * sysdeps/ieee754/ldbl-opt/s_expm1.c: New file.
2131         * sysdeps/ieee754/ldbl-opt/s_fabs.c: New file.
2132         * sysdeps/ieee754/ldbl-opt/s_fdim.c: New file.
2133         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: New file.
2134         * sysdeps/ieee754/ldbl-opt/s_finite.c: New file.
2135         * sysdeps/ieee754/ldbl-opt/s_floor.c: New file.
2136         * sysdeps/ieee754/ldbl-opt/s_fma.c: New file.
2137         * sysdeps/ieee754/ldbl-opt/s_fmal.c: New file.
2138         * sysdeps/ieee754/ldbl-opt/s_fmax.c: New file.
2139         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: New file.
2140         * sysdeps/ieee754/ldbl-opt/s_fmin.c: New file.
2141         * sysdeps/ieee754/ldbl-opt/s_fminl.c: New file.
2142         * sysdeps/ieee754/ldbl-opt/s_frexp.c: New file.
2143         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: New file.
2144         * sysdeps/ieee754/ldbl-opt/s_isinf.c: New file.
2145         * sysdeps/ieee754/ldbl-opt/s_isnan.c: New file.
2146         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: New file.
2147         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: New file.
2148         * sysdeps/ieee754/ldbl-opt/s_llrint.c: New file.
2149         * sysdeps/ieee754/ldbl-opt/s_llround.c: New file.
2150         * sysdeps/ieee754/ldbl-opt/s_log1p.c: New file.
2151         * sysdeps/ieee754/ldbl-opt/s_logb.c: New file.
2152         * sysdeps/ieee754/ldbl-opt/s_lrint.c: New file.
2153         * sysdeps/ieee754/ldbl-opt/s_lround.c: New file.
2154         * sysdeps/ieee754/ldbl-opt/s_modf.c: New file.
2155         * sysdeps/ieee754/ldbl-opt/s_nan.c: New file.
2156         * sysdeps/ieee754/ldbl-opt/s_nanl.c: New file.
2157         * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: New file.
2158         * sysdeps/ieee754/ldbl-opt/s_nextafter.c: New file.
2159         * sysdeps/ieee754/ldbl-opt/s_remquo.c: New file.
2160         * sysdeps/ieee754/ldbl-opt/s_rint.c: New file.
2161         * sysdeps/ieee754/ldbl-opt/s_round.c: New file.
2162         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: New file.
2163         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: New file.
2164         * sysdeps/ieee754/ldbl-opt/s_significand.c: New file.
2165         * sysdeps/ieee754/ldbl-opt/s_significandl.c: New file.
2166         * sysdeps/ieee754/ldbl-opt/s_sin.c: New file.
2167         * sysdeps/ieee754/ldbl-opt/s_sincos.c: New file.
2168         * sysdeps/ieee754/ldbl-opt/s_tan.c: New file.
2169         * sysdeps/ieee754/ldbl-opt/s_tanh.c: New file.
2170         * sysdeps/ieee754/ldbl-opt/s_trunc.c: New file.
2171         * sysdeps/ieee754/ldbl-opt/w_acos.c: New file.
2172         * sysdeps/ieee754/ldbl-opt/w_acosh.c: New file.
2173         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: New file.
2174         * sysdeps/ieee754/ldbl-opt/w_acosl.c: New file.
2175         * sysdeps/ieee754/ldbl-opt/w_asin.c: New file.
2176         * sysdeps/ieee754/ldbl-opt/w_asinl.c: New file.
2177         * sysdeps/ieee754/ldbl-opt/w_atan2.c: New file.
2178         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: New file.
2179         * sysdeps/ieee754/ldbl-opt/w_atanh.c: New file.
2180         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: New file.
2181         * sysdeps/ieee754/ldbl-opt/w_cosh.c: New file.
2182         * sysdeps/ieee754/ldbl-opt/w_coshl.c: New file.
2183         * sysdeps/ieee754/ldbl-opt/w_drem.c: New file.
2184         * sysdeps/ieee754/ldbl-opt/w_dreml.c: New file.
2185         * sysdeps/ieee754/ldbl-opt/w_exp.c: New file.
2186         * sysdeps/ieee754/ldbl-opt/w_exp10.c: New file.
2187         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: New file.
2188         * sysdeps/ieee754/ldbl-opt/w_fmod.c: New file.
2189         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: New file.
2190         * sysdeps/ieee754/ldbl-opt/w_hypot.c: New file.
2191         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: New file.
2192         * sysdeps/ieee754/ldbl-opt/w_j0.c: New file.
2193         * sysdeps/ieee754/ldbl-opt/w_j0l.c: New file.
2194         * sysdeps/ieee754/ldbl-opt/w_j1.c: New file.
2195         * sysdeps/ieee754/ldbl-opt/w_j1l.c: New file.
2196         * sysdeps/ieee754/ldbl-opt/w_jn.c: New file.
2197         * sysdeps/ieee754/ldbl-opt/w_jnl.c: New file.
2198         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: New file.
2199         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: New file.
2200         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: New file.
2201         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: New file.
2202         * sysdeps/ieee754/ldbl-opt/w_log.c: New file.
2203         * sysdeps/ieee754/ldbl-opt/w_log10.c: New file.
2204         * sysdeps/ieee754/ldbl-opt/w_log10l.c: New file.
2205         * sysdeps/ieee754/ldbl-opt/w_log2.c: New file.
2206         * sysdeps/ieee754/ldbl-opt/w_log2l.c: New file.
2207         * sysdeps/ieee754/ldbl-opt/w_logl.c: New file.
2208         * sysdeps/ieee754/ldbl-opt/w_pow.c: New file.
2209         * sysdeps/ieee754/ldbl-opt/w_powl.c: New file.
2210         * sysdeps/ieee754/ldbl-opt/w_remainder.c: New file.
2211         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: New file.
2212         * sysdeps/ieee754/ldbl-opt/w_scalb.c: New file.
2213         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: New file.
2214         * sysdeps/ieee754/ldbl-opt/w_sinh.c: New file.
2215         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: New file.
2216         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: New file.
2217         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: New file.
2218         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: New file.
2219         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: New file.
2220
2221         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: New file.
2222         * sysdeps/unix/sysv/linux/sparc/sparc32/Implies: New file.
2223         * sysdeps/sparc/sparc32/Implies: Move ldbl-128 first and flt-32
2224         after dbl-64.
2225         * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (NLDBL_VERSION):
2226         %define this to to GLIBC_2.4.
2227         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
2228         * sysdeps/sparc/sparc32/fpu/s_fabs.c: New file.
2229         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: New file.
2230         * sysdeps/sparc/sparc32/fpu/s_fabsl.c: New file.
2231         * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: Removed.
2232         * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: Removed.
2233         * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: Removed.
2234         * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: Removed.
2235         * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: Removed.
2236         * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: Removed.
2237         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: New file.
2238         * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: New file.
2239         * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: New file.
2240         * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: New file.
2241         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: New file.
2242         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: New file.
2243         * sysdeps/sparc/sparc32/soft-fp/Versions: New file.
2244         * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_cmp,
2245         __unordered_v9cmp): Define differently depending on
2246         -m32 -mlong-double-{64,128}.
2247         (__signbitl, sqrtl, __ieee754_sqrtl): New inlines.
2248         * sysdeps/sparc/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove.
2249         * sysdeps/sparc/sparc32/soft-fp/Makefile (sparc32-quad-routines):
2250         Set.
2251         (sysdep-routines): Add sparc32-quad-routines.
2252         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Include stdlib.h.
2253         (FP_HANDLE_EXCEPTIONS): Call ___Q_simulate_exceptions as a normal
2254         function.
2255         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): New
2256         alias to _Q_sqrt.
2257         * sysdeps/sparc/sparc32/soft-fp/q_div.c (_Q_div): Fix a typo.
2258         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Include stdlib.h.
2259         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
2260
2261         * libio/libio.h (_IO_vfscanf, _IO_vfprintf): Remove __THROW.
2262         (_IO_vfwscanf, _IO_vfwprintf): Likewise.
2263         * libio/libioP.h (_IO_vdprintf): Likewise.
2264
2265 2006-01-13  Richard Henderson  <rth@redhat.com>
2266
2267         * sysdeps/unix/sysv/linux/alpha/sysdep.h (PTR_MANGLE, PTR_MANGLE2,
2268         PTR_DEMANGLE, PTR_DEMANGLE2): Move ...
2269         * sysdeps/unix/alpha/sysdep.h: ... here.
2270         * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Define __GI___fxstatat64.
2271
2272 2006-01-13  Andreas Jaeger  <aj@suse.de>
2273
2274         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (ELF_NVRREG): Fix
2275         value for PowerPC64.
2276
2277 2006-01-12  Roland McGrath  <roland@redhat.com>
2278
2279         * sysdeps/s390/jmpbuf-offsets.h: New file.
2280         * sysdeps/s390/jmpbuf-unwind.h: Include it.
2281
2282         * sysdeps/alpha/__longjmp.S: Include <jmpbuf-offsets.h>
2283         instead of <bits/setjmp.h>.
2284         * sysdeps/alpha/setjmp.S: Likewise.
2285         * sysdeps/i386/__longjmp.S: Likewise.
2286         * sysdeps/i386/bsd-_setjmp.S: Likewise.
2287         * sysdeps/i386/bsd-setjmp.S: Likewise.
2288         * sysdeps/i386/setjmp.S: Likewise.
2289         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2290         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2291         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S:
2292         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2293         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2294         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2295         * sysdeps/sh/sh3/setjmp.S: Likewise.
2296         * sysdeps/sh/sh4/setjmp.S: Likewise.
2297         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2298         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
2299         * sysdeps/x86_64/__longjmp.S: Likewise.
2300         * sysdeps/x86_64/setjmp.S: Likewise.
2301         * sysdeps/mach/hurd/i386/longjmp-ts.c: Include <jmpbuf-offsets.h>.
2302         * sysdeps/mach/hurd/powerpc/longjmp-ts.c: Likewise.
2303         * sysdeps/mach/hurd/alpha/longjmp-ts.c: Likewise.
2304         * sysdeps/alpha/jmpbuf-unwind.h: Likewise.
2305         * sysdeps/hppa/jmpbuf-unwind.h: Likewise.
2306         * sysdeps/i386/jmpbuf-unwind.h: Likewise.
2307         * sysdeps/powerpc/jmpbuf-unwind.h: Likewise.
2308         * sysdeps/sparc/sparc32/jmpbuf-unwind.h: Likewise.
2309         * sysdeps/sparc/sparc64/jmpbuf-unwind.h: Likewise.
2310         * sysdeps/x86_64/jmpbuf-unwind.h: Likewise.
2311         * setjmp/jmpbuf-offsets.h: File removed.
2312         * include/bits/setjmp.h: File removed.
2313
2314 2006-01-11  Ulrich Drepper  <drepper@redhat.com>
2315
2316         * libio/wmemstream.c: New file.
2317         * libio/stdio.h: Declare open_wmemstream.
2318         * libio/Versions: Export open_wmemstream for GLIBC_2.4.
2319         * libio/Makefile (routines): Add wmemstream.
2320         (tests): Add tst-memstream1, tst-memstream2, tst-wmemstream2, and
2321         tst-wmemstream2.
2322         * libio/tst-memstream1.c: New file.
2323         * libio/tst-memstream2.c: New file.
2324         * libio/tst-wmemstream1.c: New file.
2325         * libio/tst-wmemstream2.c: New file.
2326
2327         * libio/memstream.c (_IO_mem_sync): Remove useless call to
2328         _IO_default_sync.
2329
2330         * elf/check-textrel.c: Add missing argument.
2331
2332         * Makerules: Define build-module-asneeded.
2333         * iconvdata/extra-module.mk: Use build-module-asneeded.
2334         needed.
2335
2336 2006-01-09  Richard Henderson  <rth@redhat.com>
2337
2338         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on ld.so.
2339         * sysdeps/alpha/__longjmp.S: Use PTR_DEMANGLE.
2340         * sysdeps/alpha/setjmp.S: Likewise.  Avoid __sigjmp_save for rtld;
2341         tailcall in libc.so.
2342         * sysdeps/unix/sysv/linux/alpha/sysdep.h (PTR_MANGLE): Define.
2343         (PTR_MANGLE2): Define.
2344
2345 2006-01-11  Ulrich Drepper  <drepper@redhat.com>
2346
2347         * elf/check-localplt.c: New file.
2348         * elf/Makefile: Add rules to build and run check-localplt.
2349         * scripts/data/localplt-x86_64-linux-gnu.data: New file.
2350         * scripts/data/localplt-i386-linux-gnu.data: New file.
2351
2352         * include/sys/stat.h: Add libc_hidden_proto for __fxstatat64.
2353         * sysdeps/unix/sysv/linux/fxstatat64.c: Add libc_hidden_def for
2354         __fxstatat64.
2355         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Add
2356         __GI___fxstatat64 alias.
2357
2358         * libio/memstream.c (_IO_mem_finish): Fix potential memory leak if
2359         realloc fails.
2360
2361         * include/sched.h: Add libc_hidden_proto for __sched_yield.
2362
2363         * libio/genops.c (_IO_unbuffer_write): Give concurrently running
2364         threads the chance to work correctly by trying to lock the stream.
2365         If this does not work, proceed without locking.
2366
2367 2006-01-10  Ulrich Drepper  <drepper@redhat.com>
2368
2369         * libio/genops.c (_IO_unbuffer_write): Don't always free the
2370         buffer.  This is not necessary except in debug mode.  If we don't
2371         free the buffer but the FILE structure to a list.
2372         (buffer_free): New function.  Free buffers or tell _IO_unbuffer_write
2373         to do so.
2374         * libio/libio.h (struct _IO_FILE): Add new members to keep track
2375         of which buffers have to be freed.
2376
2377         * iconv/gconv_cache.c (free_mem): Don't call munmap if gconv_cache
2378         is NULL.
2379
2380 2005-10-14  Paul Eggert  <eggert@cs.ucla.edu>
2381
2382         * malloc/obstack.c: Fix old comments.  Update FSF snail mail address.
2383         * malloc/obstack.h: Likewise.
2384
2385         [BZ #321]
2386         Fix portability bugs encountered when porting to Itanium.
2387         * malloc/obstack.h (obstack_empty_p, obstack_finish): Do not
2388         assume that the "contents" member is suitably aligned.  It is
2389         not, for some hosts and alignments: e.g., Itanium, long-double.
2390         * malloc/obstack.c (_obstack_begin, _obstack_begin_1,
2391         _obstack_newchunk): Likewise.
2392         * malloc/obstack.c: Include <stddef.h>, for size_t.
2393         Include <inttypes.h>, <stdint.h> if needed and available.
2394         (DEFAULT_ALIGNMENT): Now an enum constant, not a macro.
2395         Use C89 offsetof rather than K&R trick.
2396         Use the maximum alignment of uintmax_t, long double, void *
2397         rather than the alignment of double.
2398         (union fooround): Use uintmax_t, long double, void * members
2399         rather than just long and double.
2400
2401         [BZ #321]
2402         Fix portability bugs encountered when porting to the IBM iSeries,
2403         where pointers are 256 bits wide and no integers are that wide.
2404         * malloc/obstack.h (__PTR_TO_INT, __INT_TO_PTR): Remove.
2405         All uses changed to:
2406         (__BPTR_ALIGN, __PTR_ALIGN): New macros.
2407         (struct _obstack_chunk.temp): Change from int to a union
2408         of pointer and int.  All uses changed.
2409
2410         [BZ #321]
2411         * malloc/obstack.c (print_and_abort) [!_LIBC]:
2412         Call fprintf (stderr, ...), not __fxprintf (NULL, ...).
2413         [_LIBC && USE_IN_LIBIO]: Don't include <wchar.h>; no longer needed.
2414
2415 2006-01-10  Derek Price  <derek@ximbiot.com>
2416             Paul Eggert  <eggert@cs.ucla.edu>
2417
2418         [BZ #1060]
2419         * posix/glob.c: Assume freestanding C89 compiler.  Simplify cruft that
2420         may be replaced with GNULIB modules.  Make no attempt to find 64-bit
2421         versions of file access functions directly when [!_LIBC].
2422         Don't define GLOB_* macros here.
2423         (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK, DIRENT_MIGHT_BE_DIR): New
2424         macros to abstract dirent->d_type access.
2425         (GETPW_R_SIZE_MAX, GET_LOGIN_NAME_MAX): New macros to abstract sysconf
2426         access.
2427
2428 2006-01-10  Roland McGrath  <roland@redhat.com>
2429
2430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2431         (PTR_MANGLE): Fix cast.
2432
2433         * timezone/test-tz.c: Revert last change, updating to match
2434         tzdata2005r definition of "MST".
2435
2436 2006-01-10  Ulrich Drepper  <drepper@redhat.com>
2437
2438         * include/bits/setjmp.h: Don't include jmpbuf-offsets.h if _ISOMAC is
2439         defined.
2440
2441 2006-01-10  Andreas Jaeger  <aj@suse.de>
2442
2443         * include/time.h: Use normal comments.
2444
2445 2006-01-10  Thomas Schwinge  <tschwinge@gnu.org>
2446
2447         * hurd/sigunwind.c: Include <jmpbuf-unwind.h> instead of <setjmp.h>.
2448         * sysdeps/mach/hurd/jmp-unwind.c: Likewise.
2449
2450 2006-01-10  Jakub Jelinek  <jakub@redhat.com>
2451
2452         * wcsmbs/bits/wchar2.h (vswprintf): Call __vswprintf_alias rather than
2453         vswprintf recursively.
2454
2455 2006-01-10  Ulrich Drepper  <drepper@redhat.com>
2456
2457         * sysdeps/x86_64/bits/setjmp.h: Add back accidently removed #endif.
2458
2459 2006-01-10  Roland McGrath  <roland@redhat.com>
2460
2461         * include/bits/setjmp.h: New file.
2462         * setjmp/jmpbuf-offsets.h: New file.
2463         * sysdeps/alpha/bits/setjmp.h: Move JB_* macros ...
2464         * sysdeps/alpha/jmpbuf-offsets.h: ... here, new file.
2465         * sysdeps/hppa/bits/setjmp.h (JB_SP): Macro moved ...
2466         * sysdeps/hppa/jmpbuf-offsets.h: ... here, new file.
2467         * sysdeps/i386/bits/setjmp.h: Move JB_* macros ...
2468         * sysdeps/i386/jmpbuf-offsets.h: ... here, new file.
2469         * sysdeps/mips/bits/setjmp.h (JB_PC): Macro removed.
2470         * sysdeps/powerpc/bits/setjmp.h: Move JB_* macros ...
2471         * sysdeps/powerpc/jmpbuf-offsets.h: ... here, new file.
2472         * sysdeps/s390/bits/setjmp.h: Remove __JB_* macros.
2473         * sysdeps/sh/bits/setjmp.h (JB_SIZE): Macro moved ...
2474         * sysdeps/sh/jmpbuf-offsets.h: ... here, new file.
2475         * sysdeps/sparc/sparc32/bits/setjmp.h: Move JB_* macros ...
2476         * sysdeps/sparc/sparc32/jmpbuf-offsets.h: ... here, new file.
2477         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Remove JB_* macros.
2478         * sysdeps/x86_64/bits/setjmp.h: Move JB_* macros ...
2479         * sysdeps/x86_64/jmpbuf-offsets.h: ... here, new file.
2480
2481         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
2482         * sysdeps/powerpc/jmpbuf-unwind.h: ... here.
2483         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
2484         * sysdeps/alpha/jmpbuf-unwind.h: ... here.
2485         * sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
2486         * sysdeps/sparc/sparc32/jmpbuf-unwind.h: ... here.
2487         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
2488         * sysdeps/i386/jmpbuf-unwind.h: ... here.
2489         * sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
2490         * sysdeps/x86_64/jmpbuf-unwind.h: ... here.
2491         * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
2492         * sysdeps/sh/jmpbuf-unwind.h: ... here.
2493         * sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
2494         * sysdeps/hppa/jmpbuf-unwind.h: ... here, new file.
2495         * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
2496         * sysdeps/mips/jmpbuf-unwind.h: ... here.
2497         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
2498         * sysdeps/m68k/jmpbuf-unwind.h: ... here, new file.
2499         * sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
2500         * sysdeps/s390/jmpbuf-unwind.h: ... here.
2501         * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS):
2502         Move macro ...
2503         * sysdeps/ia64/jmpbuf-unwind.h: ... here.
2504         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS):
2505         Move macro ...
2506         * sysdeps/sparc/sparc64/jmpbuf-unwind.h: ... here.
2507
2508         * sysdeps/alpha/jmpbuf-unwind.h: New file, moved from nptl/.
2509         * sysdeps/i386/jmpbuf-unwind.h: New file, moved from nptl/.
2510         * sysdeps/ia64/jmpbuf-unwind.h: New file, moved from nptl/.
2511         * sysdeps/mips/jmpbuf-unwind.h: New file, moved from nptl/.
2512         * sysdeps/powerpc/jmpbuf-unwind.h: New file, moved from nptl/.
2513         * sysdeps/s390/jmpbuf-unwind.h: New file, moved from nptl/.
2514         * sysdeps/sh/jmpbuf-unwind.h: New file, moved from nptl/.
2515         * sysdeps/sparc/sparc32/jmpbuf-unwind.h: New file, moved from nptl/.
2516         * sysdeps/sparc/sparc64/jmpbuf-unwind.h: New file, moved from nptl/.
2517         * sysdeps/x86_64/jmpbuf-unwind.h: New file, moved from nptl/.
2518
2519         * sysdeps/linkmap.h: File removed.
2520
2521 2006-01-07  Carlos O'Donell  <carlos@systemhalted.org>
2522
2523         * sysdeps/hppa/elf/start.S (_start): Use PLABEL32 relocations
2524         by using LR and RR. Add %sr0 to iitlbp.
2525
2526 2006-01-09  Roland McGrath  <roland@redhat.com>
2527
2528         * timezone/private.h: Update from tzcode2005r.
2529         * timezone/tzfile.h: Likewise.
2530         * timezone/zdump.c: Likewise.
2531         * timezone/zic.c: Likewise.
2532         * timezone/africa: Update from tzdata2005r.
2533         * timezone/antarctica: Likewise.
2534         * timezone/asia: Likewise.
2535         * timezone/australasia: Likewise.
2536         * timezone/backward: Likewise.
2537         * timezone/europe: Likewise.
2538         * timezone/northamerica: Likewise.
2539         * timezone/southamerica: Likewise.
2540         * timezone/systemv: Likewise.
2541
2542         * elf/Makefile ($(objpfx)reldep5.out): Fix dependency typo,
2543         so we depend on $(objpfx)reldepmod6.so as intended.
2544
2545 2006-01-09  Ulrich Drepper  <drepper@redhat.com>
2546
2547         [BZ #2126]
2548         * sysdeps/i386/i686/strtok.S: Store pointer to NUL byte if NULL is
2549         returned.
2550         * sysdeps/i386/strtok.S: Likewise.
2551         * sysdeps/x86_64/strtok.S: Likewise.
2552         * string/Makefile (tests): Add bug-strtok1.
2553         * string/bug-strtok1.c: New file.
2554
2555         * elf/check-textrel.c (AB): Also check for writable and executable
2556         segments.
2557
2558         * sysdeps/ieee754/dbl-64/e_exp2.c: Remove section attribute from
2559         const variables, gas produces garbage.
2560         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
2561         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2562         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2563
2564 2006-01-09  Jakub Jelinek  <jakub@redhat.com>
2565
2566         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS): Add
2567         stack bias to mc_fp field.
2568
2569         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
2570         (struct kernel_stat): Rename st_[amc]time fields to st_[amc]time_sec.
2571         (struct kernel_stat64): New type.
2572         (_HAVE___UNUSED1, _HAVE___UNUSED2, _HAVE_STAT___UNUSED1,
2573         _HAVE_STAT___UNUSED2, _HAVE_STAT___UNUSED3, _HAVE_STAT___UNUSED4,
2574         _HAVE_STAT___UNUSED5, _HAVE_STAT___PAD1, _HAVE_STAT___PAD2,
2575         _HAVE_STAT64___UNUSED1, _HAVE_STAT64___UNUSED2,
2576         _HAVE_STAT64___UNUSED3, _HAVE_STAT64___UNUSED4,
2577         _HAVE_STAT64___UNUSED5, _HAVE_STAT64___PAD1, _HAVE_STAT64___PAD2):
2578         Remove.
2579         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Use i386/xstat.c.
2580         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c:
2581         Use i386/fxstatat.c.
2582         * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: Use i386/lxstat.c.
2583         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: New file.
2584         * sysdeps/unix/sysv/linux/sparc/bits/stat.h (struct stat,
2585         struct stat64): Add nsec resolution for 64-bit code like already done
2586         for 32-bit code.
2587         * sysdeps/unix/sysv/linux/kernel-features.h
2588         (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL): Don't define
2589         for sparc64.
2590         (__ASSUME_STAT64_SYSCALL): Only define for sparc64 for >= 2.6.12
2591         kernels.
2592
2593         * scripts/data/c++-types-sparc-linux-gnu.data: New file.
2594         * scripts/data/c++-types-sparc64-linux-gnu.data: New file.
2595         * scripts/data/c++-types-alpha-linux-gnu.data: Adjust.
2596
2597 2006-01-08  Roland McGrath  <roland@redhat.com>
2598
2599         [BZ #1535]
2600         * sysdeps/unix/get_child_max.c: New file.
2601         * posix/get_child_max.c: New file.
2602         * posix/Makefile (routines): Add it.
2603         * include/sys/sysinfo.h (__get_child_max): Declare it.
2604         * sysdeps/posix/sysconf.c (__sysconf) [! CHILD_MAX]: Use it.
2605
2606         * sysdeps/unix/sysv/linux/futimes.c [!__NR_fcntl && __NR_fcntl64]: Use
2607         fcntl64 syscall instead.
2608
2609         * stdio-common/tst-fmemopen2.c (do_test): Add a cast.
2610         * stdio-common/printf-parsemb.c (__find_specmb): Likewise.
2611
2612         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in
2613         #include for kernel-features.h.
2614         * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: Likewise.
2615         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: Likewise.
2616         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
2617         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
2618         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
2619         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
2620         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
2621         * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
2622         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
2623         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
2624         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
2625         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
2626         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2627         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2628         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2629         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2630         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2631         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2632         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2633         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2634         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2635         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2636         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2637         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
2638         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
2639         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2640         * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
2641         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
2642         * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
2643         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2644         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
2645         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2646         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2647         * sysdeps/unix/sysv/linux/i386/fchownat.c: Likewise.
2648         * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
2649         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2650         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Likewise.
2651         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2652         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2653         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2654         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2655         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2656         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
2657         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2658         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2659         * sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise.
2660         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2661         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2662         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2663         * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
2664         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
2665         * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
2666         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
2667         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
2668         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2669         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2670         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
2671         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2672         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
2673         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
2674         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
2675         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
2676         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2677         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
2678         * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
2679         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2680         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2681         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2682         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2683         * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
2684         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Likewise.
2685         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
2686         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2687         * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
2688         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2689         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
2690         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2691         * sysdeps/unix/sysv/linux/opendir.c: Likewise.
2692         * sysdeps/unix/sysv/linux/poll.c: Likewise.
2693         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Likewise.
2695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
2696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
2701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: Likewise.
2702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2710         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2711         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2712         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2713         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2714         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2715         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2716         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise.
2717         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2718         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
2719         * sysdeps/unix/sysv/linux/setegid.c: Likewise.
2720         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
2721         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
2722         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2723         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2724         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2725         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2726         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Likewise.
2727         * sysdeps/unix/sysv/linux/statvfs64.c: Likewise.
2728         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2729         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2730         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
2731         * sysdeps/unix/sysv/linux/utimes.c: Likewise.
2732         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2733         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2734
2735 2006-01-07  Roland McGrath  <roland@redhat.com>
2736
2737         * po/libc.pot: Regenerated.
2738
2739         * po/.cvsignore: List libc.pot.files, and not any .pot names.
2740
2741         * manual/maint.texi (Porting): Don't mention Dist files.
2742         * sysdeps/alpha/soft-fp/Dist: File removed.
2743         * sysdeps/alpha/Dist: File removed.
2744         * sysdeps/i386/i686/Dist: File removed.
2745         * sysdeps/i386/soft-fp/Dist: File removed.
2746         * sysdeps/i386/Dist: File removed.
2747         * sysdeps/mips/soft-fp/Dist: File removed.
2748         * sysdeps/mips/mips64/soft-fp/Dist: File removed.
2749         * sysdeps/mips/mips64/Dist: File removed.
2750         * sysdeps/mips/Dist: File removed.
2751         * sysdeps/wordsize-32/Dist: File removed.
2752         * sysdeps/m68k/fpu/switch/Dist: File removed.
2753         * sysdeps/m68k/fpu/Dist: File removed.
2754         * sysdeps/powerpc/powerpc64/Dist: File removed.
2755         * sysdeps/powerpc/soft-fp/Dist: File removed.
2756         * sysdeps/powerpc/powerpc32/fpu/Dist: File removed.
2757         * sysdeps/powerpc/powerpc32/Dist: File removed.
2758         * sysdeps/powerpc/fpu/Dist: File removed.
2759         * sysdeps/powerpc/Dist: File removed.
2760         * sysdeps/unix/common/Dist: File removed.
2761         * sysdeps/unix/bsd/bsd4.4/Dist: File removed.
2762         * sysdeps/unix/bsd/Dist: File removed.
2763         * sysdeps/unix/sysv/linux/alpha/Dist: File removed.
2764         * sysdeps/unix/sysv/linux/i386/Dist: File removed.
2765         * sysdeps/unix/sysv/linux/mips/mips64/Dist: File removed.
2766         * sysdeps/unix/sysv/linux/mips/Dist: File removed.
2767         * sysdeps/unix/sysv/linux/m68k/Dist: File removed.
2768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: File removed.
2769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: File removed.
2770         * sysdeps/unix/sysv/linux/powerpc/aix/Dist: File removed.
2771         * sysdeps/unix/sysv/linux/powerpc/Dist: File removed.
2772         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: File removed.
2773         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: File removed.
2774         * sysdeps/unix/sysv/linux/sparc/Dist: File removed.
2775         * sysdeps/unix/sysv/linux/ia64/Dist: File removed.
2776         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: File removed.
2777         * sysdeps/unix/sysv/linux/s390/Dist: File removed.
2778         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: File removed.
2779         * sysdeps/unix/sysv/linux/sh/Dist: File removed.
2780         * sysdeps/unix/sysv/linux/x86_64/Dist: File removed.
2781         * sysdeps/unix/sysv/linux/hppa/Dist: File removed.
2782         * sysdeps/unix/sysv/linux/Dist: File removed.
2783         * sysdeps/unix/sysv/Dist: File removed.
2784         * sysdeps/unix/Dist: File removed.
2785         * sysdeps/generic/Dist: File removed.
2786         * sysdeps/sparc/sparc32/soft-fp/Dist: File removed.
2787         * sysdeps/sparc/sparc32/sparcv9/Dist: File removed.
2788         * sysdeps/sparc/sparc32/sparcv8/Dist: File removed.
2789         * sysdeps/sparc/sparc32/Dist: File removed.
2790         * sysdeps/sparc/sparc64/soft-fp/Dist: File removed.
2791         * sysdeps/sparc/sparc64/Dist: File removed.
2792         * sysdeps/sparc/Dist: File removed.
2793         * sysdeps/gnu/Dist: File removed.
2794         * sysdeps/ia64/fpu/Dist: File removed.
2795         * sysdeps/ia64/Dist: File removed.
2796         * sysdeps/mach/mips/Dist: File removed.
2797         * sysdeps/mach/hurd/alpha/Dist: File removed.
2798         * sysdeps/mach/hurd/i386/Dist: File removed.
2799         * sysdeps/mach/hurd/mips/Dist: File removed.
2800         * sysdeps/mach/hurd/powerpc/Dist: File removed.
2801         * sysdeps/mach/hurd/Dist: File removed.
2802         * sysdeps/s390/s390-64/Dist: File removed.
2803         * sysdeps/s390/Dist: File removed.
2804         * sysdeps/s390/s390-32/Dist: File removed.
2805         * sysdeps/sh/Dist: File removed.
2806         * sysdeps/posix/Dist: File removed.
2807         * sysdeps/ieee754/dbl-64/Dist: File removed.
2808         * sysdeps/ieee754/ldbl-128/Dist: File removed.
2809         * sysdeps/ieee754/flt-32/Dist: File removed.
2810         * sysdeps/ieee754/Dist: File removed.
2811         * sysdeps/x86_64/soft-fp/Dist: File removed.
2812         * sysdeps/x86_64/Dist: File removed.
2813         * sysdeps/hppa/Dist: File removed.
2814
2815         * Makerules (common-clean): Don't remove distinfo file.
2816         ($(objpfx)distinfo): Target removed.
2817         * manual/Makefile (mostlyclean): Don't remove distinfo file.
2818         (glibc-targets): Remove echo-distinfo.
2819
2820         * scripts/list-sources.sh: New file.
2821         * Makefile (TAGS): New target.
2822         * po/Makefile (libc.pot, libc.pot.files): New targets.
2823         * Makeconfig (XGETTEXT): New variable.
2824         * Makerules ($(..)po/%.pot): Rule removed.
2825         (TAGS): Target removed.
2826         * Rules (subdir_TAGS): Target removed.
2827         * MakeTAGS: File removed.
2828
2829         * Makefile (iconvdata/% localedata/% po/% manual/%): Depend on FORCE.
2830         * Makeconfig ($(all-Depend-files)): New targets with no-op commands.
2831
2832 2004-08-03  Marco Gerards  <marco@gnu.org>
2833
2834         [BZ #2119]
2835         * sysdeps/mach/hurd/bits/ioctls.h (SIOCGIFHWADDR): New macro.
2836
2837 2006-01-07  Ulrich Drepper  <drepper@redhat.com>
2838
2839         * stdio-common/tstdiomisc.c (F): Use NAN to get NaN value.
2840
2841 2006-01-06  Ulrich Drepper  <drepper@redhat.com>
2842
2843         * elf/tst-tls8.c (do_test): Use $ORIGIN in module names.
2844
2845 2006-01-03  Steven Munroe  <sjmunroe@us.ibm.com>
2846
2847         * sysdeps/generic/sysdep.h (cfi_same_value): Define macro.
2848
2849         * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve,
2850         _dl_profile_resolve): Add CFI directives for stack and LR save.
2851         Save LR in LRSAVE of previous frame per ABI.
2852         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add CFI directives
2853         for LR save.
2854         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
2856         (__makecontext, __novec_makecontext): Likewise.
2857         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Add CFI directive
2858         for LR save to register.
2859         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2860         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2861         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2862         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise.
2863         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2864         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2865         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2866         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2867         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2868         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2869         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Add CFI directive
2870         for stack.
2871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2872         * sysdeps/powerpc/powerpc32/ppc-mcount.S: Add CFI directives for stack
2873         and LR save.
2874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
2875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2876         Likewise.
2877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2878         Likewise.
2879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2880         Likewise.
2881         * sysdeps/powerpc/powerpc32/fpu/s_lround.S:  Likewise.  Don't use
2882         negative stack addressing.
2883
2884         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2885         _dl_profile_resolve): Add CFI directives for stack and LR save.
2886         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Add CFI directives
2887         for stack.
2888         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Add CFI
2889         directives for stack and LR save.
2890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Add CFI
2891         directives for stack.
2892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): Add CFI
2893         directives for stack.
2894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2895         (__getcontext, __novec_getcontext): Add CFI directives for stack
2896         and LR save.
2897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2898         (__makecontext): Add CFI directives for stack and LR save.
2899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2900         (__setcontext, __novec_setcontext): Add CFI directives for stack
2901         and LR save.
2902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2903         (__swapcontext, __novec_swapcontext):  Add CFI directives for stack
2904         and LR save.
2905
2906 2006-01-06  Jakub Jelinek  <jakub@redhat.com>
2907
2908         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include tls.h.
2909         (SYSCALL_ERROR_HANDLER_ENTRY): Use %g4 instead of %g2, to avoid
2910         the need of .register directive for it.
2911         * configure.in (libc_cv_asm_cfi_directives): Use CFI rel offset
2912         2047 instead of 0 in the test on sparc64.
2913
2914 2006-01-06  Ulrich Drepper  <drepper@redhat.com>
2915
2916         * scripts/check-c++-types.sh: Add more pthread types.
2917         * scripts/data//c++-types-i386-linux-gnu.data: Adjust.
2918         * scripts/data//c++-types-ia64-linux-gnu.data: Likewise.
2919         * scripts/data//c++-types-powerpc-linux-gnu.data: Likewise.
2920         * scripts/data//c++-types-powerpc64-linux-gnu.data: Likewise.
2921         * scripts/data//c++-types-s390-linux-gnu.data: Likewise.
2922         * scripts/data//c++-types-s390x-linux-gnu.data: Likewise.
2923         * scripts/data//c++-types-x86_64-linux-gnu.data: Likewise.
2924
2925         * sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL_NCS):
2926         Adjust for private->__private rename in tcbhead_t.
2927
2928         [BZ #2114]
2929         * ncsd/aicache.c: Don't use sendfile for records on the stack.
2930         * nscd/grpcache.c: Likewise.
2931         * nscd/hstcache.c: Likewise.
2932         * nscd/initgrcache.c: Likewise.
2933         * nscd/pwdcache.c: Likewise.
2934         Patch by dmueller@suse.com.
2935
2936         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Define MADV_REMOVE.
2937         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
2938         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
2939         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2940         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2941         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2942         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2943         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
2944
2945 2006-01-06  Roland McGrath  <roland@redhat.com>
2946
2947         * Makeconfig (+gnu-stabs): Remove ancient cruft.
2948
2949         [BZ #2103]
2950         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_HWX25): Corrected macro
2951         name (was typo ARPHDR_HWX25).
2952         (ARPHRD_IEEE80211_PRISM, ARPHRD_IEEE80211_RADIOTAP): New macros.
2953         (ARPHRD_VOID, ARPHRD_NONE): New macros.
2954
2955         * sysdeps/wordsize-32/divdi3.c (__moddi3): Add a cast.
2956
2957         * io/fcntl.h [__USE_ATFILE] (AT_EACCESS): New macro.
2958         * posix/unistd.h [__USE_ATFILE]: Declare faccessat.
2959         * io/faccessat.c: New file.
2960         * sysdeps/unix/sysv/linux/faccessat.c: New file.
2961         * io/Makefile (routines): Add faccessat.
2962         * io/Versions (libc: GLIBC_2.4): Likewise.
2963         * io/tst-faccessat.c: New file.
2964         * io/Makefile (tests): Add it.
2965
2966         * scripts/check-local-headers.sh: Revert last change.
2967
2968         * io/euidaccess.c: Add eaccess as an alias.
2969         * sysdeps/mach/hurd/euidaccess.c: Likewise.
2970         * sysdeps/posix/euidaccess.c: Likewise.
2971         * posix/unistd.h [__USE_GNU]: Declare eaccess.
2972         * io/Versions (libc: GLIBC_2.4): Add eaccess.
2973
2974 2005-12-04  Joseph S. Myers  <joseph@codesourcery.com>
2975
2976         * soft-fp/Makefile (gcc-single-routines): Add unordsf2,
2977         floatunsisf, floatundisf.
2978         (gcc-double-routines): Add unorddf2, floatunsidf, floatundidf.
2979         (gcc-quad-routines): Add unordtf2, floatunsitf, floatunditf.
2980         * soft-fp/op-common.h (_FP_CMP_UNORD): Define.
2981         * soft-fp/single.h (FP_CMP_UNORD_S): Define.
2982         * soft-fp/double.h (FP_CMP_UNORD_D): Define.
2983         * soft-fp/quad.h (FP_CMP_UNORD_Q): Define.
2984         * soft-fp/extended.h (FP_CMP_UNORD_E): Define.
2985         * soft-fp/unordsf2.c: New file.
2986         * soft-fp/unorddf2.c: New file.
2987         * soft-fp/unordtf2.c: New file.
2988         * soft-fp/floatunsisf.c: New file.
2989         * soft-fp/floatundisf.c: New file.
2990         * soft-fp/floatunsidf.c: New file.
2991         * soft-fp/floatundidf.c: New file.
2992         * soft-fp/floatunsitf.c: New file.
2993         * soft-fp/floatunditf.c: New file.
2994
2995         * soft-fp/op-common.h (__FP_CLZ): Define using __builtin_clz,
2996         __builtin_clzl and __builtin_clzll.
2997
2998 2006-01-05  Mike Frysinger  <vapier@gentoo.org>
2999
3000         * include/alloca.h (extend_alloca): Fix typoed name 'extern_alloca'.
3001
3002 2006-01-05  Jakub Jelinek  <jakub@redhat.com>
3003
3004         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL):
3005         Only define for 2.6.12+ on s390{,x}.
3006         (__ASSUME_GETDENTS32_D_TYPE): Only define for 2.6.8+ on most arches
3007         and only for 2.6.11+ on s390{,x}.
3008
3009 2006-01-05  Ulrich Drepper  <drepper@redhat.com>
3010
3011         * sysdeps/pthread/aio_misc.h [!DONT_USE_BOOTSTRAP_MAP]
3012         (struct waitlist): Don't add cond.
3013         * sysdeps/pthread/aio_notify.c [!DONT_USE_BOOTSTRAP_MAP]
3014         (__aio_notify): Use AIO_MISC_NOTIFY instead of pthread_cond_signal.
3015         * sysdeps/pthread/aio_suspend.c [!DONT_USE_BOOTSTRAP_MAP]: Don't
3016         use condvar, use AIO_MISC_WAIT.
3017         * sysdeps/pthread/lio_listio.c: Likewise.
3018         * rt/Makefile (tests): Add tst-aio9 and tst-aio10.
3019         * rt/tst-aio9.c: New file.
3020         * rt/tst-aio10.c: New file.
3021
3022         * rt/tst-aio3.c: The thread is now supposed to be created.
3023
3024 2006-01-05  Roland McGrath  <roland@redhat.com>
3025
3026         * include/features.h: Grok _ATFILE_SOURCE and define __USE_ATFILE when
3027         it or _GNU_SOURCE is defined.
3028         * io/fcntl.h: Protect *at and AT_* with [__USE_ATFILE] instead of
3029         [__USE_GNU].
3030         * libio/stdio.h: Likewise.
3031         * posix/unistd.h: Likewise.
3032         * time/sys/time.h: Likewise.
3033         * io/sys/stat.h: Likewise.
3034
3035         * io/sys/stat.h [__USE_GNU]: Declare fchmodat.
3036         * io/fchmodat.c: New file.
3037         * io/Makefile (routines): Add fchmodat.
3038         * io/Versions (libc: GLIBC_2.4): Likewise.
3039         * sysdeps/unix/sysv/linux/fchmodat.c: New file.
3040         * io/tst-fchmodat.c: New file.
3041         * io/Makefile (tests): Add it.
3042
3043 2006-01-03  Steven Munroe  <sjmunroe@us.ibm.com>
3044
3045         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY, EALIGN): Add cfi_startproc
3046         directive to ENTRY macros.
3047         (END): Add cfi_endproc directive to END macro.
3048         * sysdeps/powerpc/powerpc64/sysdep.h (ENTRY, EALIGN): Add cfi_startproc
3049         directive to ENTRY macros.
3050         (END, END_GEN_TB): Add cfi_endproc directive to END macros.
3051         * sysdeps/powerpc/powerpc32/dl-start.S: Remove ENTRY()s for
3052         _dl_start_user and _dl_main_dispatch.
3053         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Use END macro.
3054         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Use Likewise.
3055         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3056         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3057         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3058         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Remove redundant
3060         cfi_startproc and cfi_endproc.
3061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3062
3063 2006-01-04  Ulrich Drepper  <drepper@redhat.com>
3064
3065         * sysdeps/pthread/aio_misc.h (struct waitlist): Add result member.
3066         * sysdeps/pthread/aio_notify.c (__aio_notify): For synchronous waiters,
3067         failed I/O, and a result pointer, set value to -1.
3068         * sysdeps/pthread/aio_suspend.c: Initialize result pointer to NULL.
3069         * sysdeps/pthread/lio_listio.c: For LIO_WAIT, point result pointer in
3070         wait list to local variable result.  If nonzero afterwards, set errno
3071         to EIO.  For LIO_NOWAIT set result to NULL.
3072         * rt/Makefile (tests): Add tst-aio8.
3073         * rt/tst-aio8.c: New file.
3074
3075 2005-12-25  Kristian Van Der Vliet  <vanders@liqwyd.com>
3076
3077         * abi-tags (*-.*-syllable.*): New match, with ABI value 5.
3078         * elf/cache.c (print_entry): Match the Syllable ABI tag.
3079
3080 2006-01-04  Ulrich Drepper  <drepper@redhat.com>
3081
3082         * include/stdlib.h: Make even more C++ compliant.
3083
3084 2006-01-04  Joseph S. Myers  <joseph@codesourcery.com>
3085
3086         * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Use
3087         __SYSCALL_CLOBBERS.
3088
3089 2006-01-03  H.J. Lu  <hongjiu.lu@intel.com>
3090
3091         * configure.in (HAVE_LIBAUDIT): Check
3092         audit_log_user_avc_message instead of audit_log_avc.
3093
3094 2006-01-04  Joseph S. Myers  <joseph@codesourcery.com>
3095
3096         * sysdeps/ieee754/bits/nan.h: Fix typo.
3097
3098 2006-01-03  Jakub Jelinek  <jakub@redhat.com>
3099
3100         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Include string.h.
3101
3102         * sysdeps/sparc/sparc32/dl-machine.h (LD_SO_PRELOAD): Remove unused
3103         define.
3104
3105         * sysdeps/sparc/sparc32/bits/atomic.h: Include stdint.h, add
3106         {,u}atomic*_t typedefs.
3107         (__sparc32_atomic_do_lock): Add __volatile and memory clobber.
3108         (__sparc32_atomic_do_unlock): Add memory barrier.
3109         (__sparc32_atomic_do_lock24, __sparc32_atomic_do_unlock24): Define.
3110         [!SHARED] (__v9_compare_and_exchange_val_32_acq): Define.
3111         (__v7_compare_and_exchange_val_acq, __v7_compare_and_exchange_bool_acq,
3112         __v7_exchange_acq, __v7_exchange_and_add, __v7_exchange_24_rel,
3113         __v7_compare_and_exchange_val_24_acq, __atomic_is_v9,
3114         atomic_exchange_acq, atomic_compare_and_exchange_val_24_acq,
3115         atomic_exchange_24_rel): Define.
3116         [SHARED] (atomic_exchange_and_add): Define.
3117         [!SHARED] (__ATOMIC_HWCAP_SPARC_V9): Define.
3118         [!SHARED] (_dl_hwcap): New weak decl.
3119         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_exchange_24_rel,
3120         atomic_compare_and_exchange_val_24_acq): Define.
3121         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_exchange_24_rel,
3122         atomic_compare_and_exchange_val_24_acq): Define.
3123
3124 2006-01-03  Ulrich Drepper  <drepper@redhat.com>
3125
3126         lio_listio should emit an event for each individual request in
3127         addition to the global event.
3128         * sysdeps/pthread/lio_listio.c (lio_listio): Renamed to
3129         lio_listio_internal.  Remove mode parameter check.  Only set sigevent
3130         type to SIGEV_NONE if LIO_NO_INDIVIDUAL_EVENT is set.
3131         (__lio_listio_21): New function.  Compatiblity version which sets
3132         LIO_NO_INDIVIDUAL_EVENT before calling lio_listio_internal.
3133         (__lio_listio_item_notify): New function.
3134         * sysdeps/pthread/lio_listio64.c: Define __lio_listio_21 and
3135         __lio_listio_item_notify macros.
3136         * sysdeps/pthread/Versions: New file.
3137         * rt/tst-aio2.c: Adjust test for new semantics of lio_listio.
3138         * include/aio.h: Define LIO_NO_INDIVIDUAL_EVENT.
3139         * Versions.def: Add GLIBC_2.4 for librt.
3140
3141         * rt/Versions: Whitespace fix.
3142         * sysdeps/pthread/aio_misc.c: Likewise.
3143
3144         * nscd/connections.c (nscd_init): Remove if block which should
3145         have been removed as part of the -S option removal.
3146
3147 2006-01-03  Andreas Jaeger  <aj@suse.de>
3148
3149         * scripts/check-local-headers.sh: Allow $includedir/c++.
3150
3151 2006-01-03  Jakub Jelinek  <jakub@redhat.com>
3152
3153         * posix/unistd.h (ctermid): Remove __nonnull attribute.
3154
3155 2006-01-02  Jakub Jelinek  <jakub@redhat.com>
3156
3157         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PTR_MANGLE,
3158         PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define.
3159         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PTR_MANGLE,
3160         PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define.
3161         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h [__WORDSIZE == 64]
3162         (_JMPBUF_UNWINDS): Don't demangle uc_mcontext.mc_fp.
3163         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Mangle %fp, %sp
3164         and %o7.
3165         * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Demangle %fp, %sp
3166         and %o7.
3167
3168 2006-01-02  Jakub Jelinek  <jakub@redhat.com>
3169
3170         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PTR_MANGLE2):
3171         Define.
3172         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PTR_MANGLE2):
3173         Likewise.
3174         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Demangle also %r15.
3175         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
3176         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Mangle also %r15.
3177         * sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise.
3178         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise.
3179         * sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise.
3180
3181         * sysdeps/s390/bits/setjmp.h (__jmp_buf): Add __s390_jmp_buf
3182         struct tag to make C++ happy.
3183
3184 2006-01-02  Ulrich Drepper  <drepper@redhat.com>
3185
3186         * posix/Makefile ($(objpfx)annexc.out): Move -I.. to the end of
3187         the include list.
3188
3189 2006-01-01  Ulrich Drepper  <drepper@redhat.com>
3190
3191         * posix/getconf.c: Update copyright year.
3192         * nss/getent.c: Likewise.
3193         * iconv/iconvconfig.c: Likewise.
3194         * iconv/iconv_prog.c: Likewise.
3195         * elf/ldconfig.c: Likewise.
3196         * catgets/gencat.c: Likewise.
3197         * csu/version.c: Likewise.
3198         * elf/ldd.bash.in: Likewise.
3199         * elf/sprof.c (print_version): Likewise.
3200         * locale/programs/locale.c: Likewise.
3201         * locale/programs/localedef.c: Likewise.
3202         * nscd/nscd.c (print_version): Likewise.
3203         * debug/xtrace.sh: Likewise.
3204         * malloc/memusage.sh: Likewise.
3205         * malloc/mtrace.pl: Likewise.
3206         * debug/catchsegv.sh: Likewise.
3207
3208 2005-12-31  Andreas Jaeger  <aj@suse.de>
3209
3210         [BZ #1395]
3211         * manual/filesys.texi (Symbolic Links): Fix description of
3212         canonicalize_file_name based on patch by Oskar Liljeblad
3213         <oskar@osk.mine.nu>.
3214
3215 2005-12-29  Andreas Jaeger  <aj@suse.de>
3216
3217         * resolv/res_debug.c (latlon2ul): Use ISO C function definition.
3218         (precsize_aton): Likewise.
3219         (precsize_ntoa): Likewise.
3220
3221         * resolv/gethnamaddr.c (_gethtbyname): Remove extra prototype.
3222         (gethostbyname2): Likewise.
3223         (gethostbyaddr): Likewise.
3224         (getanswer): Use ISO C function definition.
3225
3226 2005-12-29  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3227
3228         * sysdeps/sh/sysdep.h: Add cfi instrumentation to asm fragments.
3229         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3230         * sysdeps/sh/_mcount.S: Add cfi instrumentation.
3231         * sysdeps/unix/sh/sysdep.S: Likewise.
3232         * sysdeps/unix/sysv/linux/sh/makecontext.S: Adjust cfi_startproc.
3233         * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Remove now duplicate
3234         cfi_startproc and cfi_endproc.
3235         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise.
3236         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise.
3237         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3238         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3239         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3240         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3241         * sysdeps/unix/sysv/linux/sh/sysdep.S: Add cfi_endproc.
3242
3243 2005-12-30  Ulrich Drepper  <drepper@redhat.com>
3244
3245         * sysdeps/powerpc/powerpc64/setjmp-common.S: Make sure pointer guard
3246         value doesn't survive in a registers when the function returns.
3247         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3248         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3249
3250 2005-12-30  Jakub Jelinek  <jakub@redhat.com>
3251
3252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
3253         PTR_MANGLE2.
3254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
3255         PTR_MANGLE2 and PTR_DEMANGLE2.
3256         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Use PTR_DEMANGLE2.
3257         * sysdeps/powerpc/powerpc64/setjmp-common.S: Use PTR_MANGLE2.
3258         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3259         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3260
3261 2005-12-30  Ulrich Drepper  <drepper@redhat.com>
3262
3263         * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS):
3264         Don't use _demangle parameter for now.
3265
3266         [BZ #2080]
3267         * libio/iogetwline.c (_IO_getwline_info): Move return to correct
3268         location.
3269
3270         * nscd/connections.c: Remove last remnants of -S option support.
3271         * nscd/nscd.c: Likewise.
3272         * nscd/nscd.h: Likewise.
3273
3274 2005-12-30  Andreas Jaeger  <aj@suse.de>
3275
3276         [BZ #1067]
3277         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Fix struct msghdr
3278         for 64-bit mips kernel.
3279
3280 2005-12-08  Steven Munroe  <sjmunroe@us.ibm.com>
3281             Tom Gall <tom_gall@vnet.ibm.com>
3282
3283         * elf/rtld.c (dl_main): Initialize l_local_scope for sysinfo_map.
3284         * sysdeps/powerpc/elf/libc-start.c: Move this...
3285         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: ...to here.
3286         * sysdeps/powerpc/powerpc32/dl-start.S: Add _dl_main_dispatch label.
3287         * sysdeps/powerpc/powerpc32/hp-timing.h: New file.
3288         * sysdeps/unix/sysv/linux/powerpc/Versions: New file.
3289         * sysdeps/unix/sysv/linux/clock_getres.c: If HAVE_CLOCK_GETRES_VSYSCALL
3290         is not defined, redefine INTERNAL_VSYSCALL and INLINE_VSYSCALL to
3291         INTERNAL_SYSCALL and INLINE_SYSCALL respectively.  Otherwise include
3292         <bits/libc-vdso.h>.  Use INLINE_VSYSCALL and INTERNAL_SYSCALL instead
3293         of the normal versions throughout the code.
3294         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise if
3295         HAVE_CLOCK_GETTIME_VSYSCALL is defined.
3296         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: New file.
3297         * sysdeps/unix/sysv/linux/powerpc/dl-vdso.c: New file.
3298         * sysdeps/unix/sysv/linux/powerpc/dl-vdso.h: New file.
3299         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use vDSO.
3300         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: New file.
3301         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add dl-vdso to routines.
3302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
3303         INLINE_VSYSCALL, INTERNAL_VSYSCALL, INTERNAL_SYSCALL_NCS,
3304         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK, HAVE_CLOCK_GETRES_VSYSCALL,
3305         and HAVE_CLOCK_GETTIME_VSYSCALL.
3306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3307
3308 2005-12-29  Ulrich Drepper  <drepper@redhat.com>
3309
3310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h [ASSEMBLER]:
3311         Define PTR_DEMANGLE2.
3312         * sysdeps/powerpc/powerpc32/setjmp-common.S [PTR_MANGLE]: Also
3313         mangle r1.
3314         * sysdeps/powerpc/powerpc32/__longjmp-common.S [PTR_DEMANGLE]: Also
3315         demangle r1.
3316         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [PTR_MANGLE]: Mangle
3317         r0 and r1.
3318         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [PTR_DEMANGLE]:
3319         Demangle r0 and r1.
3320
3321         * sysdeps/powerpc/powerpc64/setjmp-common.S [PTR_MANGLE]: Also
3322         mangle r1.
3323         * sysdeps/powerpc/powerpc64/__longjmp-common.S [PTR_DEMANGLE]: Also
3324         demangle  r1.
3325
3326 2005-12-26  Steven Munroe  <sjmunroe@us.ibm.com>
3327
3328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S:
3329         Move common function to...
3330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3331         New file.
3332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S:
3333         Move common function to...
3334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3335         New file.
3336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S:
3337         Move common function to...
3338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3339         New file.
3340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym
3341         (_FRAME_BACKCHAIN, _FRAME_LR_SAVE, _FRAME_PARM_SAVE1,
3342         _FRAME_PARM_SAVE2, _FRAME_PARM_SAVE3, _FRAME_PARM_SAVE4):
3343         Remove unrelated stack frame defines.
3344
3345 2005-12-29  Ulrich Drepper  <drepper@redhat.com>
3346
3347         * stdio-common/tstdiomisc.c [FLT_EVAL_METHOD!=2] (dbl_max):
3348         Defining as macro as before the last change.
3349
3350         * sysdeps/unix/sysv/linux/sigaction.c: If WRAPPER_INCLUDE is defined,
3351         include the named file.
3352         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3353         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3354         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3355         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3356         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3357         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3358
3359 2005-12-29  Roland McGrath  <roland@frob.com>
3360
3361         * sysdeps/mach/hurd/errno.c: New file.
3362
3363         * sysdeps/mach/hurd/ioctl.c (__ioctl): Use a union to avoid a cast.
3364
3365         * sysdeps/posix/libc_fatal.c (__libc_message): Add a const, a cast.
3366
3367         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Fix cast.
3368         * hurd/report-wait.c (_S_msg_report_wait): Likewise.
3369
3370         * include/sys/xattr.h: New file.
3371
3372 2005-12-28  Roland McGrath  <roland@redhat.com>
3373
3374         * hurd/sigunwind.c: Include <stdint.h>.
3375         * sysdeps/mach/hurd/jmp-unwind.c: Likewise.
3376
3377 2005-12-28  Ulrich Drepper  <drepper@redhat.com>
3378
3379         * nscd/selinux.c (log_callback): Use audit_log_user_avc_message.
3380         Don't do anything if audit_fd is invalid.
3381         (audit_init): Don't complain if kernel support is missing.
3382         Patch by Steve Grubb <sgrubb@redhat.com>.
3383
3384         * sysdeps/i386/__longjmp.S [PTR_DEMANGLE]: Also demangle stack
3385         pointer.  Add CFI.
3386         * sysdeps/i386/bsd-_setjmp.S [PTR_MANGLE]: Also mangle stack pointer.
3387         * sysdeps/i386/bsd-setjmp.S: Likewise.
3388         * sysdeps/i386/setjmp.S: Likewise.
3389
3390         * sysdeps/x86_64/__longjmp.S: No need to make sure return value is
3391         != 0, the caller did that.
3392
3393 2005-12-27  Roland McGrath  <roland@redhat.com>
3394
3395         * sysdeps/x86_64/__longjmp.S: Don't confuse unwinder by loading
3396         mangled values in %rbp and %rsp registers and by wrong cfi.
3397
3398         * config.make.in (c++-sysincludes): New substituted variable.
3399         * configure.in (CXX_SYSINCLUDES): New substituted variable.
3400         * configure: Regenerated.
3401         * Makeconfig (CXXFLAGS): Prepend $(c++-sysincludes) here.
3402
3403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3404         (PTR_MANGLE): Fix cast.
3405
3406         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Take third argument
3407         DEMANGLE, and pass SP value through it.
3408         * sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
3409         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
3410         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
3411         * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
3412         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
3413         * sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
3414         * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
3415         * sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
3416         * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise.
3417         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Likewise.
3418         * sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
3419         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Pass inline
3420         demangler function to _JMPBUF_UNWINDS.
3421         * sysdeps/mach/hurd/jmp-unwind.c (demangle_ptr): New function.
3422         (_longjmp_unwind): Pass it to _JMPBUF_UNWINDS.
3423