Define bit_SSE2 and index_SSE2.
[glibc.git] / ChangeLog.16
blob3c09a3b6a5fd42b7971fc2d17e092d3c640be706
1 2006-05-03  Ulrich Drepper  <drepper@redhat.com>
3         * sysdeps/posix/getaddrinfo.c: Implement configuration file
4         handling.  /etc/gai.conf can contain replacements for the label
5         and precedence table.  Fix byte order of default label and
6         precedence table.
7         * posix/gai.conf: New file.
8         * posix/tst-rfc3484.c: Adjust for changes to getaddrinfo.c.
9         * posix/tst-rfc3484-2.c: Likewise.
11 2006-05-02  Ulrich Drepper  <drepper@redhat.com>
13         [BZ #1201]
14         * posix/regex.h: g++ still cannot handled [restrict].
16         [BZ #2509]
17         * stdio-common/vfprintf.c (process_arg): Fix reading of signed
18         short and byte values from parameter list.
19         * stdio-common/tst-printf.c (main): Add more tests.
20         * stdio-common/tst-printf.sh: Adjust for tst-printf.c change.
22         * iconvdata/testdate/MIK: Fix format to match expected output.
24         [BZ #2632]
25         * nscd/connections.c (nscd_init): Correct initialization of
26         in-memory database structure.
28 2006-05-02  Thorsten Kukuk  <kukuk@suse.de>
30         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Fix MADV_REMOVE value.
31         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
32         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
39 2006-05-01  Ulrich Drepper  <drepper@redhat.com>
41         [BZ #2502]
42         * iconvdata/utf-7.c: Don't require more than one character after
43         the '+' sign starting Unicode shifted sequences.
45         * misc/tsearch.c (__tdelete): Remove unnecessary test
46         [Coverity CID 75].
48         * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Print error
49         message for invalid DWARF data instead of crashing.
51         * nis/nss_nis/nis-pwd.c (internal_nis_getpwent_r): Don't try to
52         free outkey in error case when batch_read is set.
54         * nis/nss_nis/nis-grp.c (internal_nis_getgrent_r): Don't try to
55         free outkey in error case when batch_read is set [Coverity CID 196].
57         [BZ #2517]
58         * misc/sys/queue.h: Update to more recent version.
60 2006-05-01  Alexander Shopov  <ash@contact.bg>
62         [BZ #2625]
63         * iconvdata/Makefile (modules): Added MIK.
64         (distribute): Added mik.c.
65         (gen-8bit-gap-modules): Added mik.
66         * iconvdata/TESTS: Added MIK.
67         * iconvdata/gconv-modules: Added MIK.
68         * iconvdata/tst-tables.sh: Added MIK.
69         * iconvdata/mik.c: New file.
70         * iconvdata/testdata/MIK: New file.
71         * iconvdata/testdata/MIK..UTF8: New file.
73 2006-04-30  Ulrich Drepper  <drepper@redhat.com>
75         * elf/dl-load.c (_dl_map_object_from_fd): Move state change
76         notification...
77         (lose): ...to here.
79         * posix/Makefile (tests): Add tst-getaddrinfo3.
80         * posix/tst-getaddrinfo3.c: New file.
82         * sysdeps/posix/getaddrinfo.c (gaih_inet): Add parenthesis in test
83         for better readability.
85         * nscd/nscd.h (struct database_dyn): Change filename to an array
86         to avoid relocations.
88         * elf/ldd.bash.in: If --verify loop fails to find a dynamic linker
89         for the file don't just try the first one listed in RTLDLIST
90         again.  We already have the status.
92         * nis/nss_nisplus/nisplus-publickey.c (parse_grp_str): PIDLIST is
93         supposed to have NGRPS elements.
95         * nis/nss_nisplus/nisplus-parser.c: Minor optimizations and
96         cleanups.  Avoid copying data if it can be used in the old place.
98 2006-04-29  Ulrich Drepper  <drepper@redhat.com>
100         * nis/nss_nisplus/nisplus-ethers.c: Add missing null pointer check.
101         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
102         * nis/nss_nisplus/nisplus-network.c: Likewise.
103         * nis/nss_nisplus/nisplus-proto.c: Likewise.
104         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
105         * nis/nss_nisplus/nisplus-service.c: Likewise.
106         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
108         * nis/nisplus-parser.h (_nss_nisplus_parse_pwent): Add entry
109         parameter.
110         (_nss_nisplus_parse_pwent_chk): New prototype.
111         * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
112         Add entry parameter.  Use it for column value in all accesses.
113         Move checks for well-formed reply to...
114         (_nss_nisplus_parse_pwent_chk): ...here.  New function.
115         * nis/nss_nisplus/nisplus-pwd.c: Support SETENT_BATCH_READ option.
117         * nis/nss_nisplus/nisplus-parser.c: Some cleanups.  Remove
118         hidden_def definitions.
119         * nis/nisplus-parser.h: Add parameter names.  Remove hidden_proto
120         definitions.
122 2006-04-28  Ulrich Drepper  <drepper@redhat.com>
124         * nis/nss_nis/nis-spwd.c (internal_nis_getspent_r): Remove data
125         variable.
127         * nis/nss-nis.h: Define response_t and intern_t.  Declare _nis_saveit.
128         * nis/nss_nis/nis-pwd.c: Remove response_t and intern_t definition.
129         (saveit): Renamed to _nis_saveit.  Take parameter which is pointer
130         to the intern_t object.  Change all users.
131         * nis/nss_nis/nis-grp.c: Remove response_t, intern_t, and saveit
132         definition.  Use _nis_saveit instead of saveit.
133         * nis/nss_nis/nis-service.c: Likewise.
134         * nis/nss_nis/nis-initgroups.c: Likewise.
135         (internal_setgrent): Adjust for buffer handling.
136         (internal_getgrent_r): Likewise.
137         * nis/nss_nis/nis-rpc.c: Likewise.
139         * nis/nss-default.c (vars): Add SETENT_BATCH_READ.
140         * nis/nss: Document SETENT_BATCH_READ.
141         * nis/libnsl.h: Define NSS_FLAG_SETENT_BATCH_READ.
142         * nis/nss_nis/nis-service.c (saveit): Don't add NUL byte if the
143         string is already NUL terminated.
144         (internal_nis_endservent): No need to return anything.  Change callers.
145         (internal_nis_setservent): One more initialization.
146         * nis/nss_nis/nis-pwd.c: Support SETENT_BATCH_READ option.
147         * nis/nss_nis/nis-grp.c: Likewise.
149         * nis/nss-default.c (init): Rewrite parser to get the variables
150         from a table.
152         * nis/nss_nis/nis-service.c: Avoid passing pointer to static
153         variable around.  Reduce number of memory allocations by creating
154         list of memory pools.
156         * nis/ypclnt.c (__xdr_ypresp_all): Minor optimization in string
157         handling.  Fix typo in comment.
159 2006-04-27  Ulrich Drepper  <drepper@redhat.com>
161         * nscd/connections.c (restart): If we want to switch back to the
162         old ID use setresuid and setresgid.
163         (finish_drop_privileges): Likewise.
165 2006-04-27  Jakub Jelinek  <jakub@redhat.com>
167         * nscd/nscd.conf: Fix a typo.
169 2006-04-27  Ulrich Drepper  <drepper@redhat.com>
171         [BZ #2611]
172         * stdio-common/renameat.c (renameat): Fix typo.
174 2006-04-26  Roland McGrath  <roland@redhat.com>
176         * Makeconfig (%.v.i rule): Don't use -DASSEMBLER.
177         The predefined __ASSEMBLER__ is sufficient.
179 2006-04-26  Ulrich Drepper  <drepper@redhat.com>
181         [BZ #1386]
182         * iconvdata/ibm932.c: Change mapping to allow round-trips.
183         * iconvdata/ibm943.c: Likewise.
184         Patch by Masahide Washizawa <WASHI@jp.ibm.com>.
186         * sysdeps/unix/sysv/linux/syscalls.list: Add vmsplice.
187         * sysdeps/unix/sysv/linux/Versions: Export vmsplice@@GLIBC_2.5.
188         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Declare vmsplice.
189         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
190         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
191         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
192         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
193         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
194         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
195         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
197         * sysdeps/unix/sysv/linux/bits/uio.h: Fix a typo in a comment.
199         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo which caused
200         errors not to be reported.
202         * nscd/nscd.h (struct database_dyn): Add propagate field.
203         * nscd/nscd_conf.c (nscd_parse_file): Parse auto-propagate lines.
204         * nscd/nscd.conf: Add auto-propagate lines.
205         * nscd/connections.c (dbs): Initialize .propagate fields.
206         * nscd/grpcache.c (cache_addgr): Do not add ID entry for name lookups
207         and vice versa if propagation is disabled for the database.
208         * nscd/pwdcache.c (cache_addpw): Likewise.
210 2006-04-26  James Antill  <james.antill@redhat.com>
211             Ulrich Drepper  <drepper@redhat.com>
213         * config.make.in: Add have-libcap.
214         * configure.in: Check for libcap.
215         * nscd/Makefile (selinux-LIBS): Add -lcap if possible.
216         * nscd/connections.c (finish_drop_privileges): When libcap is available
217         call preserve_capabilities and install_real_capabilities.
218         * nscd/selinux.c: Define preserve_capabilities and
219         install_real_capabilities.
220         * nscd/selinux.h: Declare preserve_capabilities and
221         install_real_capabilities.
223 2006-04-26  Ulrich Drepper  <drepper@redhat.com>
225         * locale/iso-4217.def: Update.
227 2006-04-25  Ulrich Drepper  <drepper@redhat.com>
229         [BZ #2420]
230         * stdlib/strfmon_l.c (__vstrfmon_l): Fix handling of ! modifier.
231         * localedata/Makefile: Add rules to build and run tst-strfmon1.
232         * localedata/tst-strfmon1.c: New file.
234         [BZ #2571]
235         * nscd/nscd_helper.c (__nscd_get_map_ref): Make mapptr argument a
236         volatile pointer so that the mapptr->mapped value is re-read after
237         the lock is retrieved.
238         * nscd/nscd-client.h: Update __nscd_get_map_ref prototype.
240         * include/features.h [_GNU_SOURCE] (_POSIX_C_SOURCE): Define to
241         200112L.
243         * resolv/res_hconf.c: Minor surgery to 'cmd' and the referenced
244         functions to avoid relocations.
246         [BZ #2389]
247         * resolv/res_hconf.c: Remove 'order' parsing.  Just ignore the line.
248         * resolv/res_hconf.h: Remove Name_Service definition.
249         (struct hconf): Replace service related fields with placeholders.
251         [BZ #2386]
252         * sysdeps/unix/sysv/linux/ia64/clone2.S: Check for NULL stack
253         pointers to match other architectures.
254         * sysdeps/unix/sysv/linux/Makefile [subdirs=misc] (tests): Add
255         tst-clone.
256         * sysdeps/unix/sysv/linux/tst-clone.c: New file.
258         [BZ #2072]
259         * stdio-common/printf_fp.c: Fix potential memory leaks for
260         malloc'ed wbuffer which isn't freed in error conditions.
262         [BZ #2569]
263         * iconv/gconv_db.c (__gconv_release_step): Fix condition of assert
264         call.
265         * iconvdata/Makefile (tests): Add tst-iconv6.
266         * iconvdata/tst-iconv6.c: New file.
268 2006-04-24  Ulrich Drepper  <drepper@redhat.com>
270         * posix/tst-rfc3484.c (do_test): Also initialize source_addr_flags
271         field.
272         * posix/tst-rfc3484-2.c (do_test): Likewise.
274         * posix/tst-rfc3484.c: Include <ifaddrs.h> early.
275         * posix/tst-rfc3484-2.c: Likewise.
277         * version.h (VERSION): Bump to 2.4.90 for the trunk.
279 2006-04-24  Jakub Jelinek  <jakub@redhat.com>
281         * malloc/arena.c (ptmalloc_init): Don't call __malloc_check_init
282         if MALLOC_CHECK_ env var contains an empty string.
284 2006-04-24  Ulrich Drepper  <drepper@redhat.com>
286         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Always initialize in6ai.
288 2006-04-24  Jakub Jelinek  <jakub@redhat.com>
290         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): Use
291         __LONG_LONG_PAIR macro.
293         * posix/bits/unistd.h (__readlinkat_chk): New prototype.
294         (__readlinkat_alias): New alias.
295         (readlinkat): New inline function.
296         * include/unistd.h (readlinkat): Add libc_hidden_proto.
297         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Add
298         libc_hidden_def.
299         * io/readlinkat.c (readlinkat): Likewise.
300         * debug/readlinkat_chk.c: New file.
301         * debug/Makefile (routines): Add readlinkat_chk.
302         * debug/Versions (libc): Export __readlinkat_chk@@GLIBC_2.5.
303         * debug/tst-chk1.c (do_test): Add readlinkat tests.
305 2006-04-23  Ulrich Drepper  <drepper@redhat.com>
307         * nis/nss_nisplus/nisplus-netgrp.c: Cleanups.
309         [BZ #1951]
310         * sysdeps/posix/sigset.c (sigset): Return correct value reflecting
311         previous signal state.
312         * signal/Makefile (tests): Add tst-sigset2.
313         * signal/tst-sigset2.c: New file.
315 2006-04-21  Jakub Jelinek  <jakub@redhat.com>
317         * argp/argp.h (__option_is_short): Check upper limit of
318         __key.  isprint() requires its argument to have the value
319         of an unsigned char or EOF.
320         Patch by Sergey Poznyakoff <gray@Mirddin.farlep.net>.
322 2006-04-21  Ulrich Drepper  <drepper@redhat.com>
324         [BZ #2534, BZ #2535]
325         * posix/regex.h: Remove obsolete <sys/types.h> comment and special
326         handling for VMS.
328         * iconvdata/ibm437.c: Define HAS_HOLES to 0.
329         * iconvdata/ibm861.c: Likewise.
330         * iconvdata/ibm862.c: Likewise.
331         * iconvdata/ibm863.c: Likewise.
332         * iconvdata/ibm865.c: Likewise.
333         Reported by <ash@contact.bg>.
335 2006-04-19  Ulrich Drepper  <drepper@redhat.com>
337         * include/ifaddrs.h: Get uint32_t definition.
338         * posix/tst-rfc3484.c: Update fake __check_pf implementation.
339         * posix/tst-rfc3484-2.c: Likewise.
341         * sysdeps/unix/sysv/linux/kernel-features.h: Define
342         __ASSUME_PROC_SELF_FD_SYMLINK.
343         * sysdeps/unix/sysv/linux/ttyname.c: Cleanups.  Avoid compatibility
344         code is possible.  Move compatibility code in .text.compat section.
345         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
347 2006-04-18  Ulrich Drepper  <drepper@redhat.com>
349         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Rewrite to avoid loop
350         over gaih array.  There is only one function to call in the moment.
352 2006-04-16  Ulrich Drepper  <drepper@redhat.com>
354         * include/ifaddrs.h: Define struct in6addrinfo.
355         Add two more parameters to __check_pf.
356         * sysdeps/unix/sysv/linux/check_pf.c: When using the netlink
357         interface, determine whether IPv6 addresses are deprecated or
358         temporary.  Create array of those addresses.
359         * inet/check_pf.c: Always tell caller there are no depracated
360         and temporary addresses.
361         * sysdeps/posix/getaddrinfo.c: Pretty printing.
362         (struct sort_result): Add source_addr_flags field.
363         (rfc3484_sort): Implement rule 3 and 7.
364         (in6aicmp): New function.
365         (getaddrinfo): Call __check_pf also when we need info about IPv6
366         source addresses.  When creating array for sorting addresses,
367         look up deprecated and temporary addresses returned by __check_pf
368         and add flag if necessary.
370 2006-04-15  Ulrich Drepper  <drepper@redhat.com>
372         * sysdeps/posix/getaddrinfo.c: Fix precedence for IP V4-to-V6
373         mapped addresses.
374         * posix/Makefile (tests): Add tst-rfc3484-2.
375         * posix/tst-rfc3484-2.c: New file.
377         * nis/nss_nisplus/nisplus-publickey.c: Minor cleanups throughout.
378         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_parse_servent):
379         Significant cleanups.  Correct adjustment for pointer array.
380         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_parse_rpcent):
381         Likewise.
382         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_parse_protoent):
383         Likewise.
384         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_parse_netent):
385         Likewise.
386         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
387         Likewise.
389 2006-04-14  Ulrich Drepper  <drepper@redhat.com>
391         * sysdeps/unix/sysv/linux/syscalls.list: Add tee syscall.
392         * sysdeps/unix/sysv/linux/Versions: Export tee@GLIBC_2.5.
393         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Add prototype for tee.
394         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
395         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
396         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
397         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
398         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
399         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
400         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
402         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_parse_etherent):
403         Minor cleanups.  NUL terminate name string.
405         * nis/Versions: No need to export _nss_nisplus_parse_grent,
406         _nss_nisplus_parse_pwent, and _nss_nisplus_parse_spent.
408         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_parse_aliasent):
409         Avoid unnecessary allocation.  Fix adjustment for pointer value.
411         * nis/nss_nisplus/nisplus-parser.c: Cleanups, use NIS_RES_*
412         macros.  Avoid unnecessary allocation.
414         * sysdeps/unix/sysv/linux/sync_file_range.c: New file.
416 2006-04-13  Ulrich Drepper  <drepper@redhat.com>
418         * nis/Makefile (libnsl-routimes): Add nss-default.
419         * nis/Versions (libnsl) [GLIBC_PRIVATE]: Export _nsl_default_nss.
420         * nis/nss-nis.c: Move /etc/default/nss handling to...
421         * nis/nss-default.c: ...here.  New file.
422         * nis/libnsl.h: New file.
423         * nis/nss-nis.h: Remove NSS_FLAG_* definitions and _nis_default_nss
424         plus auxilary definitions.
425         * nis/nss_nis/nis-initgroups.c: Use _nsl_default_nss instead of
426         _nis_default_nss.
427         * nis/nss_nis/nis-service.c: Likewise.
429 2006-04-07  Steven Munroe  <sjmunroe@us.ibm.com>
431         * sysdeps/powerpc/fpu/bits/mathinline.h
432         [__WORDSIZE == 64 || _ARCH_PWR4]: Define __CPU_HAS_FSQRT.
433         (__ieee754_sqrt): Fix comment.
434         (__ieee754_sqrtf): Fix comment.
435         * sysdeps/powerpc/fpu/e_sqrt.c (__ieee754_sqrt): Fix comment.
436         Check __CPU_HAS_FSQRT instead of dl_hwcap.
437         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Likewise.
439 2006-04-08  Ulrich Drepper  <drepper@redhat.com>
441         * inet/inet_ntoa.c: Rewrite to use TLS instead of TSD.
443         * nis/nss_nis/nis-alias.c: Optimize use of yperr2nss.  Avoid calling
444         it for YPERR_SUCCESS.  Minor cleanups.  Add __builtin_expect.
445         * nis/nss_nis/nis-ethers.c: Likewise.
446         * nis/nss_nis/nis-grp.c: Likewise.
447         * nis/nss_nis/nis-hosts.c: Likewise.
448         * nis/nss_nis/nis-initgroups.c: Likewise.
449         * nis/nss_nis/nis-netgrp.c: Likewise.
450         * nis/nss_nis/nis-network.c: Likewise.
451         * nis/nss_nis/nis-proto.c: Likewise.
452         * nis/nss_nis/nis-publickey.c: Likewise.
453         * nis/nss_nis/nis-pwd.c: Likewise.
454         * nis/nss_nis/nis-rpc.c: Likewise.
455         * nis/nss_nis/nis-service.c: Likewise.
456         * nis/nss_nis/nis-spwd.c: Likewise.
458         * nis/nis_ping.c: Remove unnecessary conditionals before
459         nis_freeresult calls.
460         * nis/nis_ismember.c: Likewise.
462         * elf/rtld.c (process_envvars): Fix handling of LD_POINTER_GUARD.
463         Reported by genesh@comcast.net.
465         * io/fts.c (fts_build): Call fts_lfree in the two error cases
466         after the loop [Coverity CID 187].
468         * nis/nis_getservlist.c (nis_getservlist): Also free lookup result
469         in error case [Coverity CID 189].
471         * nis/nis_getservlist.c (nis_getservlist): One more free call
472         needed [Coverity CID 190].
474 2006-04-07  Jakub Jelinek  <jakub@redhat.com>
476         * sysdeps/generic/unwind-dw2-fde.c (end_fde_sort): Remove
477         unnecessary test for accu->linear == NULL [Coverity CID 79].
479 2006-04-07  Ulrich Drepper  <drepper@redhat.com>
481         * sysdeps/posix/tempname.c (__gen_tempname): Change attempts_min
482         into a macro.  Use preprocessor to decide how to initialize
483         attempts [Coverity CID 67].
485         * io/fts.c (fts_build): Comment out dead code [Coverity CID 68].
487         * sunrpc/rpc_parse.c (def_union): Comment out dead code
488         [Coverity CID 70].
490         * locale/programs/linereader.c (lr_token): Remove duplicate
491         handling of EOF [Coverity CID 71].
493         * locale/programs/ld-numeric.c (numeric_read) [case tok_grouping]:
494         We bail out early if ignore_content is set, so there is no need to
495         check it later again [Coverity CID 72].
497         * inet/inet6_option.c (inet6_option_find): Check *tptrp for NULL,
498         not tptrp [Coverity CID 73].
500         * inet/inet6_option.c (inet6_option_next): Check *tptrp for NULL,
501         not tptrp [Coverity CID 74].
503         * misc/tsearch.c (__tsearch): Don't rotate tree if memory
504         allocation failed [Coverity CID 78].
506 2006-04-07  Jakub Jelinek  <jakub@redhat.com>
508         * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Fix typo in
509         the last change.
511 2006-04-07  Ulrich Drepper  <drepper@redhat.com>
513         * inet/rexec.c (rexec_af): If we have no canonical name don't
514         proceed further [Coverity CID 86].
516         * iconv/iconv_charmap.c (process_fd): Initialize inptr from inbuf,
517         not to NULL [Coverity CID 88].
519 2006-04-06  Ulrich Drepper  <drepper@redhat.com>
521         * elf/ldconfig.c (main): Use rawmemchr instead of strchr.
522         * nis/nis_call.c (rec_dirsearch): Likewise.
523         * nis/nis_local_names.c (nis_local_host): Likewise.
524         (nis_local_directory): Likewise.
525         * intl/explodename.c (_nl_explode_name): Likewise.
527         * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Don't handle
528         DW_CFA_GNU_window_save if it obviously cannot work [Coverity CID 102].
530         * locale/programs/ld-address.c (address_finish): Fix conditions
531         for error messages [Coverity CID 104].
533         * libio/fmemopen.c (fmemopen): Free stream memory in case of
534         invalid length [Coverity CID 106].
536         * nss/nss_files/files-key.c (search): Close stream before
537         successful return [Coverity CID 107].
539         * io/fts.c (fts_open): Don't allocate parent if *argv==NULL
540         [Coverity CID 108].
542         * sunrpc/rpc_cout.c (inline_struct): Free sizestr after use
543         [Coverity CID 110, 109].
545         * sunrpc/rpc_scan.c (docppline): Free file string if it is not
546         going to be used [Coverity CID 111].
548         * sysdeps/unix/sysv/linux/getsourcefilter.c (getsourcefilter): Free
549         memory if socket level value cannot be retrieved [Coverity CID 112].
551         * nis/nis_clone_dir.c (nis_clone_directory): Free all memory in
552         error case [Coverity CID 114].
554         * nis/nis_clone_res.c (nis_clone_result): Free all memory in the
555         error cases [Coverity CID 115].
557         * sunrpc/rpc_parse.c (get_definition): Free defp if tok ==
558         TOK_EOF [Coverity CID 116].
560         * sysdeps/unix/sysv/linux/setsourcefilter.c (setsourcefilter): Free
561         memory if socket level value cannot be retrieved [Coverity CID 117].
563         * elf/cache.c (save_cache): Initialize pad to avoid writing
564         uninitialized data to disk.
566         * elf/cache.c (save_cache): Free file_entries_new [Coverity CID 118].
568         * intl/finddomain.c (_nl_find_domain): Avoid strdup of expand
569         locale name, use strdupa.  Remove free call [Coverity CID 119].
571         * sunrpc/rpc_main.c (generate_guard): Avoid extra allocation and
572         the resulting leak [Coverity CID 121].
574         * sunrpc/rpc_main.c (mkfile_output): Free all allocated memory
575         [Coverity CID 122].
577         * sunrpc/rpc_main.c (h_output): Free guard after we are done
578         [Coverity CID 123].
580         * sunrpc/svc_udp.c (cache_set): Free victim if newbuf allocation
581         fails [Coverity CID 126].
583         * sunrpc/svc_udp.c (svcudp_enablecache): Free memory in error
584         cases [Coverity CID 127].
586         * nis/nis_table.c (__create_ib_request): Free ibreq in case strdup
587         fails [Coverity CID 128].
589         * nis/nis_getservlist.c (nis_getservlist): Free all memory in case
590         of an error [Coverity CID 130, 129].
592         * nis/nis_print_group_entry.c (nis_print_group_entry): If
593         nis_lookup call failed, return.  Free lookup result in error
594         cases [Coverity CID 131].
596         * nis/nis_removemember.c (nis_removemember): Free all memory in
597         error cases [Coverity CID 132].
599         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
600         Always free lookup result [Coverity CID 134].
602         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
603         Always free lookup result [Coverity CID 135].
605         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
606         Always free lookup result [Coverity CID 136].
608         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
609         Before retrying, free old result [Coverity CID 137].
611         * nis/nss_nisplus/nisplus-publickey.c (_nss_nisplus_netname2user):
612         Free res in case UID is zero [Coverity CID 138].
614         * nis/ypclnt.c (yp_update): Always free master string
615         [Coverity CID 140].
617         * nis/nis_creategroup.c (nis_creategroup): Free all memory in
618         error cases [Coverity CID 143, 142, 141].
620         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey): Free result
621         if yp_match call succeeded [Coverity CID 155].
623         * nis/nss_nis/nis-publickey.c (_nss_nis_getsecretkey): Free string
624         allocated in yp_match at all times [Coverity CID 157, 156].
626         * nscd/nscd.c (write_pid): Close stream also if writing failed
627         [Coverity CID 165].
629         * nis/nis_table.c (nis_add_entry): Move test for NULL parameter
630         ahead of first use [Coverity CID 167].
632         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Move test
633         for NULL parameter ahead of first use [Coverity CID 168].
635         * intl/finddomain.c (_nl_find_domain): We never return NULL if we
636         found the locale [Coverity CID 169].
638         * inet/getnameinfo.c (getnameinfo): __getservbyport_r does not set
639         herrno [Coverity CID 178].
641         * nis/nis_checkpoint.c (nis_checkpoint): Don't access and returned
642         freed object [Coverity CID 182].
644 2006-04-05  Alan Modra  <amodra@bigpond.net.au>
645             Jakub Jelinek  <jakub@redhat.com>
647         * posix/bits/unistd.h (readlink, __readlink_chk, __readlink_alias):
648         Change return value to ssize_t.
650 2006-04-04  Roland McGrath  <roland@redhat.com>
652         * string/Makefile (CFLAGS-inl-tester.c): New variable.
653         (CFLAGS-tst-inlcall.c): Likewise.
655         [BZ #2508]
656         * nscd/Makefile ($(objpfx)nscd_stat.o: sysincludes): Move setting
657         inside [$(have-selinux) = yes].
658         ($(objpfx)selinux.o: sysincludes): Likewise.
660         * iconvdata/Makefile (generate-8bit-table): Use LC_ALL=C.
661         (generate-8bit-gap-table): Likewise.
662         ($(objpfx)iso8859-7jp.stmp): Likewise.
663         Reported by S.Çağlar Onur <caglar@uludag.org.tr>.
665 2006-03-21  Joseph S. Myers  <joseph@codesourcery.com>
667         * soft-fp/adddf3.c: Add libgcc exception.  Update FSF address.
668         * soft-fp/addsf3.c: Likewise.
669         * soft-fp/addtf3.c: Likewise.
670         * soft-fp/divdf3.c: Likewise.
671         * soft-fp/divsf3.c: Likewise.
672         * soft-fp/divtf3.c: Likewise.
673         * soft-fp/double.h: Likewise.
674         * soft-fp/eqdf2.c: Likewise.
675         * soft-fp/eqsf2.c: Likewise.
676         * soft-fp/eqtf2.c: Likewise.
677         * soft-fp/extenddftf2.c: Likewise.
678         * soft-fp/extended.h: Likewise.
679         * soft-fp/extendsfdf2.c: Likewise.
680         * soft-fp/extendsftf2.c: Likewise.
681         * soft-fp/fixdfdi.c: Likewise.
682         * soft-fp/fixdfsi.c: Likewise.
683         * soft-fp/fixsfdi.c: Likewise.
684         * soft-fp/fixsfsi.c: Likewise.
685         * soft-fp/fixtfdi.c: Likewise.
686         * soft-fp/fixtfsi.c: Likewise.
687         * soft-fp/fixunsdfdi.c: Likewise.
688         * soft-fp/fixunsdfsi.c: Likewise.
689         * soft-fp/fixunssfdi.c: Likewise.
690         * soft-fp/fixunssfsi.c: Likewise.
691         * soft-fp/fixunstfdi.c: Likewise.
692         * soft-fp/fixunstfsi.c: Likewise.
693         * soft-fp/floatdidf.c: Likewise.
694         * soft-fp/floatdisf.c: Likewise.
695         * soft-fp/floatditf.c: Likewise.
696         * soft-fp/floatsidf.c: Likewise.
697         * soft-fp/floatsisf.c: Likewise.
698         * soft-fp/floatsitf.c: Likewise.
699         * soft-fp/floatundidf.c: Likewise.
700         * soft-fp/floatundisf.c: Likewise.
701         * soft-fp/floatunditf.c: Likewise.
702         * soft-fp/floatunsidf.c: Likewise.
703         * soft-fp/floatunsisf.c: Likewise.
704         * soft-fp/floatunsitf.c: Likewise.
705         * soft-fp/gedf2.c: Likewise.
706         * soft-fp/gesf2.c: Likewise.
707         * soft-fp/getf2.c: Likewise.
708         * soft-fp/ledf2.c: Likewise.
709         * soft-fp/lesf2.c: Likewise.
710         * soft-fp/letf2.c: Likewise.
711         * soft-fp/muldf3.c: Likewise.
712         * soft-fp/mulsf3.c: Likewise.
713         * soft-fp/multf3.c: Likewise.
714         * soft-fp/negdf2.c: Likewise.
715         * soft-fp/negsf2.c: Likewise.
716         * soft-fp/negtf2.c: Likewise.
717         * soft-fp/op-1.h: Likewise.
718         * soft-fp/op-2.h: Likewise.
719         * soft-fp/op-4.h: Likewise.
720         * soft-fp/op-8.h: Likewise.
721         * soft-fp/op-common.h: Likewise.
722         * soft-fp/quad.h: Likewise.
723         * soft-fp/single.h: Likewise.
724         * soft-fp/soft-fp.h: Likewise.
725         * soft-fp/sqrtdf2.c: Likewise.
726         * soft-fp/sqrtsf2.c: Likewise.
727         * soft-fp/sqrttf2.c: Likewise.
728         * soft-fp/subdf3.c: Likewise.
729         * soft-fp/subsf3.c: Likewise.
730         * soft-fp/subtf3.c: Likewise.
731         * soft-fp/truncdfsf2.c: Likewise.
732         * soft-fp/trunctfdf2.c: Likewise.
733         * soft-fp/trunctfsf2.c: Likewise.
734         * soft-fp/unorddf2.c: Likewise.
735         * soft-fp/unordsf2.c: Likewise.
736         * soft-fp/unordtf2.c: Likewise.
738 2006-04-03  Steven Munroe  <sjmunroe@us.ibm.com>
740         [BZ #2505]
741         * sysdeps/powerpc/powerpc32/bits/atomic.h [_ARCH_PWR4]:
742         Define atomic_read_barrier and __ARCH_REL_INSTR using lwsync.
744 2006-04-03  Andreas Schwab  <schwab@suse.de>
746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Terminate FDE
747         before syscall.
748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
750         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Test for <asm/elf.h>
751         with [! _ASM_POWERPC_ELF_H] as well as [!__PPC64_ELF_H].
753 2006-04-03  Roland McGrath  <roland@frob.com>
755         [BZ #2507]
756         * mach/Machrules (.udeps-targets): New variable.
757         ($(objpfx)%.udeps static pattern rule): Use it to avoid \ inside
758         quoted string.
760 2006-04-02  Ulrich Drepper  <drepper@redhat.com>
762         [BZ #2501]
763         * nscd/nscd_helper.c (get_mapping): Rewrite code to send request
764         so it uses send and not writev.
766         [BZ #2418]
767         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Use larger of PATH_MAX
768         and page size when allocating buffer.
770         * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Document
771         msg_controllen type issue.
772         (struct cmsghdr): Same for cmsg_len.
774 2006-04-01  Ulrich Drepper  <drepper@redhat.com>
776         [BZ #2415]
777         * elf/ldd.bash.in: Create better error messages for invalid input
778         files.
780         [BZ #2477]
781         * sysdeps/unix/sysv/linux/i386/sysdep.h: Create correct LOADARGS_*
782         macros for non-shared position-independent code.
784         [BZ #2472]
785         * bits/siginfo.h: Fix typo in ILL_ILLOPN definition.
787         [BZ #2450]
788         * posix/unistd.h: Match return value of readlink to what POSIX
789         says these days.
790         * io/readlink.c: Likewise.
791         * io/readlinkat.c: Likewise.
792         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
794         [BZ #2498]
795         * nscd/connections.c (main_loop_poll): If the connection cannot be
796         accepted because of user-imposed limits close the descriptor.
798 2006-03-31  Ulrich Drepper  <drepper@redhat.com>
800         * sysdeps/unix/sysv/linux/Versions: Export sync_file_range with
801         GLIBC_2.5.
802         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Remove
803         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
804         Declare sync_file_range and splice.
805         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
806         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
807         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
808         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
809         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
810         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
811         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
812         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Add
813         sync_file_range.
814         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: New file.
815         * sysdeps/unix/sysv/linux/syscalls.list: Add splice syscall.
816         * sysdeps/unix/sysv/linux/Versions: Export splice with GLIBC_2.5
817         version.
818         * Versions.def: Define GLIBC_2.5 for libc.
820 2006-03-29  Ulrich Drepper  <drepper@redhat.com>
822         * sysdeps/posix/getaddrinfo.c (gaih_inet): No need to duplicate
823         'name' for 'canon'.  The final allocation will happen later.
825 2006-03-27  Ulrich Drepper  <drepper@redhat.com>
827         * sysdeps/unix/sysv/linux/kernel-features.h: Remove support for
828         architectures which moved to ports.
830         * sysdeps/unix/sysv/linux/kernel-features.h: Add
831         __ASSUME_SET_ROBUST_LIST.
833 2006-03-27  Jakub Jelinek  <jakub@redhat.com>
835         * wcsmbs/wchar.h (btowc, wctob): Don't optimize in C++.
837 2006-03-24  David S. Miller  <davem@sunset.davemloft.net>
839         * sysdeps/sparc/sparc32/bits/atomic.h
840         (__v9_compare_and_exchange_val_32_acq): Add "memory" clobber.
841         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
842         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_acq):
843         Likewise.
844         * sysdeps/sparc/sparc64/bits/atomic.h
845         (__arch_compare_and_exchange_val_32_acq,
846         __arch_compare_and_exchange_val_64_acq, atomic_exchange_acq): Likewise.
848 2006-03-24  Jakub Jelinek  <jakub@redhat.com>
850         * nis/nss_nisplus/nisplus-proto.c (_nss_create_tablename): Check the
851         return value of malloc rather than the static var again.
852         * nis/nss_nisplus/nisplus-grp.c (_nss_create_tablename): Likewise.
853         * nis/nss_nisplus/nisplus-network.c (_nss_create_tablename): Likewise.
854         * nis/nss_nisplus/nisplus-ethers.c (_nss_create_tablename): Likewise.
855         * nis/nss_nisplus/nisplus-rpc.c (_nss_create_tablename): Likewise.
856         * nis/nss_nisplus/nisplus-service.c (_nss_create_tablename): Likewise.
857         * nis/nss_nisplus/nisplus-hosts.c (_nss_create_tablename): Likewise.
858         * nis/nss_nisplus/nisplus-alias.c (_nss_create_tablename): Likewise.
859         * nis/nss_nisplus/nisplus-pwd.c (_nss_pwd_create_tablename): Likewise.
861 2006-03-25  Ulrich Drepper  <drepper@redhat.com>
863         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Add POLLMSG,
864         POLLREMOVE, and POLLRDHUP.
865         * sysdeps/unix/sysv/linux/bits/poll.h: Add POLLREMOVE and POLLRDHUP.
867 2006-03-24  Ulrich Drepper  <drepper@redhat.com>
869         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define
870         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
871         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
872         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
873         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
874         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
875         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
876         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
877         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
879 2006-03-17  Roland McGrath  <roland@redhat.com>
881         * elf/rtld.c (dl_main): Run final self-relocation after setting up TLS.
882         From Alexandre Oliva <aoliva@redhat.com>.
884         * elf/tst-audit2.c: New file.
885         * elf/Makefile (tests): Add it.
886         ($(objpfx)tst-audit2.out): New target.
887         (tst-audit2-ENV): New variable.
889         * elf/tst-leaks1.c: Include <stdio.h>.
891 2006-03-16  Roland McGrath  <roland@redhat.com>
893         * sysdeps/unix/sysv/linux/alpha/getcontext.S (__getcontext_x):
894         Use .set noat to quiet assembler warning.
896         * math/gen-libm-test.pl (parse_args): Take function name for pretty
897         output as an argument.
898         (generate_testfile): Pass it the name given in the START macro.
900         [BZ #2466]
901         * math/libm-test.inc (llrint_test, llround_test): Fix last change to
902         protect large-precision cases with [LDBL_MANT_DIG > 100].
903         (llrint_test_tonearest, llrint_test_towardzero): Likewise.
904         (llrint_test_downward, llrint_test_upward): Likewise.
906 2006-03-15  Steven Munroe  <sjmunroe@us.ibm.com>
907             Alan Modra  <amodra@bigpond.net.au>
909         [BZ #2466]
910         * math/libm-test.inc (llrint_test, llround_test) [TEST_LDOUBLE]:
911         Add new test values.
912         (llrint_test_tonearest, llrint_test_towardzero, llrint_test_downward,
913         llrint_test_upward): New functions.
914         (main): Call them.
916         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Handle
917         rounding that spans doubles in IBM long double format.
918         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
919         * sysdeps/powerpc/powerpc64/fpu/s_llrintl.S: Removed.
920         * sysdeps/powerpc/powerpc64/fpu/s_llroundl.S: Removed.
921         * sysdeps/powerpc/powerpc64/fpu/s_lrintl.S: Removed.
922         * sysdeps/powerpc/powerpc64/fpu/s_lroundl.S: Removed.
924 2006-03-16  Roland McGrath  <roland@redhat.com>
926         * wcsmbs/wchar.h (__wcstol_internal, __wcstoul_internal): Declare these
927          only when we will use them, under [__OPTIMIZE__ && __GNUC__ >= 2].
928         (__wcstoll_internal, __wcstoull_internal_defined): Likewise.
930 2006-03-06  Steven Munroe  <sjmunroe@us.ibm.com>
932         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Add cfi_offset for spilling
933         of non-volatile floating-point registers to the stack (fp14-fp31).
934         * sysdeps/powerpc/powerpc32/gprsave0.S: Add cfi_offset for spilling of
935         non-volatile general-purpose registers to the stack (gpr13-gpr31).
936         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Add cfi_offset
937         for non-volatiles gpr30 - grp31 spilled to the stack.
938         * sysdeps/powerpc/powerpc64/memcpy.S: Add cfi_offset for non-volatile
939         gpr31 spill to the stack.
940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
941         Add cfi_offset for non-volatile gpr31 spill to the stack.
942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Add cfi_offset
943         for non-volatiles gpr28 - grp31 spilled to the stack.
944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Add
945         cfi_adjust_cfa_offset when a frame is stacked.
946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S:
947         (__novec_setcontext) : Add cfi_offset for non-volatile gpr31 spill
948         add LR saved to the stack.  Add cfi_adjust_cfa_offset when frame is
949         stacked.
950         (__setcontext) : Add cfi_offset for non-volatile gpr31 spill to
951         the stack.
952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
953         (__novec_swapcontext) : Add cfi_offset for non-volatile gpr31 spill
954         add LR saved to the stack.
955         (__swapcontext) : Add cfi_offset for non-volatile gpr31 spill add LR
956         saved to the stack.  Add cfi_adjust_cfa_offset when frame is stacked.
958 2006-03-07  Jakub Jelinek  <jakub@redhat.com>
960         [BZ #2423]
961         * math/libm-test.inc [TEST_LDOUBLE] (ceil_test, floor_test, rint_test,
962         round_test, trunc_test): Only run some of the new tests if
963         LDBL_MANT_DIG > 100.
965 2006-03-03  Steven Munroe  <sjmunroe@us.ibm.com>
966             Alan Modra  <amodra@bigpond.net.au>
968         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround, __fesetround):
969         Define inline implementations.
970         * sysdeps/powerpc/fpu/fegetround.c: Use __fegetround.
971         * sysdeps/powerpc/fpu/fesetround.c: Use __fesetround.
973         * sysdeps/powerpc/fpu/math_ldbl.h: New file.
975         [BZ #2423]
976         * math/libm-test.inc [TEST_LDOUBLE] (ceil_test, floor_test, rint_test,
977         round_test, trunc_test): Add new tests.
978         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
979         (EXTRACT_IBM_EXTENDED_MANTISSA, INSERT_IBM_EXTENDED_MANTISSA):
980         Removed, replaced with ...
981         (ldbl_extract_mantissa, ldbl_insert_mantissa, ldbl_pack, ldbl_unpack,
982         ldbl_canonicalise, ldbl_nearbyint): New functions.
983         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Replace
984         EXTRACT_IBM_EXTENDED_MANTISSA and INSERT_IBM_EXTENDED_MANTISSA
985         with ldbl_extract_mantissa and ldbl_insert_mantissa.
986         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
987         Replace EXTRACT_IBM_EXTENDED_MANTISSA with ldbl_extract_mantissa.
988         (ldbl_extract_mantissa, ldbl_insert_mantissa): New inline functions.
989         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Handle rounding
990         that spans doubles in IBM long double format.
991         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
992         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
993         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
994         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
995         * sysdeps/powerpc/powerpc64/fpu/s_rintl.S: File removed.
997 2004-12-09  Randolph Chung  <tausq@debian.org>
999         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Don't
1000         define for hppa, which doesn't support this syscall.
1002 2006-03-13  Jakub Jelinek  <jakub@redhat.com>
1004         [BZ #2451]
1005         * elf/dl-load.c (open_verify): Add free_name argument, if true, free
1006         name before calling lose.
1007         (open_path): Adjust caller.
1008         (_dl_map_object): Adjust callers.  Free name_copy before calling
1009         _dl_signal_error.
1010         * elf/Makefile: Add rules to build and run tst-leaks1.
1011         * elf/tst-leaks1.c: New test.
1013 2006-03-06  Roland McGrath  <roland@redhat.com>
1015         * version.h (VERSION): 2.4
1016         * README.template: Update for 2.4.
1017         * README: Regenerated.
1018         * manual/install.texi (Configuring and compiling): Separate build
1019         directory is mandatory.  Use glibc-2.4 in example.
1020         Update --enable-add-ons description.
1021         (Supported Configurations): Remove section.
1022         * INSTALL: Regenerated.
1024         * sysdeps/unix/sysv/linux/x86_64/sysconf.c
1025         (handle_intel, handle_amd): Add __attribute__ ((noinline)).
1026         * sysdeps/unix/sysv/linux/i386/sysconf.c
1027         (handle_i486, handle_intel, handle_amd): Likewise.
1029         * sysdeps/unix/sysv/linux/i386/sysconf.c (__sysconf): Don't handle
1030         _SC_CPUTIME and _SC_THREAD_CPUTIME here.
1031         * sysdeps/unix/sysv/linux/x86_64/sysconf.c (__sysconf): Likewise.
1033 2006-03-05  Roland McGrath  <roland@redhat.com>
1035         * malloc/malloc.c (MALLOC_ALIGNMENT): Revert to (2 * SIZE_SZ) value.
1036         The correct value differs only on powerpc32, and for now changing it
1037         there is causing more trouble than it's worth.
1039         * malloc/arena.c: Add compile-time sanity check on padding calculation.
1041 2006-03-05  Jakub Jelinek  <jakub@redhat.com>
1043         * malloc/arena.c (heap_info): Adjust the padding size if
1044         MALLOC_ALIGNMENT > 2 * SIZE_SZ.
1046 2006-03-05  Roland McGrath  <roland@frob.com>
1048         * sysdeps/mach/hurd/faccessat.c: New file.
1049         * sysdeps/mach/hurd/fchmodat.c: New file.
1050         * sysdeps/mach/hurd/fchownat.c: New file.
1051         * sysdeps/mach/hurd/fxstatat.c: New file.
1052         * sysdeps/mach/hurd/fxstatat64.c: New file.
1053         * sysdeps/mach/hurd/linkat.c: New file.
1054         * sysdeps/mach/hurd/mkdirat.c: New file.
1055         * sysdeps/mach/hurd/openat.c: New file.
1056         * sysdeps/mach/hurd/openat64.c: New file.
1057         * sysdeps/mach/hurd/symlinkat.c: New file.
1058         * sysdeps/mach/hurd/unlinkat.c: New file.
1059         * sysdeps/mach/hurd/xmknod.c (__xmknod): Just call __xmknodat.
1060         Guts move to ...
1061         * sysdeps/mach/hurd/xmknodat.c: ... here, new file.
1063         * hurd/lookup-at.c: New file.
1064         * hurd/Makefile (routines): Add it.
1065         * hurd/hurd/fd.h: Declare __file_name_lookup_at,
1066         __file_name_split_at and __directory_name_split_at.
1068         * hurd/hurd/lookup.h: Declare {,__}hurd_directory_name_split.
1070         * hurd/hurdlookup.c (__hurd_directory_name_split): Use __memrchr
1071         unconditionally.
1073         * sysdeps/mach/hurd/open.c: Define {,__,__libc_,}open64 as aliases.
1074         * sysdeps/mach/hurd/open64.c: New file.
1076         * sysdeps/posix/sysconf.c (__sysconf): Use #if _POSIX_FOO > 0
1077         rather than #ifdef _POSIX_FOO for options.  We should return -1
1078         at runtime for an option defined to 0 at compile time.
1080         * sysdeps/mach/hurd/bits/posix_opt.h: Define many missing options,
1081         many to -1 or 0.
1083 2006-03-05  Roland McGrath  <roland@redhat.com>
1085         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1086         [__NR_clock_getres || HP_TIMING_AVAIL]: Handle _SC_CPUTIME,
1087         _SC_THREAD_CPUTIME.
1089 2006-03-05  David S. Miller  <davem@sunset.davemloft.net>
1091         * sysdeps/sparc/sparc32/dl-trampoline.S: Add CFI markings.
1092         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1093         * sysdeps/sparc/sparc64/dl-trampoline.S: Likewise.
1094         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1095         * sysdeps/sparc/sparc32/memchr.S: Rearrange code to reside
1096         within ENTRY/END.
1097         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1098         * sysdeps/sparc/sparc32/stpcpy.S: Likewise.
1099         * sysdeps/sparc/sparc32/strcat.S: Likewise.
1100         * sysdeps/sparc/sparc32/strchr.S: Likewise.
1101         * sysdeps/sparc/sparc32/strcmp.S: Likewise.
1102         * sysdeps/sparc/sparc32/strcpy.S: Likewise.
1103         * sysdeps/sparc/sparc32/strlen.S: Likewise.
1104         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1105         * sysdeps/sparc/sparc64/sparcv9v/memset.S: Likewise.
1106         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Add CFI markings
1107         and use __syscall_error.
1108         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1109         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1110         * sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S: Use __syscall_error.
1111         * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
1112         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
1113         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
1114         * sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S: Likewise.
1115         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
1116         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Rewrite to use
1117         CFI markings and __syscall_error.
1118         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1119         * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S: Rearrange
1120         code to reside within ENTRY/END.
1121         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
1122         * sysdeps/unix/sysv/linux/sparc/sysdep.c: New file.
1123         * sysdeps/unix/sysv/linux/sparc/sysdep.S: File removed.
1124         * sysdeps/unix/sysv/linux/sparc/rt-sysdep.c: New file.
1125         * sysdeps/unix/sysv/linux/sparc/Makefile (librt-routines): Add it.
1127         * shlib-versions: Use sparc64.*- for CPU patterns.
1129 2006-03-05  Roland McGrath  <roland@frob.com>
1131         * bits/resource.h (RLIMIT_SBSIZE, RLIMIT_AS, RLIMIT_VMEM): Define.
1133         * sysdeps/mach/hurd/fdopendir.c (__fdopendir): Use O_DIRECTORY
1134         to force directory check.
1135         * sysdeps/mach/hurd/opendir.c (__opendir): Likewise.
1137 2006-03-04  Roland McGrath  <roland@frob.com>
1139         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Make sure high bits
1140         of SEL are clear after copying %gs to low bits.
1141         (_hurd_tls_fork): Likewise.
1143 2006-03-03  Roland McGrath  <roland@redhat.com>
1145         [BZ #2414]
1146         * stdlib/tst-setcontext.c (f1): Take arguments of type int.
1148 2006-03-02  Roland McGrath  <roland@redhat.com>
1150         * sysdeps/unix/alpha/sysdep.h (PTR_MANGLE): Use __typeof in cast.
1152 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
1154         * sysdeps/unix/sysv/linux/configure.in: Remove MIPS cases.  Allow
1155         libc_cv_slibdir et al. to be overridden.
1156         * sysdeps/unix/sysv/linux/configure: Regenerated.
1158 2005-12-27  Jakub Jelinek  <jakub@redhat.com>
1160         * elf/ldconfig.c (search_dir): Skip prelink temporaries.
1162 2006-03-02  H.J. Lu  <hongjiu.lu@intel.com>
1164         * elf/check-textrel.c: Don't include "config.h".
1166 2006-03-02  Jakub Jelinek  <jakub@redhat.com>
1168         * io/ftw.c (process_entry): If dir->streamfd != -1,
1169         use FXSTATAT rather than LXSTAT to find if unstatable
1170         file is a dead symlink.
1172         * elf/check-textrel.c: Include config.h.
1173         (AB(handle_file)): Don't fail if PF_X | PF_W on architectures known
1174         to have executable writable PLT.
1175         * sysdeps/powerpc/powerpc32/configure.in (HAVE_PPC_SECURE_PLT): New
1176         test.
1177         * config.h.in (HAVE_PPC_SECURE_PLT): Add.
1179         * malloc/malloc.c (MALLOC_ALIGNMENT): Set to __alignof__ (long double)
1180         if long double is more aligned than 2 * SIZE_SZ.
1181         (misaligned_chunk): Define.
1182         (public_rEALLOc, _int_free, _int_realloc): Use it.
1184 2006-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1186         [BZ #2013]
1187         * sysdeps/ia64/memccpy.S: Properly handle recovery for
1188         predicated speculative load.
1190 2006-03-01  Jakub Jelinek  <jakub@redhat.com>
1192         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
1194         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat64): Use
1195         libc_hidden_ver rather than libc_hidden_def.
1197         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
1198         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept):
1199         Use inline asm to make sure the compiler doesn't optimize insns out.
1201         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1202         (DECLARGS_6): Fix a typo.
1204 2006-03-01  Roland McGrath  <roland@redhat.com>
1206         * version.h (VERSION): 2.3.91
1208         * Makeconfig (sysdeps-srcdirs): New variable.
1209         (sysdeps-add-ons-srcdirs): Use it.
1210         * csu/Makefile (all-Banner-files): Use it.
1212         * Makefile (dist-selector): New variable.
1213         (glibc-%.tar rule): Use it.  Make $(dist-separate) tarballs
1214         contain one version-named directory.
1216         * Makefile (format-me): Use  --plaintext --no-number-sections.
1218         * NOTES, INSTALL: Regenerated.
1220         * NEWS: Update 2.4 items.
1222 2006-03-01  David S. Miller  <davem@sunset.davemloft.net>
1224         * configure.in (machine): Match sparcv9v and sparc64v.
1225         * configure: Regenerated.
1226         * sysdeps/sparc/sparc32/sparcv9v/memcpy.S: New file.
1227         * sysdeps/sparc/sparc32/sparcv9v/memset.S: New file.
1228         * sysdeps/sparc/sparc64/sparcv9v/memcpy.S: New file.
1229         * sysdeps/sparc/sparc64/sparcv9v/memset.S: New file.
1231 2006-03-01  Roland McGrath  <roland@frob.com>
1233         * sysdeps/mach/hurd/Subdirs: Use "first hurd".
1235 2006-02-28  Roland McGrath  <roland@redhat.com>
1237         * sysdeps/rs6000: Directory removed, saved in ports repository.
1239 2006-03-01  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1241         * sysdeps/unix/sysv/linux/sh/pread.c: Copy in mips pread.c.
1242         * sysdeps/unix/sysv/linux/sh/pwrite.c: Copy in mips pwrite.c.
1243         * sysdeps/unix/sysv/linux/sh/pread64.c: Copy in mips pread64.c.
1244         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Copy in mips pwrite64.c.
1246 2006-02-28  Roland McGrath  <roland@redhat.com>
1248         * elf/tst-tls-dlinfo.c: New file.
1249         * elf/Makefile (tests): Add it.
1250         ($(objpfx)tst-tls-dlinfo): Depend on $(libdl).
1251         ($(objpfx)tst-tls-dlinfo.out): Depend on $(objpfx)tst-tlsmod2.so.
1253         * dlfcn/dlfcn.h (RTLD_DI_PROFILENAME, RTLD_DI_PROFILEOUT): New enum
1254         values, reserve unsupported requested names used on Solaris.
1255         (RTLD_DI_TLS_MODID, RTLD_DI_TLS_DATA): New enum values.
1256         (RTLD_DI_MAX): Likewise.
1257         * dlfcn/dlinfo.c (dlinfo_doit): Handle RTLD_DI_TLS_MODID and
1258         RTLD_DI_TLS_DATA.
1260         * elf/dl-tls.c (_dl_tls_get_addr_soft): New function.
1261         * sysdeps/generic/ldsodefs.h: Declare it.
1262         * elf/Versions (ld: GLIBC_PRIVATE): Add it.
1263         * elf/link.h (struct dl_phdr_info): New members dlpi_tls_modid,
1264         dlpi_tls_data.
1265         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill them in.
1267         * include/link.h: Don't copy contents from elf/link.h.
1268         Instead, #include it while #define'ing around link_map.
1269         * elf/dl-debug.c (_dl_debug_initialize): Add a cast.
1270         Add bogus extern decl to verify link_map members.
1271         * elf/loadtest.c (MAPS): New macro, cast _r_debug._r_map.
1272         (OUT, main): Use it in place of _r_debug._r_map.
1273         * elf/unload.c: Likewise.
1274         * elf/unload2.c: Likewise.
1275         * elf/neededtest.c (check_loaded_objects): Likewise.
1276         * elf/neededtest2.c (check_loaded_objects): Likewise.
1277         * elf/neededtest3.c (check_loaded_objects): Likewise.
1278         * elf/neededtest4.c (check_loaded_objects): Likewise.
1279         * elf/circleload1.c (check_loaded_objects): Likewise.
1281         * nscd/nscd_helper.c: Include <time.h> for `time' declaration.
1283         * include/fcntl.h: Declare __openat, __open64.  Use libc_hidden_proto.
1284         * io/openat.c (__openat): Define instead of openat.
1285         Use libc_hidden_def.  Define openat with weak_alias.
1286         * io/openat64.c (__openat64): Define instead of openat64.
1287         Use libc_hidden_def.  Define openat64 with weak_alias.
1288         * sysdeps/unix/sysv/linux/openat.c: Likewise.
1290         * libio/genops.c: Include <sched.h> for __sched_yield decl.
1292         * Makeconfig (+includes): Add back $(includes)
1293         after $(+sysdep-includes).
1295         * Makerules ($(common-objpfx)%.make): Use -DASSEMBLER.
1297 2006-02-28  Jakub Jelinek  <jakub@redhat.com>
1299         * posix/sys/types.h [!__GNUC_PREREQ (2, 7)] (int64_t, u_int64_t):
1300         typedef to long int resp. unsigned long int on 64-bit arches.
1302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Include x86_64
1303         umount.c rather than hppa umount.c.
1304         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Include sh chown.c
1305         rather than m68k chown.c.
1306         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include sh
1307         fchownat.c rather than m68k fchownat.c.
1308         * sysdeps/unix/sysv/linux/sh/chown.c: Copy over from m68k chown.c.
1309         * sysdeps/unix/sysv/linux/sh/fchownat.c: Copy over from m68k
1310         fchownat.c.
1311         * sysdeps/unix/sysv/linux/x86_64/brk.c: Copy over from hppa brk.c.
1312         * sysdeps/unix/sysv/linux/x86_64/umount.c: Copy over from hppa
1313         umount.c.
1315 2006-02-28  Roland McGrath  <roland@redhat.com>
1317         * sysdeps/hppa: Directory removed, saved in ports repository.
1318         * sysdeps/mach/hppa: Likewise.
1319         * sysdeps/mach/hurd/hppa: Likewise.
1320         * sysdeps/unix/sysv/linux/hppa: Likewise.
1321         * configure.in (machine): Remove hppa* cases.
1322         * configure: Regenerated.
1323         * shlib-versions: Remove hppa cases.
1325         * sysdeps/m68k: Directory removed, saved in ports repository.
1326         * sysdeps/unix/bsd/m68k: Likewise.
1327         * sysdeps/unix/sysv/linux/m68k: Likewise.
1328         * configure.in (machine): Remove m68* cases.
1329         * configure: Regenerated.
1331         * elf/rtld-Rules (subdir-args): New variable.
1332         (rtld-subdir-make): Use it.
1334 2006-02-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1336         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1337         (DO_CALL): Add support for 6 system call parameters.
1338         (DECLARGS_6, ASMFMT_6): Define.
1339         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1341 2006-02-28  Roland McGrath  <roland@redhat.com>
1343         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Copy in i386/bits/fcntl.h.
1345 2006-02-27  Roland McGrath  <roland@redhat.com>
1347         * scripts/config.guess: Update from master, timestamp='2006-02-27'.
1348         * scripts/config.sub: Update from master, timestamp='2006-02-27'.
1350         * Makefile (subdir-target-args): New variable.
1351         ($(all-subdirs-targets)): Use it in place of -C option.
1352         * Rules: Use $(..) instead of ../ if it's already defined.
1353         * Makeconfig (subdir-srcdirs): New variable.
1354         * csu/Makefile (all-Banner-files): Use it.
1356         * configure.in (--enable-add-ons): Set to "yes" by default.
1357         Handle absolute add-on directory names when looking for configure
1358         fragments.  Also look for sysdeps/*/preconfigure fragments in add-ons.
1359         Require add-on configure to set $libc_add_on_canonical, use
1360         that in $add_ons_sfx.  Substitute add_on_subdirs with computed list
1361         of subdir names each add-on configure set in libc_add_on_subdirs.
1362         * configure: Regenerated.
1363         * Makefile (%/preconfigure: %/preconfigure.in): New pattern rule.
1364         * config.make.in (add-on-subdirs): New substituted variable.
1365         * Makeconfig (all-subdirs): Include $(add-on-subdirs).
1366         Remove $(add-ons), $(sysdep-subdirs).
1367         Don't filter out $(sysdep-inhibit-subdirs).
1368         ($(common-objpfx)sysd-dirs): Target removed.  Don't include it.
1369         ($(common-objpfx)sysd-sorted): Rewritten to feed Depend and Subdirs
1370         files together to gen-sorted.awk, and $(subdirs) via -v.
1371         (subdirs): Remove magic reordering for mach and hurd.
1372         * scripts/gen-sorted.awk: Use subdirs from command line.
1373         Process Subdirs and Depend files directly.
1374         Let Subdirs files use "first dir" and "inhibit dir".
1375         Always move elf to the end of the list.
1376         * hurd/Depend: New file.
1377         * sysdeps/mach/Subdirs: Use "first mach".
1379         * Makefile (dist-separate): Remove linuxthreads.
1380         (dist-separate-linuxthreads): Variable removed.
1381         (glibc-%.tar rule): Use $(sysdeps-add-ons).
1383         * Makerules ($(common-objpfx)Versions.v.i): Use $(subdirs),
1384         not $(all-subdirs).
1385         (sysdep-makefiles): Use $(sysdirs).
1386         (sysdirs): Remove export.
1387         ($(+sysdir_pfx)sysd-rules): Handle absolute directory names in
1388         $(config-sysdirs).
1389         (+sysdir_pfx): Variable removed.
1390         (sysd-rules): Use $(common-objpfx) in place of it.
1391         (sysdirs): Variable moved to ...
1392         * Makeconfig (sysdirs): ... here.
1393         Handle absolute directory names in $(config-sysdirs).
1394         (full_config_sysdirs): Variable removed.
1395         * csu/Makefile: Use $(sysdirs) in vpath directive.
1396         * math/Makefile (ulps-file): Use $(sysdirs).
1397         * sysdeps/gnu/Makefile (errlist-c): Likewise.
1398         ($(objpfx)errlist-compat.c): Likewise.
1399         * Makeconfig (all-Subdirs-files): Likewise.
1400         ($(common-objpfx)config.status): Likewise.
1402         * configure.in (sysnames): Handle absolute add-on directory names.
1403         (sysdeps_add_ons): New variable, AC_SUBST it.
1404         Compute which add-ons contributed sysdeps directories.
1405         * configure: Regenerated.
1406         * config.make.in (sysdeps-add-ons): New substituted variable.
1407         * Makerules (+sysdep_dirs, +sysdep-includes): Variables moved ...
1408         * Makeconfig: ... to here.
1409         (+sysdep_dirs): Append $(sysdeps-add-ons) here.
1410         (+includes): Remove $(objpfx) include, already in $(+sysdep_dirs).
1411         Remove $(includes).
1412         (sysdep-makeconfigs): Use $(+sysdep_dirs).
1413         ($(common-objpfx)shlib-versions.v.i): Likewise.
1415         * Makeconfig: Remove hair to set Makeconfig-add-on.
1417         * sysdeps/unix/Makefile (sysdirs): Remove export.
1418         (asm_CPP): Variable removed.
1419         ($(common-objpfx)sysd-syscalls): Pass them directly for the script.
1421         * sysdeps/posix/Makefile: New file.
1422         * Makerules (L_tmpnam, TMP_MAX, L_ctermid, L_cuserid): Set non-posix
1423         values here with ?=.
1425         * stdlib/gen-mpn-copy: File removed.
1426         * stdlib/Makefile (distribute): Remove it.
1427         * configure.in: Don't grok --with-gmp.
1428         * configure: Regenerated.
1430         * configure.in (libc_cv_idn): Don't check it; libidn/configure does it.
1431         * configure: Regenerated.
1433 2006-02-27  Ulrich Drepper  <drepper@redhat.com>
1435         * sysdeps/unix/sysv/linux/linkat.c (linkat): Allow flags to be set
1436         when syscall is used.
1437         * io/fcntl.h (AT_SYMLINK_FOLLOW): Define.
1439 2006-02-26  Roland McGrath  <roland@redhat.com>
1441         * bare: Directory removed, saved in ports repository.
1443         * sysdeps/unix/common/Makefile: File removed.
1444         * sysdeps/unix/common/glue-ctype.c: File removed.
1445         * sysdeps/unix/common/configure.in: File removed.
1446         * sysdeps/unix/common/configure: File removed.
1448         * sysdeps/unix/configure.in: File removed.
1449         * sysdeps/unix/configure: File removed.
1450         * sysdeps/unix/make_errlist.c: File removed.
1451         * sysdeps/unix/Makefile ($(objpfx)errlist.c, $(objpfx)make_errlist):
1452         Rules removed.
1454         * timezone/africa: Update from tzdata2006b (comment changes only).
1455         * timezone/antarctica: Likewise.
1456         * timezone/asia: Likewise.
1457         * timezone/australasia: Likewise.
1458         * timezone/backward: Likewise.
1459         * timezone/etcetera: Likewise.
1460         * timezone/europe: Likewise.
1461         * timezone/factory: Likewise.
1462         * timezone/iso3166.tab: Likewise.
1463         * timezone/leapseconds: Likewise.
1464         * timezone/northamerica: Likewise.
1465         * timezone/pacificnew: Likewise.
1466         * timezone/solar87: Likewise.
1467         * timezone/solar88: Likewise.
1468         * timezone/solar89: Likewise.
1469         * timezone/southamerica: Likewise.
1470         * timezone/systemv: Likewise.
1471         * timezone/zone.tab: Likewise.
1473 2006-02-26  Ulrich Drepper  <drepper@redhat.com>
1475         * posix/unistd.h: Add fifth parameter to linkat.
1476         * io/linkat.c: Likewise.
1477         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1478         * io/tst-linkat.c (do_test): Pass new parameter to linkat.
1480         * elf/do-lookup.h (do_lookup_x): No need to compare SKIP to NULL
1481         before comparison with MAP.
1483         * elf/dl-sym.c (do_sym): For RTLD_NEXT, pass MATCH to
1484         dl_lookup_symbol_x instead of L.
1486 2006-02-24  Mike Frysinger  <vapier@gentoo.org>
1488         * sysdeps/gnu/net/if.h (IFF_DYNAMIC): New macro.
1490 2006-02-24  David S. Miller  <davem@sunset.davemloft.net>
1492         * configure.in: Use sparc/sparc32/sparcv9/sparcv9b in place
1493         of sparc/sparc32/sparcv9b.
1494         * sysdeps/sparc/sparc32/sparcv9b/Implies: File removed.
1495         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: File removed.
1497 2006-02-24  Roland McGrath  <roland@redhat.com>
1499         * elf/elf.h (HWCAP_SPARC_BLKINIT): New macro.
1500         * sysdeps/sparc/dl-procinfo.h (HWCAP_IMPORTANT): Add it.
1501         (_DL_HWCAP_COUNT): Increase to 7.
1502         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add "v9v".
1503         From David S. Miller <davem@sunset.davemloft.net>.
1505         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.c: Moved to ...
1506         * sysdeps/sparc/dl-procinfo.c: ... here, new file.
1507         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Moved to ...
1508         * sysdeps/sparc/dl-procinfo.h: ... here, new file.
1509         (HWCAP_IMPORTANT): Include HWCAP_SPARC_V9 when [__WORDSIZE != 64].
1510         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.c: File removed.
1511         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: File removed.
1513         * elf/sofini.c (__FRAME_END__): Mark as const.
1514         * elf/soinit.c (__EH_FRAME_BEGIN__): Likewise.  Add used attribute.
1516 2006-02-18  Joseph S. Myers  <joseph@codesourcery.com>
1518         * soft-fp/single.h (SFtype): Define.
1519         (union _FP_UNION_S): Use it.
1520         * soft-fp/double.h (DFtype): Define.
1521         (union _FP_UNION_D): Use it.
1522         * soft-fp/extended.h (XFtype): Define.
1523         (union _FP_UNION_E): Use it.
1524         * soft-fp/quad.h (TFtype): Define.
1525         (union _FP_UNION_Q): Use it.
1526         * soft-fp/soft-fp.h: Add _LIBC conditionals.
1527         (SI_BITS, DI_BITS): Define.
1528         * soft-fp/op-common.h (_FP_DECL): Add __attribute__((unused)) for
1529         X##_c.
1530         (_FP_CMP_EQ): Use parentheses for && inside ||.
1531         (_FP_TO_INT): Use statement expressions in conditional controlling
1532         constant shift.
1533         (_FP_FROM_INT): Likewise.  Take unsigned type as argument.
1534         * soft-fp/op-2.h (_FP_FRAC_SLL_2, _FP_FRAC_SRL_2, _FP_FRAC_SRST_2,
1535         _FP_FRAC_SRS_2, _FP_FRAC_ASSEMBLE_2): Use statement expressions in
1536         conditional controlling possibly constant shift.
1537         (_FP_FRAC_SRST_2, _FP_FRAC_SRS_2): Avoid left shift by exactly
1538         _FP_W_TYPE_SIZE.
1539         (_FP_FRAC_GT_2, _FP_FRAC_GE_2): Use parentheses for && inside ||.
1540         * soft-fp/op-4.h (_FP_FRAC_SRST_4): Avoid left shift by exactly
1541         _FP_W_TYPE_SIZE.
1542         (__FP_FRAC_ADD_3, __FP_FRAC_ADD_4, __FP_FRAC_SUB_3,
1543         __FP_FRAC_SUB_4): Use _FP_W_TYPE for carry flags.
1544         * soft-fp/op-8.h (_FP_FRAC_SRS_8): Avoid left shift by exactly
1545         _FP_W_TYPE_SIZE.
1546         * soft-fp/floatdidf.c: Pass unsigned type and macro for type size.
1547         * soft-fp/floatdisf.c: Likewise.
1548         * soft-fp/floatditf.c: Likewise.
1549         * soft-fp/floatsidf.c: Likewise.
1550         * soft-fp/floatsisf.c: Likewise.
1551         * soft-fp/floatsitf.c: Likewise.
1552         * soft-fp/floatundidf.c: Likewise.
1553         * soft-fp/floatundisf.c: Likewise.
1554         * soft-fp/floatunditf.c: Likewise.
1555         * soft-fp/floatunsidf.c: Likewise.
1556         * soft-fp/floatunsisf.c: Likewise.
1557         * soft-fp/floatunsitf.c: Likewise.
1558         * soft-fp/fixdfdi.c: Pass macro for type size.
1559         * soft-fp/fixdfsi.c: Likewise.
1560         * soft-fp/fixsfdi.c: Likewise.
1561         * soft-fp/fixsfsi.c: Likewise.
1562         * soft-fp/fixtfdi.c: Likewise.
1563         * soft-fp/fixtfsi.c: Likewise.
1564         * soft-fp/fixunsdfdi.c: Likewise.
1565         * soft-fp/fixunsdfsi.c: Likewise.
1566         * soft-fp/fixunssfdi.c: Likewise.
1567         * soft-fp/fixunssfsi.c: Likewise.
1568         * soft-fp/fixunstfdi.c: Likewise.
1569         * soft-fp/fixunstfsi.c: Likewise.
1570         * sysdeps/alpha/soft-fp/ots_cvtqux.c: Pass unsigned type.
1571         * sysdeps/alpha/soft-fp/ots_cvtqx.c: Likewise.
1572         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1573         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1574         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1575         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1576         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Likewise.
1577         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Likewise.
1578         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Likewise.
1579         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Likewise.
1580         * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Likewise.
1581         * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Likewise.
1582         * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Likewise.
1583         * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Likewise.
1584         * soft-fp/adddf3.c: Use typedefs for argument and return types.
1585         * soft-fp/addsf3.c: Likewise.
1586         * soft-fp/addtf3.c: Likewise.
1587         * soft-fp/divdf3.c: Likewise.
1588         * soft-fp/divsf3.c: Likewise.
1589         * soft-fp/divtf3.c: Likewise.
1590         * soft-fp/eqdf2.c: Likewise.
1591         * soft-fp/eqsf2.c: Likewise.
1592         * soft-fp/eqtf2.c: Likewise.
1593         * soft-fp/extenddftf2.c: Likewise.
1594         * soft-fp/extendsfdf2.c: Likewise.
1595         * soft-fp/extendsftf2.c: Likewise.
1596         * soft-fp/fixdfdi.c: Likewise.
1597         * soft-fp/fixdfsi.c: Likewise.
1598         * soft-fp/fixsfdi.c: Likewise.
1599         * soft-fp/fixsfsi.c: Likewise.
1600         * soft-fp/fixtfdi.c: Likewise.
1601         * soft-fp/fixtfsi.c: Likewise.
1602         * soft-fp/fixunsdfdi.c: Likewise.
1603         * soft-fp/fixunsdfsi.c: Likewise.
1604         * soft-fp/fixunssfdi.c: Likewise.
1605         * soft-fp/fixunssfsi.c: Likewise.
1606         * soft-fp/fixunstfdi.c: Likewise.
1607         * soft-fp/fixunstfsi.c: Likewise.
1608         * soft-fp/floatdidf.c: Likewise.
1609         * soft-fp/floatdisf.c: Likewise.
1610         * soft-fp/floatditf.c: Likewise.
1611         * soft-fp/floatsidf.c: Likewise.
1612         * soft-fp/floatsisf.c: Likewise.
1613         * soft-fp/floatsitf.c: Likewise.
1614         * soft-fp/floatundidf.c: Likewise.
1615         * soft-fp/floatundisf.c: Likewise.
1616         * soft-fp/floatunditf.c: Likewise.
1617         * soft-fp/floatunsidf.c: Likewise.
1618         * soft-fp/floatunsisf.c: Likewise.
1619         * soft-fp/floatunsitf.c: Likewise.
1620         * soft-fp/gedf2.c: Likewise.
1621         * soft-fp/gesf2.c: Likewise.
1622         * soft-fp/getf2.c: Likewise.
1623         * soft-fp/ledf2.c: Likewise.
1624         * soft-fp/lesf2.c: Likewise.
1625         * soft-fp/letf2.c: Likewise.
1626         * soft-fp/muldf3.c: Likewise.
1627         * soft-fp/mulsf3.c: Likewise.
1628         * soft-fp/multf3.c: Likewise.
1629         * soft-fp/negdf2.c: Likewise.
1630         * soft-fp/negsf2.c: Likewise.
1631         * soft-fp/negtf2.c: Likewise.
1632         * soft-fp/sqrtdf2.c: Likewise.
1633         * soft-fp/sqrtsf2.c: Likewise.
1634         * soft-fp/sqrttf2.c: Likewise.
1635         * soft-fp/subdf3.c: Likewise.
1636         * soft-fp/subsf3.c: Likewise.
1637         * soft-fp/subtf3.c: Likewise.
1638         * soft-fp/truncdfsf2.c: Likewise.
1639         * soft-fp/trunctfdf2.c: Likewise.
1640         * soft-fp/trunctfsf2.c: Likewise.
1641         * soft-fp/unorddf2.c: Likewise.
1642         * soft-fp/unordsf2.c: Likewise.
1643         * soft-fp/unordtf2.c: Likewise.
1645 2006-02-09  Joseph S. Myers  <joseph@codesourcery.com>
1647         * soft-fp/op-common.h (_FP_UNPACK_SEMIRAW): Define.
1648         (_FP_OVERFLOW_SEMIRAW): Likewise.
1649         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1650         (_FP_CHOOSENAN_SEMIRAW): Likewise.
1651         (_FP_EXP_NORMAL): Likewise.
1652         (_FP_PACK_SEMIRAW): Likewise.
1653         (_FP_ADD_INTERNAL): Rewrite to operate on semi-raw value.
1654         (_FP_SUB): Likewise.
1655         (_FP_TO_INT): Rewrite to operate on raw values.  Don't set INVALID
1656         exception for conversions where most negative representable
1657         integer is correct truncated value, but do set INEXACT for such
1658         conversions where appropriate.  Don't always left-shift for
1659         converting to a wider integer.
1660         (_FP_FROM_INT): Rewrite to yield raw value.  Correct shift for
1661         integers with one more bits than (mantissa + guard) bits for the
1662         floating point format.  Don't use __FP_FRAC_SRS_1 for shifting
1663         integers that may be wider than _FP_W_TYPE_SIZE.
1664         (FP_CONV): Don't define.
1665         (FP_EXTEND): Define.
1666         (FP_TRUNC): Likewise.
1667         * soft-fp/op-1.h (_FP_FRAC_SRST_1, __FP_FRAC_SRST_1): Define.
1668         (_FP_FRAC_CONV_1_1): Don't define.
1669         (_FP_FRAC_COPY_1_1): Define.
1670         * soft-fp/op-2.h (_FP_FRAC_SRST_2): Define.
1671         (_FP_FRAC_CONV_1_2, _FP_FRAC_CONV_2_1): Don't define.
1672         (_FP_FRAC_COPY_1_2, _FP_FRAC_COPY_2_1): Define.
1673         * soft-fp/op-4.h (_FP_FRAC_SRST_4): Define.
1674         (_FP_FRAC_SRS_4): Define based on _FP_FRAC_SRST_4.
1675         (_FP_FRAC_CONV_1_4, _FP_FRAC_CONV_2_4): Don't define.
1676         (_FP_FRAC_COPY_1_4, _FP_FRAC_COPY_2_4): Define.
1677         (_FP_FRAC_CONV_4_1, _FP_FRAC_CONV_4_2): Don't define.
1678         (_FP_FRAC_COPY_4_1, _FP_FRAC_COPY_4_2): Define.
1679         * soft-fp/single.h (_FP_FRACTBITS_S): Define.
1680         (_FP_FRACXBITS_S): Define in terms of _FP_FRACXBITS_S.
1681         (_FP_WFRACXBITS_S): Likewise.
1682         (_FP_QNANBIT_SH_S, _FP_IMPLBIT_SH_S): Define.
1683         (FP_UNPACK_SEMIRAW_S, FP_UNPACK_SEMIRAW_SP): Define.
1684         (FP_PACK_SEMIRAW_S, FP_PACK_SEMIRAW_SP): Define.
1685         * soft-fp/double.h (_FP_QNANBIT_SH_D, _FP_IMPLBIT_SH_D): Define.
1686         (FP_UNPACK_SEMIRAW_D, FP_UNPACK_SEMIRAW_D): Define
1687         (FP_PACK_SEMIRAW_D, FP_PACK_SEMIRAW_DP): Define.
1688         * soft-fp/extended.h (_FP_QNANBIT_SH_E, _FP_IMPLBIT_SH_E): Define.
1689         (FP_UNPACK_EP): Correct typo.
1690         (FP_UNPACK_SEMIRAW_E, FP_UNPACK_SEMIRAW_EP): Define.
1691         (FP_PACK_SEMIRAW_E, FP_PACK_SEMIRAW_EP): Define.
1692         * soft-fp/quad.h (_FP_QNANBIT_SH_Q, _FP_IMPLBIT_SH_Q): Define.
1693         (FP_UNPACK_SEMIRAW_Q, FP_UNPACK_SEMIRAW_QP): Define.
1694         (FP_PACK_SEMIRAW_Q, FP_PACK_SEMIRAW_QP): Define.
1695         * soft-fp/fixdfdi.c: Use unsigned type for result of conversion.
1696         * soft-fp/fixdfsi.c: Likewise.
1697         * soft-fp/fixsfdi.c: Likewise.
1698         * soft-fp/fixsfsi.c: Likewise.
1699         * soft-fp/fixtfdi.c: Likewise.
1700         * soft-fp/fixtfsi.c: Likewise.
1701         * sysdeps/alpha/soft-fp/ots_cvtxq.c: Likewise.
1702         * sysdeps/alpha/soft-fp/ots_nintxq.c: Likewise.
1703         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1704         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1705         * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Likewise.
1706         * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Likewise.
1707         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1708         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1709         * soft-fp/adddf3.c: Update for changed soft-fp interfaces.
1710         * soft-fp/addsf3.c: Likewise.
1711         * soft-fp/addtf3.c: Likewise.
1712         * soft-fp/extenddftf2.c: Likewise.
1713         * soft-fp/extendsfdf2.c: Likewise.
1714         * soft-fp/extendsftf2.c: Likewise.
1715         * soft-fp/fixdfdi.c: Likewise.
1716         * soft-fp/fixdfsi.c: Likewise.
1717         * soft-fp/fixsfdi.c: Likewise.
1718         * soft-fp/fixsfsi.c: Likewise.
1719         * soft-fp/fixtfdi.c: Likewise.
1720         * soft-fp/fixtfsi.c: Likewise.
1721         * soft-fp/fixunsdfdi.c: Likewise.
1722         * soft-fp/fixunsdfsi.c: Likewise.
1723         * soft-fp/fixunssfdi.c: Likewise.
1724         * soft-fp/fixunssfsi.c: Likewise.
1725         * soft-fp/fixunstfdi.c: Likewise.
1726         * soft-fp/fixunstfsi.c: Likewise.
1727         * soft-fp/floatdidf.c: Likewise.
1728         * soft-fp/floatdisf.c: Likewise.
1729         * soft-fp/floatditf.c: Likewise.
1730         * soft-fp/floatsidf.c: Likewise.
1731         * soft-fp/floatsisf.c: Likewise.
1732         * soft-fp/floatsitf.c: Likewise.
1733         * soft-fp/floatundidf.c: Likewise.
1734         * soft-fp/floatundisf.c: Likewise.
1735         * soft-fp/floatunditf.c: Likewise.
1736         * soft-fp/floatunsidf.c: Likewise.
1737         * soft-fp/floatunsisf.c: Likewise.
1738         * soft-fp/floatunsitf.c: Likewise.
1739         * soft-fp/subdf3.c: Likewise.
1740         * soft-fp/subsf3.c: Likewise.
1741         * soft-fp/subtf3.c: Likewise.
1742         * soft-fp/truncdfsf2.c: Likewise.
1743         * soft-fp/trunctfdf2.c: Likewise.
1744         * soft-fp/trunctfsf2.c: Likewise.
1745         * sysdeps/alpha/soft-fp/ots_add.c: Likewise.
1746         * sysdeps/alpha/soft-fp/ots_cvtqux.c: Likewise.
1747         * sysdeps/alpha/soft-fp/ots_cvtqx.c: Likewise.
1748         * sysdeps/alpha/soft-fp/ots_cvttx.c: Likewise.
1749         * sysdeps/alpha/soft-fp/ots_cvtxq.c: Likewise.
1750         * sysdeps/alpha/soft-fp/ots_cvtxt.c: Likewise.
1751         * sysdeps/alpha/soft-fp/ots_nintxq.c: Likewise.
1752         * sysdeps/alpha/soft-fp/ots_sub.c: Likewise.
1753         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1754         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1755         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1756         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1757         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1758         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1759         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1760         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1761         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1762         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1763         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1764         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1765         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1766         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1767         * sysdeps/sparc/sparc32/soft-fp/q_add.c: Likewise.
1768         * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Likewise.
1769         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Likewise.
1770         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Likewise.
1771         * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Likewise.
1772         * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Likewise.
1773         * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Likewise.
1774         * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Likewise.
1775         * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Likewise.
1776         * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Likewise.
1777         * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Likewise.
1778         * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Likewise.
1779         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Likewise.
1780         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Likewise.
1781         * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
1782         * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
1783         * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Likewise.
1784         * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
1785         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1786         * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
1787         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1788         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1789         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1790         * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
1791         * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
1792         * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Likewise.
1793         * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Likewise.
1794         * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Likewise.
1796 2006-02-23  Roland McGrath  <roland@redhat.com>
1798         * include/libc-symbols.h: Fix comment typo.
1799         From Peter Kjellerstedt <peter.kjellerstedt@axis.com>.
1801         * sysdeps/unix/sysv/linux/i386/fchownat.c: Diddle code so that "fail"
1802         label is always used.
1804         [BZ #2172]
1805         * bits/syslog-path.h: New file.
1806         * misc/Makefile (headers): Add it.
1807         * misc/sys/syslog.h: Include it.
1808         (_PATH_LOG): Macro removed.
1809         From Robert Millan <robertmh@gnu.org>.
1811         * sysdeps/unix/sysv/linux/ftruncate64.c: Find generic implementation
1812         in misc/, not posix/.
1813         Reported by David S. Miller <davem@davemloft.net>.
1815 2006-02-23  Jakub Jelinek  <jakub@redhat.com>
1817         * posix/sched_yield.c (__sched_yield): Add libc_hidden_def.
1818         * sysdeps/mach/sched_yield.c (__sched_yield): Likewise.
1820 2006-02-22  Roland McGrath  <roland@redhat.com>
1822         * po/libc.pot: Regenerated.
1824 2006-02-22  Jakub Jelinek  <jakub@redhat.com>
1826         * nis/ypclnt.c (yperr_string, ypbinderr_string): Add N_()
1827         around string literals.
1829 2005-10-03  Jakub Jelinek  <jakub@redhat.com>
1831         * nscd/selinux.c (audit_init): Print error string in the failure
1832         message.
1834 2006-02-21  Roland McGrath  <roland@redhat.com>
1836         * sysdeps/unix/sysv/linux/kernel-features.h
1837         (__ASSUME_CLONE_THREAD_FLAGS): Consolidate definitions.
1839         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Update comment, remove
1840         __THROW from epoll_wait, to match .../linux/sys/epoll.h file.
1842 2006-02-03  Jakub Jelinek  <jakub@redhat.com>
1844         * manual/filesys.texi (futimes): Fix prototype.
1846 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
1848         [BZ #315]
1849         * manual/memory.texi (Obstacks Data Alignment): The default
1850         alignment is not 4: it is enough to hold any type of data.
1851         Problem reported by Benno in
1852         <http://sources.redhat.com/ml/libc-alpha/2004-08/msg00055.html>.
1854 2005-11-15  Robert Millan  <robertmh@gnu.org>
1856         [BZ #2161]
1857         * manual/llio.texi (read, write): Document EINVAL on unaligned access.
1859 2006-02-21  Roland McGrath  <roland@redhat.com>
1861         * sysdeps/i386/i686/memset.S: Fix treatment of unaligned pointer.
1862         Reported by John Zulauf <john.zulauf@amd.com>.
1864 2004-11-23  Richard Sandiford  <rsandifo@redhat.com>
1866         * configure.in (libc_cv_gcc_dwarf2_unwind_info): Delete.
1867         (HAVE_DWARF2_UNWIND_INFO{,_STATIC}): Remove AC_DEFINEs.
1868         * configure: Regenerate.
1869         * config.h.in (HAVE_DWARF2_UNWIND_INFO{,_STATIC}): Remove undefs.
1870         * elf/soinit.c: Don't include gccframe.h.
1871         (__EH_FRAME_BEGIN__): Define unconditionally.
1872         (__register_frame_info, __deregister_frame_info)
1873         (__register_frame_info_bases, __deregister_frame_info_bases)
1874         (__register_frame, __deregister_frame): Remove declarations.
1875         (__libc_global_ctors, __libc_fini): Don't call registry functions.
1876         * elf/sofini.c (__EH_FRAME_END__): Define unconditionally.
1878 2006-01-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1880         [BZ #2178]
1881         * sysdeps/mach/hurd/getsid.c (getsid): When parameter PID is zero,
1882         use _hurd_pid instead.
1884 2006-02-20  Richard Henderson  <rth@redhat.com>
1886         * sysdeps/alpha/soft-fp/Makefile (CPPFLAGS): Add soft-fp include
1887         to math subdir.
1888         * sysdeps/alpha/soft-fp/e_sqrtl.c: Don't use local-soft-fp.h.
1889         (__ieee754_sqrtl): Add _round local variable.
1890         * sysdeps/unix/sysv/linux/alpha/fpu/Implies: Remove.
1892         * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Fix hidden defs.
1894 2006-02-20  Roland McGrath  <roland@redhat.com>
1896         * sysdeps/mips: Directory removed, saved in ports repository.
1897         * sysdeps/unix/mips: Likewise.
1898         * sysdeps/unix/sysv/linux/mips: Likewise.
1899         * sysdeps/mach/mips: Likewise.
1900         * sysdeps/mach/hurd/mips: Likewise.
1901         * shlib-versions: Remove mips matches, now in ports fragment.
1902         * sysdeps/unix/sysv/linux/kernel-features.h: Likewise.
1903         * configure.in (machine): Likewise.
1904         * configure: Regenerated.
1906         * hurd/hurd/xattr.h: New file.
1907         * hurd/xattr.c: New file.
1908         * hurd/Makefile (routines): Add it.
1909         * sysdeps/mach/hurd/fgetxattr.c: New file.
1910         * sysdeps/mach/hurd/flistxattr.c: New file.
1911         * sysdeps/mach/hurd/fremovexattr.c: New file.
1912         * sysdeps/mach/hurd/fsetxattr.c: New file.
1913         * sysdeps/mach/hurd/getxattr.c: New file.
1914         * sysdeps/mach/hurd/lgetxattr.c: New file.
1915         * sysdeps/mach/hurd/listxattr.c: New file.
1916         * sysdeps/mach/hurd/lsetxattr.c: New file.
1917         * sysdeps/mach/hurd/removexattr.c: New file.
1918         * sysdeps/mach/hurd/setxattr.c: New file.
1920 2006-02-15  Thomas Schwinge  <tschwinge@gnu.org>
1922         [BZ #2329]
1923         * include/unistd.h (__getresuid, __getresgid, __setresuid)
1924         (__setresgid): Fix argument name order in prototypes.
1925         * posix/unistd.h (getresuid, getresgid, setresuid, setresgid):
1926         Likewise.
1927         * posix/getresuid.c (__getresuid): Fix argument order in definition.
1928         * posix/getresgid.c (__getresgid): Likewise.
1929         * posix/setresuid.c (__setresuid): Likewise.
1930         * posix/setresgid.c (__setresgid): Likewise.
1931         * sysdeps/mach/hurd/getresuid.c (__getresuid): Likewise.
1932         * sysdeps/mach/hurd/getresgid.c (__getresgid): Likewise.
1933         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1934         * sysdeps/mach/hurd/setresgid.c (__setresgid): Likewise.
1935         Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
1937 2006-02-13  Mike Frysinger  <vapier@gentoo.org>
1939         [BZ #2380]
1940         * string/tester.c (test_strnlen): New function.
1941         (test_strchr): Call it.
1942         (test_strncat): Test lengths where the sign bit is set.
1943         (test_strncmp): Likewise.
1945 2006-02-17  Jakub Jelinek  <jakub@redhat.com>
1947         * include/atomic.h (atomic_and, atomic_or): Define.
1949 2006-02-15  Ulrich Drepper  <drepper@redhat.com>
1951         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Define MADV_DONTFORK
1952         and MADV_DOFORK.
1953         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
1954         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1955         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
1956         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1957         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
1958         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
1959         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
1960         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1962 2006-02-13  Jakub Jelinek  <jakub@redhat.com>
1964         * sysdeps/unix/sysv/linux/not-cancel.h (__openat_not_cancel,
1965         __openat64_not_cancel): Remove prototypes.
1966         (__openat_nocancel, __openat64_nocancel): New prototypes or defines.
1967         (openat_not_cancel, openat_not_cancel_3, openat64_not_cancel,
1968         openat64_not_cancel_3): Use them.
1970 2006-02-12  Ulrich Drepper  <drepper@redhat.com>
1972         * io/ftw.c: Start using *at functions.
1973         * io/ftw64.c: Likewise.
1975         * sysdeps/generic/not-cancel.h: Define openat_not_cancel,
1976         openat_not_cancel_3, openat64_not_cancel, and openat64_not_cancel_3.
1977         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1979         * sysdeps/unix/sysv/linux/openat.c: Create separate _nocancel
1980         functions.
1982         * io/fxstatat.c: Add __fxstatat alias.
1983         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise.
1984         * sysdeps/unix/sysv/linux/fxstatat.c: Likewise.  Add support for
1985         newfstatat syscall.
1986         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Add __fxstatat alias.
1987         Add support for fstatat64 syscall.
1988         * include/sys/stat.h: Declare __fxstatat.
1989         * io/fxstatat64.c: Add __fxstatat64 alias.
1990         * sysdeps/unix/sysv/linux/fxstatat64.c: Add support for fstatat64
1991         syscall.
1993         * dirent/fdopendir.c: Add __fdopendir alias.
1994         * sysdeps/unix/fdopendir.c: Likewise.
1995         * sysdeps/mach/hurd/fdopendir.c: Likewise.
1996         * include/dirent.h: Add __fdopendir declaration.
1998         [BZ #2226]
1999         * libio/wgenops.c (_IO_wsetb): Use correct size of wide char
2000         buffer in FREE_BUF call.
2002 2006-02-08  Ulrich Drepper  <drepper@redhat.com>
2004         * sysdeps/unix/sysv/linux/bits/sched.h: Declare unshare.
2005         * sysdeps/unix/sysv/linux/Versions [libc, GLIBC_2.4]: Export
2006         unshare.
2007         * sysdeps/unix/sysv/linux/syscalls.list: Add unshare syscall.
2009         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Add some
2010         preprocessor magic so that the compiler won't see the prototypes
2011         for the functions we are defining as stubs.
2013 2006-02-05  Ulrich Drepper  <drepper@redhat.com>
2015         * io/ftw.c (ftw_startup): Use fchdir to return to original
2016         directory for FTW_CHDIR.
2018 2006-02-03  Ulrich Drepper  <drepper@redhat.com>
2020         * manual/stdio.texi (Formatted Output Functions): Fix make_message
2021         example.  Patch by NIIBE Yutaka <gniibe@m17n.org>.
2023 2006-02-03  Roland McGrath  <roland@redhat.com>
2025         [BZ #2268]
2026         * sysdeps/posix/profil.c (__profil): Use __profile_frequency to choose
2027         timer interval, don't assume smallest possible interval is it.
2029 2006-02-03  Jakub Jelinek  <jakub@redhat.com>
2031         * sysdeps/powerpc/fpu/bits/fenvinline.h (fegetround): Make asm
2032         volatile.
2034         * stdlib/bits/stdlib-ldbl.h (qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r):
2035         Guard with [__USE_SVID || __USE_XOPEN_EXTENDED].
2037         * math/math.h [__LDBL_COMPAT && __USE_ISOC99] (nexttowardl): New
2038         prototype.
2040         * math/math.h (__nldbl_nexttowardf): Put __THROW before
2041         __attribute__ ((__const__)).
2042         (__MATHDECL_2): Use __REDIRECT_NTH instead of __REDIRECT
2043         followed by __THROW.
2045 2006-02-02  Ulrich Drepper  <drepper@redhat.com>
2047         * sysdeps/unix/sysv/linux/futimesat.c [__NR_futimesat]
2048         (futimesat): If file is NULL use __futimes.
2049         * include/sys/time.h: Declare __futimes.
2051 2006-02-02  Roland McGrath  <roland@redhat.com>
2053         * sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): Use the same
2054         fstat check for ENOENT that should be EBADF as for ENOTDIR, and also
2055         check for missing /proc the same way.
2057         * include/errno.h [__cplusplus]: Avoid extra header magic for C++.
2059         * manual/install.texi (Tools for Compilation): Require gcc 3.4,
2060         recommend 4.1, advise 4.0 for powerpc64, and note 4.1 required for
2061         powerpc, s390{x,} with new long double.
2062         * INSTALL: Regenerated.
2064         * timezone/private.h: Update from tzcode2006a.
2065         * timezone/scheck.c: Likewise.
2066         * timezone/asia: Update from tzdata2006a.
2067         * timezone/northamerica: Likewise.
2068         * timezone/zone.tab: Likewise.
2070         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): New variable.
2071         (CFLAGS-mcount.c): Use it instead of -msoft-float.
2072         * sysdeps/powerpc/powerpc64/elf/Makefile
2073         (CFLAGS-dl-runtime.os, CFLAGS-dl-lookup.os, CFLAGS-dl-misc.os,
2074         CFLAGS-rtld-mempcpy.os, CFLAGS-rtld-memmove.os, CFLAGS-rtld-memchr.os,
2075         CFLAGS-rtld-strnlen.os): Likewise.
2077 2006-02-01  Roland McGrath  <roland@redhat.com>
2079         * sysdeps/ieee754/ldbl-opt/Makefile (sysdep-CFLAGS): Avoid adding
2080         -mlong-double-128 when it's already there.
2082 2006-02-01  Roland McGrath  <roland@frob.com>
2084         * mach/Machrules ($(objpfx)%.uh, $(objpfx)%.__h): Use static pattern
2085         rules for these, not implicit rules.
2086         ($(objpfx)%.h): Likewise.
2087         Reported by Thomas Schwinge <tschwinge@gnu.org>.
2089 2006-02-01  Jakub Jelinek  <jakub@redhat.com>
2091         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Use long_double_symbol
2092         even for libm.
2094         * libio/bits/libio-ldbl.h (_IO_vfwscanf, _IO_vfwprintf): Remove
2095         __LDBL_REDIR_DECL.
2097         * math/bits/mathcalls.h: Guard __END_NAMESPACE_C99 with the
2098         same #if condition as corresponding __BEGIN_NAMESPACE_C99.
2099         (scalb): Don't define only if __USE_ISOC99.
2101         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Fix a typo.
2102         * sysdeps/s390/fpu/libm-test-ulps: Remove llrint ulps.
2104 2006-01-19  Thomas Schwinge  <tschwinge@gnu.org>
2106         * libio/genops.c: Include <stdbool.h>.
2108 2006-02-01  Ulrich Drepper  <drepper@redhat.com>
2110         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Add
2111         some more entries.
2112         * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_02_known): Likewise.
2114 2006-01-31  Jakub Jelinek  <jakub@redhat.com>
2116         * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file.
2117         * sysdeps/alpha/fpu/s_ceil.c: Include math_ldbl_opt.h, add
2118         compat_symbol if LONG_DOUBLE_COMPAT.
2119         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2120         * sysdeps/alpha/fpu/s_fabs.c: Likewise.
2121         * sysdeps/alpha/fpu/s_floor.c: Likewise.
2122         * sysdeps/alpha/fpu/s_rint.c: Likewise.
2123         * sysdeps/alpha/soft-fp/e_sqrtl.c: New file.
2124         * sysdeps/alpha/Implies: Add ieee754/ldbl-128.
2126         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: New file.
2127         * sysdeps/unix/sysv/linux/alpha/Implies: Add ieee754/ldbl-64-128,
2128         ieee754/ldbl-opt.
2129         * sysdeps/alpha/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove.
2130         * sysdeps/unix/sysv/linux/alpha/nldbl-abi.h: New file.
2131         * sysdeps/unix/sysv/linux/alpha/Makefile
2132         [$(subdir) = math] (libm-routines): Add multc3, divtc3.
2134         * math/divtc3.c: New file.
2135         * math/multc3.c: New file.
2136         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
2137         [$(subdir) = math] (libm-routines): Add multc3, divtc3.
2139         * sysdeps/unix/sysv/linux/sparc/sparc32/fpu/Implies: New file.
2140         * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include math.h and
2141         math_ldbl_opt.h.
2142         (fabsl): Use long_double_symbol instead of weak_alias.
2143         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Include math.h and
2144         math_ldbl_opt.h.
2145         [LONG_DOUBLE_COMPAT] (fabsl): Add compat_symbol.
2147 2006-01-31  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2148             Jakub Jelinek  <jakub@redhat.com>
2150         * sysdeps/unix/sysv/linux/s390/Implies: New file.
2151         * sysdeps/unix/sysv/linux/s390/fpu/Implies: New file.
2152         * sysdeps/unix/sysv/linux/s390/nldbl-abi.h: New file.
2153         * sysdeps/s390/fpu/bits/mathinline.h (signbitl, sqrtl): New inlines.
2154         * sysdeps/s390/bits/mathdef.h: New file.
2155         * sysdeps/s390/fpu/e_sqrtl.c: New file.
2156         * sysdeps/s390/s390-32/bits/wordsize.h (__LONG_DOUBLE_MATH_OPTIONAL,
2157         __NO_LONG_DOUBLE_MATH): Define.
2158         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
2159         * sysdeps/s390/Implies: Add ieee754/ldbl-128.
2160         * sysdeps/s390/ldbl2mpn.c: File removed.
2161         * sysdeps/s390/fpu/libm-test-ulps: Updated.
2163 2006-01-31  Roland McGrath  <roland@redhat.com>
2165         * sysdeps/alpha/fpu/bits/mathdef.h: Moved to ...
2166         * sysdeps/alpha/bits/mathdef.h: ... here.
2167         * sysdeps/i386/fpu/bits/mathdef.h: Moved to ...
2168         * sysdeps/i386/bits/mathdef.h: ... here.
2169         * sysdeps/mips/fpu/bits/mathdef.h: Moved to ...
2170         * sysdeps/mips/bits/mathdef.h: ... here.
2171         * sysdeps/m68k/fpu/bits/mathdef.h: Moved to ...
2172         * sysdeps/m68k/bits/mathdef.h: ... here.
2173         * sysdeps/powerpc/fpu/bits/mathdef.h: Moved to ...
2174         * sysdeps/powerpc/bits/mathdef.h: ... here.
2175         * sysdeps/sparc/fpu/bits/mathdef.h: Moved to ...
2176         * sysdeps/sparc/bits/mathdef.h: ... here.
2177         * sysdeps/ia64/fpu/bits/mathdef.h: Moved to ...
2178         * sysdeps/ia64/bits/mathdef.h: ... here.
2179         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Moved to ...
2180         * sysdeps/sh/sh4/bits/mathdef.h: ... here.
2181         * sysdeps/x86_64/fpu/bits/mathdef.h: Moved to ...
2182         * sysdeps/x86_64/bits/mathdef.h: ... here.
2184 2006-01-31  Jakub Jelinek  <jakub@redhat.com>
2186         * sysdeps/unix/sysv/linux/i386/fxstatat.c [XSTAT_IS_STAT64]
2187         (__fxstatat64): Add libc_hidden_ver.
2188         * sysdeps/unix/sysv/linux/fxstatat.c [XSTAT_IS_STAT64] (__fxstatat64):
2189         Likewise.
2191         * sysdeps/sparc/sparc64/jmpbuf-unwind.h: Remove jmpbuf-offsets.h
2192         include.
2194 2006-01-31  Roland McGrath  <roland@redhat.com>
2196         * sysdeps/powerpc/fpu/libm-test-ulps: Update by Jakub.
2198         * inet/rcmd.c (iruserfopen): Remove redundant initialization.
2199         From Bernhard Fischer <rep.nop@aon.at>.
2201         * posix/regcomp.c (calc_eclosure_iter): Remove dead variables.
2202         Reported by Mike Frysinger <vapier@gentoo.org>.
2204 2006-01-30  Steven Munroe  <sjmunroe@us.ibm.com>
2206         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Correct index
2207         for __sincosl_table.
2208         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2209         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2211         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Correct sign of 0.0.
2212         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
2214         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: New file.
2215         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: New file.
2216         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: New file.
2218 2006-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
2220         * sysdeps/unix/sysv/linux/mips/bits/errno.h (ECANCELED,
2221         EOWNERDEAD, ENOTRECOVERABLE): Define.
2223         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_REMOVE): Define.
2225         * sysdeps/mips/dl-machine.h (RTLD_START): Correct offsets for
2226         N64.
2228         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct msghdr): Use
2229         size_t for msg_controllen.
2230         (__cmsg_nxthdr): Correct test.
2231         (__SCM_CONNECT): Delete.
2233 2006-01-30  Alexandre Oliva  <aoliva@redhat.com>
2234             Roland McGrath  <roland@redhat.com>
2236         * configure.in (fno_unit_at_a_time): Set to
2237         -fno-toplevel-reorder if the compiler supports it.
2238         Otherwise use -fno-unit-at-a-time unconditionally.
2239         * configure: Regenerated.
2241 2006-01-30  Jakub Jelinek  <jakub@redhat.com>
2243         * sysdeps/powerpc/fpu/libm-test-ulps: Merge ulps with older
2244         libm-test-ulps rather than overwrite it.  Remove excessively high ulps.
2246 2006-01-29  Joseph S. Myers  <joseph@codesourcery.com>
2248         * soft-fp/double.h (FP_CMP_UNORD_D): Also define in
2249         [_FP_W_TYPE_SIZE >= 64] case.
2250         * soft-fp/extended.h (FP_CMP_UNORD_E): Likewise.
2251         * soft-fp/quad.h (FP_CMP_UNORD_Q): Likewise.
2253 2006-01-27  Dwayne Grant McConnell  <decimal@us.ibm.com>
2254             Jakub Jelinek  <jakub@redhat.com>
2255             Roland McGrath  <roland@redhat.com>
2256             Steven Munroe  <sjmunroe@us.ibm.com>
2257             Alan Modra  <amodra@bigpond.net.au>
2259         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Comment fix.
2260         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2261         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2265         * math/libm-test.inc (check_float_internal): Allow ulp <= 0.5.
2266         (erfc_test): Don't run erfcl (27.0L) test if erfcl (27.0L) is
2267         denormal.
2268         [TEST_LDOUBLE] (ceil_test, floor_test, llrint_test, llround_test,
2269         rint_test, round_test, trunc_test): Add new tests.
2271         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: New file.
2272         * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: New file.
2273         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S: New file.
2274         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: New file.
2275         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: New file.
2276         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: New file.
2277         * sysdeps/powerpc/powerpc32/fpu/s_isnan.c: New file.
2279         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: New file.
2280         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: New file.
2281         * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: New file.
2282         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: New file.
2283         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: New file.
2284         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: New file.
2285         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: New file.
2286         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: New file.
2287         * sysdeps/powerpc/powerpc64/fpu/s_isnan.c: New file.
2288         * sysdeps/powerpc/powerpc64/fpu/s_llrintl.S: New file.
2289         * sysdeps/powerpc/powerpc64/fpu/s_llroundl.S: New file.
2290         * sysdeps/powerpc/powerpc64/fpu/s_lrintl.S: New file.
2291         * sysdeps/powerpc/powerpc64/fpu/s_lroundl.S: New file.
2292         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: New file.
2293         * sysdeps/powerpc/powerpc64/fpu/s_rintl.S: New file.
2294         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: New file.
2295         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: New file.
2297         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: New file.
2299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: New file.
2300         * sysdeps/unix/sysv/linux/powerpc/configure.in: New file.
2301         * sysdeps/unix/sysv/linux/powerpc/configure: New file.
2302         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
2303         (__LONG_DOUBLE_MATH_OPTIONAL): Define.
2304         (__NO_LONG_DOUBLE_MATH): Define.
2305         * sysdeps/unix/sysv/linux/powerpc/nldbl-abi.h: New file.
2306         * sysdeps/powerpc/fpu/s_isnan.c: Include math_ldbl_opt.h.
2307         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include math_ldbl_opt.h.
2308         [LONG_DOUBLE_COMPAT] (ceill): Add compatibility symbols.
2309         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include math_ldbl_opt.h.
2310         [LONG_DOUBLE_COMPAT] (copysignl): Add compatibility symbols.
2311         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include math_ldbl_opt.h.
2312         [LONG_DOUBLE_COMPAT] (floorl): Add compatibility symbols.
2313         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include math_ldbl_opt.h.
2314         [LONG_DOUBLE_COMPAT] (llrintl, lrintl): Add compatibility symbols.
2315         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include math_ldbl_opt.h.
2316         [LONG_DOUBLE_COMPAT] (llroundl, lroundl): Add compatibility symbols.
2317         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include math_ldbl_opt.h.
2318         [LONG_DOUBLE_COMPAT] (rintl): Add compatibility symbols.
2319         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include math_ldbl_opt.h.
2320         [LONG_DOUBLE_COMPAT] (roundl): Add compatibility symbols.
2321         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include math_ldbl_opt.h.
2322         [LONG_DOUBLE_COMPAT] (truncl): Add compatibility symbols.
2323         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include math_ldbl_opt.h.
2324         [LONG_DOUBLE_COMPAT] (ceill): Add compatibility symbols.
2325         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include math_ldbl_opt.h.
2326         [LONG_DOUBLE_COMPAT] (copysignl): Add compatibility symbols.
2327         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include math_ldbl_opt.h.
2328         [LONG_DOUBLE_COMPAT] (floorl): Add compatibility symbols.
2329         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include math_ldbl_opt.h.
2330         [LONG_DOUBLE_COMPAT] (lrintl): Add compatibility symbols.
2331         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include math_ldbl_opt.h.
2332         [LONG_DOUBLE_COMPAT] (llrintl): Add compatibility symbols.
2333         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include math_ldbl_opt.h.
2334         [LONG_DOUBLE_COMPAT] (lroundl): Add compatibility symbols.
2335         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include math_ldbl_opt.h.
2336         [LONG_DOUBLE_COMPAT] (rintl): Add compatibility symbols.
2337         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include math_ldbl_opt.h.
2338         [LONG_DOUBLE_COMPAT] (roundl): Add compatibility symbols.
2339         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include math_ldbl_opt.h.
2340         [LONG_DOUBLE_COMPAT] (truncl): Add compatibility symbols.
2342         * misc/qefgcvt_r.c [LDBL_MIN_10_EXP == -291] (FLOAT_MIN_10_NORM): New.
2344         * sysdeps/powerpc/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove.
2345         * sysdeps/powerpc/Implies: Add ieee754/ldbl-128ibm.
2346         * sysdeps/powerpc/powerpc32/Implies: Remove powerpc/soft-fp.
2347         * sysdeps/ieee754/ldbl-128ibm/Makefile: New file.
2348         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: New file.
2349         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: New file.
2350         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: New file.
2351         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: New file.
2352         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: New file.
2353         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: New file.
2354         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: New file.
2355         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: New file.
2356         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: New file.
2357         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: New file.
2358         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: New file.
2359         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: New file.
2360         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: New file.
2361         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: New file.
2362         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: New file.
2363         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: New file.
2364         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: New file.
2365         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: New file.
2366         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: New file.
2367         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: New file.
2368         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: New file.
2369         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: New file.
2370         * sysdeps/ieee754/ldbl-128ibm/ieee754.h: New file.
2371         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: New file.
2372         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: New file.
2373         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: New file.
2374         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: New file.
2375         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: New file.
2376         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: New file.
2377         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: New file.
2378         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: New file.
2379         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: New file.
2380         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: New file.
2381         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: New file.
2382         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: New file.
2383         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: New file.
2384         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: New file.
2385         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: New file.
2386         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: New file.
2387         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: New file.
2388         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: New file.
2389         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: New file.
2390         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: New file.
2391         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: New file.
2392         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: New file.
2393         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: New file.
2394         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: New file.
2395         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: New file.
2396         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: New file.
2397         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: New file.
2398         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: New file.
2399         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: New file.
2400         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: New file.
2401         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: New file.
2402         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: New file.
2403         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: New file.
2404         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: New file.
2405         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: New file.
2406         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: New file.
2407         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: New file.
2408         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: New file.
2409         * sysdeps/ieee754/ldbl-128ibm/t_sincosl.c: New file.
2410         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: New file.
2411         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: New file.
2412         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: New file.
2413         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: New file.
2414         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: New file.
2415         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: New file.
2416         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: New file.
2417         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: New file.
2418         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: New file.
2419         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: New file.
2421         * sysdeps/ieee754/ldbl-128/e_powl.c: Fix old comment.
2423 2006-01-22  Aurelien Jarno  <aurelien@aurel32.net>
2425         * sysdeps/gnu/errlist-compat.awk: Reduce required number of symbols in
2426         sanity check.
2428 2006-01-21  Ulrich Drepper  <drepper@redhat.com>
2430         * sysdeps/unix/sysv/linux/renameat.c (__atfct_seterrno_2): Correctly
2431         return EBADF for non-existing file descriptors.
2432         * sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): Likewise.
2433         * io/tst-openat.c (do_test): Add some more tests.
2434         * io/tst-faccessat.c (do_test): Likewise.
2435         * io/tst-renameat.c (do_test): Likewise.
2436         * io/tst-fstatat.c (do_test): Likewise.
2437         * io/tst-fchmodat.c (do_test): Likewise.
2438         * io/tst-fchownat.c (do_test): Likewise.
2440 2006-01-21  Roland McGrath  <roland@redhat.com>
2442         * sysdeps/unix/sysv/linux/faccessat.c: Move RESULT defn inside block.
2444         * misc/tst-pselect.c: Include <unistd.h>.
2446         * time/time.h [__need_timespec et al]: Include <bits/types.h> here too.
2448         * stdlib/fpioconst.c: Fix whitespace typo.
2450 2006-01-20  Jakub Jelinek  <jakub@redhat.com>
2452         * sysdeps/ieee754/ldbl-64-128/s_nexttowardfd.c: Moved to...
2453         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: ... here.  New file.
2454         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (long_double_symbol_1): For
2455         C define again using _weak_alias, for assembler use weak_alias.
2457         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: New file.
2458         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: New file.
2459         * sysdeps/powerpc/fpu/bits/mathinline.h (__CPU_HAS_FSQRT): New macro.
2460         (__ieee754_sqrt, __ieee754_sqrtf): Use it.
2462 2006-01-21  Ulrich Drepper  <drepper@redhat.com>
2464         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Allow actual
2465         system call code to be redefined in macro CALL_PSELECT6.
2466         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
2467         (sysdep_routines): Add call_pselect6.
2468         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: New file.
2469         * sysdeps/unix/sysv/linux/i386/pselect.c: New file.
2470         * misc/Makefile (tests): Add tst-pselect.
2471         * misc/tst-pselect.c: New file.
2473 2006-01-20  Roland McGrath  <roland@frob.com>
2475         * sysdeps/mach/hurd/ppoll.c: New file.
2477 2006-01-20  Ulrich Drepper  <drepper@redhat.com>
2479         * sysdeps/unix/sysv/linux/pselect.c: Fix typo in declaration.
2481         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Cast k_dev
2482         value to unsigned int to match kernel.
2484         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Try using the
2485         syscall in more cases.
2487         * io/Makefile (tests): Add tst-symlinkat, tst-linkat, tst-readlinkat,
2488         tst-mkdirat, tst-mknodat, and tst-mkfifoat.
2489         * io/tst-symlinkat.c: New file.
2490         * io/tst-linkat.c: New file.
2491         * io/tst-readlinkat.c: New file.
2492         * io/tst-mkdirat.c: New file.
2493         * io/tst-mknodat.c: New file.
2494         * io/tst-mkfifoat.c: New file.
2496         * dirent/Makefile (tests): Add tst-fdopendir2.
2497         * dirent/tst-fdopendir2.c: New file.
2499 2006-01-20  Alexandre Oliva  <aoliva@redhat.com>
2501         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
2502         (sigcontext_struct) [__WORDSIZE == 32]: Define.
2504 2006-01-20  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2506         * sysdeps/sh/sh4/__longjmp.S: Demangle also r14 and r15.
2507         * sysdeps/sh/sh3/__longjmp.S: Likewise.
2508         * sysdeps/sh/sh4/setjmp.S: Mangle also r14 and r15.
2509         * sysdeps/sh/sh3/setjmp.S: Likewise.
2510         * sysdeps/unix/sysv/linux/sh/sysdep.h [__ASSEMBLER__]
2511         (PTR_MANGLE): Add temporary register as the second parameter.
2512         (PTR_DEMANGLE): Likewize.
2513         (PTR_MANGLE2, PTR_DEMANGLE2): Define.
2515 2006-01-19  Ulrich Drepper  <drepper@redhat.com>
2517         * include/fcntl.h: Declare __have_atfcts.
2518         * sysdeps/unix/sysv/linux/faccessat.c: Use syscall if available.
2519         * sysdeps/unix/sysv/linux/fchmodat.c: Likewise.
2520         * sysdeps/unix/sysv/linux/fchownat.c: Likewise.
2521         * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
2522         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2523         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2524         * sysdeps/unix/sysv/linux/openat.c: Likewise.
2525         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2526         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2527         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2528         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2529         * sysdeps/unix/sysv/linux/xmknodat.c: Likewise.
2530         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise.
2531         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PSELECT,
2532         __ASSUME_PPOLL, and __ASSUME_ATFCTS if possible.
2534         * io/ppoll.c: New file.
2535         * io/Makefile (routines): Add ppoll.
2536         (CFLAGS-ppoll.c): Define.
2537         * io/Versions: Export ppoll for GLIBC_2.4.
2538         * io/sys/poll.h: Declare ppoll.
2539         * sysdeps/unix/sysv/linux/ppoll.c: New file.
2541         * misc/pselect.c: Make it possible to include this file to define
2542         the generic code as a static function.
2543         * sysdeps/unix/sysv/linux/pselect.c: New file.
2545 2006-01-19  Jakub Jelinek  <jakub@redhat.com>
2547         * misc/pselect.c (__pselect): Remove static.
2548         Include sysdep-cancel.h again.  Add LIBC_CANCEL_HANDLED ().
2550 2006-01-18  Roland McGrath  <roland@redhat.com>
2552         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h [__ASSEMBLER__]: Don't
2553         include problematic headers for assembler.
2555         * Makerules ($(+sysdir_pfx)sysd-rules): Don't emit m_%.c rules,
2556         instead emit m_%.o compilation rules from s_%.? source files.
2557         * math/Makefile ($(objpfx)m_%$o: s_%.c): New rule using o-iterator.
2559 2006-01-18  Ulrich Drepper  <drepper@redhat.com>
2561         * misc/pselect.c (__pselect): No need to enable async cancellation
2562         here.  This is done in select.
2564         * sysdeps/unix/sysv/linux/fxstatat.c [STAT_IS_KERNEL_STAT]
2565         (__fxstatat): Correct handling of invalid vers values.
2567         [BZ #2173]
2568         * libio/fileops.c (_IO_new_file_fopen): If ,ccs= is given, also
2569         set vtable to the wide vtable.
2570         * libio/tst-fopenloc2.c: New file.
2571         * libio/Makefile (tests): Add tst-fopenloc2.
2573 2006-01-18  Roland McGrath  <roland@redhat.com>
2575         * sysdeps/ieee754/ldbl-opt/nldbl-dprintf.c: Restore
2576         attribute_hidden here.
2578         * sysdeps/sparc/sparc64/Makefile (long-double-fcts): Move this ...
2579         * sysdeps/sparc/Makefile (long-double-fcts): ... to here.
2581 2006-01-18  Jakub Jelinek  <jakub@redhat.com>
2583         * elf/dl-deps.c (_dl_map_object_deps): In case of failure also make a
2584         copy of objname string.
2586 2006-01-16  Roland McGrath  <roland@redhat.com>
2588         * Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules to install
2589         into $(inst_includedir)/%.h from sysdirs.
2590         [headers]: Change static pattern rule for installing
2591         $(headers) to do only those not matching %.h.
2592         ($(inst_includedir)/%.h: $(objpfx)%.h): Add this pattern rule instead.
2593         ($(inst_includedir)/%.h: %.h): Likewise.
2594         ($(inst_includedir)/%.h: $(..)include/%.h): Likewise.
2596         * Makefile ($(inst_includedir)/gnu/stubs.h):
2597         Add $(make-target-directory).
2599         * stdlib/Makefile (headers): Restore headers removed in last change.
2601 2006-01-16  Jakub Jelinek  <jakub@redhat.com>
2603         * math/e_exp2l.c: Don't include stdio.h, errno.h, stub-tag.h, include
2604         math_private.h.
2605         (__ieee754_exp2l): Compute for now as expl (M_LN2l * x)
2606         instead of failing.
2607         (exp2l): Remove stub_warning.
2609 2006-01-15  Jakub Jelinek  <jakub@redhat.com>
2611         * io/tst-faccessat.c (do_test): Don't fail if geteuid () == 0.
2613 2006-01-16  Ulrich Drepper  <drepper@redhat.com>
2615         * sysdeps/unix/sysv/linux/kernel-features.h: Define
2616         __ASSUME_TMPFS_NAME.
2617         * sysdeps/unix/sysv/linux/shm_open.c [__ASSUME_TMPFS_NAME]
2618         (where_is_shmfs): Don't test for obsolete shm filesystem name.
2620         * sysdeps/unix/sysv/linux/getsysstats.c: Don't search for proc
2621         mount point.  We assume procfs is mounted at /proc in many other
2622         places already.
2624 2006-01-15  Andreas Jaeger  <aj@suse.de>
2626         [BZ #1950]
2627         * posix/regex_internal.c (re_string_reconstruct): Adjust for
2628         build_wcs_upper_buffer change.
2629         (build_wcs_upper_buffer): Change return type.
2631         [BZ #2153]
2632         * math/s_cacosh.c (__cacosh): Do not return a negative
2633         value. Patch by Wes Loewer <wjltemp-temp01@yahoo.com>.
2634         * math/s_cacoshl.c (__cacoshl): Likewise.
2635         * math/s_cacoshf.c (__cacoshf): Likewise.
2636         * math/libm-test.inc (cacosh_test): Adjust for change.
2638         * sysdeps/alpha/fpu/libm-test-ulps: Adopt for cacosh test change.
2639         * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
2640         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2641         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2642         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
2643         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2644         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2645         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2647         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2648         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2649         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2651         [BZ #2079]
2652         * libio/fputwc_u.c (fputwc_unlocked): Fix return value.
2653         * libio/getwc_u.c (__getwc_unlocked): Likewise.
2654         * libio/wfileops.c (_IO_wdo_write): Likewise.
2656         [BZ #2078]
2657         * libio/fputwc.c (fputwc): Use proper type for result.
2658         * libio/ioungetwc.c (ungetwc): Likewise.
2660 2006-01-14  Ulrich Drepper  <drepper@redhat.com>
2662         * sysdeps/unix/sysv/linux/bits/sched.h: Define SCHED_BATCH.
2664 2006-01-14  Roland McGrath  <roland@redhat.com>
2666         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Don't try
2667         attribute_hidden here.
2668         * sysdeps/ieee754/ldbl-opt/nldbl-vsyslog.c (vsyslog): Restore
2669         attribute_hidden here.
2670         * sysdeps/ieee754/ldbl-opt/nldbl-asprintf.c (__asprintf): Likewise.
2671         * sysdeps/ieee754/ldbl-opt/nldbl-fprintf.c (fprintf): Likewise.
2672         * sysdeps/ieee754/ldbl-opt/nldbl-qecvt.c (qecvt): Likewise.
2673         * sysdeps/ieee754/ldbl-opt/nldbl-qfcvt.c (qfcvt): Likewise.
2674         * sysdeps/ieee754/ldbl-opt/nldbl-qgcvt.c (qgcvt): Likewise.
2676         * sysdeps/ieee754/ldbl-opt/configure.in: Use AC_TRY_COMPILE and
2677         verify __LONG_DOUBLE_128__ predefine.
2678         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2680         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_HIDDEN): Removed.
2681         (NLDBL_DECL): Rewritten.
2682         Remove __THROW from NLDBL_DECL uses.
2683         Use NLDBL_DECL for __vstrfmon_l.
2684         (__nldbl___vsyslog_chk): Restore missing decl.
2685         * sysdeps/ieee754/ldbl-opt/nldbl-asinh.c: Restore attribute_hidden.
2687 2006-01-14  Jakub Jelinek  <jakub@redhat.com>
2689         * misc/sys/cdefs.h (__LDBL_REDIR1_DECL): Define.
2690         (__LDBL_REDIR_DECL): Stringize __nldbl and name.
2691         * stdlib/bits/monetary-ldbl.h: Remove pastos from wchar-ldbl.h.
2692         (strfmon, strfmon_l): Add __LDBL_REDIR_DECL.
2693         * stdlib/bits/stdlib-ldbl.h (strtold, strtold_l, __strtold_internal,
2694         qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r): Use __LDBL_REDIR1_DECL
2695         instead of __LDBL_REDIR_DECL.
2696         * wcsmbs/bits/wchar-ldbl.h: Remove stale #if.
2697         (__LDBL_REDIR_WCHAR): Remove.
2698         (fwprintf, wprintf, swprintf, vfwprintf, vwprintf, vswprintf,
2699         fwscanf, wscanf, swscanf, vfwscanf, vwscanf, vswscanf): Use
2700         __LDBL_REDIR_DECL instead of __LDBL_REDIR_WCHAR.
2701         (wcstold, wcstold_l, __wcstold_internal): Add __LDBL_REDIR1_DECL.
2702         * wcsmbs/wchar.h: Include bits/wchar-ldbl.h after bits/wchar2.h
2703         instead of before it.
2704         (wcstold inline): Move #ifndef __LDBL_COMPAT before
2705         extern keyword.
2706         * libio/bits/stdio-ldbl.h (__snprintf_chk, __vsnprintf_chk): Add
2707         __LDBL_REDIR_DECL.
2708         * misc/bits/syslog-ldbl.h (vsyslog): Protect with #ifdef __USE_BSD.
2709         (__syslog_chk, __vsyslog_chk): Add __LDBL_REDIR_DECL.
2711 2006-01-14  Roland McGrath  <roland@redhat.com>
2713         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Fix typo.
2714         (NLDBL_HIDDEN): New macro.
2715         (NLDBL_DECL): Use it in place of attribute_hidden.
2717         * misc/efgcvt.c: Include <math_ldbl_opt.h> instead of <shlib-compat.h>.
2718         * misc/efgcvt_r.c: Likewise.
2720         * sysdeps/unix/sysv/linux/sparc/sparc32/nldbl-abi.h: New file.
2721         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: #include <nldbl-abi.h>
2722         to define LONG_DOUBLE_COMPAT_VERSION.  Use that in place of
2723         NLDBL_VERSION.
2724         * sysdeps/ieee754/ldbl-opt/Versions: Include <nldbl-abi.h>.
2725         * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Revert last change.
2727 2006-01-14  Jakub Jelinek  <jakub@redhat.com>
2729         * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New
2730         prototype.
2731         (nexttowardf): Redirect to __nldbl_nexttowardf.
2732         (nexttoward): Redirect to nextafter.
2733         (__MATHDECL_2, __MATHDECL_1): Redirect *l functions to
2734         non-*l versions if __LONG_DOUBLE_MATH_OPTIONAL and
2735         __NO_LONG_DOUBLE_MATH.
2736         * math/complex.h (__MATHDECL_1): Likewise.
2737         * math/bits/mathcalls.h (nexttoward): Don't prototype if
2738         __LDBL_COMPAT.
2739         * misc/sys/cdefs.h: Include <bits/wordsize.h>.
2740         (__LDBL_COMPAT, __LDBL_REDIR1, __LDBL_REDIR, __LDBL_REDIR1_NTH,
2741         __LDBL_REDIR_NTH, __LDBL_REDIR_DECL): New macros.
2743         * libio/bits/stdio-ldbl.h: New file.
2744         * libio/Makefile (headers): Add it.
2745         * libio/stdio.h [__LDBL_COMPAT]: #include it.
2746         * libio/bits/libio-ldbl.h: New file.
2747         * libio/Makefile (headers): Add it.
2748         * libio/libio.h [__LDBL_COMPAT]: #include it.
2749         * libio/libioP.h: Include <math_ldbl_opt.h>.
2750         * include/wchar.h (__fwprintf, __vfwprintf): Fix commented out
2751         attribute.
2752         (__vfwprintf_chk): New prototype.  Add libc_hidden_proto.
2753         * wcsmbs/bits/wchar-ldbl.h: New file.
2754         * wcsmbs/Makefile (headers): Add it.
2755         * wcsmbs/wchar.h [__LDBL_COMPAT]: #include it.
2756         * wcsmbs/bits/wchar2.h (__vswprintf_alias): Removed.
2757         (vswprintf): Define as a macro rather than inline function.
2758         * stdio-common/bits/printf-ldbl.h: New file.
2759         * stdio-common/Makefile (headers): Add it.
2760         * stdio-common/printf.h [__LDBL_COMPAT]: #include it.
2761         * libio/fwprintf.c: Include libioP.h.
2762         (fwprintf): Use ldbl_weak_alias instead of weak_alias.
2763         * libio/fwscanf.c: Include libioP.h.
2764         (fwscanf): Rename to __fwscanf and add ldbl_strong_alias.
2765         * libio/iovdprintf.c (vdprintf): Use ldbl_weak_alias instead of
2766         weak_alias.
2767         * libio/iovsprintf.c (_IO_vsprintf): Rename to __IO_vsprintf,
2768         add ldbl_strong_alias and use INTDEF2 instead of INTDEF.
2769         (vsprintf): Use ldbl_weak_alias instead of weak_alias.
2770         * libio/iovsscanf.c (__vsscanf, vsscanf): Use ldbl_weak_alias
2771         instead of weak_alias.
2772         * libio/iovswscanf.c (vswscanf): Rename to __vswscanf,
2773         add ldbl_strong_alias and use ldbl_hidden_def instead of
2774         libc_hidden_def.
2775         * libio/obprintf.c (obstack_printf, obstack_vprintf): Use
2776         ldbl_weak_alias instead of weak_alias.
2777         * libio/swprintf.c: Include libioP.h.
2778         (swprintf): Rename to __swprintf and add ldbl_strong_alias.
2779         * libio/swscanf.c: Include libioP.h.
2780         (swscanf): Rename to __swscanf and add ldbl_strong_alias.
2781         * libio/vasprintf.c (vasprintf): Use ldbl_weak_alias instead of
2782         weak_alias.
2783         * libio/vscanf.c (vscanf): Use ldbl_weak_alias instead of
2784         weak_alias.
2785         * libio/vsnprintf.c (__vsnprintf, vsnprintf): Use ldbl_weak_alias
2786         instead of weak_alias.
2787         * libio/vswprintf.c (__vswprintf): Remove alias.
2788         (vswprintf): Use ldbl_weak_alias instead of weak_alias.
2789         * libio/vwprintf.c: Include libioP.h.
2790         (vwprintf): Rename to __vwprintf and add ldbl_strong_alias.
2791         * libio/vwscanf.c (vwscanf): Rename to __vwscanf and add
2792         ldbl_strong_alias.
2793         * libio/wprintf.c: Include libioP.h.
2794         (wprintf): Rename to __wprintf and add ldbl_strong_alias.
2795         * libio/wscanf.c: Include libioP.h.
2796         (wscanf): Rename to __wscanf and add ldbl_strong_alias.
2797         * stdio-common/asprintf.c (__asprintf): Rename to ___asprintf, add
2798         ldbl_strong_alias and use INTDEF2 instead of INTDEF.
2799         (asprintf): Use ldbl_weak_alias instead of weak_alias.
2800         * stdio-common/dprintf.c (dprintf): Rename to __dprintf, add
2801         ldbl_strong_alias and use ldbl_hidden_def instead of
2802         libc_hidden_def.
2803         * stdio-common/fprintf.c: Include libioP.h.
2804         (fprintf): Rename to __fprintf, add ldbl_strong_alias and
2805         use ldbl_hidden_def instead of libc_hidden_def.
2806         (_IO_fprintf): Use ldbl_weak_alias instead of weak_alias.
2807         * stdio-common/fscanf.c: Include libioP.h.
2808         (fscanf): Rename to __fscanf and add ldbl_strong_alias.
2809         * stdio-common/printf.c: Include libioP.h.
2810         (printf): Rename to __printf and add ldbl_strong_alias.
2811         (_IO_printf): Use ldbl_strong_alias instead of strong_alias.
2812         * stdio-common/printf_fp.c (__printf_fp): Rename to __printf_fp, add
2813         ldbl_strong_alias and use ldbl_hidden_def instead of
2814         libc_hidden_def.
2815         * stdio-common/printf_size.c (printf_size): Rename to __printf_size
2816         and add ldbl_strong_alias.
2817         * stdio-common/scanf.c (scanf): Rename to __scanf and add
2818         ldbl_strong_alias.
2819         * stdio-common/snprintf.c (snprintf): Use ldbl_weak_alias instead of
2820         weak_alias.
2821         * stdio-common/sprintf.c (sprintf): Rename to __sprintf, add
2822         ldbl_strong_alias and use ldbl_hidden_def instead of
2823         libc_hidden_def.
2824         (_IO_sprintf): Use ldbl_strong_alias instead of strong_alias.
2825         * stdio-common/sscanf.c: Include libioP.h instead of iolibio.h.
2826         (sscanf): Rename to __sscanf and add ldbl_strong_alias.
2827         * stdio-common/vfprintf.c (vfprintf): Define to
2828         _IO_vfprintf_internal.  Use ldbl_strong_alias instead.  Use
2829         ldbl_hidden_def instead of libc_hidden_def.
2830         (_IO_vfprintf_internal): Clear is_long_double if __ldbl_is_dbl,
2831         handle the argument as double if it is non-zero.
2832         (vfwprintf): Use ldbl_weak_alias instead of weak_alias.
2833         (_IO_vfprintf): Add ldbl_strong_alias.
2834         * stdio-common/vfscanf.c (_IO_vfscanf): Rename to
2835         _IO_vfscanf_internal, don't use strtold if __ldbl_is_dbl, add
2836         ldbl_strong_alias.
2837         (vfwscanf): Use ldbl_weak_alias instead of weak_alias.
2838         (__vfscanf): Rename to ___vfscanf, add ldbl_strong_alias and
2839         use ldbl_hidden_def instead of libc_hidden_def.
2840         (vfscanf): Use ldbl_weak_alias instead of weak_alias.
2841         * stdio-common/vprintf.c: Include libioP.h.
2842         (vprintf): Rename to __vprintf and add ldbl_strong_alias.
2843         * debug/fprintf_chk.c (__fprintf_chk): Rename to ___fprintf_chk
2844         and add ldbl_strong_alias.
2845         * debug/printf_chk.c (__printf_chk): Rename to ___printf_chk
2846         and add ldbl_strong_alias.
2847         * debug/snprintf_chk.c: Include libioP.h.
2848         (__snprintf_chk): Rename to ___snprintf_chk and add ldbl_strong_alias.
2849         * debug/sprintf_chk.c: Include libioP.h.
2850         (__sprintf_chk): Rename to ___sprintf_chk and add ldbl_strong_alias.
2851         * debug/vfprintf_chk.c (__vfprintf_chk): Rename to ___vfprintf_chk,
2852         add ldbl_strong_alias and use ldbl_hidden_def instead of
2853         libc_hidden_def.
2854         * debug/vfwprintf_chk.c (__vfwprintf_chk): Add libc_hidden_def.
2855         * debug/vprintf_chk.c (__vprintf_chk): Rename to ___vprintf_chk
2856         and add ldbl_strong_alias.
2857         * debug/vsnprintf_chk.c (__vsnprintf_chk): Rename to ___vsnprintf_chk,
2858         add ldbl_strong_alias and use ldbl_hidden_def instead of
2859         libc_hidden_def.
2860         * debug/vsprintf_chk.c (__vsprintf_chk): Rename to ___vsprintf_chk,
2861         add ldbl_strong_alias and use ldbl_hidden_def instead of
2862         libc_hidden_def.
2864         * stdlib/stdlib.h (strtold): Don't define inline if [!__LDBL_COMPAT].
2865         * wcsmbs/wchar.h (wcstold): Likewise.
2866         * stdlib/strtod_l.c: Include math_ldbl_opt.h.
2867         (____STRTOF_INTERNAL): Define.
2868         (INTERNAL (__STRTOF)): Rename to ____STRTOF_INTERNAL.
2869         (__STRTOF): Call ____STRTOF_INTERNAL instead.
2870         [LONG_DOUBLE_COMPAT] (strtold_l, wcstold_l, __strtold_l, __wcstold_l):
2871         Add compatibility symbols.
2872         * stdlib/strtod.c: Include math_ldbl_opt.h.
2873         [LONG_DOUBLE_COMPAT] (strtold, wcstold, __strtold_internal,
2874         __wcstold_internal): Add compatibility symbols.
2875         * stdlib/strtold.c: Include bits/wordsize.h, wchar.h.
2876         (NEW, NEW1): Define.
2877         (__new_strtold, __new_wcstold): New prototypes.
2878         (____new_strtold_internal, ____new_wcstold_internal): Likewise.
2879         Add libc_hidden_proto.
2880         (STRTOF): Define to NEW (*told).
2881         [__LONG_DOUBLE_MATH_OPTIONAL] (wcstold, strtold): Add
2882         long_double_symbol.
2883         [__LONG_DOUBLE_MATH_OPTIONAL] (__wcstold_internal,
2884         __strtold_internal): Likewise. Add libc_hidden_ver.
2886         * stdlib/bits/stdlib-ldbl.h: New file.
2887         * stdlib/Makefile (headers): Add it.
2888         * stdlib/stdlib.h [__LDBL_COMPAT]: #include it.
2889         * include/stdlib.h (ecvt_r, fcvt_r, qecvt_r, qfcvt_r): Remove
2890         libc_hidden_proto.
2891         (__ecvt, __fcvt, __gcvt, __ecvt_r, __fcvt_r, __qecvt, __qfcvt,
2892         __qgcvt, __qecvt_r, __qfcvt_r): New prototypes.
2893         * misc/efgcvt_r.c: Include shlib-compat.h.
2894         (LONG_DOUBLE_CVT): Define.
2895         (__APPEND, __APPEND2): Define.
2896         (*fcvt_r): Use __APPEND instead of APPEND.  Remove libc_hidden_def.
2897         (*ecvt_r): Likewise.
2898         (cvt_symbol): Define.  Use it on fcvt_r and ecvt_r.
2899         * misc/efgcvt.c: Include shlib-compat.h.
2900         (LONG_DOUBLE_CVT): Define.
2901         (__APPEND, __APPEND2): Define.
2902         (fcvt): Use __APPEND instead of APPEND.  Remove libc_hidden_def.
2903         (ecvt, gcvt): Likewise.
2904         (cvt_symbol): Define.  Use it on fcvt, ecvt and gcvt.
2906         * stdlib/bits/monetary-ldbl.h: New file.
2907         * stdlib/Makefile (headers): Add it.
2908         * stdlib/monetary.h [__LDBL_COMPAT]: #include it.
2909         * stdlib/strfmon.c: Include math_ldbl_opt.h.
2910         (strfmon): Rename to __strfmon and add ldbl_strong_alias.
2911         * stdlib/strfmon_l.c: Remove all traces of [!USE_IN_LIBIO].
2912         (__vstrfmon_l): Don't set is_long_double if __ldbl_is_dbl.
2913         (__strfmon_l): Rename to ___strfmon_l and add ldbl_strong_alias.
2914         (strfmon_l): Use ldbl_weak_alias instead of weak_alias.
2916         * misc/bits/syslog-ldbl.h: New file.
2917         * misc/Makefile (headers): Add it.
2918         * misc/sys/syslog.h [__LDBL_COMPAT]: #include it.
2919         * misc/syslog.c: Include math_ldbl_opt.h.
2920         (syslog): Rename to __syslog and add ldbl_strong_alias,
2921         use ldbl_hidden_def instead of libc_hidden_def.
2922         (vsyslog): Rename to __vsyslog and add ldbl_strong_alias,
2923         use ldbl_hidden_def instead of libc_hidden_def.
2925         * sysdeps/generic/math_ldbl_opt.h: New file.
2926         * math/w_j1l.c (j1l, y1l): Rename to __ prefixed variants.
2927         Add weak_alias.
2928         * math/w_j0l.c (j0l, y0l): Likewise.
2929         * math/w_jnl.c (jnl, ynl): Likewise.
2930         * sysdeps/ieee754/ldbl-96/s_nexttoward.c
2931         (__nexttowardl): Remove strong_alias.
2932         (nexttowardl): Remove weak_alias.
2933         * sysdeps/ieee754/ldbl-96/s_erfl.c
2934         (__erfl, __erfcl): Remove strong_alias.
2935         (erfl, erfcl): Remove weak_alias.
2937         * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: New file.
2938         * sysdeps/ieee754/ldbl-64-128/s_atanl.c: New file.
2939         * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: New file.
2940         * sysdeps/ieee754/ldbl-64-128/s_ceill.c: New file.
2941         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: New file.
2942         * sysdeps/ieee754/ldbl-64-128/s_cosl.c: New file.
2943         * sysdeps/ieee754/ldbl-64-128/s_erfl.c: New file.
2944         * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: New file.
2945         * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: New file.
2946         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: New file.
2947         * sysdeps/ieee754/ldbl-64-128/s_floorl.c: New file.
2948         * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: New file.
2949         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: New file.
2950         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: New file.
2951         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: New file.
2952         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: New file.
2953         * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: New file.
2954         * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: New file.
2955         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: New file.
2956         * sysdeps/ieee754/ldbl-64-128/s_logbl.c: New file.
2957         * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: New file.
2958         * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: New file.
2959         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: New file.
2960         * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: New file.
2961         * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c: New file.
2962         * sysdeps/ieee754/ldbl-64-128/s_nexttoward.c: New file.
2963         * sysdeps/ieee754/ldbl-64-128/s_nexttowardf.c: New file.
2964         * sysdeps/ieee754/ldbl-64-128/s_nexttowardfd.c: New file.
2965         * sysdeps/ieee754/ldbl-64-128/s_remquol.c: New file.
2966         * sysdeps/ieee754/ldbl-64-128/s_rintl.c: New file.
2967         * sysdeps/ieee754/ldbl-64-128/s_roundl.c: New file.
2968         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: New file.
2969         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: New file.
2970         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: New file.
2971         * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: New file.
2972         * sysdeps/ieee754/ldbl-64-128/s_sinl.c: New file.
2973         * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: New file.
2974         * sysdeps/ieee754/ldbl-64-128/s_tanl.c: New file.
2975         * sysdeps/ieee754/ldbl-64-128/s_truncl.c: New file.
2976         * sysdeps/ieee754/ldbl-64-128/strtold_l.c: New file.
2977         * sysdeps/ieee754/ldbl-64-128/w_expl.c: New file.
2978         * sysdeps/ieee754/ldbl-opt/configure.in: New file.
2979         * sysdeps/ieee754/ldbl-opt/configure: New file.
2980         * sysdeps/ieee754/ldbl-opt/Makefile: New file.
2981         * sysdeps/ieee754/ldbl-opt/Versions: New file.
2982         * sysdeps/ieee754/ldbl-opt/cabs.c: New file.
2983         * sysdeps/ieee754/ldbl-opt/cabsl.c: New file.
2984         * sysdeps/ieee754/ldbl-opt/carg.c: New file.
2985         * sysdeps/ieee754/ldbl-opt/cargl.c: New file.
2986         * sysdeps/ieee754/ldbl-opt/cimag.c: New file.
2987         * sysdeps/ieee754/ldbl-opt/cimagl.c: New file.
2988         * sysdeps/ieee754/ldbl-opt/conj.c: New file.
2989         * sysdeps/ieee754/ldbl-opt/conjl.c: New file.
2990         * sysdeps/ieee754/ldbl-opt/creal.c: New file.
2991         * sysdeps/ieee754/ldbl-opt/creall.c: New file.
2992         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: New file.
2993         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: New file.
2994         * sysdeps/ieee754/ldbl-opt/nldbl-acos.c: New file.
2995         * sysdeps/ieee754/ldbl-opt/nldbl-acosh.c: New file.
2996         * sysdeps/ieee754/ldbl-opt/nldbl-asin.c: New file.
2997         * sysdeps/ieee754/ldbl-opt/nldbl-asinh.c: New file.
2998         * sysdeps/ieee754/ldbl-opt/nldbl-asprintf.c: New file.
2999         * sysdeps/ieee754/ldbl-opt/nldbl-atan.c: New file.
3000         * sysdeps/ieee754/ldbl-opt/nldbl-atan2.c: New file.
3001         * sysdeps/ieee754/ldbl-opt/nldbl-atanh.c: New file.
3002         * sysdeps/ieee754/ldbl-opt/nldbl-cabs.c: New file.
3003         * sysdeps/ieee754/ldbl-opt/nldbl-cacos.c: New file.
3004         * sysdeps/ieee754/ldbl-opt/nldbl-cacosh.c: New file.
3005         * sysdeps/ieee754/ldbl-opt/nldbl-carg.c: New file.
3006         * sysdeps/ieee754/ldbl-opt/nldbl-casin.c: New file.
3007         * sysdeps/ieee754/ldbl-opt/nldbl-casinh.c: New file.
3008         * sysdeps/ieee754/ldbl-opt/nldbl-catan.c: New file.
3009         * sysdeps/ieee754/ldbl-opt/nldbl-catanh.c: New file.
3010         * sysdeps/ieee754/ldbl-opt/nldbl-cbrt.c: New file.
3011         * sysdeps/ieee754/ldbl-opt/nldbl-ccos.c: New file.
3012         * sysdeps/ieee754/ldbl-opt/nldbl-ccosh.c: New file.
3013         * sysdeps/ieee754/ldbl-opt/nldbl-ceil.c: New file.
3014         * sysdeps/ieee754/ldbl-opt/nldbl-cexp.c: New file.
3015         * sysdeps/ieee754/ldbl-opt/nldbl-cimag.c: New file.
3016         * sysdeps/ieee754/ldbl-opt/nldbl-clog.c: New file.
3017         * sysdeps/ieee754/ldbl-opt/nldbl-clog10.c: New file.
3018         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: New file.
3019         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: New file.
3020         * sysdeps/ieee754/ldbl-opt/nldbl-conj.c: New file.
3021         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c: New file.
3022         * sysdeps/ieee754/ldbl-opt/nldbl-cos.c: New file.
3023         * sysdeps/ieee754/ldbl-opt/nldbl-cosh.c: New file.
3024         * sysdeps/ieee754/ldbl-opt/nldbl-cpow.c: New file.
3025         * sysdeps/ieee754/ldbl-opt/nldbl-cproj.c: New file.
3026         * sysdeps/ieee754/ldbl-opt/nldbl-creal.c: New file.
3027         * sysdeps/ieee754/ldbl-opt/nldbl-csin.c: New file.
3028         * sysdeps/ieee754/ldbl-opt/nldbl-csinh.c: New file.
3029         * sysdeps/ieee754/ldbl-opt/nldbl-csqrt.c: New file.
3030         * sysdeps/ieee754/ldbl-opt/nldbl-ctan.c: New file.
3031         * sysdeps/ieee754/ldbl-opt/nldbl-ctanh.c: New file.
3032         * sysdeps/ieee754/ldbl-opt/nldbl-dprintf.c: New file.
3033         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: New file.
3034         * sysdeps/ieee754/ldbl-opt/nldbl-erf.c: New file.
3035         * sysdeps/ieee754/ldbl-opt/nldbl-erfc.c: New file.
3036         * sysdeps/ieee754/ldbl-opt/nldbl-exp.c: New file.
3037         * sysdeps/ieee754/ldbl-opt/nldbl-exp10.c: New file.
3038         * sysdeps/ieee754/ldbl-opt/nldbl-exp2.c: New file.
3039         * sysdeps/ieee754/ldbl-opt/nldbl-expm1.c: New file.
3040         * sysdeps/ieee754/ldbl-opt/nldbl-fabs.c: New file.
3041         * sysdeps/ieee754/ldbl-opt/nldbl-fdim.c: New file.
3042         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: New file.
3043         * sysdeps/ieee754/ldbl-opt/nldbl-floor.c: New file.
3044         * sysdeps/ieee754/ldbl-opt/nldbl-fma.c: New file.
3045         * sysdeps/ieee754/ldbl-opt/nldbl-fmax.c: New file.
3046         * sysdeps/ieee754/ldbl-opt/nldbl-fmin.c: New file.
3047         * sysdeps/ieee754/ldbl-opt/nldbl-fmod.c: New file.
3048         * sysdeps/ieee754/ldbl-opt/nldbl-fprintf.c: New file.
3049         * sysdeps/ieee754/ldbl-opt/nldbl-fprintf_chk.c: New file.
3050         * sysdeps/ieee754/ldbl-opt/nldbl-frexp.c: New file.
3051         * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c: New file.
3052         * sysdeps/ieee754/ldbl-opt/nldbl-fwprintf.c: New file.
3053         * sysdeps/ieee754/ldbl-opt/nldbl-fwprintf_chk.c: New file.
3054         * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c: New file.
3055         * sysdeps/ieee754/ldbl-opt/nldbl-gamma.c: New file.
3056         * sysdeps/ieee754/ldbl-opt/nldbl-hypot.c: New file.
3057         * sysdeps/ieee754/ldbl-opt/nldbl-ilogb.c: New file.
3058         * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c: New file.
3059         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: New file.
3060         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: New file.
3061         * sysdeps/ieee754/ldbl-opt/nldbl-j0.c: New file.
3062         * sysdeps/ieee754/ldbl-opt/nldbl-j1.c: New file.
3063         * sysdeps/ieee754/ldbl-opt/nldbl-jn.c: New file.
3064         * sysdeps/ieee754/ldbl-opt/nldbl-ldexp.c: New file.
3065         * sysdeps/ieee754/ldbl-opt/nldbl-lgamma.c: New file.
3066         * sysdeps/ieee754/ldbl-opt/nldbl-lgamma_r.c: New file.
3067         * sysdeps/ieee754/ldbl-opt/nldbl-llrint.c: New file.
3068         * sysdeps/ieee754/ldbl-opt/nldbl-llround.c: New file.
3069         * sysdeps/ieee754/ldbl-opt/nldbl-log.c: New file.
3070         * sysdeps/ieee754/ldbl-opt/nldbl-log10.c: New file.
3071         * sysdeps/ieee754/ldbl-opt/nldbl-log1p.c: New file.
3072         * sysdeps/ieee754/ldbl-opt/nldbl-log2.c: New file.
3073         * sysdeps/ieee754/ldbl-opt/nldbl-logb.c: New file.
3074         * sysdeps/ieee754/ldbl-opt/nldbl-lrint.c: New file.
3075         * sysdeps/ieee754/ldbl-opt/nldbl-lround.c: New file.
3076         * sysdeps/ieee754/ldbl-opt/nldbl-modf.c: New file.
3077         * sysdeps/ieee754/ldbl-opt/nldbl-nan.c: New file.
3078         * sysdeps/ieee754/ldbl-opt/nldbl-nearbyint.c: New file.
3079         * sysdeps/ieee754/ldbl-opt/nldbl-nextafter.c: New file.
3080         * sysdeps/ieee754/ldbl-opt/nldbl-nexttoward.c: New file.
3081         * sysdeps/ieee754/ldbl-opt/nldbl-nexttowardf.c: New file.
3082         * sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf.c: New file.
3083         * sysdeps/ieee754/ldbl-opt/nldbl-obstack_vprintf.c: New file.
3084         * sysdeps/ieee754/ldbl-opt/nldbl-pow.c: New file.
3085         * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: New file.
3086         * sysdeps/ieee754/ldbl-opt/nldbl-printf.c: New file.
3087         * sysdeps/ieee754/ldbl-opt/nldbl-printf_chk.c: New file.
3088         * sysdeps/ieee754/ldbl-opt/nldbl-printf_fp.c: New file.
3089         * sysdeps/ieee754/ldbl-opt/nldbl-printf_size.c: New file.
3090         * sysdeps/ieee754/ldbl-opt/nldbl-qecvt.c: New file.
3091         * sysdeps/ieee754/ldbl-opt/nldbl-qecvt_r.c: New file.
3092         * sysdeps/ieee754/ldbl-opt/nldbl-qfcvt.c: New file.
3093         * sysdeps/ieee754/ldbl-opt/nldbl-qfcvt_r.c: New file.
3094         * sysdeps/ieee754/ldbl-opt/nldbl-qgcvt.c: New file.
3095         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c: New file.
3096         * sysdeps/ieee754/ldbl-opt/nldbl-remquo.c: New file.
3097         * sysdeps/ieee754/ldbl-opt/nldbl-rint.c: New file.
3098         * sysdeps/ieee754/ldbl-opt/nldbl-round.c: New file.
3099         * sysdeps/ieee754/ldbl-opt/nldbl-scalb.c: New file.
3100         * sysdeps/ieee754/ldbl-opt/nldbl-scalbln.c: New file.
3101         * sysdeps/ieee754/ldbl-opt/nldbl-scalbn.c: New file.
3102         * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c: New file.
3103         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: New file.
3104         * sysdeps/ieee754/ldbl-opt/nldbl-significand.c: New file.
3105         * sysdeps/ieee754/ldbl-opt/nldbl-sin.c: New file.
3106         * sysdeps/ieee754/ldbl-opt/nldbl-sincos.c: New file.
3107         * sysdeps/ieee754/ldbl-opt/nldbl-sinh.c: New file.
3108         * sysdeps/ieee754/ldbl-opt/nldbl-snprintf.c: New file.
3109         * sysdeps/ieee754/ldbl-opt/nldbl-snprintf_chk.c: New file.
3110         * sysdeps/ieee754/ldbl-opt/nldbl-sprintf.c: New file.
3111         * sysdeps/ieee754/ldbl-opt/nldbl-sprintf_chk.c: New file.
3112         * sysdeps/ieee754/ldbl-opt/nldbl-sqrt.c: New file.
3113         * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c: New file.
3114         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon.c: New file.
3115         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c: New file.
3116         * sysdeps/ieee754/ldbl-opt/nldbl-strtold.c: New file.
3117         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: New file.
3118         * sysdeps/ieee754/ldbl-opt/nldbl-strtoldint.c: New file.
3119         * sysdeps/ieee754/ldbl-opt/nldbl-swprintf.c: New file.
3120         * sysdeps/ieee754/ldbl-opt/nldbl-swprintf_chk.c: New file.
3121         * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c: New file.
3122         * sysdeps/ieee754/ldbl-opt/nldbl-syslog.c: New file.
3123         * sysdeps/ieee754/ldbl-opt/nldbl-syslog_chk.c: New file.
3124         * sysdeps/ieee754/ldbl-opt/nldbl-tan.c: New file.
3125         * sysdeps/ieee754/ldbl-opt/nldbl-tanh.c: New file.
3126         * sysdeps/ieee754/ldbl-opt/nldbl-tgamma.c: New file.
3127         * sysdeps/ieee754/ldbl-opt/nldbl-trunc.c: New file.
3128         * sysdeps/ieee754/ldbl-opt/nldbl-vasprintf.c: New file.
3129         * sysdeps/ieee754/ldbl-opt/nldbl-vdprintf.c: New file.
3130         * sysdeps/ieee754/ldbl-opt/nldbl-vfprintf.c: New file.
3131         * sysdeps/ieee754/ldbl-opt/nldbl-vfprintf_chk.c: New file.
3132         * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c: New file.
3133         * sysdeps/ieee754/ldbl-opt/nldbl-vfwprintf.c: New file.
3134         * sysdeps/ieee754/ldbl-opt/nldbl-vfwprintf_chk.c: New file.
3135         * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c: New file.
3136         * sysdeps/ieee754/ldbl-opt/nldbl-vprintf.c: New file.
3137         * sysdeps/ieee754/ldbl-opt/nldbl-vprintf_chk.c: New file.
3138         * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c: New file.
3139         * sysdeps/ieee754/ldbl-opt/nldbl-vsnprintf.c: New file.
3140         * sysdeps/ieee754/ldbl-opt/nldbl-vsnprintf_chk.c: New file.
3141         * sysdeps/ieee754/ldbl-opt/nldbl-vsprintf.c: New file.
3142         * sysdeps/ieee754/ldbl-opt/nldbl-vsprintf_chk.c: New file.
3143         * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c: New file.
3144         * sysdeps/ieee754/ldbl-opt/nldbl-vswprintf.c: New file.
3145         * sysdeps/ieee754/ldbl-opt/nldbl-vswprintf_chk.c: New file.
3146         * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c: New file.
3147         * sysdeps/ieee754/ldbl-opt/nldbl-vsyslog.c: New file.
3148         * sysdeps/ieee754/ldbl-opt/nldbl-vsyslog_chk.c: New file.
3149         * sysdeps/ieee754/ldbl-opt/nldbl-vwprintf.c: New file.
3150         * sysdeps/ieee754/ldbl-opt/nldbl-vwprintf_chk.c: New file.
3151         * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c: New file.
3152         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold.c: New file.
3153         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c: New file.
3154         * sysdeps/ieee754/ldbl-opt/nldbl-wcstoldint.c: New file.
3155         * sysdeps/ieee754/ldbl-opt/nldbl-wprintf.c: New file.
3156         * sysdeps/ieee754/ldbl-opt/nldbl-wprintf_chk.c: New file.
3157         * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c: New file.
3158         * sysdeps/ieee754/ldbl-opt/nldbl-y0.c: New file.
3159         * sysdeps/ieee754/ldbl-opt/nldbl-y1.c: New file.
3160         * sysdeps/ieee754/ldbl-opt/nldbl-yn.c: New file.
3161         * sysdeps/ieee754/ldbl-opt/s_asinh.c: New file.
3162         * sysdeps/ieee754/ldbl-opt/s_atan.c: New file.
3163         * sysdeps/ieee754/ldbl-opt/s_cacos.c: New file.
3164         * sysdeps/ieee754/ldbl-opt/s_cacosh.c: New file.
3165         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: New file.
3166         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: New file.
3167         * sysdeps/ieee754/ldbl-opt/s_casin.c: New file.
3168         * sysdeps/ieee754/ldbl-opt/s_casinh.c: New file.
3169         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: New file.
3170         * sysdeps/ieee754/ldbl-opt/s_casinl.c: New file.
3171         * sysdeps/ieee754/ldbl-opt/s_catan.c: New file.
3172         * sysdeps/ieee754/ldbl-opt/s_catanh.c: New file.
3173         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: New file.
3174         * sysdeps/ieee754/ldbl-opt/s_catanl.c: New file.
3175         * sysdeps/ieee754/ldbl-opt/s_cbrt.c: New file.
3176         * sysdeps/ieee754/ldbl-opt/s_ccos.c: New file.
3177         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: New file.
3178         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: New file.
3179         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: New file.
3180         * sysdeps/ieee754/ldbl-opt/s_ceil.c: New file.
3181         * sysdeps/ieee754/ldbl-opt/s_cexp.c: New file.
3182         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: New file.
3183         * sysdeps/ieee754/ldbl-opt/s_clog.c: New file.
3184         * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
3185         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: New file.
3186         * sysdeps/ieee754/ldbl-opt/s_clogl.c: New file.
3187         * sysdeps/ieee754/ldbl-opt/s_copysign.c: New file.
3188         * sysdeps/ieee754/ldbl-opt/s_cpow.c: New file.
3189         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: New file.
3190         * sysdeps/ieee754/ldbl-opt/s_cproj.c: New file.
3191         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: New file.
3192         * sysdeps/ieee754/ldbl-opt/s_csin.c: New file.
3193         * sysdeps/ieee754/ldbl-opt/s_csinh.c: New file.
3194         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: New file.
3195         * sysdeps/ieee754/ldbl-opt/s_csinl.c: New file.
3196         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: New file.
3197         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: New file.
3198         * sysdeps/ieee754/ldbl-opt/s_ctan.c: New file.
3199         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: New file.
3200         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: New file.
3201         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: New file.
3202         * sysdeps/ieee754/ldbl-opt/s_erf.c: New file.
3203         * sysdeps/ieee754/ldbl-opt/s_expm1.c: New file.
3204         * sysdeps/ieee754/ldbl-opt/s_fabs.c: New file.
3205         * sysdeps/ieee754/ldbl-opt/s_fdim.c: New file.
3206         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: New file.
3207         * sysdeps/ieee754/ldbl-opt/s_finite.c: New file.
3208         * sysdeps/ieee754/ldbl-opt/s_floor.c: New file.
3209         * sysdeps/ieee754/ldbl-opt/s_fma.c: New file.
3210         * sysdeps/ieee754/ldbl-opt/s_fmal.c: New file.
3211         * sysdeps/ieee754/ldbl-opt/s_fmax.c: New file.
3212         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: New file.
3213         * sysdeps/ieee754/ldbl-opt/s_fmin.c: New file.
3214         * sysdeps/ieee754/ldbl-opt/s_fminl.c: New file.
3215         * sysdeps/ieee754/ldbl-opt/s_frexp.c: New file.
3216         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: New file.
3217         * sysdeps/ieee754/ldbl-opt/s_isinf.c: New file.
3218         * sysdeps/ieee754/ldbl-opt/s_isnan.c: New file.
3219         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: New file.
3220         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: New file.
3221         * sysdeps/ieee754/ldbl-opt/s_llrint.c: New file.
3222         * sysdeps/ieee754/ldbl-opt/s_llround.c: New file.
3223         * sysdeps/ieee754/ldbl-opt/s_log1p.c: New file.
3224         * sysdeps/ieee754/ldbl-opt/s_logb.c: New file.
3225         * sysdeps/ieee754/ldbl-opt/s_lrint.c: New file.
3226         * sysdeps/ieee754/ldbl-opt/s_lround.c: New file.
3227         * sysdeps/ieee754/ldbl-opt/s_modf.c: New file.
3228         * sysdeps/ieee754/ldbl-opt/s_nan.c: New file.
3229         * sysdeps/ieee754/ldbl-opt/s_nanl.c: New file.
3230         * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: New file.
3231         * sysdeps/ieee754/ldbl-opt/s_nextafter.c: New file.
3232         * sysdeps/ieee754/ldbl-opt/s_remquo.c: New file.
3233         * sysdeps/ieee754/ldbl-opt/s_rint.c: New file.
3234         * sysdeps/ieee754/ldbl-opt/s_round.c: New file.
3235         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: New file.
3236         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: New file.
3237         * sysdeps/ieee754/ldbl-opt/s_significand.c: New file.
3238         * sysdeps/ieee754/ldbl-opt/s_significandl.c: New file.
3239         * sysdeps/ieee754/ldbl-opt/s_sin.c: New file.
3240         * sysdeps/ieee754/ldbl-opt/s_sincos.c: New file.
3241         * sysdeps/ieee754/ldbl-opt/s_tan.c: New file.
3242         * sysdeps/ieee754/ldbl-opt/s_tanh.c: New file.
3243         * sysdeps/ieee754/ldbl-opt/s_trunc.c: New file.
3244         * sysdeps/ieee754/ldbl-opt/w_acos.c: New file.
3245         * sysdeps/ieee754/ldbl-opt/w_acosh.c: New file.
3246         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: New file.
3247         * sysdeps/ieee754/ldbl-opt/w_acosl.c: New file.
3248         * sysdeps/ieee754/ldbl-opt/w_asin.c: New file.
3249         * sysdeps/ieee754/ldbl-opt/w_asinl.c: New file.
3250         * sysdeps/ieee754/ldbl-opt/w_atan2.c: New file.
3251         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: New file.
3252         * sysdeps/ieee754/ldbl-opt/w_atanh.c: New file.
3253         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: New file.
3254         * sysdeps/ieee754/ldbl-opt/w_cosh.c: New file.
3255         * sysdeps/ieee754/ldbl-opt/w_coshl.c: New file.
3256         * sysdeps/ieee754/ldbl-opt/w_drem.c: New file.
3257         * sysdeps/ieee754/ldbl-opt/w_dreml.c: New file.
3258         * sysdeps/ieee754/ldbl-opt/w_exp.c: New file.
3259         * sysdeps/ieee754/ldbl-opt/w_exp10.c: New file.
3260         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: New file.
3261         * sysdeps/ieee754/ldbl-opt/w_fmod.c: New file.
3262         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: New file.
3263         * sysdeps/ieee754/ldbl-opt/w_hypot.c: New file.
3264         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: New file.
3265         * sysdeps/ieee754/ldbl-opt/w_j0.c: New file.
3266         * sysdeps/ieee754/ldbl-opt/w_j0l.c: New file.
3267         * sysdeps/ieee754/ldbl-opt/w_j1.c: New file.
3268         * sysdeps/ieee754/ldbl-opt/w_j1l.c: New file.
3269         * sysdeps/ieee754/ldbl-opt/w_jn.c: New file.
3270         * sysdeps/ieee754/ldbl-opt/w_jnl.c: New file.
3271         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: New file.
3272         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: New file.
3273         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: New file.
3274         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: New file.
3275         * sysdeps/ieee754/ldbl-opt/w_log.c: New file.
3276         * sysdeps/ieee754/ldbl-opt/w_log10.c: New file.
3277         * sysdeps/ieee754/ldbl-opt/w_log10l.c: New file.
3278         * sysdeps/ieee754/ldbl-opt/w_log2.c: New file.
3279         * sysdeps/ieee754/ldbl-opt/w_log2l.c: New file.
3280         * sysdeps/ieee754/ldbl-opt/w_logl.c: New file.
3281         * sysdeps/ieee754/ldbl-opt/w_pow.c: New file.
3282         * sysdeps/ieee754/ldbl-opt/w_powl.c: New file.
3283         * sysdeps/ieee754/ldbl-opt/w_remainder.c: New file.
3284         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: New file.
3285         * sysdeps/ieee754/ldbl-opt/w_scalb.c: New file.
3286         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: New file.
3287         * sysdeps/ieee754/ldbl-opt/w_sinh.c: New file.
3288         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: New file.
3289         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: New file.
3290         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: New file.
3291         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: New file.
3292         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: New file.
3294         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: New file.
3295         * sysdeps/unix/sysv/linux/sparc/sparc32/Implies: New file.
3296         * sysdeps/sparc/sparc32/Implies: Move ldbl-128 first and flt-32
3297         after dbl-64.
3298         * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (NLDBL_VERSION):
3299         %define this to to GLIBC_2.4.
3300         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
3301         * sysdeps/sparc/sparc32/fpu/s_fabs.c: New file.
3302         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: New file.
3303         * sysdeps/sparc/sparc32/fpu/s_fabsl.c: New file.
3304         * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: Removed.
3305         * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: Removed.
3306         * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: Removed.
3307         * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: Removed.
3308         * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: Removed.
3309         * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: Removed.
3310         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: New file.
3311         * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: New file.
3312         * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: New file.
3313         * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: New file.
3314         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: New file.
3315         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: New file.
3316         * sysdeps/sparc/sparc32/soft-fp/Versions: New file.
3317         * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_cmp,
3318         __unordered_v9cmp): Define differently depending on
3319         -m32 -mlong-double-{64,128}.
3320         (__signbitl, sqrtl, __ieee754_sqrtl): New inlines.
3321         * sysdeps/sparc/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove.
3322         * sysdeps/sparc/sparc32/soft-fp/Makefile (sparc32-quad-routines):
3323         Set.
3324         (sysdep-routines): Add sparc32-quad-routines.
3325         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Include stdlib.h.
3326         (FP_HANDLE_EXCEPTIONS): Call ___Q_simulate_exceptions as a normal
3327         function.
3328         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): New
3329         alias to _Q_sqrt.
3330         * sysdeps/sparc/sparc32/soft-fp/q_div.c (_Q_div): Fix a typo.
3331         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Include stdlib.h.
3332         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
3334         * libio/libio.h (_IO_vfscanf, _IO_vfprintf): Remove __THROW.
3335         (_IO_vfwscanf, _IO_vfwprintf): Likewise.
3336         * libio/libioP.h (_IO_vdprintf): Likewise.
3338 2006-01-13  Richard Henderson  <rth@redhat.com>
3340         * sysdeps/unix/sysv/linux/alpha/sysdep.h (PTR_MANGLE, PTR_MANGLE2,
3341         PTR_DEMANGLE, PTR_DEMANGLE2): Move ...
3342         * sysdeps/unix/alpha/sysdep.h: ... here.
3343         * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Define __GI___fxstatat64.
3345 2006-01-13  Andreas Jaeger  <aj@suse.de>
3347         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (ELF_NVRREG): Fix
3348         value for PowerPC64.
3350 2006-01-12  Roland McGrath  <roland@redhat.com>
3352         * sysdeps/s390/jmpbuf-offsets.h: New file.
3353         * sysdeps/s390/jmpbuf-unwind.h: Include it.
3355         * sysdeps/alpha/__longjmp.S: Include <jmpbuf-offsets.h>
3356         instead of <bits/setjmp.h>.
3357         * sysdeps/alpha/setjmp.S: Likewise.
3358         * sysdeps/i386/__longjmp.S: Likewise.
3359         * sysdeps/i386/bsd-_setjmp.S: Likewise.
3360         * sysdeps/i386/bsd-setjmp.S: Likewise.
3361         * sysdeps/i386/setjmp.S: Likewise.
3362         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3363         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3364         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S:
3365         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3366         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3367         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3368         * sysdeps/sh/sh3/setjmp.S: Likewise.
3369         * sysdeps/sh/sh4/setjmp.S: Likewise.
3370         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3371         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
3372         * sysdeps/x86_64/__longjmp.S: Likewise.
3373         * sysdeps/x86_64/setjmp.S: Likewise.
3374         * sysdeps/mach/hurd/i386/longjmp-ts.c: Include <jmpbuf-offsets.h>.
3375         * sysdeps/mach/hurd/powerpc/longjmp-ts.c: Likewise.
3376         * sysdeps/mach/hurd/alpha/longjmp-ts.c: Likewise.
3377         * sysdeps/alpha/jmpbuf-unwind.h: Likewise.
3378         * sysdeps/hppa/jmpbuf-unwind.h: Likewise.
3379         * sysdeps/i386/jmpbuf-unwind.h: Likewise.
3380         * sysdeps/powerpc/jmpbuf-unwind.h: Likewise.
3381         * sysdeps/sparc/sparc32/jmpbuf-unwind.h: Likewise.
3382         * sysdeps/sparc/sparc64/jmpbuf-unwind.h: Likewise.
3383         * sysdeps/x86_64/jmpbuf-unwind.h: Likewise.
3384         * setjmp/jmpbuf-offsets.h: File removed.
3385         * include/bits/setjmp.h: File removed.
3387 2006-01-11  Ulrich Drepper  <drepper@redhat.com>
3389         * libio/wmemstream.c: New file.
3390         * libio/stdio.h: Declare open_wmemstream.
3391         * libio/Versions: Export open_wmemstream for GLIBC_2.4.
3392         * libio/Makefile (routines): Add wmemstream.
3393         (tests): Add tst-memstream1, tst-memstream2, tst-wmemstream2, and
3394         tst-wmemstream2.
3395         * libio/tst-memstream1.c: New file.
3396         * libio/tst-memstream2.c: New file.
3397         * libio/tst-wmemstream1.c: New file.
3398         * libio/tst-wmemstream2.c: New file.
3400         * libio/memstream.c (_IO_mem_sync): Remove useless call to
3401         _IO_default_sync.
3403         * elf/check-textrel.c: Add missing argument.
3405         * Makerules: Define build-module-asneeded.
3406         * iconvdata/extra-module.mk: Use build-module-asneeded.
3407         needed.
3409 2006-01-09  Richard Henderson  <rth@redhat.com>
3411         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on ld.so.
3412         * sysdeps/alpha/__longjmp.S: Use PTR_DEMANGLE.
3413         * sysdeps/alpha/setjmp.S: Likewise.  Avoid __sigjmp_save for rtld;
3414         tailcall in libc.so.
3415         * sysdeps/unix/sysv/linux/alpha/sysdep.h (PTR_MANGLE): Define.
3416         (PTR_MANGLE2): Define.
3418 2006-01-11  Ulrich Drepper  <drepper@redhat.com>
3420         * elf/check-localplt.c: New file.
3421         * elf/Makefile: Add rules to build and run check-localplt.
3422         * scripts/data/localplt-x86_64-linux-gnu.data: New file.
3423         * scripts/data/localplt-i386-linux-gnu.data: New file.
3425         * include/sys/stat.h: Add libc_hidden_proto for __fxstatat64.
3426         * sysdeps/unix/sysv/linux/fxstatat64.c: Add libc_hidden_def for
3427         __fxstatat64.
3428         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Add
3429         __GI___fxstatat64 alias.
3431         * libio/memstream.c (_IO_mem_finish): Fix potential memory leak if
3432         realloc fails.
3434         * include/sched.h: Add libc_hidden_proto for __sched_yield.
3436         * libio/genops.c (_IO_unbuffer_write): Give concurrently running
3437         threads the chance to work correctly by trying to lock the stream.
3438         If this does not work, proceed without locking.
3440 2006-01-10  Ulrich Drepper  <drepper@redhat.com>
3442         * libio/genops.c (_IO_unbuffer_write): Don't always free the
3443         buffer.  This is not necessary except in debug mode.  If we don't
3444         free the buffer but the FILE structure to a list.
3445         (buffer_free): New function.  Free buffers or tell _IO_unbuffer_write
3446         to do so.
3447         * libio/libio.h (struct _IO_FILE): Add new members to keep track
3448         of which buffers have to be freed.
3450         * iconv/gconv_cache.c (free_mem): Don't call munmap if gconv_cache
3451         is NULL.
3453 2005-10-14  Paul Eggert  <eggert@cs.ucla.edu>
3455         * malloc/obstack.c: Fix old comments.  Update FSF snail mail address.
3456         * malloc/obstack.h: Likewise.
3458         [BZ #321]
3459         Fix portability bugs encountered when porting to Itanium.
3460         * malloc/obstack.h (obstack_empty_p, obstack_finish): Do not
3461         assume that the "contents" member is suitably aligned.  It is
3462         not, for some hosts and alignments: e.g., Itanium, long-double.
3463         * malloc/obstack.c (_obstack_begin, _obstack_begin_1,
3464         _obstack_newchunk): Likewise.
3465         * malloc/obstack.c: Include <stddef.h>, for size_t.
3466         Include <inttypes.h>, <stdint.h> if needed and available.
3467         (DEFAULT_ALIGNMENT): Now an enum constant, not a macro.
3468         Use C89 offsetof rather than K&R trick.
3469         Use the maximum alignment of uintmax_t, long double, void *
3470         rather than the alignment of double.
3471         (union fooround): Use uintmax_t, long double, void * members
3472         rather than just long and double.
3474         [BZ #321]
3475         Fix portability bugs encountered when porting to the IBM iSeries,
3476         where pointers are 256 bits wide and no integers are that wide.
3477         * malloc/obstack.h (__PTR_TO_INT, __INT_TO_PTR): Remove.
3478         All uses changed to:
3479         (__BPTR_ALIGN, __PTR_ALIGN): New macros.
3480         (struct _obstack_chunk.temp): Change from int to a union
3481         of pointer and int.  All uses changed.
3483         [BZ #321]
3484         * malloc/obstack.c (print_and_abort) [!_LIBC]:
3485         Call fprintf (stderr, ...), not __fxprintf (NULL, ...).
3486         [_LIBC && USE_IN_LIBIO]: Don't include <wchar.h>; no longer needed.
3488 2006-01-10  Derek Price  <derek@ximbiot.com>
3489             Paul Eggert  <eggert@cs.ucla.edu>
3491         [BZ #1060]
3492         * posix/glob.c: Assume freestanding C89 compiler.  Simplify cruft that
3493         may be replaced with GNULIB modules.  Make no attempt to find 64-bit
3494         versions of file access functions directly when [!_LIBC].
3495         Don't define GLOB_* macros here.
3496         (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK, DIRENT_MIGHT_BE_DIR): New
3497         macros to abstract dirent->d_type access.
3498         (GETPW_R_SIZE_MAX, GET_LOGIN_NAME_MAX): New macros to abstract sysconf
3499         access.
3501 2006-01-10  Roland McGrath  <roland@redhat.com>
3503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3504         (PTR_MANGLE): Fix cast.
3506         * timezone/test-tz.c: Revert last change, updating to match
3507         tzdata2005r definition of "MST".
3509 2006-01-10  Ulrich Drepper  <drepper@redhat.com>
3511         * include/bits/setjmp.h: Don't include jmpbuf-offsets.h if _ISOMAC is
3512         defined.
3514 2006-01-10  Andreas Jaeger  <aj@suse.de>
3516         * include/time.h: Use normal comments.
3518 2006-01-10  Thomas Schwinge  <tschwinge@gnu.org>
3520         * hurd/sigunwind.c: Include <jmpbuf-unwind.h> instead of <setjmp.h>.
3521         * sysdeps/mach/hurd/jmp-unwind.c: Likewise.
3523 2006-01-10  Jakub Jelinek  <jakub@redhat.com>
3525         * wcsmbs/bits/wchar2.h (vswprintf): Call __vswprintf_alias rather than
3526         vswprintf recursively.
3528 2006-01-10  Ulrich Drepper  <drepper@redhat.com>
3530         * sysdeps/x86_64/bits/setjmp.h: Add back accidently removed #endif.
3532 2006-01-10  Roland McGrath  <roland@redhat.com>
3534         * include/bits/setjmp.h: New file.
3535         * setjmp/jmpbuf-offsets.h: New file.
3536         * sysdeps/alpha/bits/setjmp.h: Move JB_* macros ...
3537         * sysdeps/alpha/jmpbuf-offsets.h: ... here, new file.
3538         * sysdeps/hppa/bits/setjmp.h (JB_SP): Macro moved ...
3539         * sysdeps/hppa/jmpbuf-offsets.h: ... here, new file.
3540         * sysdeps/i386/bits/setjmp.h: Move JB_* macros ...
3541         * sysdeps/i386/jmpbuf-offsets.h: ... here, new file.
3542         * sysdeps/mips/bits/setjmp.h (JB_PC): Macro removed.
3543         * sysdeps/powerpc/bits/setjmp.h: Move JB_* macros ...
3544         * sysdeps/powerpc/jmpbuf-offsets.h: ... here, new file.
3545         * sysdeps/s390/bits/setjmp.h: Remove __JB_* macros.
3546         * sysdeps/sh/bits/setjmp.h (JB_SIZE): Macro moved ...
3547         * sysdeps/sh/jmpbuf-offsets.h: ... here, new file.
3548         * sysdeps/sparc/sparc32/bits/setjmp.h: Move JB_* macros ...
3549         * sysdeps/sparc/sparc32/jmpbuf-offsets.h: ... here, new file.
3550         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Remove JB_* macros.
3551         * sysdeps/x86_64/bits/setjmp.h: Move JB_* macros ...
3552         * sysdeps/x86_64/jmpbuf-offsets.h: ... here, new file.
3554         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
3555         * sysdeps/powerpc/jmpbuf-unwind.h: ... here.
3556         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
3557         * sysdeps/alpha/jmpbuf-unwind.h: ... here.
3558         * sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
3559         * sysdeps/sparc/sparc32/jmpbuf-unwind.h: ... here.
3560         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
3561         * sysdeps/i386/jmpbuf-unwind.h: ... here.
3562         * sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
3563         * sysdeps/x86_64/jmpbuf-unwind.h: ... here.
3564         * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
3565         * sysdeps/sh/jmpbuf-unwind.h: ... here.
3566         * sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
3567         * sysdeps/hppa/jmpbuf-unwind.h: ... here, new file.
3568         * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
3569         * sysdeps/mips/jmpbuf-unwind.h: ... here.
3570         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
3571         * sysdeps/m68k/jmpbuf-unwind.h: ... here, new file.
3572         * sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
3573         * sysdeps/s390/jmpbuf-unwind.h: ... here.
3574         * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS):
3575         Move macro ...
3576         * sysdeps/ia64/jmpbuf-unwind.h: ... here.
3577         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS):
3578         Move macro ...
3579         * sysdeps/sparc/sparc64/jmpbuf-unwind.h: ... here.
3581         * sysdeps/alpha/jmpbuf-unwind.h: New file, moved from nptl/.
3582         * sysdeps/i386/jmpbuf-unwind.h: New file, moved from nptl/.
3583         * sysdeps/ia64/jmpbuf-unwind.h: New file, moved from nptl/.
3584         * sysdeps/mips/jmpbuf-unwind.h: New file, moved from nptl/.
3585         * sysdeps/powerpc/jmpbuf-unwind.h: New file, moved from nptl/.
3586         * sysdeps/s390/jmpbuf-unwind.h: New file, moved from nptl/.
3587         * sysdeps/sh/jmpbuf-unwind.h: New file, moved from nptl/.
3588         * sysdeps/sparc/sparc32/jmpbuf-unwind.h: New file, moved from nptl/.
3589         * sysdeps/sparc/sparc64/jmpbuf-unwind.h: New file, moved from nptl/.
3590         * sysdeps/x86_64/jmpbuf-unwind.h: New file, moved from nptl/.
3592         * sysdeps/linkmap.h: File removed.
3594 2006-01-07  Carlos O'Donell  <carlos@systemhalted.org>
3596         * sysdeps/hppa/elf/start.S (_start): Use PLABEL32 relocations
3597         by using LR and RR. Add %sr0 to iitlbp.
3599 2006-01-09  Roland McGrath  <roland@redhat.com>
3601         * timezone/private.h: Update from tzcode2005r.
3602         * timezone/tzfile.h: Likewise.
3603         * timezone/zdump.c: Likewise.
3604         * timezone/zic.c: Likewise.
3605         * timezone/africa: Update from tzdata2005r.
3606         * timezone/antarctica: Likewise.
3607         * timezone/asia: Likewise.
3608         * timezone/australasia: Likewise.
3609         * timezone/backward: Likewise.
3610         * timezone/europe: Likewise.
3611         * timezone/northamerica: Likewise.
3612         * timezone/southamerica: Likewise.
3613         * timezone/systemv: Likewise.
3615         * elf/Makefile ($(objpfx)reldep5.out): Fix dependency typo,
3616         so we depend on $(objpfx)reldepmod6.so as intended.
3618 2006-01-09  Ulrich Drepper  <drepper@redhat.com>
3620         [BZ #2126]
3621         * sysdeps/i386/i686/strtok.S: Store pointer to NUL byte if NULL is
3622         returned.
3623         * sysdeps/i386/strtok.S: Likewise.
3624         * sysdeps/x86_64/strtok.S: Likewise.
3625         * string/Makefile (tests): Add bug-strtok1.
3626         * string/bug-strtok1.c: New file.
3628         * elf/check-textrel.c (AB): Also check for writable and executable
3629         segments.
3631         * sysdeps/ieee754/dbl-64/e_exp2.c: Remove section attribute from
3632         const variables, gas produces garbage.
3633         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3634         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3635         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3637 2006-01-09  Jakub Jelinek  <jakub@redhat.com>
3639         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS): Add
3640         stack bias to mc_fp field.
3642         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
3643         (struct kernel_stat): Rename st_[amc]time fields to st_[amc]time_sec.
3644         (struct kernel_stat64): New type.
3645         (_HAVE___UNUSED1, _HAVE___UNUSED2, _HAVE_STAT___UNUSED1,
3646         _HAVE_STAT___UNUSED2, _HAVE_STAT___UNUSED3, _HAVE_STAT___UNUSED4,
3647         _HAVE_STAT___UNUSED5, _HAVE_STAT___PAD1, _HAVE_STAT___PAD2,
3648         _HAVE_STAT64___UNUSED1, _HAVE_STAT64___UNUSED2,
3649         _HAVE_STAT64___UNUSED3, _HAVE_STAT64___UNUSED4,
3650         _HAVE_STAT64___UNUSED5, _HAVE_STAT64___PAD1, _HAVE_STAT64___PAD2):
3651         Remove.
3652         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Use i386/xstat.c.
3653         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c:
3654         Use i386/fxstatat.c.
3655         * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: Use i386/lxstat.c.
3656         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: New file.
3657         * sysdeps/unix/sysv/linux/sparc/bits/stat.h (struct stat,
3658         struct stat64): Add nsec resolution for 64-bit code like already done
3659         for 32-bit code.
3660         * sysdeps/unix/sysv/linux/kernel-features.h
3661         (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL): Don't define
3662         for sparc64.
3663         (__ASSUME_STAT64_SYSCALL): Only define for sparc64 for >= 2.6.12
3664         kernels.
3666         * scripts/data/c++-types-sparc-linux-gnu.data: New file.
3667         * scripts/data/c++-types-sparc64-linux-gnu.data: New file.
3668         * scripts/data/c++-types-alpha-linux-gnu.data: Adjust.
3670 2006-01-08  Roland McGrath  <roland@redhat.com>
3672         [BZ #1535]
3673         * sysdeps/unix/get_child_max.c: New file.
3674         * posix/get_child_max.c: New file.
3675         * posix/Makefile (routines): Add it.
3676         * include/sys/sysinfo.h (__get_child_max): Declare it.
3677         * sysdeps/posix/sysconf.c (__sysconf) [! CHILD_MAX]: Use it.
3679         * sysdeps/unix/sysv/linux/futimes.c [!__NR_fcntl && __NR_fcntl64]: Use
3680         fcntl64 syscall instead.
3682         * stdio-common/tst-fmemopen2.c (do_test): Add a cast.
3683         * stdio-common/printf-parsemb.c (__find_specmb): Likewise.
3685         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in
3686         #include for kernel-features.h.
3687         * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: Likewise.
3688         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: Likewise.
3689         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
3690         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3691         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3692         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
3693         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3694         * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
3695         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3696         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3697         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
3698         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3699         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3700         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3701         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3702         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3703         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3704         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3705         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3706         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3707         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3708         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3709         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3710         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3711         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
3712         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3713         * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
3714         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
3715         * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
3716         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3717         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3718         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3719         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3720         * sysdeps/unix/sysv/linux/i386/fchownat.c: Likewise.
3721         * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
3722         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3723         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Likewise.
3724         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3725         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3726         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3727         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3728         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3729         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
3730         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3731         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3732         * sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise.
3733         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3734         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3735         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3736         * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
3737         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
3738         * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
3739         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
3740         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
3741         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3742         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3743         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
3744         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3745         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
3746         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3747         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3748         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
3749         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3750         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
3751         * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
3752         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3753         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3754         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3755         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3756         * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
3757         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Likewise.
3758         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
3759         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3760         * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3761         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3762         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3763         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3764         * sysdeps/unix/sysv/linux/opendir.c: Likewise.
3765         * sysdeps/unix/sysv/linux/poll.c: Likewise.
3766         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Likewise.
3768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
3769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
3774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: Likewise.
3775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3783         * sysdeps/unix/sysv/linux/pread.c: Likewise.
3784         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3785         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3786         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3787         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3788         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3789         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise.
3790         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3791         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3792         * sysdeps/unix/sysv/linux/setegid.c: Likewise.
3793         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
3794         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3795         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3796         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3797         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3798         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3799         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Likewise.
3800         * sysdeps/unix/sysv/linux/statvfs64.c: Likewise.
3801         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3802         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3803         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
3804         * sysdeps/unix/sysv/linux/utimes.c: Likewise.
3805         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3806         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3808 2006-01-07  Roland McGrath  <roland@redhat.com>
3810         * po/libc.pot: Regenerated.
3812         * po/.cvsignore: List libc.pot.files, and not any .pot names.
3814         * manual/maint.texi (Porting): Don't mention Dist files.
3815         * sysdeps/alpha/soft-fp/Dist: File removed.
3816         * sysdeps/alpha/Dist: File removed.
3817         * sysdeps/i386/i686/Dist: File removed.
3818         * sysdeps/i386/soft-fp/Dist: File removed.
3819         * sysdeps/i386/Dist: File removed.
3820         * sysdeps/mips/soft-fp/Dist: File removed.
3821         * sysdeps/mips/mips64/soft-fp/Dist: File removed.
3822         * sysdeps/mips/mips64/Dist: File removed.
3823         * sysdeps/mips/Dist: File removed.
3824         * sysdeps/wordsize-32/Dist: File removed.
3825         * sysdeps/m68k/fpu/switch/Dist: File removed.
3826         * sysdeps/m68k/fpu/Dist: File removed.
3827         * sysdeps/powerpc/powerpc64/Dist: File removed.
3828         * sysdeps/powerpc/soft-fp/Dist: File removed.
3829         * sysdeps/powerpc/powerpc32/fpu/Dist: File removed.
3830         * sysdeps/powerpc/powerpc32/Dist: File removed.
3831         * sysdeps/powerpc/fpu/Dist: File removed.
3832         * sysdeps/powerpc/Dist: File removed.
3833         * sysdeps/unix/common/Dist: File removed.
3834         * sysdeps/unix/bsd/bsd4.4/Dist: File removed.
3835         * sysdeps/unix/bsd/Dist: File removed.
3836         * sysdeps/unix/sysv/linux/alpha/Dist: File removed.
3837         * sysdeps/unix/sysv/linux/i386/Dist: File removed.
3838         * sysdeps/unix/sysv/linux/mips/mips64/Dist: File removed.
3839         * sysdeps/unix/sysv/linux/mips/Dist: File removed.
3840         * sysdeps/unix/sysv/linux/m68k/Dist: File removed.
3841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: File removed.
3842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: File removed.
3843         * sysdeps/unix/sysv/linux/powerpc/aix/Dist: File removed.
3844         * sysdeps/unix/sysv/linux/powerpc/Dist: File removed.
3845         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: File removed.
3846         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: File removed.
3847         * sysdeps/unix/sysv/linux/sparc/Dist: File removed.
3848         * sysdeps/unix/sysv/linux/ia64/Dist: File removed.
3849         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: File removed.
3850         * sysdeps/unix/sysv/linux/s390/Dist: File removed.
3851         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: File removed.
3852         * sysdeps/unix/sysv/linux/sh/Dist: File removed.
3853         * sysdeps/unix/sysv/linux/x86_64/Dist: File removed.
3854         * sysdeps/unix/sysv/linux/hppa/Dist: File removed.
3855         * sysdeps/unix/sysv/linux/Dist: File removed.
3856         * sysdeps/unix/sysv/Dist: File removed.
3857         * sysdeps/unix/Dist: File removed.
3858         * sysdeps/generic/Dist: File removed.
3859         * sysdeps/sparc/sparc32/soft-fp/Dist: File removed.
3860         * sysdeps/sparc/sparc32/sparcv9/Dist: File removed.
3861         * sysdeps/sparc/sparc32/sparcv8/Dist: File removed.
3862         * sysdeps/sparc/sparc32/Dist: File removed.
3863         * sysdeps/sparc/sparc64/soft-fp/Dist: File removed.
3864         * sysdeps/sparc/sparc64/Dist: File removed.
3865         * sysdeps/sparc/Dist: File removed.
3866         * sysdeps/gnu/Dist: File removed.
3867         * sysdeps/ia64/fpu/Dist: File removed.
3868         * sysdeps/ia64/Dist: File removed.
3869         * sysdeps/mach/mips/Dist: File removed.
3870         * sysdeps/mach/hurd/alpha/Dist: File removed.
3871         * sysdeps/mach/hurd/i386/Dist: File removed.
3872         * sysdeps/mach/hurd/mips/Dist: File removed.
3873         * sysdeps/mach/hurd/powerpc/Dist: File removed.
3874         * sysdeps/mach/hurd/Dist: File removed.
3875         * sysdeps/s390/s390-64/Dist: File removed.
3876         * sysdeps/s390/Dist: File removed.
3877         * sysdeps/s390/s390-32/Dist: File removed.
3878         * sysdeps/sh/Dist: File removed.
3879         * sysdeps/posix/Dist: File removed.
3880         * sysdeps/ieee754/dbl-64/Dist: File removed.
3881         * sysdeps/ieee754/ldbl-128/Dist: File removed.
3882         * sysdeps/ieee754/flt-32/Dist: File removed.
3883         * sysdeps/ieee754/Dist: File removed.
3884         * sysdeps/x86_64/soft-fp/Dist: File removed.
3885         * sysdeps/x86_64/Dist: File removed.
3886         * sysdeps/hppa/Dist: File removed.
3888         * Makerules (common-clean): Don't remove distinfo file.
3889         ($(objpfx)distinfo): Target removed.
3890         * manual/Makefile (mostlyclean): Don't remove distinfo file.
3891         (glibc-targets): Remove echo-distinfo.
3893         * scripts/list-sources.sh: New file.
3894         * Makefile (TAGS): New target.
3895         * po/Makefile (libc.pot, libc.pot.files): New targets.
3896         * Makeconfig (XGETTEXT): New variable.
3897         * Makerules ($(..)po/%.pot): Rule removed.
3898         (TAGS): Target removed.
3899         * Rules (subdir_TAGS): Target removed.
3900         * MakeTAGS: File removed.
3902         * Makefile (iconvdata/% localedata/% po/% manual/%): Depend on FORCE.
3903         * Makeconfig ($(all-Depend-files)): New targets with no-op commands.
3905 2004-08-03  Marco Gerards  <marco@gnu.org>
3907         [BZ #2119]
3908         * sysdeps/mach/hurd/bits/ioctls.h (SIOCGIFHWADDR): New macro.
3910 2006-01-07  Ulrich Drepper  <drepper@redhat.com>
3912         * stdio-common/tstdiomisc.c (F): Use NAN to get NaN value.
3914 2006-01-06  Ulrich Drepper  <drepper@redhat.com>
3916         * elf/tst-tls8.c (do_test): Use $ORIGIN in module names.
3918 2006-01-03  Steven Munroe  <sjmunroe@us.ibm.com>
3920         * sysdeps/generic/sysdep.h (cfi_same_value): Define macro.
3922         * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve,
3923         _dl_profile_resolve): Add CFI directives for stack and LR save.
3924         Save LR in LRSAVE of previous frame per ABI.
3925         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add CFI directives
3926         for LR save.
3927         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
3929         (__makecontext, __novec_makecontext): Likewise.
3930         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Add CFI directive
3931         for LR save to register.
3932         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3933         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3934         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3935         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise.
3936         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3937         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3938         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3939         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3940         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3941         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3942         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Add CFI directive
3943         for stack.
3944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3945         * sysdeps/powerpc/powerpc32/ppc-mcount.S: Add CFI directives for stack
3946         and LR save.
3947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3949         Likewise.
3950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3951         Likewise.
3952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3953         Likewise.
3954         * sysdeps/powerpc/powerpc32/fpu/s_lround.S:  Likewise.  Don't use
3955         negative stack addressing.
3957         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3958         _dl_profile_resolve): Add CFI directives for stack and LR save.
3959         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Add CFI directives
3960         for stack.
3961         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Add CFI
3962         directives for stack and LR save.
3963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Add CFI
3964         directives for stack.
3965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): Add CFI
3966         directives for stack.
3967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3968         (__getcontext, __novec_getcontext): Add CFI directives for stack
3969         and LR save.
3970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3971         (__makecontext): Add CFI directives for stack and LR save.
3972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3973         (__setcontext, __novec_setcontext): Add CFI directives for stack
3974         and LR save.
3975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3976         (__swapcontext, __novec_swapcontext):  Add CFI directives for stack
3977         and LR save.
3979 2006-01-06  Jakub Jelinek  <jakub@redhat.com>
3981         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include tls.h.
3982         (SYSCALL_ERROR_HANDLER_ENTRY): Use %g4 instead of %g2, to avoid
3983         the need of .register directive for it.
3984         * configure.in (libc_cv_asm_cfi_directives): Use CFI rel offset
3985         2047 instead of 0 in the test on sparc64.
3987 2006-01-06  Ulrich Drepper  <drepper@redhat.com>
3989         * scripts/check-c++-types.sh: Add more pthread types.
3990         * scripts/data//c++-types-i386-linux-gnu.data: Adjust.
3991         * scripts/data//c++-types-ia64-linux-gnu.data: Likewise.
3992         * scripts/data//c++-types-powerpc-linux-gnu.data: Likewise.
3993         * scripts/data//c++-types-powerpc64-linux-gnu.data: Likewise.
3994         * scripts/data//c++-types-s390-linux-gnu.data: Likewise.
3995         * scripts/data//c++-types-s390x-linux-gnu.data: Likewise.
3996         * scripts/data//c++-types-x86_64-linux-gnu.data: Likewise.
3998         * sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL_NCS):
3999         Adjust for private->__private rename in tcbhead_t.
4001         [BZ #2114]
4002         * ncsd/aicache.c: Don't use sendfile for records on the stack.
4003         * nscd/grpcache.c: Likewise.
4004         * nscd/hstcache.c: Likewise.
4005         * nscd/initgrcache.c: Likewise.
4006         * nscd/pwdcache.c: Likewise.
4007         Patch by dmueller@suse.com.
4009         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Define MADV_REMOVE.
4010         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
4011         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
4012         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4013         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4014         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4015         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4016         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
4018 2006-01-06  Roland McGrath  <roland@redhat.com>
4020         * Makeconfig (+gnu-stabs): Remove ancient cruft.
4022         [BZ #2103]
4023         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_HWX25): Corrected macro
4024         name (was typo ARPHDR_HWX25).
4025         (ARPHRD_IEEE80211_PRISM, ARPHRD_IEEE80211_RADIOTAP): New macros.
4026         (ARPHRD_VOID, ARPHRD_NONE): New macros.
4028         * sysdeps/wordsize-32/divdi3.c (__moddi3): Add a cast.
4030         * io/fcntl.h [__USE_ATFILE] (AT_EACCESS): New macro.
4031         * posix/unistd.h [__USE_ATFILE]: Declare faccessat.
4032         * io/faccessat.c: New file.
4033         * sysdeps/unix/sysv/linux/faccessat.c: New file.
4034         * io/Makefile (routines): Add faccessat.
4035         * io/Versions (libc: GLIBC_2.4): Likewise.
4036         * io/tst-faccessat.c: New file.
4037         * io/Makefile (tests): Add it.
4039         * scripts/check-local-headers.sh: Revert last change.
4041         * io/euidaccess.c: Add eaccess as an alias.
4042         * sysdeps/mach/hurd/euidaccess.c: Likewise.
4043         * sysdeps/posix/euidaccess.c: Likewise.
4044         * posix/unistd.h [__USE_GNU]: Declare eaccess.
4045         * io/Versions (libc: GLIBC_2.4): Add eaccess.
4047 2005-12-04  Joseph S. Myers  <joseph@codesourcery.com>
4049         * soft-fp/Makefile (gcc-single-routines): Add unordsf2,
4050         floatunsisf, floatundisf.
4051         (gcc-double-routines): Add unorddf2, floatunsidf, floatundidf.
4052         (gcc-quad-routines): Add unordtf2, floatunsitf, floatunditf.
4053         * soft-fp/op-common.h (_FP_CMP_UNORD): Define.
4054         * soft-fp/single.h (FP_CMP_UNORD_S): Define.
4055         * soft-fp/double.h (FP_CMP_UNORD_D): Define.
4056         * soft-fp/quad.h (FP_CMP_UNORD_Q): Define.
4057         * soft-fp/extended.h (FP_CMP_UNORD_E): Define.
4058         * soft-fp/unordsf2.c: New file.
4059         * soft-fp/unorddf2.c: New file.
4060         * soft-fp/unordtf2.c: New file.
4061         * soft-fp/floatunsisf.c: New file.
4062         * soft-fp/floatundisf.c: New file.
4063         * soft-fp/floatunsidf.c: New file.
4064         * soft-fp/floatundidf.c: New file.
4065         * soft-fp/floatunsitf.c: New file.
4066         * soft-fp/floatunditf.c: New file.
4068         * soft-fp/op-common.h (__FP_CLZ): Define using __builtin_clz,
4069         __builtin_clzl and __builtin_clzll.
4071 2006-01-05  Mike Frysinger  <vapier@gentoo.org>
4073         * include/alloca.h (extend_alloca): Fix typoed name 'extern_alloca'.
4075 2006-01-05  Jakub Jelinek  <jakub@redhat.com>
4077         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL):
4078         Only define for 2.6.12+ on s390{,x}.
4079         (__ASSUME_GETDENTS32_D_TYPE): Only define for 2.6.8+ on most arches
4080         and only for 2.6.11+ on s390{,x}.
4082 2006-01-05  Ulrich Drepper  <drepper@redhat.com>
4084         * sysdeps/pthread/aio_misc.h [!DONT_USE_BOOTSTRAP_MAP]
4085         (struct waitlist): Don't add cond.
4086         * sysdeps/pthread/aio_notify.c [!DONT_USE_BOOTSTRAP_MAP]
4087         (__aio_notify): Use AIO_MISC_NOTIFY instead of pthread_cond_signal.
4088         * sysdeps/pthread/aio_suspend.c [!DONT_USE_BOOTSTRAP_MAP]: Don't
4089         use condvar, use AIO_MISC_WAIT.
4090         * sysdeps/pthread/lio_listio.c: Likewise.
4091         * rt/Makefile (tests): Add tst-aio9 and tst-aio10.
4092         * rt/tst-aio9.c: New file.
4093         * rt/tst-aio10.c: New file.
4095         * rt/tst-aio3.c: The thread is now supposed to be created.
4097 2006-01-05  Roland McGrath  <roland@redhat.com>
4099         * include/features.h: Grok _ATFILE_SOURCE and define __USE_ATFILE when
4100         it or _GNU_SOURCE is defined.
4101         * io/fcntl.h: Protect *at and AT_* with [__USE_ATFILE] instead of
4102         [__USE_GNU].
4103         * libio/stdio.h: Likewise.
4104         * posix/unistd.h: Likewise.
4105         * time/sys/time.h: Likewise.
4106         * io/sys/stat.h: Likewise.
4108         * io/sys/stat.h [__USE_GNU]: Declare fchmodat.
4109         * io/fchmodat.c: New file.
4110         * io/Makefile (routines): Add fchmodat.
4111         * io/Versions (libc: GLIBC_2.4): Likewise.
4112         * sysdeps/unix/sysv/linux/fchmodat.c: New file.
4113         * io/tst-fchmodat.c: New file.
4114         * io/Makefile (tests): Add it.
4116 2006-01-03  Steven Munroe  <sjmunroe@us.ibm.com>
4118         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY, EALIGN): Add cfi_startproc
4119         directive to ENTRY macros.
4120         (END): Add cfi_endproc directive to END macro.
4121         * sysdeps/powerpc/powerpc64/sysdep.h (ENTRY, EALIGN): Add cfi_startproc
4122         directive to ENTRY macros.
4123         (END, END_GEN_TB): Add cfi_endproc directive to END macros.
4124         * sysdeps/powerpc/powerpc32/dl-start.S: Remove ENTRY()s for
4125         _dl_start_user and _dl_main_dispatch.
4126         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Use END macro.
4127         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Use Likewise.
4128         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
4129         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
4130         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
4131         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
4132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Remove redundant
4133         cfi_startproc and cfi_endproc.
4134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4136 2006-01-04  Ulrich Drepper  <drepper@redhat.com>
4138         * sysdeps/pthread/aio_misc.h (struct waitlist): Add result member.
4139         * sysdeps/pthread/aio_notify.c (__aio_notify): For synchronous waiters,
4140         failed I/O, and a result pointer, set value to -1.
4141         * sysdeps/pthread/aio_suspend.c: Initialize result pointer to NULL.
4142         * sysdeps/pthread/lio_listio.c: For LIO_WAIT, point result pointer in
4143         wait list to local variable result.  If nonzero afterwards, set errno
4144         to EIO.  For LIO_NOWAIT set result to NULL.
4145         * rt/Makefile (tests): Add tst-aio8.
4146         * rt/tst-aio8.c: New file.
4148 2005-12-25  Kristian Van Der Vliet  <vanders@liqwyd.com>
4150         * abi-tags (*-.*-syllable.*): New match, with ABI value 5.
4151         * elf/cache.c (print_entry): Match the Syllable ABI tag.
4153 2006-01-04  Ulrich Drepper  <drepper@redhat.com>
4155         * include/stdlib.h: Make even more C++ compliant.
4157 2006-01-04  Joseph S. Myers  <joseph@codesourcery.com>
4159         * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Use
4160         __SYSCALL_CLOBBERS.
4162 2006-01-03  H.J. Lu  <hongjiu.lu@intel.com>
4164         * configure.in (HAVE_LIBAUDIT): Check
4165         audit_log_user_avc_message instead of audit_log_avc.
4167 2006-01-04  Joseph S. Myers  <joseph@codesourcery.com>
4169         * sysdeps/ieee754/bits/nan.h: Fix typo.
4171 2006-01-03  Jakub Jelinek  <jakub@redhat.com>
4173         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Include string.h.
4175         * sysdeps/sparc/sparc32/dl-machine.h (LD_SO_PRELOAD): Remove unused
4176         define.
4178         * sysdeps/sparc/sparc32/bits/atomic.h: Include stdint.h, add
4179         {,u}atomic*_t typedefs.
4180         (__sparc32_atomic_do_lock): Add __volatile and memory clobber.
4181         (__sparc32_atomic_do_unlock): Add memory barrier.
4182         (__sparc32_atomic_do_lock24, __sparc32_atomic_do_unlock24): Define.
4183         [!SHARED] (__v9_compare_and_exchange_val_32_acq): Define.
4184         (__v7_compare_and_exchange_val_acq, __v7_compare_and_exchange_bool_acq,
4185         __v7_exchange_acq, __v7_exchange_and_add, __v7_exchange_24_rel,
4186         __v7_compare_and_exchange_val_24_acq, __atomic_is_v9,
4187         atomic_exchange_acq, atomic_compare_and_exchange_val_24_acq,
4188         atomic_exchange_24_rel): Define.
4189         [SHARED] (atomic_exchange_and_add): Define.
4190         [!SHARED] (__ATOMIC_HWCAP_SPARC_V9): Define.
4191         [!SHARED] (_dl_hwcap): New weak decl.
4192         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_exchange_24_rel,
4193         atomic_compare_and_exchange_val_24_acq): Define.
4194         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_exchange_24_rel,
4195         atomic_compare_and_exchange_val_24_acq): Define.
4197 2006-01-03  Ulrich Drepper  <drepper@redhat.com>
4199         lio_listio should emit an event for each individual request in
4200         addition to the global event.
4201         * sysdeps/pthread/lio_listio.c (lio_listio): Renamed to
4202         lio_listio_internal.  Remove mode parameter check.  Only set sigevent
4203         type to SIGEV_NONE if LIO_NO_INDIVIDUAL_EVENT is set.
4204         (__lio_listio_21): New function.  Compatiblity version which sets
4205         LIO_NO_INDIVIDUAL_EVENT before calling lio_listio_internal.
4206         (__lio_listio_item_notify): New function.
4207         * sysdeps/pthread/lio_listio64.c: Define __lio_listio_21 and
4208         __lio_listio_item_notify macros.
4209         * sysdeps/pthread/Versions: New file.
4210         * rt/tst-aio2.c: Adjust test for new semantics of lio_listio.
4211         * include/aio.h: Define LIO_NO_INDIVIDUAL_EVENT.
4212         * Versions.def: Add GLIBC_2.4 for librt.
4214         * rt/Versions: Whitespace fix.
4215         * sysdeps/pthread/aio_misc.c: Likewise.
4217         * nscd/connections.c (nscd_init): Remove if block which should
4218         have been removed as part of the -S option removal.
4220 2006-01-03  Andreas Jaeger  <aj@suse.de>
4222         * scripts/check-local-headers.sh: Allow $includedir/c++.
4224 2006-01-03  Jakub Jelinek  <jakub@redhat.com>
4226         * posix/unistd.h (ctermid): Remove __nonnull attribute.
4228 2006-01-02  Jakub Jelinek  <jakub@redhat.com>
4230         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PTR_MANGLE,
4231         PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define.
4232         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PTR_MANGLE,
4233         PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define.
4234         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h [__WORDSIZE == 64]
4235         (_JMPBUF_UNWINDS): Don't demangle uc_mcontext.mc_fp.
4236         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Mangle %fp, %sp
4237         and %o7.
4238         * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Demangle %fp, %sp
4239         and %o7.
4241 2006-01-02  Jakub Jelinek  <jakub@redhat.com>
4243         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PTR_MANGLE2):
4244         Define.
4245         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PTR_MANGLE2):
4246         Likewise.
4247         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Demangle also %r15.
4248         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
4249         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Mangle also %r15.
4250         * sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise.
4251         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise.
4252         * sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise.
4254         * sysdeps/s390/bits/setjmp.h (__jmp_buf): Add __s390_jmp_buf
4255         struct tag to make C++ happy.
4257 2006-01-02  Ulrich Drepper  <drepper@redhat.com>
4259         * posix/Makefile ($(objpfx)annexc.out): Move -I.. to the end of
4260         the include list.
4262 2006-01-01  Ulrich Drepper  <drepper@redhat.com>
4264         * posix/getconf.c: Update copyright year.
4265         * nss/getent.c: Likewise.
4266         * iconv/iconvconfig.c: Likewise.
4267         * iconv/iconv_prog.c: Likewise.
4268         * elf/ldconfig.c: Likewise.
4269         * catgets/gencat.c: Likewise.
4270         * csu/version.c: Likewise.
4271         * elf/ldd.bash.in: Likewise.
4272         * elf/sprof.c (print_version): Likewise.
4273         * locale/programs/locale.c: Likewise.
4274         * locale/programs/localedef.c: Likewise.
4275         * nscd/nscd.c (print_version): Likewise.
4276         * debug/xtrace.sh: Likewise.
4277         * malloc/memusage.sh: Likewise.
4278         * malloc/mtrace.pl: Likewise.
4279         * debug/catchsegv.sh: Likewise.
4281 2005-12-31  Andreas Jaeger  <aj@suse.de>
4283         [BZ #1395]
4284         * manual/filesys.texi (Symbolic Links): Fix description of
4285         canonicalize_file_name based on patch by Oskar Liljeblad
4286         <oskar@osk.mine.nu>.
4288 2005-12-29  Andreas Jaeger  <aj@suse.de>
4290         * resolv/res_debug.c (latlon2ul): Use ISO C function definition.
4291         (precsize_aton): Likewise.
4292         (precsize_ntoa): Likewise.
4294         * resolv/gethnamaddr.c (_gethtbyname): Remove extra prototype.
4295         (gethostbyname2): Likewise.
4296         (gethostbyaddr): Likewise.
4297         (getanswer): Use ISO C function definition.
4299 2005-12-29  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4301         * sysdeps/sh/sysdep.h: Add cfi instrumentation to asm fragments.
4302         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4303         * sysdeps/sh/_mcount.S: Add cfi instrumentation.
4304         * sysdeps/unix/sh/sysdep.S: Likewise.
4305         * sysdeps/unix/sysv/linux/sh/makecontext.S: Adjust cfi_startproc.
4306         * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Remove now duplicate
4307         cfi_startproc and cfi_endproc.
4308         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise.
4309         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise.
4310         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4311         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4312         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4313         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4314         * sysdeps/unix/sysv/linux/sh/sysdep.S: Add cfi_endproc.
4316 2005-12-30  Ulrich Drepper  <drepper@redhat.com>
4318         * sysdeps/powerpc/powerpc64/setjmp-common.S: Make sure pointer guard
4319         value doesn't survive in a registers when the function returns.
4320         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4321         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4323 2005-12-30  Jakub Jelinek  <jakub@redhat.com>
4325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
4326         PTR_MANGLE2.
4327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
4328         PTR_MANGLE2 and PTR_DEMANGLE2.
4329         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Use PTR_DEMANGLE2.
4330         * sysdeps/powerpc/powerpc64/setjmp-common.S: Use PTR_MANGLE2.
4331         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4332         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4334 2005-12-30  Ulrich Drepper  <drepper@redhat.com>
4336         * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS):
4337         Don't use _demangle parameter for now.
4339         [BZ #2080]
4340         * libio/iogetwline.c (_IO_getwline_info): Move return to correct
4341         location.
4343         * nscd/connections.c: Remove last remnants of -S option support.
4344         * nscd/nscd.c: Likewise.
4345         * nscd/nscd.h: Likewise.
4347 2005-12-30  Andreas Jaeger  <aj@suse.de>
4349         [BZ #1067]
4350         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Fix struct msghdr
4351         for 64-bit mips kernel.
4353 2005-12-08  Steven Munroe  <sjmunroe@us.ibm.com>
4354             Tom Gall <tom_gall@vnet.ibm.com>
4356         * elf/rtld.c (dl_main): Initialize l_local_scope for sysinfo_map.
4357         * sysdeps/powerpc/elf/libc-start.c: Move this...
4358         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: ...to here.
4359         * sysdeps/powerpc/powerpc32/dl-start.S: Add _dl_main_dispatch label.
4360         * sysdeps/powerpc/powerpc32/hp-timing.h: New file.
4361         * sysdeps/unix/sysv/linux/powerpc/Versions: New file.
4362         * sysdeps/unix/sysv/linux/clock_getres.c: If HAVE_CLOCK_GETRES_VSYSCALL
4363         is not defined, redefine INTERNAL_VSYSCALL and INLINE_VSYSCALL to
4364         INTERNAL_SYSCALL and INLINE_SYSCALL respectively.  Otherwise include
4365         <bits/libc-vdso.h>.  Use INLINE_VSYSCALL and INTERNAL_SYSCALL instead
4366         of the normal versions throughout the code.
4367         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise if
4368         HAVE_CLOCK_GETTIME_VSYSCALL is defined.
4369         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: New file.
4370         * sysdeps/unix/sysv/linux/powerpc/dl-vdso.c: New file.
4371         * sysdeps/unix/sysv/linux/powerpc/dl-vdso.h: New file.
4372         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use vDSO.
4373         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: New file.
4374         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add dl-vdso to routines.
4375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
4376         INLINE_VSYSCALL, INTERNAL_VSYSCALL, INTERNAL_SYSCALL_NCS,
4377         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK, HAVE_CLOCK_GETRES_VSYSCALL,
4378         and HAVE_CLOCK_GETTIME_VSYSCALL.
4379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4381 2005-12-29  Ulrich Drepper  <drepper@redhat.com>
4383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h [ASSEMBLER]:
4384         Define PTR_DEMANGLE2.
4385         * sysdeps/powerpc/powerpc32/setjmp-common.S [PTR_MANGLE]: Also
4386         mangle r1.
4387         * sysdeps/powerpc/powerpc32/__longjmp-common.S [PTR_DEMANGLE]: Also
4388         demangle r1.
4389         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [PTR_MANGLE]: Mangle
4390         r0 and r1.
4391         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [PTR_DEMANGLE]:
4392         Demangle r0 and r1.
4394         * sysdeps/powerpc/powerpc64/setjmp-common.S [PTR_MANGLE]: Also
4395         mangle r1.
4396         * sysdeps/powerpc/powerpc64/__longjmp-common.S [PTR_DEMANGLE]: Also
4397         demangle  r1.
4399 2005-12-26  Steven Munroe  <sjmunroe@us.ibm.com>
4401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: