Add some compatibility aliases (copied from generic bits/sigaction.h).
[kopensolaris-gnu/glibc.git] / ChangeLog.16
1 2006-05-03  Ulrich Drepper  <drepper@redhat.com>
2
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.
10
11 2006-05-02  Ulrich Drepper  <drepper@redhat.com>
12
13         [BZ #1201]
14         * posix/regex.h: g++ still cannot handled [restrict].
15
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.
21
22         * iconvdata/testdate/MIK: Fix format to match expected output.
23
24         [BZ #2632]
25         * nscd/connections.c (nscd_init): Correct initialization of
26         in-memory database structure.
27
28 2006-05-02  Thorsten Kukuk  <kukuk@suse.de>
29
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.
38
39 2006-05-01  Ulrich Drepper  <drepper@redhat.com>
40
41         [BZ #2502]
42         * iconvdata/utf-7.c: Don't require more than one character after
43         the '+' sign starting Unicode shifted sequences.
44
45         * misc/tsearch.c (__tdelete): Remove unnecessary test
46         [Coverity CID 75].
47
48         * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Print error
49         message for invalid DWARF data instead of crashing.
50
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.
53
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].
56
57         [BZ #2517]
58         * misc/sys/queue.h: Update to more recent version.
59
60 2006-05-01  Alexander Shopov  <ash@contact.bg>
61
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.
72
73 2006-04-30  Ulrich Drepper  <drepper@redhat.com>
74
75         * elf/dl-load.c (_dl_map_object_from_fd): Move state change
76         notification...
77         (lose): ...to here.
78
79         * posix/Makefile (tests): Add tst-getaddrinfo3.
80         * posix/tst-getaddrinfo3.c: New file.
81
82         * sysdeps/posix/getaddrinfo.c (gaih_inet): Add parenthesis in test
83         for better readability.
84
85         * nscd/nscd.h (struct database_dyn): Change filename to an array
86         to avoid relocations.
87
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.
91
92         * nis/nss_nisplus/nisplus-publickey.c (parse_grp_str): PIDLIST is
93         supposed to have NGRPS elements.
94
95         * nis/nss_nisplus/nisplus-parser.c: Minor optimizations and
96         cleanups.  Avoid copying data if it can be used in the old place.
97
98 2006-04-29  Ulrich Drepper  <drepper@redhat.com>
99
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.
107
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.
116
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.
121
122 2006-04-28  Ulrich Drepper  <drepper@redhat.com>
123
124         * nis/nss_nis/nis-spwd.c (internal_nis_getspent_r): Remove data
125         variable.
126
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.
138
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.
148
149         * nis/nss-default.c (init): Rewrite parser to get the variables
150         from a table.
151
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.
155
156         * nis/ypclnt.c (__xdr_ypresp_all): Minor optimization in string
157         handling.  Fix typo in comment.
158
159 2006-04-27  Ulrich Drepper  <drepper@redhat.com>
160
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.
164
165 2006-04-27  Jakub Jelinek  <jakub@redhat.com>
166
167         * nscd/nscd.conf: Fix a typo.
168
169 2006-04-27  Ulrich Drepper  <drepper@redhat.com>
170
171         [BZ #2611]
172         * stdio-common/renameat.c (renameat): Fix typo.
173
174 2006-04-26  Roland McGrath  <roland@redhat.com>
175
176         * Makeconfig (%.v.i rule): Don't use -DASSEMBLER.
177         The predefined __ASSEMBLER__ is sufficient.
178
179 2006-04-26  Ulrich Drepper  <drepper@redhat.com>
180
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>.
185
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.
196
197         * sysdeps/unix/sysv/linux/bits/uio.h: Fix a typo in a comment.
198
199         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix typo which caused
200         errors not to be reported.
201
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.
209
210 2006-04-26  James Antill  <james.antill@redhat.com>
211             Ulrich Drepper  <drepper@redhat.com>
212
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.
222
223 2006-04-26  Ulrich Drepper  <drepper@redhat.com>
224
225         * locale/iso-4217.def: Update.
226
227 2006-04-25  Ulrich Drepper  <drepper@redhat.com>
228
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.
233
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.
239
240         * include/features.h [_GNU_SOURCE] (_POSIX_C_SOURCE): Define to
241         200112L.
242
243         * resolv/res_hconf.c: Minor surgery to 'cmd' and the referenced
244         functions to avoid relocations.
245
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.
250
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.
257
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.
261
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.
267
268 2006-04-24  Ulrich Drepper  <drepper@redhat.com>
269
270         * posix/tst-rfc3484.c (do_test): Also initialize source_addr_flags
271         field.
272         * posix/tst-rfc3484-2.c (do_test): Likewise.
273
274         * posix/tst-rfc3484.c: Include <ifaddrs.h> early.
275         * posix/tst-rfc3484-2.c: Likewise.
276
277         * version.h (VERSION): Bump to 2.4.90 for the trunk.
278
279 2006-04-24  Jakub Jelinek  <jakub@redhat.com>
280
281         * malloc/arena.c (ptmalloc_init): Don't call __malloc_check_init
282         if MALLOC_CHECK_ env var contains an empty string.
283
284 2006-04-24  Ulrich Drepper  <drepper@redhat.com>
285
286         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Always initialize in6ai.
287
288 2006-04-24  Jakub Jelinek  <jakub@redhat.com>
289
290         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): Use
291         __LONG_LONG_PAIR macro.
292
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.
304
305 2006-04-23  Ulrich Drepper  <drepper@redhat.com>
306
307         * nis/nss_nisplus/nisplus-netgrp.c: Cleanups.
308
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.
314
315 2006-04-21  Jakub Jelinek  <jakub@redhat.com>
316
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>.
321
322 2006-04-21  Ulrich Drepper  <drepper@redhat.com>
323
324         [BZ #2534, BZ #2535]
325         * posix/regex.h: Remove obsolete <sys/types.h> comment and special
326         handling for VMS.
327
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>.
334
335 2006-04-19  Ulrich Drepper  <drepper@redhat.com>
336
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.
340
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.
346
347 2006-04-18  Ulrich Drepper  <drepper@redhat.com>
348
349         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Rewrite to avoid loop
350         over gaih array.  There is only one function to call in the moment.
351
352 2006-04-16  Ulrich Drepper  <drepper@redhat.com>
353
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.
369
370 2006-04-15  Ulrich Drepper  <drepper@redhat.com>
371
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.
376
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.
388
389 2006-04-14  Ulrich Drepper  <drepper@redhat.com>
390
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.
401
402         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_parse_etherent):
403         Minor cleanups.  NUL terminate name string.
404
405         * nis/Versions: No need to export _nss_nisplus_parse_grent,
406         _nss_nisplus_parse_pwent, and _nss_nisplus_parse_spent.
407
408         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_parse_aliasent):
409         Avoid unnecessary allocation.  Fix adjustment for pointer value.
410
411         * nis/nss_nisplus/nisplus-parser.c: Cleanups, use NIS_RES_*
412         macros.  Avoid unnecessary allocation.
413
414         * sysdeps/unix/sysv/linux/sync_file_range.c: New file.
415
416 2006-04-13  Ulrich Drepper  <drepper@redhat.com>
417
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.
428
429 2006-04-07  Steven Munroe  <sjmunroe@us.ibm.com>
430
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.
438
439 2006-04-08  Ulrich Drepper  <drepper@redhat.com>
440
441         * inet/inet_ntoa.c: Rewrite to use TLS instead of TSD.
442
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.
457
458         * nis/nis_ping.c: Remove unnecessary conditionals before
459         nis_freeresult calls.
460         * nis/nis_ismember.c: Likewise.
461
462         * elf/rtld.c (process_envvars): Fix handling of LD_POINTER_GUARD.
463         Reported by genesh@comcast.net.
464
465         * io/fts.c (fts_build): Call fts_lfree in the two error cases
466         after the loop [Coverity CID 187].
467
468         * nis/nis_getservlist.c (nis_getservlist): Also free lookup result
469         in error case [Coverity CID 189].
470
471         * nis/nis_getservlist.c (nis_getservlist): One more free call
472         needed [Coverity CID 190].
473
474 2006-04-07  Jakub Jelinek  <jakub@redhat.com>
475
476         * sysdeps/generic/unwind-dw2-fde.c (end_fde_sort): Remove
477         unnecessary test for accu->linear == NULL [Coverity CID 79].
478
479 2006-04-07  Ulrich Drepper  <drepper@redhat.com>
480
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].
484
485         * io/fts.c (fts_build): Comment out dead code [Coverity CID 68].
486
487         * sunrpc/rpc_parse.c (def_union): Comment out dead code
488         [Coverity CID 70].
489
490         * locale/programs/linereader.c (lr_token): Remove duplicate
491         handling of EOF [Coverity CID 71].
492
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].
496
497         * inet/inet6_option.c (inet6_option_find): Check *tptrp for NULL,
498         not tptrp [Coverity CID 73].
499
500         * inet/inet6_option.c (inet6_option_next): Check *tptrp for NULL,
501         not tptrp [Coverity CID 74].
502
503         * misc/tsearch.c (__tsearch): Don't rotate tree if memory
504         allocation failed [Coverity CID 78].
505
506 2006-04-07  Jakub Jelinek  <jakub@redhat.com>
507
508         * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Fix typo in
509         the last change.
510
511 2006-04-07  Ulrich Drepper  <drepper@redhat.com>
512
513         * inet/rexec.c (rexec_af): If we have no canonical name don't
514         proceed further [Coverity CID 86].
515
516         * iconv/iconv_charmap.c (process_fd): Initialize inptr from inbuf,
517         not to NULL [Coverity CID 88].
518
519 2006-04-06  Ulrich Drepper  <drepper@redhat.com>
520
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.
526
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].
529
530         * locale/programs/ld-address.c (address_finish): Fix conditions
531         for error messages [Coverity CID 104].
532
533         * libio/fmemopen.c (fmemopen): Free stream memory in case of
534         invalid length [Coverity CID 106].
535
536         * nss/nss_files/files-key.c (search): Close stream before
537         successful return [Coverity CID 107].
538
539         * io/fts.c (fts_open): Don't allocate parent if *argv==NULL
540         [Coverity CID 108].
541
542         * sunrpc/rpc_cout.c (inline_struct): Free sizestr after use
543         [Coverity CID 110, 109].
544
545         * sunrpc/rpc_scan.c (docppline): Free file string if it is not
546         going to be used [Coverity CID 111].
547
548         * sysdeps/unix/sysv/linux/getsourcefilter.c (getsourcefilter): Free
549         memory if socket level value cannot be retrieved [Coverity CID 112].
550
551         * nis/nis_clone_dir.c (nis_clone_directory): Free all memory in
552         error case [Coverity CID 114].
553
554         * nis/nis_clone_res.c (nis_clone_result): Free all memory in the
555         error cases [Coverity CID 115].
556
557         * sunrpc/rpc_parse.c (get_definition): Free defp if tok ==
558         TOK_EOF [Coverity CID 116].
559
560         * sysdeps/unix/sysv/linux/setsourcefilter.c (setsourcefilter): Free
561         memory if socket level value cannot be retrieved [Coverity CID 117].
562
563         * elf/cache.c (save_cache): Initialize pad to avoid writing
564         uninitialized data to disk.
565
566         * elf/cache.c (save_cache): Free file_entries_new [Coverity CID 118].
567
568         * intl/finddomain.c (_nl_find_domain): Avoid strdup of expand
569         locale name, use strdupa.  Remove free call [Coverity CID 119].
570
571         * sunrpc/rpc_main.c (generate_guard): Avoid extra allocation and
572         the resulting leak [Coverity CID 121].
573
574         * sunrpc/rpc_main.c (mkfile_output): Free all allocated memory
575         [Coverity CID 122].
576
577         * sunrpc/rpc_main.c (h_output): Free guard after we are done
578         [Coverity CID 123].
579
580         * sunrpc/svc_udp.c (cache_set): Free victim if newbuf allocation
581         fails [Coverity CID 126].
582
583         * sunrpc/svc_udp.c (svcudp_enablecache): Free memory in error
584         cases [Coverity CID 127].
585
586         * nis/nis_table.c (__create_ib_request): Free ibreq in case strdup
587         fails [Coverity CID 128].
588
589         * nis/nis_getservlist.c (nis_getservlist): Free all memory in case
590         of an error [Coverity CID 130, 129].
591
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].
595
596         * nis/nis_removemember.c (nis_removemember): Free all memory in
597         error cases [Coverity CID 132].
598
599         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
600         Always free lookup result [Coverity CID 134].
601
602         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
603         Always free lookup result [Coverity CID 135].
604
605         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
606         Always free lookup result [Coverity CID 136].
607
608         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
609         Before retrying, free old result [Coverity CID 137].
610
611         * nis/nss_nisplus/nisplus-publickey.c (_nss_nisplus_netname2user):
612         Free res in case UID is zero [Coverity CID 138].
613
614         * nis/ypclnt.c (yp_update): Always free master string
615         [Coverity CID 140].
616
617         * nis/nis_creategroup.c (nis_creategroup): Free all memory in
618         error cases [Coverity CID 143, 142, 141].
619
620         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey): Free result
621         if yp_match call succeeded [Coverity CID 155].
622
623         * nis/nss_nis/nis-publickey.c (_nss_nis_getsecretkey): Free string
624         allocated in yp_match at all times [Coverity CID 157, 156].
625
626         * nscd/nscd.c (write_pid): Close stream also if writing failed
627         [Coverity CID 165].
628
629         * nis/nis_table.c (nis_add_entry): Move test for NULL parameter
630         ahead of first use [Coverity CID 167].
631
632         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Move test
633         for NULL parameter ahead of first use [Coverity CID 168].
634
635         * intl/finddomain.c (_nl_find_domain): We never return NULL if we
636         found the locale [Coverity CID 169].
637
638         * inet/getnameinfo.c (getnameinfo): __getservbyport_r does not set
639         herrno [Coverity CID 178].
640
641         * nis/nis_checkpoint.c (nis_checkpoint): Don't access and returned
642         freed object [Coverity CID 182].
643
644 2006-04-05  Alan Modra  <amodra@bigpond.net.au>
645             Jakub Jelinek  <jakub@redhat.com>
646
647         * posix/bits/unistd.h (readlink, __readlink_chk, __readlink_alias):
648         Change return value to ssize_t.
649
650 2006-04-04  Roland McGrath  <roland@redhat.com>
651
652         * string/Makefile (CFLAGS-inl-tester.c): New variable.
653         (CFLAGS-tst-inlcall.c): Likewise.
654
655         [BZ #2508]
656         * nscd/Makefile ($(objpfx)nscd_stat.o: sysincludes): Move setting
657         inside [$(have-selinux) = yes].
658         ($(objpfx)selinux.o: sysincludes): Likewise.
659
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.Ã\87\9flar Onur <caglar@uludag.org.tr>.
664
665 2006-03-21  Joseph S. Myers  <joseph@codesourcery.com>
666
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.
737
738 2006-04-03  Steven Munroe  <sjmunroe@us.ibm.com>
739
740         [BZ #2505]
741         * sysdeps/powerpc/powerpc32/bits/atomic.h [_ARCH_PWR4]:
742         Define atomic_read_barrier and __ARCH_REL_INSTR using lwsync.
743
744 2006-04-03  Andreas Schwab  <schwab@suse.de>
745
746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Terminate FDE
747         before syscall.
748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
749
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].
752
753 2006-04-03  Roland McGrath  <roland@frob.com>
754
755         [BZ #2507]
756         * mach/Machrules (.udeps-targets): New variable.
757         ($(objpfx)%.udeps static pattern rule): Use it to avoid \ inside
758         quoted string.
759
760 2006-04-02  Ulrich Drepper  <drepper@redhat.com>
761
762         [BZ #2501]
763         * nscd/nscd_helper.c (get_mapping): Rewrite code to send request
764         so it uses send and not writev.
765
766         [BZ #2418]
767         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Use larger of PATH_MAX
768         and page size when allocating buffer.
769
770         * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Document
771         msg_controllen type issue.
772         (struct cmsghdr): Same for cmsg_len.
773
774 2006-04-01  Ulrich Drepper  <drepper@redhat.com>
775
776         [BZ #2415]
777         * elf/ldd.bash.in: Create better error messages for invalid input
778         files.
779
780         [BZ #2477]
781         * sysdeps/unix/sysv/linux/i386/sysdep.h: Create correct LOADARGS_*
782         macros for non-shared position-independent code.
783
784         [BZ #2472]
785         * bits/siginfo.h: Fix typo in ILL_ILLOPN definition.
786
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.
793
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.
797
798 2006-03-31  Ulrich Drepper  <drepper@redhat.com>
799
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.
819
820 2006-03-29  Ulrich Drepper  <drepper@redhat.com>
821
822         * sysdeps/posix/getaddrinfo.c (gaih_inet): No need to duplicate
823         'name' for 'canon'.  The final allocation will happen later.
824
825 2006-03-27  Ulrich Drepper  <drepper@redhat.com>
826
827         * sysdeps/unix/sysv/linux/kernel-features.h: Remove support for
828         architectures which moved to ports.
829
830         * sysdeps/unix/sysv/linux/kernel-features.h: Add
831         __ASSUME_SET_ROBUST_LIST.
832
833 2006-03-27  Jakub Jelinek  <jakub@redhat.com>
834
835         * wcsmbs/wchar.h (btowc, wctob): Don't optimize in C++.
836
837 2006-03-24  David S. Miller  <davem@sunset.davemloft.net>
838
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.
847
848 2006-03-24  Jakub Jelinek  <jakub@redhat.com>
849
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.
860
861 2006-03-25  Ulrich Drepper  <drepper@redhat.com>
862
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.
866
867 2006-03-24  Ulrich Drepper  <drepper@redhat.com>
868
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.
878
879 2006-03-17  Roland McGrath  <roland@redhat.com>
880
881         * elf/rtld.c (dl_main): Run final self-relocation after setting up TLS.
882         From Alexandre Oliva <aoliva@redhat.com>.
883
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.
888
889         * elf/tst-leaks1.c: Include <stdio.h>.
890
891 2006-03-16  Roland McGrath  <roland@redhat.com>
892
893         * sysdeps/unix/sysv/linux/alpha/getcontext.S (__getcontext_x):
894         Use .set noat to quiet assembler warning.
895
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.
899
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.
905
906 2006-03-15  Steven Munroe  <sjmunroe@us.ibm.com>
907             Alan Modra  <amodra@bigpond.net.au>
908
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.
915
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.
923
924 2006-03-16  Roland McGrath  <roland@redhat.com>
925
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.
929
930 2006-03-06  Steven Munroe  <sjmunroe@us.ibm.com>
931
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.
957
958 2006-03-07  Jakub Jelinek  <jakub@redhat.com>
959
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.
964
965 2006-03-03  Steven Munroe  <sjmunroe@us.ibm.com>
966             Alan Modra  <amodra@bigpond.net.au>
967
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.
972
973         * sysdeps/powerpc/fpu/math_ldbl.h: New file.
974
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.
996
997 2004-12-09  Randolph Chung  <tausq@debian.org>
998
999         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Don't
1000         define for hppa, which doesn't support this syscall.
1001
1002 2006-03-13  Jakub Jelinek  <jakub@redhat.com>
1003
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.
1012
1013 2006-03-06  Roland McGrath  <roland@redhat.com>
1014
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.
1023
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.
1028
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.
1032
1033 2006-03-05  Roland McGrath  <roland@redhat.com>
1034
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.
1038
1039         * malloc/arena.c: Add compile-time sanity check on padding calculation.
1040
1041 2006-03-05  Jakub Jelinek  <jakub@redhat.com>
1042
1043         * malloc/arena.c (heap_info): Adjust the padding size if
1044         MALLOC_ALIGNMENT > 2 * SIZE_SZ.
1045
1046 2006-03-05  Roland McGrath  <roland@frob.com>
1047
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.
1062
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.
1067
1068         * hurd/hurd/lookup.h: Declare {,__}hurd_directory_name_split.
1069
1070         * hurd/hurdlookup.c (__hurd_directory_name_split): Use __memrchr
1071         unconditionally.
1072
1073         * sysdeps/mach/hurd/open.c: Define {,__,__libc_,}open64 as aliases.
1074         * sysdeps/mach/hurd/open64.c: New file.
1075
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.
1079
1080         * sysdeps/mach/hurd/bits/posix_opt.h: Define many missing options,
1081         many to -1 or 0.
1082
1083 2006-03-05  Roland McGrath  <roland@redhat.com>
1084
1085         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1086         [__NR_clock_getres || HP_TIMING_AVAIL]: Handle _SC_CPUTIME,
1087         _SC_THREAD_CPUTIME.
1088
1089 2006-03-05  David S. Miller  <davem@sunset.davemloft.net>
1090
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.
1126
1127         * shlib-versions: Use sparc64.*- for CPU patterns.
1128
1129 2006-03-05  Roland McGrath  <roland@frob.com>
1130
1131         * bits/resource.h (RLIMIT_SBSIZE, RLIMIT_AS, RLIMIT_VMEM): Define.
1132
1133         * sysdeps/mach/hurd/fdopendir.c (__fdopendir): Use O_DIRECTORY
1134         to force directory check.
1135         * sysdeps/mach/hurd/opendir.c (__opendir): Likewise.
1136
1137 2006-03-04  Roland McGrath  <roland@frob.com>
1138
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.
1142
1143 2006-03-03  Roland McGrath  <roland@redhat.com>
1144
1145         [BZ #2414]
1146         * stdlib/tst-setcontext.c (f1): Take arguments of type int.
1147
1148 2006-03-02  Roland McGrath  <roland@redhat.com>
1149
1150         * sysdeps/unix/alpha/sysdep.h (PTR_MANGLE): Use __typeof in cast.
1151
1152 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
1153
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.
1157
1158 2005-12-27  Jakub Jelinek  <jakub@redhat.com>
1159
1160         * elf/ldconfig.c (search_dir): Skip prelink temporaries.
1161
1162 2006-03-02  H.J. Lu  <hongjiu.lu@intel.com>
1163
1164         * elf/check-textrel.c: Don't include "config.h".
1165
1166 2006-03-02  Jakub Jelinek  <jakub@redhat.com>
1167
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.
1171
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.
1178
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.
1183
1184 2006-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1185
1186         [BZ #2013]
1187         * sysdeps/ia64/memccpy.S: Properly handle recovery for
1188         predicated speculative load.
1189
1190 2006-03-01  Jakub Jelinek  <jakub@redhat.com>
1191
1192         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
1193
1194         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat64): Use
1195         libc_hidden_ver rather than libc_hidden_def.
1196
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.
1200
1201         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1202         (DECLARGS_6): Fix a typo.
1203
1204 2006-03-01  Roland McGrath  <roland@redhat.com>
1205
1206         * version.h (VERSION): 2.3.91
1207
1208         * Makeconfig (sysdeps-srcdirs): New variable.
1209         (sysdeps-add-ons-srcdirs): Use it.
1210         * csu/Makefile (all-Banner-files): Use it.
1211
1212         * Makefile (dist-selector): New variable.
1213         (glibc-%.tar rule): Use it.  Make $(dist-separate) tarballs
1214         contain one version-named directory.
1215
1216         * Makefile (format-me): Use  --plaintext --no-number-sections.
1217
1218         * NOTES, INSTALL: Regenerated.
1219
1220         * NEWS: Update 2.4 items.
1221
1222 2006-03-01  David S. Miller  <davem@sunset.davemloft.net>
1223
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.
1230
1231 2006-03-01  Roland McGrath  <roland@frob.com>
1232
1233         * sysdeps/mach/hurd/Subdirs: Use "first hurd".
1234
1235 2006-02-28  Roland McGrath  <roland@redhat.com>
1236
1237         * sysdeps/rs6000: Directory removed, saved in ports repository.
1238
1239 2006-03-01  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1240
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.
1245
1246 2006-02-28  Roland McGrath  <roland@redhat.com>
1247
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.
1252
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.
1259
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.
1266
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.
1280
1281         * nscd/nscd_helper.c: Include <time.h> for `time' declaration.
1282
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.
1289
1290         * libio/genops.c: Include <sched.h> for __sched_yield decl.
1291
1292         * Makeconfig (+includes): Add back $(includes)
1293         after $(+sysdep-includes).
1294
1295         * Makerules ($(common-objpfx)%.make): Use -DASSEMBLER.
1296
1297 2006-02-28  Jakub Jelinek  <jakub@redhat.com>
1298
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.
1301
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.
1314
1315 2006-02-28  Roland McGrath  <roland@redhat.com>
1316
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.
1324
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.
1330
1331         * elf/rtld-Rules (subdir-args): New variable.
1332         (rtld-subdir-make): Use it.
1333
1334 2006-02-22  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1335
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.
1340
1341 2006-02-28  Roland McGrath  <roland@redhat.com>
1342
1343         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Copy in i386/bits/fcntl.h.
1344
1345 2006-02-27  Roland McGrath  <roland@redhat.com>
1346
1347         * scripts/config.guess: Update from master, timestamp='2006-02-27'.
1348         * scripts/config.sub: Update from master, timestamp='2006-02-27'.
1349
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.
1355
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".
1378
1379         * Makefile (dist-separate): Remove linuxthreads.
1380         (dist-separate-linuxthreads): Variable removed.
1381         (glibc-%.tar rule): Use $(sysdeps-add-ons).
1382
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.
1401
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.
1414
1415         * Makeconfig: Remove hair to set Makeconfig-add-on.
1416
1417         * sysdeps/unix/Makefile (sysdirs): Remove export.
1418         (asm_CPP): Variable removed.
1419         ($(common-objpfx)sysd-syscalls): Pass them directly for the script.
1420
1421         * sysdeps/posix/Makefile: New file.
1422         * Makerules (L_tmpnam, TMP_MAX, L_ctermid, L_cuserid): Set non-posix
1423         values here with ?=.
1424
1425         * stdlib/gen-mpn-copy: File removed.
1426         * stdlib/Makefile (distribute): Remove it.
1427         * configure.in: Don't grok --with-gmp.
1428         * configure: Regenerated.
1429
1430         * configure.in (libc_cv_idn): Don't check it; libidn/configure does it.
1431         * configure: Regenerated.
1432
1433 2006-02-27  Ulrich Drepper  <drepper@redhat.com>
1434
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.
1438
1439 2006-02-26  Roland McGrath  <roland@redhat.com>
1440
1441         * bare: Directory removed, saved in ports repository.
1442
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.
1447
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.
1453
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.
1472
1473 2006-02-26  Ulrich Drepper  <drepper@redhat.com>
1474
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.
1479
1480         * elf/do-lookup.h (do_lookup_x): No need to compare SKIP to NULL
1481         before comparison with MAP.
1482
1483         * elf/dl-sym.c (do_sym): For RTLD_NEXT, pass MATCH to
1484         dl_lookup_symbol_x instead of L.
1485
1486 2006-02-24  Mike Frysinger  <vapier@gentoo.org>
1487
1488         * sysdeps/gnu/net/if.h (IFF_DYNAMIC): New macro.
1489
1490 2006-02-24  David S. Miller  <davem@sunset.davemloft.net>
1491
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.
1496
1497 2006-02-24  Roland McGrath  <roland@redhat.com>
1498
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>.
1504
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.
1512
1513         * elf/sofini.c (__FRAME_END__): Mark as const.
1514         * elf/soinit.c (__EH_FRAME_BEGIN__): Likewise.  Add used attribute.
1515
1516 2006-02-18  Joseph S. Myers  <joseph@codesourcery.com>
1517
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.
1644
1645 2006-02-09  Joseph S. Myers  <joseph@codesourcery.com>
1646
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.
1795
1796 2006-02-23  Roland McGrath  <roland@redhat.com>
1797
1798         * include/libc-symbols.h: Fix comment typo.
1799         From Peter Kjellerstedt <peter.kjellerstedt@axis.com>.
1800
1801         * sysdeps/unix/sysv/linux/i386/fchownat.c: Diddle code so that "fail"
1802         label is always used.
1803
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>.
1810
1811         * sysdeps/unix/sysv/linux/ftruncate64.c: Find generic implementation
1812         in misc/, not posix/.
1813         Reported by David S. Miller <davem@davemloft.net>.
1814
1815 2006-02-23  Jakub Jelinek  <jakub@redhat.com>
1816
1817         * posix/sched_yield.c (__sched_yield): Add libc_hidden_def.
1818         * sysdeps/mach/sched_yield.c (__sched_yield): Likewise.
1819
1820 2006-02-22  Roland McGrath  <roland@redhat.com>
1821
1822         * po/libc.pot: Regenerated.
1823
1824 2006-02-22  Jakub Jelinek  <jakub@redhat.com>
1825
1826         * nis/ypclnt.c (yperr_string, ypbinderr_string): Add N_()
1827         around string literals.
1828
1829 2005-10-03  Jakub Jelinek  <jakub@redhat.com>
1830
1831         * nscd/selinux.c (audit_init): Print error string in the failure
1832         message.
1833
1834 2006-02-21  Roland McGrath  <roland@redhat.com>
1835
1836         * sysdeps/unix/sysv/linux/kernel-features.h
1837         (__ASSUME_CLONE_THREAD_FLAGS): Consolidate definitions.
1838
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.
1841
1842 2006-02-03  Jakub Jelinek  <jakub@redhat.com>
1843
1844         * manual/filesys.texi (futimes): Fix prototype.
1845
1846 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
1847
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>.
1853
1854 2005-11-15  Robert Millan  <robertmh@gnu.org>
1855
1856         [BZ #2161]
1857         * manual/llio.texi (read, write): Document EINVAL on unaligned access.
1858
1859 2006-02-21  Roland McGrath  <roland@redhat.com>
1860
1861         * sysdeps/i386/i686/memset.S: Fix treatment of unaligned pointer.
1862         Reported by John Zulauf <john.zulauf@amd.com>.
1863
1864 2004-11-23  Richard Sandiford  <rsandifo@redhat.com>
1865
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.
1877
1878 2006-01-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1879
1880         [BZ #2178]
1881         * sysdeps/mach/hurd/getsid.c (getsid): When parameter PID is zero,
1882         use _hurd_pid instead.
1883
1884 2006-02-20  Richard Henderson  <rth@redhat.com>
1885
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.
1891
1892         * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Fix hidden defs.
1893
1894 2006-02-20  Roland McGrath  <roland@redhat.com>
1895
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.
1905
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.
1919
1920 2006-02-15  Thomas Schwinge  <tschwinge@gnu.org>
1921
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>.
1936
1937 2006-02-13  Mike Frysinger  <vapier@gentoo.org>
1938
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.
1944
1945 2006-02-17  Jakub Jelinek  <jakub@redhat.com>
1946
1947         * include/atomic.h (atomic_and, atomic_or): Define.
1948
1949 2006-02-15  Ulrich Drepper  <drepper@redhat.com>
1950
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.
1961
1962 2006-02-13  Jakub Jelinek  <jakub@redhat.com>
1963
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.
1969
1970 2006-02-12  Ulrich Drepper  <drepper@redhat.com>
1971
1972         * io/ftw.c: Start using *at functions.
1973         * io/ftw64.c: Likewise.
1974
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.
1978
1979         * sysdeps/unix/sysv/linux/openat.c: Create separate _nocancel
1980         functions.
1981
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.
1992
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.
1997
1998         [BZ #2226]
1999         * libio/wgenops.c (_IO_wsetb): Use correct size of wide char
2000         buffer in FREE_BUF call.
2001
2002 2006-02-08  Ulrich Drepper  <drepper@redhat.com>
2003
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.
2008
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.
2012
2013 2006-02-05  Ulrich Drepper  <drepper@redhat.com>
2014
2015         * io/ftw.c (ftw_startup): Use fchdir to return to original
2016         directory for FTW_CHDIR.
2017
2018 2006-02-03  Ulrich Drepper  <drepper@redhat.com>
2019
2020         * manual/stdio.texi (Formatted Output Functions): Fix make_message
2021         example.  Patch by NIIBE Yutaka <gniibe@m17n.org>.
2022
2023 2006-02-03  Roland McGrath  <roland@redhat.com>
2024
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.
2028
2029 2006-02-03  Jakub Jelinek  <jakub@redhat.com>
2030
2031         * sysdeps/powerpc/fpu/bits/fenvinline.h (fegetround): Make asm
2032         volatile.
2033
2034         * stdlib/bits/stdlib-ldbl.h (qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r):
2035         Guard with [__USE_SVID || __USE_XOPEN_EXTENDED].
2036
2037         * math/math.h [__LDBL_COMPAT && __USE_ISOC99] (nexttowardl): New
2038         prototype.
2039
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.
2044
2045 2006-02-02  Ulrich Drepper  <drepper@redhat.com>
2046
2047         * sysdeps/unix/sysv/linux/futimesat.c [__NR_futimesat]
2048         (futimesat): If file is NULL use __futimes.
2049         * include/sys/time.h: Declare __futimes.
2050
2051 2006-02-02  Roland McGrath  <roland@redhat.com>
2052
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.
2056
2057         * include/errno.h [__cplusplus]: Avoid extra header magic for C++.
2058
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.
2063
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.
2069
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.
2076
2077 2006-02-01  Roland McGrath  <roland@redhat.com>
2078
2079         * sysdeps/ieee754/ldbl-opt/Makefile (sysdep-CFLAGS): Avoid adding
2080         -mlong-double-128 when it's already there.
2081
2082 2006-02-01  Roland McGrath  <roland@frob.com>
2083
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>.
2088
2089 2006-02-01  Jakub Jelinek  <jakub@redhat.com>
2090
2091         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Use long_double_symbol
2092         even for libm.
2093
2094         * libio/bits/libio-ldbl.h (_IO_vfwscanf, _IO_vfwprintf): Remove
2095         __LDBL_REDIR_DECL.
2096
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.
2100
2101         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Fix a typo.
2102         * sysdeps/s390/fpu/libm-test-ulps: Remove llrint ulps.
2103
2104 2006-01-19  Thomas Schwinge  <tschwinge@gnu.org>
2105
2106         * libio/genops.c: Include <stdbool.h>.
2107
2108 2006-02-01  Ulrich Drepper  <drepper@redhat.com>
2109
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.
2113
2114 2006-01-31  Jakub Jelinek  <jakub@redhat.com>
2115
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.
2125
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.
2133
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.
2138
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.
2146
2147 2006-01-31  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2148             Jakub Jelinek  <jakub@redhat.com>
2149
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.
2162
2163 2006-01-31  Roland McGrath  <roland@redhat.com>
2164
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.
2183
2184 2006-01-31  Jakub Jelinek  <jakub@redhat.com>
2185
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.
2190
2191         * sysdeps/sparc/sparc64/jmpbuf-unwind.h: Remove jmpbuf-offsets.h
2192         include.
2193
2194 2006-01-31  Roland McGrath  <roland@redhat.com>
2195
2196         * sysdeps/powerpc/fpu/libm-test-ulps: Update by Jakub.
2197
2198         * inet/rcmd.c (iruserfopen): Remove redundant initialization.
2199         From Bernhard Fischer <rep.nop@aon.at>.
2200
2201         * posix/regcomp.c (calc_eclosure_iter): Remove dead variables.
2202         Reported by Mike Frysinger <vapier@gentoo.org>.
2203
2204 2006-01-30  Steven Munroe  <sjmunroe@us.ibm.com>
2205
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.
2210
2211         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Correct sign of 0.0.
2212         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
2213
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.
2217
2218 2006-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
2219
2220         * sysdeps/unix/sysv/linux/mips/bits/errno.h (ECANCELED,
2221         EOWNERDEAD, ENOTRECOVERABLE): Define.
2222
2223         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_REMOVE): Define.
2224
2225         * sysdeps/mips/dl-machine.h (RTLD_START): Correct offsets for
2226         N64.
2227
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.
2232
2233 2006-01-30  Alexandre Oliva  <aoliva@redhat.com>
2234             Roland McGrath  <roland@redhat.com>
2235
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.
2240
2241 2006-01-30  Jakub Jelinek  <jakub@redhat.com>
2242
2243         * sysdeps/powerpc/fpu/libm-test-ulps: Merge ulps with older
2244         libm-test-ulps rather than overwrite it.  Remove excessively high ulps.
2245
2246 2006-01-29  Joseph S. Myers  <joseph@codesourcery.com>
2247
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.
2252
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>
2258
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.
2262
2263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2264
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.
2270
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.
2278
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.
2296
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.
2341
2342         * misc/qefgcvt_r.c [LDBL_MIN_10_EXP == -291] (FLOAT_MIN_10_NORM): New.
2343
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.
2420
2421         * sysdeps/ieee754/ldbl-128/e_powl.c: Fix old comment.
2422
2423 2006-01-22  Aurelien Jarno  <aurelien@aurel32.net>
2424
2425         * sysdeps/gnu/errlist-compat.awk: Reduce required number of symbols in
2426         sanity check.
2427
2428 2006-01-21  Ulrich Drepper  <drepper@redhat.com>
2429
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.
2439
2440 2006-01-21  Roland McGrath  <roland@redhat.com>
2441
2442         * sysdeps/unix/sysv/linux/faccessat.c: Move RESULT defn inside block.
2443
2444         * misc/tst-pselect.c: Include <unistd.h>.
2445
2446         * time/time.h [__need_timespec et al]: Include <bits/types.h> here too.
2447
2448         * stdlib/fpioconst.c: Fix whitespace typo.
2449
2450 2006-01-20  Jakub Jelinek  <jakub@redhat.com>
2451
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.
2456
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.
2461
2462 2006-01-21  Ulrich Drepper  <drepper@redhat.com>
2463
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.
2472
2473 2006-01-20  Roland McGrath  <roland@frob.com>
2474
2475         * sysdeps/mach/hurd/ppoll.c: New file.
2476
2477 2006-01-20  Ulrich Drepper  <drepper@redhat.com>
2478
2479         * sysdeps/unix/sysv/linux/pselect.c: Fix typo in declaration.
2480
2481         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Cast k_dev
2482         value to unsigned int to match kernel.
2483
2484         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Try using the
2485         syscall in more cases.
2486
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.
2495
2496         * dirent/Makefile (tests): Add tst-fdopendir2.
2497         * dirent/tst-fdopendir2.c: New file.
2498
2499 2006-01-20  Alexandre Oliva  <aoliva@redhat.com>
2500
2501         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
2502         (sigcontext_struct) [__WORDSIZE == 32]: Define.
2503
2504 2006-01-20  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2505
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.
2514
2515 2006-01-19  Ulrich Drepper  <drepper@redhat.com>
2516
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.
2533
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.
2540
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.
2544
2545 2006-01-19  Jakub Jelinek  <jakub@redhat.com>
2546
2547         * misc/pselect.c (__pselect): Remove static.
2548         Include sysdep-cancel.h again.  Add LIBC_CANCEL_HANDLED ().
2549
2550 2006-01-18  Roland McGrath  <roland@redhat.com>
2551
2552         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h [__ASSEMBLER__]: Don't
2553         include problematic headers for assembler.
2554
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.
2558
2559 2006-01-18  Ulrich Drepper  <drepper@redhat.com>
2560
2561         * misc/pselect.c (__pselect): No need to enable async cancellation
2562         here.  This is done in select.
2563
2564         * sysdeps/unix/sysv/linux/fxstatat.c [STAT_IS_KERNEL_STAT]
2565         (__fxstatat): Correct handling of invalid vers values.
2566
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.
2572
2573 2006-01-18  Roland McGrath  <roland@redhat.com>
2574
2575         * sysdeps/ieee754/ldbl-opt/nldbl-dprintf.c: Restore
2576         attribute_hidden here.
2577
2578         * sysdeps/sparc/sparc64/Makefile (long-double-fcts): Move this ...
2579         * sysdeps/sparc/Makefile (long-double-fcts): ... to here.
2580
2581 2006-01-18  Jakub Jelinek  <jakub@redhat.com>
2582
2583         * elf/dl-deps.c (_dl_map_object_deps): In case of failure also make a
2584         copy of objname string.
2585
2586 2006-01-16  Roland McGrath  <roland@redhat.com>
2587
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.
2595
2596         * Makefile ($(inst_includedir)/gnu/stubs.h):
2597         Add $(make-target-directory).
2598
2599         * stdlib/Makefile (headers): Restore headers removed in last change.
2600
2601 2006-01-16  Jakub Jelinek  <jakub@redhat.com>
2602
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.
2608
2609 2006-01-15  Jakub Jelinek  <jakub@redhat.com>
2610
2611         * io/tst-faccessat.c (do_test): Don't fail if geteuid () == 0.
2612
2613 2006-01-16  Ulrich Drepper  <drepper@redhat.com>
2614
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.
2619
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.
2623
2624 2006-01-15  Andreas Jaeger  <aj@suse.de>
2625
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.
2630
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.
2637
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.
2650
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.
2655
2656         [BZ #2078]
2657         * libio/fputwc.c (fputwc): Use proper type for result.
2658         * libio/ioungetwc.c (ungetwc): Likewise.
2659
2660 2006-01-14  Ulrich Drepper  <drepper@redhat.com>
2661
2662         * sysdeps/unix/sysv/linux/bits/sched.h: Define SCHED_BATCH.
2663
2664 2006-01-14  Roland McGrath  <roland@redhat.com>
2665
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.
2675
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.
2679
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.
2686
2687 2006-01-14  Jakub Jelinek  <jakub@redhat.com>
2688
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.
2710
2711 2006-01-14  Roland McGrath  <roland@redhat.com>
2712
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.
2716
2717         * misc/efgcvt.c: Include <math_ldbl_opt.h> instead of <shlib-compat.h>.
2718         * misc/efgcvt_r.c: Likewise.
2719
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.
2726
2727 2006-01-14  Jakub Jelinek  <jakub@redhat.com>
2728
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.
2742
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.
2863
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.
2885
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.
2905
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.
2915
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.
2924
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.
2936
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.
3293
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.
3333
3334         * libio/libio.h (_IO_vfscanf, _IO_vfprintf): Remove __THROW.
3335         (_IO_vfwscanf, _IO_vfwprintf): Likewise.
3336         * libio/libioP.h (_IO_vdprintf): Likewise.
3337
3338 2006-01-13  Richard Henderson  <rth@redhat.com>
3339
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.
3344
3345 2006-01-13  Andreas Jaeger  <aj@suse.de>
3346
3347         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (ELF_NVRREG): Fix
3348         value for PowerPC64.
3349
3350 2006-01-12  Roland McGrath  <roland@redhat.com>
3351
3352         * sysdeps/s390/jmpbuf-offsets.h: New file.
3353         * sysdeps/s390/jmpbuf-unwind.h: Include it.
3354
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.
3386
3387 2006-01-11  Ulrich Drepper  <drepper@redhat.com>
3388
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.
3399
3400         * libio/memstream.c (_IO_mem_sync): Remove useless call to
3401         _IO_default_sync.
3402
3403         * elf/check-textrel.c: Add missing argument.
3404
3405         * Makerules: Define build-module-asneeded.
3406         * iconvdata/extra-module.mk: Use build-module-asneeded.
3407         needed.
3408
3409 2006-01-09  Richard Henderson  <rth@redhat.com>
3410
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.
3417