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