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