1 2006-04-07 Jakub Jelinek <jakub@redhat.com>
3 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Fix typo in
6 2006-04-07 Ulrich Drepper <drepper@redhat.com>
8 * inet/rexec.c (rexec_af): If we have no canonical name don't
9 proceed further [Coverity CID 86].
11 * iconv/iconv_charmap.c (process_fd): Initialize inptr from inbuf,
12 not to NULL [Coverity CID 88].
14 2006-04-06 Ulrich Drepper <drepper@redhat.com>
16 * elf/ldconfig.c (main): Use rawmemchr instead of strchr.
17 * nis/nis_call.c (rec_dirsearch): Likewise.
18 * nis/nis_local_names.c (nis_local_host): Likewise.
19 (nis_local_directory): Likewise.
20 * intl/explodename.c (_nl_explode_name): Likewise.
22 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Don't handle
23 DW_CFA_GNU_window_save if it obviously cannot work [Coverity CID 102].
25 * locale/programs/ld-address.c (address_finish): Fix conditions
26 for error messages [Coverity CID 104].
28 * libio/fmemopen.c (fmemopen): Free stream memory in case of
29 invalid length [Coverity CID 106].
31 * nss/nss_files/files-key.c (search): Close stream before
32 successful return [Coverity CID 107].
34 * io/fts.c (fts_open): Don't allocate parent if *argv==NULL
37 * sunrpc/rpc_cout.c (inline_struct): Free sizestr after use
38 [Coverity CID 110, 109].
40 * sunrpc/rpc_scan.c (docppline): Free file string if it is not
41 going to be used [Coverity CID 111].
43 * sysdeps/unix/sysv/linux/getsourcefilter.c (getsourcefilter): Free
44 memory if socket level value cannot be retrieved [Coverity CID 112].
46 * nis/nis_clone_dir.c (nis_clone_directory): Free all memory in
47 error case [Coverity CID 114].
49 * nis/nis_clone_res.c (nis_clone_result): Free all memory in the
50 error cases [Coverity CID 115].
52 * sunrpc/rpc_parse.c (get_definition): Free defp if tok ==
53 TOK_EOF [Coverity CID 116].
55 * sysdeps/unix/sysv/linux/setsourcefilter.c (setsourcefilter): Free
56 memory if socket level value cannot be retrieved [Coverity CID 117].
58 * elf/cache.c (save_cache): Initialize pad to avoid writing
59 uninitialized data to disk.
61 * elf/cache.c (save_cache): Free file_entries_new [Coverity CID 118].
63 * intl/finddomain.c (_nl_find_domain): Avoid strdup of expand
64 locale name, use strdupa. Remove free call [Coverity CID 119].
66 * sunrpc/rpc_main.c (generate_guard): Avoid extra allocation and
67 the resulting leak [Coverity CID 121].
69 * sunrpc/rpc_main.c (mkfile_output): Free all allocated memory
72 * sunrpc/rpc_main.c (h_output): Free guard after we are done
75 * sunrpc/svc_udp.c (cache_set): Free victim if newbuf allocation
76 fails [Coverity CID 126].
78 * sunrpc/svc_udp.c (svcudp_enablecache): Free memory in error
79 cases [Coverity CID 127].
81 * nis/nis_table.c (__create_ib_request): Free ibreq in case strdup
82 fails [Coverity CID 128].
84 * nis/nis_getservlist.c (nis_getservlist): Free all memory in case
85 of an error [Coverity CID 130, 129].
87 * nis/nis_print_group_entry.c (nis_print_group_entry): If
88 nis_lookup call failed, return. Free lookup result in error
89 cases [Coverity CID 131].
91 * nis/nis_removemember.c (nis_removemember): Free all memory in
92 error cases [Coverity CID 132].
94 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
95 Always free lookup result [Coverity CID 134].
97 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
98 Always free lookup result [Coverity CID 135].
100 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
101 Always free lookup result [Coverity CID 136].
103 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
104 Before retrying, free old result [Coverity CID 137].
106 * nis/nss_nisplus/nisplus-publickey.c (_nss_nisplus_netname2user):
107 Free res in case UID is zero [Coverity CID 138].
109 * nis/ypclnt.c (yp_update): Always free master string
112 * nis/nis_creategroup.c (nis_creategroup): Free all memory in
113 error cases [Coverity CID 143, 142, 141].
115 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey): Free result
116 if yp_match call succeeded [Coverity CID 155].
118 * nis/nss_nis/nis-publickey.c (_nss_nis_getsecretkey): Free string
119 allocated in yp_match at all times [Coverity CID 157, 156].
121 * nscd/nscd.c (write_pid): Close stream also if writing failed
124 * nis/nis_table.c (nis_add_entry): Move test for NULL parameter
125 ahead of first use [Coverity CID 167].
127 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Move test
128 for NULL parameter ahead of first use [Coverity CID 168].
130 * intl/finddomain.c (_nl_find_domain): We never return NULL if we
131 found the locale [Coverity CID 169].
133 * inet/getnameinfo.c (getnameinfo): __getservbyport_r does not set
134 herrno [Coverity CID 178].
136 * nis/nis_checkpoint.c (nis_checkpoint): Don't access and returned
137 freed object [Coverity CID 182].
139 2006-04-05 Alan Modra <amodra@bigpond.net.au>
140 Jakub Jelinek <jakub@redhat.com>
142 * posix/bits/unistd.h (readlink, __readlink_chk, __readlink_alias):
143 Change return value to ssize_t.
145 2006-04-04 Roland McGrath <roland@redhat.com>
147 * string/Makefile (CFLAGS-inl-tester.c): New variable.
148 (CFLAGS-tst-inlcall.c): Likewise.
151 * nscd/Makefile ($(objpfx)nscd_stat.o: sysincludes): Move setting
152 inside [$(have-selinux) = yes].
153 ($(objpfx)selinux.o: sysincludes): Likewise.
155 * iconvdata/Makefile (generate-8bit-table): Use LC_ALL=C.
156 (generate-8bit-gap-table): Likewise.
157 ($(objpfx)iso8859-7jp.stmp): Likewise.
158 Reported by S.ÃaÄlar Onur <caglar@uludag.org.tr>.
160 2006-03-21 Joseph S. Myers <joseph@codesourcery.com>
162 * soft-fp/adddf3.c: Add libgcc exception. Update FSF address.
163 * soft-fp/addsf3.c: Likewise.
164 * soft-fp/addtf3.c: Likewise.
165 * soft-fp/divdf3.c: Likewise.
166 * soft-fp/divsf3.c: Likewise.
167 * soft-fp/divtf3.c: Likewise.
168 * soft-fp/double.h: Likewise.
169 * soft-fp/eqdf2.c: Likewise.
170 * soft-fp/eqsf2.c: Likewise.
171 * soft-fp/eqtf2.c: Likewise.
172 * soft-fp/extenddftf2.c: Likewise.
173 * soft-fp/extended.h: Likewise.
174 * soft-fp/extendsfdf2.c: Likewise.
175 * soft-fp/extendsftf2.c: Likewise.
176 * soft-fp/fixdfdi.c: Likewise.
177 * soft-fp/fixdfsi.c: Likewise.
178 * soft-fp/fixsfdi.c: Likewise.
179 * soft-fp/fixsfsi.c: Likewise.
180 * soft-fp/fixtfdi.c: Likewise.
181 * soft-fp/fixtfsi.c: Likewise.
182 * soft-fp/fixunsdfdi.c: Likewise.
183 * soft-fp/fixunsdfsi.c: Likewise.
184 * soft-fp/fixunssfdi.c: Likewise.
185 * soft-fp/fixunssfsi.c: Likewise.
186 * soft-fp/fixunstfdi.c: Likewise.
187 * soft-fp/fixunstfsi.c: Likewise.
188 * soft-fp/floatdidf.c: Likewise.
189 * soft-fp/floatdisf.c: Likewise.
190 * soft-fp/floatditf.c: Likewise.
191 * soft-fp/floatsidf.c: Likewise.
192 * soft-fp/floatsisf.c: Likewise.
193 * soft-fp/floatsitf.c: Likewise.
194 * soft-fp/floatundidf.c: Likewise.
195 * soft-fp/floatundisf.c: Likewise.
196 * soft-fp/floatunditf.c: Likewise.
197 * soft-fp/floatunsidf.c: Likewise.
198 * soft-fp/floatunsisf.c: Likewise.
199 * soft-fp/floatunsitf.c: Likewise.
200 * soft-fp/gedf2.c: Likewise.
201 * soft-fp/gesf2.c: Likewise.
202 * soft-fp/getf2.c: Likewise.
203 * soft-fp/ledf2.c: Likewise.
204 * soft-fp/lesf2.c: Likewise.
205 * soft-fp/letf2.c: Likewise.
206 * soft-fp/muldf3.c: Likewise.
207 * soft-fp/mulsf3.c: Likewise.
208 * soft-fp/multf3.c: Likewise.
209 * soft-fp/negdf2.c: Likewise.
210 * soft-fp/negsf2.c: Likewise.
211 * soft-fp/negtf2.c: Likewise.
212 * soft-fp/op-1.h: Likewise.
213 * soft-fp/op-2.h: Likewise.
214 * soft-fp/op-4.h: Likewise.
215 * soft-fp/op-8.h: Likewise.
216 * soft-fp/op-common.h: Likewise.
217 * soft-fp/quad.h: Likewise.
218 * soft-fp/single.h: Likewise.
219 * soft-fp/soft-fp.h: Likewise.
220 * soft-fp/sqrtdf2.c: Likewise.
221 * soft-fp/sqrtsf2.c: Likewise.
222 * soft-fp/sqrttf2.c: Likewise.
223 * soft-fp/subdf3.c: Likewise.
224 * soft-fp/subsf3.c: Likewise.
225 * soft-fp/subtf3.c: Likewise.
226 * soft-fp/truncdfsf2.c: Likewise.
227 * soft-fp/trunctfdf2.c: Likewise.
228 * soft-fp/trunctfsf2.c: Likewise.
229 * soft-fp/unorddf2.c: Likewise.
230 * soft-fp/unordsf2.c: Likewise.
231 * soft-fp/unordtf2.c: Likewise.
233 2006-04-03 Steven Munroe <sjmunroe@us.ibm.com>
236 * sysdeps/powerpc/powerpc32/bits/atomic.h [_ARCH_PWR4]:
237 Define atomic_read_barrier and __ARCH_REL_INSTR using lwsync.
239 2006-04-03 Andreas Schwab <schwab@suse.de>
241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Terminate FDE
243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
245 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Test for <asm/elf.h>
246 with [! _ASM_POWERPC_ELF_H] as well as [!__PPC64_ELF_H].
248 2006-04-03 Roland McGrath <roland@frob.com>
251 * mach/Machrules (.udeps-targets): New variable.
252 ($(objpfx)%.udeps static pattern rule): Use it to avoid \ inside
255 2006-04-02 Ulrich Drepper <drepper@redhat.com>
258 * nscd/nscd_helper.c (get_mapping): Rewrite code to send request
259 so it uses send and not writev.
262 * sysdeps/unix/sysv/linux/bits/socket.h: Use larger of PATH_MAX and
263 page size when allocating buffer.
265 2006-04-01 Ulrich Drepper <drepper@redhat.com>
268 * elf/ldd.bash.in: Create better error messages for invalid input
272 * sysdeps/unix/sysv/linux/i386/sysdep.h: Create correct LOADARGS_*
273 macros for non-shared position-independent code.
276 * bits/siginfo.h: Fix typo in ILL_ILLOPN definition.
279 * posix/unistd.h: Match return value of readlink to what POSIX
281 * io/readlink.c: Likewise.
282 * io/readlinkat.c: Likewise.
283 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
286 * nscd/connections.c (main_loop_poll): If the connection cannot be
287 accepted because of user-imposed limits close the descriptor.
289 2006-03-31 Ulrich Drepper <drepper@redhat.com>
291 * sysdeps/unix/sysv/linux/Versions: Export sync_file_range with
293 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Remove
294 LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
295 Declare sync_file_range and splice.
296 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
297 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
298 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
299 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
300 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
301 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
302 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
303 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Add
305 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: New file.
306 * sysdeps/unix/sysv/linux/syscalls.list: Add splice syscall.
307 * sysdeps/unix/sysv/linux/Versions: Export splice with GLIBC_2.5
309 * Versions.def: Define GLIBC_2.5 for libc.
311 2006-03-29 Ulrich Drepper <drepper@redhat.com>
313 * sysdeps/posix/getaddrinfo.c (gaih_inet): No need to duplicate
314 'name' for 'canon'. The final allocation will happen later.
316 2006-03-27 Ulrich Drepper <drepper@redhat.com>
318 * sysdeps/unix/sysv/linux/kernel-features.h: Remove support for
319 architectures which moved to ports.
321 * sysdeps/unix/sysv/linux/kernel-features.h: Add
322 __ASSUME_SET_ROBUST_LIST.
324 2006-03-27 Jakub Jelinek <jakub@redhat.com>
326 * wcsmbs/wchar.h (btowc, wctob): Don't optimize in C++.
328 2006-03-24 David S. Miller <davem@sunset.davemloft.net>
330 * sysdeps/sparc/sparc32/bits/atomic.h
331 (__v9_compare_and_exchange_val_32_acq): Add "memory" clobber.
332 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
333 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_acq):
335 * sysdeps/sparc/sparc64/bits/atomic.h
336 (__arch_compare_and_exchange_val_32_acq,
337 __arch_compare_and_exchange_val_64_acq, atomic_exchange_acq): Likewise.
339 2006-03-24 Jakub Jelinek <jakub@redhat.com>
341 * nis/nss_nisplus/nisplus-proto.c (_nss_create_tablename): Check the
342 return value of malloc rather than the static var again.
343 * nis/nss_nisplus/nisplus-grp.c (_nss_create_tablename): Likewise.
344 * nis/nss_nisplus/nisplus-network.c (_nss_create_tablename): Likewise.
345 * nis/nss_nisplus/nisplus-ethers.c (_nss_create_tablename): Likewise.
346 * nis/nss_nisplus/nisplus-rpc.c (_nss_create_tablename): Likewise.
347 * nis/nss_nisplus/nisplus-service.c (_nss_create_tablename): Likewise.
348 * nis/nss_nisplus/nisplus-hosts.c (_nss_create_tablename): Likewise.
349 * nis/nss_nisplus/nisplus-alias.c (_nss_create_tablename): Likewise.
350 * nis/nss_nisplus/nisplus-pwd.c (_nss_pwd_create_tablename): Likewise.
352 2006-03-25 Ulrich Drepper <drepper@redhat.com>
354 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Add POLLMSG,
355 POLLREMOVE, and POLLRDHUP.
356 * sysdeps/unix/sysv/linux/bits/poll.h: Add POLLREMOVE and POLLRDHUP.
358 2006-03-24 Ulrich Drepper <drepper@redhat.com>
360 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Define
361 LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
362 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
363 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
364 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
365 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
366 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
367 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
368 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
370 2006-03-17 Roland McGrath <roland@redhat.com>
372 * elf/rtld.c (dl_main): Run final self-relocation after setting up TLS.
373 From Alexandre Oliva <aoliva@redhat.com>.
375 * elf/tst-audit2.c: New file.
376 * elf/Makefile (tests): Add it.
377 ($(objpfx)tst-audit2.out): New target.
378 (tst-audit2-ENV): New variable.
380 * elf/tst-leaks1.c: Include <stdio.h>.
382 2006-03-16 Roland McGrath <roland@redhat.com>
384 * sysdeps/unix/sysv/linux/alpha/getcontext.S (__getcontext_x):
385 Use .set noat to quiet assembler warning.
387 * math/gen-libm-test.pl (parse_args): Take function name for pretty
388 output as an argument.
389 (generate_testfile): Pass it the name given in the START macro.
392 * math/libm-test.inc (llrint_test, llround_test): Fix last change to
393 protect large-precision cases with [LDBL_MANT_DIG > 100].
394 (llrint_test_tonearest, llrint_test_towardzero): Likewise.
395 (llrint_test_downward, llrint_test_upward): Likewise.
397 2006-03-15 Steven Munroe <sjmunroe@us.ibm.com>
398 Alan Modra <amodra@bigpond.net.au>
401 * math/libm-test.inc (llrint_test, llround_test) [TEST_LDOUBLE]:
403 (llrint_test_tonearest, llrint_test_towardzero, llrint_test_downward,
404 llrint_test_upward): New functions.
407 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Handle
408 rounding that spans doubles in IBM long double format.
409 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
410 * sysdeps/powerpc/powerpc64/fpu/s_llrintl.S: Removed.
411 * sysdeps/powerpc/powerpc64/fpu/s_llroundl.S: Removed.
412 * sysdeps/powerpc/powerpc64/fpu/s_lrintl.S: Removed.
413 * sysdeps/powerpc/powerpc64/fpu/s_lroundl.S: Removed.
415 2006-03-16 Roland McGrath <roland@redhat.com>
417 * wcsmbs/wchar.h (__wcstol_internal, __wcstoul_internal): Declare these
418 only when we will use them, under [__OPTIMIZE__ && __GNUC__ >= 2].
419 (__wcstoll_internal, __wcstoull_internal_defined): Likewise.
421 2006-03-06 Steven Munroe <sjmunroe@us.ibm.com>
423 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Add cfi_offset for spilling
424 of non-volatile floating-point registers to the stack (fp14-fp31).
425 * sysdeps/powerpc/powerpc32/gprsave0.S: Add cfi_offset for spilling of
426 non-volatile general-purpose registers to the stack (gpr13-gpr31).
427 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Add cfi_offset
428 for non-volatiles gpr30 - grp31 spilled to the stack.
429 * sysdeps/powerpc/powerpc64/memcpy.S: Add cfi_offset for non-volatile
430 gpr31 spill to the stack.
431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
432 Add cfi_offset for non-volatile gpr31 spill to the stack.
433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Add cfi_offset
434 for non-volatiles gpr28 - grp31 spilled to the stack.
435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Add
436 cfi_adjust_cfa_offset when a frame is stacked.
437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S:
438 (__novec_setcontext) : Add cfi_offset for non-volatile gpr31 spill
439 add LR saved to the stack. Add cfi_adjust_cfa_offset when frame is
441 (__setcontext) : Add cfi_offset for non-volatile gpr31 spill to
443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
444 (__novec_swapcontext) : Add cfi_offset for non-volatile gpr31 spill
445 add LR saved to the stack.
446 (__swapcontext) : Add cfi_offset for non-volatile gpr31 spill add LR
447 saved to the stack. Add cfi_adjust_cfa_offset when frame is stacked.
449 2006-03-07 Jakub Jelinek <jakub@redhat.com>
452 * math/libm-test.inc [TEST_LDOUBLE] (ceil_test, floor_test, rint_test,
453 round_test, trunc_test): Only run some of the new tests if
456 2006-03-03 Steven Munroe <sjmunroe@us.ibm.com>
457 Alan Modra <amodra@bigpond.net.au>
459 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround, __fesetround):
460 Define inline implementations.
461 * sysdeps/powerpc/fpu/fegetround.c: Use __fegetround.
462 * sysdeps/powerpc/fpu/fesetround.c: Use __fesetround.
464 * sysdeps/powerpc/fpu/math_ldbl.h: New file.
467 * math/libm-test.inc [TEST_LDOUBLE] (ceil_test, floor_test, rint_test,
468 round_test, trunc_test): Add new tests.
469 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
470 (EXTRACT_IBM_EXTENDED_MANTISSA, INSERT_IBM_EXTENDED_MANTISSA):
471 Removed, replaced with ...
472 (ldbl_extract_mantissa, ldbl_insert_mantissa, ldbl_pack, ldbl_unpack,
473 ldbl_canonicalise, ldbl_nearbyint): New functions.
474 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Replace
475 EXTRACT_IBM_EXTENDED_MANTISSA and INSERT_IBM_EXTENDED_MANTISSA
476 with ldbl_extract_mantissa and ldbl_insert_mantissa.
477 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
478 Replace EXTRACT_IBM_EXTENDED_MANTISSA with ldbl_extract_mantissa.
479 (ldbl_extract_mantissa, ldbl_insert_mantissa): New inline functions.
480 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Handle rounding
481 that spans doubles in IBM long double format.
482 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
483 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
484 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
485 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
486 * sysdeps/powerpc/powerpc64/fpu/s_rintl.S: File removed.
488 2004-12-09 Randolph Chung <tausq@debian.org>
490 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Don't
491 define for hppa, which doesn't support this syscall.
493 2006-03-13 Jakub Jelinek <jakub@redhat.com>
496 * elf/dl-load.c (open_verify): Add free_name argument, if true, free
497 name before calling lose.
498 (open_path): Adjust caller.
499 (_dl_map_object): Adjust callers. Free name_copy before calling
501 * elf/Makefile: Add rules to build and run tst-leaks1.
502 * elf/tst-leaks1.c: New test.
504 2006-03-06 Roland McGrath <roland@redhat.com>
506 * version.h (VERSION): 2.4
507 * README.template: Update for 2.4.
508 * README: Regenerated.
509 * manual/install.texi (Configuring and compiling): Separate build
510 directory is mandatory. Use glibc-2.4 in example.
511 Update --enable-add-ons description.
512 (Supported Configurations): Remove section.
513 * INSTALL: Regenerated.
515 * sysdeps/unix/sysv/linux/x86_64/sysconf.c
516 (handle_intel, handle_amd): Add __attribute__ ((noinline)).
517 * sysdeps/unix/sysv/linux/i386/sysconf.c
518 (handle_i486, handle_intel, handle_amd): Likewise.
520 * sysdeps/unix/sysv/linux/i386/sysconf.c (__sysconf): Don't handle
521 _SC_CPUTIME and _SC_THREAD_CPUTIME here.
522 * sysdeps/unix/sysv/linux/x86_64/sysconf.c (__sysconf): Likewise.
524 2006-03-05 Roland McGrath <roland@redhat.com>
526 * malloc/malloc.c (MALLOC_ALIGNMENT): Revert to (2 * SIZE_SZ) value.
527 The correct value differs only on powerpc32, and for now changing it
528 there is causing more trouble than it's worth.
530 * malloc/arena.c: Add compile-time sanity check on padding calculation.
532 2006-03-05 Jakub Jelinek <jakub@redhat.com>
534 * malloc/arena.c (heap_info): Adjust the padding size if
535 MALLOC_ALIGNMENT > 2 * SIZE_SZ.
537 2006-03-05 Roland McGrath <roland@frob.com>
539 * sysdeps/mach/hurd/faccessat.c: New file.
540 * sysdeps/mach/hurd/fchmodat.c: New file.
541 * sysdeps/mach/hurd/fchownat.c: New file.
542 * sysdeps/mach/hurd/fxstatat.c: New file.
543 * sysdeps/mach/hurd/fxstatat64.c: New file.
544 * sysdeps/mach/hurd/linkat.c: New file.
545 * sysdeps/mach/hurd/mkdirat.c: New file.
546 * sysdeps/mach/hurd/openat.c: New file.
547 * sysdeps/mach/hurd/openat64.c: New file.
548 * sysdeps/mach/hurd/symlinkat.c: New file.
549 * sysdeps/mach/hurd/unlinkat.c: New file.
550 * sysdeps/mach/hurd/xmknod.c (__xmknod): Just call __xmknodat.
552 * sysdeps/mach/hurd/xmknodat.c: ... here, new file.
554 * hurd/lookup-at.c: New file.
555 * hurd/Makefile (routines): Add it.
556 * hurd/hurd/fd.h: Declare __file_name_lookup_at,
557 __file_name_split_at and __directory_name_split_at.
559 * hurd/hurd/lookup.h: Declare {,__}hurd_directory_name_split.
561 * hurd/hurdlookup.c (__hurd_directory_name_split): Use __memrchr
564 * sysdeps/mach/hurd/open.c: Define {,__,__libc_,}open64 as aliases.
565 * sysdeps/mach/hurd/open64.c: New file.
567 * sysdeps/posix/sysconf.c (__sysconf): Use #if _POSIX_FOO > 0
568 rather than #ifdef _POSIX_FOO for options. We should return -1
569 at runtime for an option defined to 0 at compile time.
571 * sysdeps/mach/hurd/bits/posix_opt.h: Define many missing options,
574 2006-03-05 Roland McGrath <roland@redhat.com>
576 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
577 [__NR_clock_getres || HP_TIMING_AVAIL]: Handle _SC_CPUTIME,
580 2006-03-05 David S. Miller <davem@sunset.davemloft.net>
582 * sysdeps/sparc/sparc32/dl-trampoline.S: Add CFI markings.
583 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
584 * sysdeps/sparc/sparc64/dl-trampoline.S: Likewise.
585 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
586 * sysdeps/sparc/sparc32/memchr.S: Rearrange code to reside
588 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
589 * sysdeps/sparc/sparc32/stpcpy.S: Likewise.
590 * sysdeps/sparc/sparc32/strcat.S: Likewise.
591 * sysdeps/sparc/sparc32/strchr.S: Likewise.
592 * sysdeps/sparc/sparc32/strcmp.S: Likewise.
593 * sysdeps/sparc/sparc32/strcpy.S: Likewise.
594 * sysdeps/sparc/sparc32/strlen.S: Likewise.
595 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
596 * sysdeps/sparc/sparc64/sparcv9v/memset.S: Likewise.
597 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Add CFI markings
598 and use __syscall_error.
599 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
600 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
601 * sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S: Use __syscall_error.
602 * sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
603 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
604 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
605 * sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S: Likewise.
606 * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
607 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Rewrite to use
608 CFI markings and __syscall_error.
609 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
610 * sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S: Rearrange
611 code to reside within ENTRY/END.
612 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
613 * sysdeps/unix/sysv/linux/sparc/sysdep.c: New file.
614 * sysdeps/unix/sysv/linux/sparc/sysdep.S: File removed.
615 * sysdeps/unix/sysv/linux/sparc/rt-sysdep.c: New file.
616 * sysdeps/unix/sysv/linux/sparc/Makefile (librt-routines): Add it.
618 * shlib-versions: Use sparc64.*- for CPU patterns.
620 2006-03-05 Roland McGrath <roland@frob.com>
622 * bits/resource.h (RLIMIT_SBSIZE, RLIMIT_AS, RLIMIT_VMEM): Define.
624 * sysdeps/mach/hurd/fdopendir.c (__fdopendir): Use O_DIRECTORY
625 to force directory check.
626 * sysdeps/mach/hurd/opendir.c (__opendir): Likewise.
628 2006-03-04 Roland McGrath <roland@frob.com>
630 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Make sure high bits
631 of SEL are clear after copying %gs to low bits.
632 (_hurd_tls_fork): Likewise.
634 2006-03-03 Roland McGrath <roland@redhat.com>
637 * stdlib/tst-setcontext.c (f1): Take arguments of type int.
639 2006-03-02 Roland McGrath <roland@redhat.com>
641 * sysdeps/unix/alpha/sysdep.h (PTR_MANGLE): Use __typeof in cast.
643 2006-03-02 Daniel Jacobowitz <dan@codesourcery.com>
645 * sysdeps/unix/sysv/linux/configure.in: Remove MIPS cases. Allow
646 libc_cv_slibdir et al. to be overridden.
647 * sysdeps/unix/sysv/linux/configure: Regenerated.
649 2005-12-27 Jakub Jelinek <jakub@redhat.com>
651 * elf/ldconfig.c (search_dir): Skip prelink temporaries.
653 2006-03-02 H.J. Lu <hongjiu.lu@intel.com>
655 * elf/check-textrel.c: Don't include "config.h".
657 2006-03-02 Jakub Jelinek <jakub@redhat.com>
659 * io/ftw.c (process_entry): If dir->streamfd != -1,
660 use FXSTATAT rather than LXSTAT to find if unstatable
661 file is a dead symlink.
663 * elf/check-textrel.c: Include config.h.
664 (AB(handle_file)): Don't fail if PF_X | PF_W on architectures known
665 to have executable writable PLT.
666 * sysdeps/powerpc/powerpc32/configure.in (HAVE_PPC_SECURE_PLT): New
668 * config.h.in (HAVE_PPC_SECURE_PLT): Add.
670 * malloc/malloc.c (MALLOC_ALIGNMENT): Set to __alignof__ (long double)
671 if long double is more aligned than 2 * SIZE_SZ.
672 (misaligned_chunk): Define.
673 (public_rEALLOc, _int_free, _int_realloc): Use it.
675 2006-01-05 H.J. Lu <hongjiu.lu@intel.com>
678 * sysdeps/ia64/memccpy.S: Properly handle recovery for
679 predicated speculative load.
681 2006-03-01 Jakub Jelinek <jakub@redhat.com>
683 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
685 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat64): Use
686 libc_hidden_ver rather than libc_hidden_def.
688 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
689 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept):
690 Use inline asm to make sure the compiler doesn't optimize insns out.
692 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
693 (DECLARGS_6): Fix a typo.
695 2006-03-01 Roland McGrath <roland@redhat.com>
697 * version.h (VERSION): 2.3.91
699 * Makeconfig (sysdeps-srcdirs): New variable.
700 (sysdeps-add-ons-srcdirs): Use it.
701 * csu/Makefile (all-Banner-files): Use it.
703 * Makefile (dist-selector): New variable.
704 (glibc-%.tar rule): Use it. Make $(dist-separate) tarballs
705 contain one version-named directory.
707 * Makefile (format-me): Use --plaintext --no-number-sections.
709 * NOTES, INSTALL: Regenerated.
711 * NEWS: Update 2.4 items.
713 2006-03-01 David S. Miller <davem@sunset.davemloft.net>
715 * configure.in (machine): Match sparcv9v and sparc64v.
716 * configure: Regenerated.
717 * sysdeps/sparc/sparc32/sparcv9v/memcpy.S: New file.
718 * sysdeps/sparc/sparc32/sparcv9v/memset.S: New file.
719 * sysdeps/sparc/sparc64/sparcv9v/memcpy.S: New file.
720 * sysdeps/sparc/sparc64/sparcv9v/memset.S: New file.
722 2006-03-01 Roland McGrath <roland@frob.com>
724 * sysdeps/mach/hurd/Subdirs: Use "first hurd".
726 2006-02-28 Roland McGrath <roland@redhat.com>
728 * sysdeps/rs6000: Directory removed, saved in ports repository.
730 2006-03-01 Kaz Kojima <kkojima@rr.iij4u.or.jp>
732 * sysdeps/unix/sysv/linux/sh/pread.c: Copy in mips pread.c.
733 * sysdeps/unix/sysv/linux/sh/pwrite.c: Copy in mips pwrite.c.
734 * sysdeps/unix/sysv/linux/sh/pread64.c: Copy in mips pread64.c.
735 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Copy in mips pwrite64.c.
737 2006-02-28 Roland McGrath <roland@redhat.com>
739 * elf/tst-tls-dlinfo.c: New file.
740 * elf/Makefile (tests): Add it.
741 ($(objpfx)tst-tls-dlinfo): Depend on $(libdl).
742 ($(objpfx)tst-tls-dlinfo.out): Depend on $(objpfx)tst-tlsmod2.so.
744 * dlfcn/dlfcn.h (RTLD_DI_PROFILENAME, RTLD_DI_PROFILEOUT): New enum
745 values, reserve unsupported requested names used on Solaris.
746 (RTLD_DI_TLS_MODID, RTLD_DI_TLS_DATA): New enum values.
747 (RTLD_DI_MAX): Likewise.
748 * dlfcn/dlinfo.c (dlinfo_doit): Handle RTLD_DI_TLS_MODID and
751 * elf/dl-tls.c (_dl_tls_get_addr_soft): New function.
752 * sysdeps/generic/ldsodefs.h: Declare it.
753 * elf/Versions (ld: GLIBC_PRIVATE): Add it.
754 * elf/link.h (struct dl_phdr_info): New members dlpi_tls_modid,
756 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill them in.
758 * include/link.h: Don't copy contents from elf/link.h.
759 Instead, #include it while #define'ing around link_map.
760 * elf/dl-debug.c (_dl_debug_initialize): Add a cast.
761 Add bogus extern decl to verify link_map members.
762 * elf/loadtest.c (MAPS): New macro, cast _r_debug._r_map.
763 (OUT, main): Use it in place of _r_debug._r_map.
764 * elf/unload.c: Likewise.
765 * elf/unload2.c: Likewise.
766 * elf/neededtest.c (check_loaded_objects): Likewise.
767 * elf/neededtest2.c (check_loaded_objects): Likewise.
768 * elf/neededtest3.c (check_loaded_objects): Likewise.
769 * elf/neededtest4.c (check_loaded_objects): Likewise.
770 * elf/circleload1.c (check_loaded_objects): Likewise.
772 * nscd/nscd_helper.c: Include <time.h> for `time' declaration.
774 * include/fcntl.h: Declare __openat, __open64. Use libc_hidden_proto.
775 * io/openat.c (__openat): Define instead of openat.
776 Use libc_hidden_def. Define openat with weak_alias.
777 * io/openat64.c (__openat64): Define instead of openat64.
778 Use libc_hidden_def. Define openat64 with weak_alias.
779 * sysdeps/unix/sysv/linux/openat.c: Likewise.
781 * libio/genops.c: Include <sched.h> for __sched_yield decl.
783 * Makeconfig (+includes): Add back $(includes)
784 after $(+sysdep-includes).
786 * Makerules ($(common-objpfx)%.make): Use -DASSEMBLER.
788 2006-02-28 Jakub Jelinek <jakub@redhat.com>
790 * posix/sys/types.h [!__GNUC_PREREQ (2, 7)] (int64_t, u_int64_t):
791 typedef to long int resp. unsigned long int on 64-bit arches.
793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Include x86_64
794 umount.c rather than hppa umount.c.
795 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Include sh chown.c
796 rather than m68k chown.c.
797 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Include sh
798 fchownat.c rather than m68k fchownat.c.
799 * sysdeps/unix/sysv/linux/sh/chown.c: Copy over from m68k chown.c.
800 * sysdeps/unix/sysv/linux/sh/fchownat.c: Copy over from m68k
802 * sysdeps/unix/sysv/linux/x86_64/brk.c: Copy over from hppa brk.c.
803 * sysdeps/unix/sysv/linux/x86_64/umount.c: Copy over from hppa
806 2006-02-28 Roland McGrath <roland@redhat.com>
808 * sysdeps/hppa: Directory removed, saved in ports repository.
809 * sysdeps/mach/hppa: Likewise.
810 * sysdeps/mach/hurd/hppa: Likewise.
811 * sysdeps/unix/sysv/linux/hppa: Likewise.
812 * configure.in (machine): Remove hppa* cases.
813 * configure: Regenerated.
814 * shlib-versions: Remove hppa cases.
816 * sysdeps/m68k: Directory removed, saved in ports repository.
817 * sysdeps/unix/bsd/m68k: Likewise.
818 * sysdeps/unix/sysv/linux/m68k: Likewise.
819 * configure.in (machine): Remove m68* cases.
820 * configure: Regenerated.
822 * elf/rtld-Rules (subdir-args): New variable.
823 (rtld-subdir-make): Use it.
825 2006-02-22 Martin Schwidefsky <schwidefsky@de.ibm.com>
827 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
828 (DO_CALL): Add support for 6 system call parameters.
829 (DECLARGS_6, ASMFMT_6): Define.
830 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
832 2006-02-28 Roland McGrath <roland@redhat.com>
834 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Copy in i386/bits/fcntl.h.
836 2006-02-27 Roland McGrath <roland@redhat.com>
838 * scripts/config.guess: Update from master, timestamp='2006-02-27'.
839 * scripts/config.sub: Update from master, timestamp='2006-02-27'.
841 * Makefile (subdir-target-args): New variable.
842 ($(all-subdirs-targets)): Use it in place of -C option.
843 * Rules: Use $(..) instead of ../ if it's already defined.
844 * Makeconfig (subdir-srcdirs): New variable.
845 * csu/Makefile (all-Banner-files): Use it.
847 * configure.in (--enable-add-ons): Set to "yes" by default.
848 Handle absolute add-on directory names when looking for configure
849 fragments. Also look for sysdeps/*/preconfigure fragments in add-ons.
850 Require add-on configure to set $libc_add_on_canonical, use
851 that in $add_ons_sfx. Substitute add_on_subdirs with computed list
852 of subdir names each add-on configure set in libc_add_on_subdirs.
853 * configure: Regenerated.
854 * Makefile (%/preconfigure: %/preconfigure.in): New pattern rule.
855 * config.make.in (add-on-subdirs): New substituted variable.
856 * Makeconfig (all-subdirs): Include $(add-on-subdirs).
857 Remove $(add-ons), $(sysdep-subdirs).
858 Don't filter out $(sysdep-inhibit-subdirs).
859 ($(common-objpfx)sysd-dirs): Target removed. Don't include it.
860 ($(common-objpfx)sysd-sorted): Rewritten to feed Depend and Subdirs
861 files together to gen-sorted.awk, and $(subdirs) via -v.
862 (subdirs): Remove magic reordering for mach and hurd.
863 * scripts/gen-sorted.awk: Use subdirs from command line.
864 Process Subdirs and Depend files directly.
865 Let Subdirs files use "first dir" and "inhibit dir".
866 Always move elf to the end of the list.
867 * hurd/Depend: New file.
868 * sysdeps/mach/Subdirs: Use "first mach".
870 * Makefile (dist-separate): Remove linuxthreads.
871 (dist-separate-linuxthreads): Variable removed.
872 (glibc-%.tar rule): Use $(sysdeps-add-ons).
874 * Makerules ($(common-objpfx)Versions.v.i): Use $(subdirs),
876 (sysdep-makefiles): Use $(sysdirs).
877 (sysdirs): Remove export.
878 ($(+sysdir_pfx)sysd-rules): Handle absolute directory names in
880 (+sysdir_pfx): Variable removed.
881 (sysd-rules): Use $(common-objpfx) in place of it.
882 (sysdirs): Variable moved to ...
883 * Makeconfig (sysdirs): ... here.
884 Handle absolute directory names in $(config-sysdirs).
885 (full_config_sysdirs): Variable removed.
886 * csu/Makefile: Use $(sysdirs) in vpath directive.
887 * math/Makefile (ulps-file): Use $(sysdirs).
888 * sysdeps/gnu/Makefile (errlist-c): Likewise.
889 ($(objpfx)errlist-compat.c): Likewise.
890 * Makeconfig (all-Subdirs-files): Likewise.
891 ($(common-objpfx)config.status): Likewise.
893 * configure.in (sysnames): Handle absolute add-on directory names.
894 (sysdeps_add_ons): New variable, AC_SUBST it.
895 Compute which add-ons contributed sysdeps directories.
896 * configure: Regenerated.
897 * config.make.in (sysdeps-add-ons): New substituted variable.
898 * Makerules (+sysdep_dirs, +sysdep-includes): Variables moved ...
899 * Makeconfig: ... to here.
900 (+sysdep_dirs): Append $(sysdeps-add-ons) here.
901 (+includes): Remove $(objpfx) include, already in $(+sysdep_dirs).
903 (sysdep-makeconfigs): Use $(+sysdep_dirs).
904 ($(common-objpfx)shlib-versions.v.i): Likewise.
906 * Makeconfig: Remove hair to set Makeconfig-add-on.
908 * sysdeps/unix/Makefile (sysdirs): Remove export.
909 (asm_CPP): Variable removed.
910 ($(common-objpfx)sysd-syscalls): Pass them directly for the script.
912 * sysdeps/posix/Makefile: New file.
913 * Makerules (L_tmpnam, TMP_MAX, L_ctermid, L_cuserid): Set non-posix
916 * stdlib/gen-mpn-copy: File removed.
917 * stdlib/Makefile (distribute): Remove it.
918 * configure.in: Don't grok --with-gmp.
919 * configure: Regenerated.
921 * configure.in (libc_cv_idn): Don't check it; libidn/configure does it.
922 * configure: Regenerated.
924 2006-02-27 Ulrich Drepper <drepper@redhat.com>
926 * sysdeps/unix/sysv/linux/linkat.c (linkat): Allow flags to be set
927 when syscall is used.
928 * io/fcntl.h (AT_SYMLINK_FOLLOW): Define.
930 2006-02-26 Roland McGrath <roland@redhat.com>
932 * bare: Directory removed, saved in ports repository.
934 * sysdeps/unix/common/Makefile: File removed.
935 * sysdeps/unix/common/glue-ctype.c: File removed.
936 * sysdeps/unix/common/configure.in: File removed.
937 * sysdeps/unix/common/configure: File removed.
939 * sysdeps/unix/configure.in: File removed.
940 * sysdeps/unix/configure: File removed.
941 * sysdeps/unix/make_errlist.c: File removed.
942 * sysdeps/unix/Makefile ($(objpfx)errlist.c, $(objpfx)make_errlist):
945 * timezone/africa: Update from tzdata2006b (comment changes only).
946 * timezone/antarctica: Likewise.
947 * timezone/asia: Likewise.
948 * timezone/australasia: Likewise.
949 * timezone/backward: Likewise.
950 * timezone/etcetera: Likewise.
951 * timezone/europe: Likewise.
952 * timezone/factory: Likewise.
953 * timezone/iso3166.tab: Likewise.
954 * timezone/leapseconds: Likewise.
955 * timezone/northamerica: Likewise.
956 * timezone/pacificnew: Likewise.
957 * timezone/solar87: Likewise.
958 * timezone/solar88: Likewise.
959 * timezone/solar89: Likewise.
960 * timezone/southamerica: Likewise.
961 * timezone/systemv: Likewise.
962 * timezone/zone.tab: Likewise.
964 2006-02-26 Ulrich Drepper <drepper@redhat.com>
966 * posix/unistd.h: Add fifth parameter to linkat.
967 * io/linkat.c: Likewise.
968 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
969 * io/tst-linkat.c (do_test): Pass new parameter to linkat.
971 * elf/do-lookup.h (do_lookup_x): No need to compare SKIP to NULL
972 before comparison with MAP.
974 * elf/dl-sym.c (do_sym): For RTLD_NEXT, pass MATCH to
975 dl_lookup_symbol_x instead of L.
977 2006-02-24 Mike Frysinger <vapier@gentoo.org>
979 * sysdeps/gnu/net/if.h (IFF_DYNAMIC): New macro.
981 2006-02-24 David S. Miller <davem@sunset.davemloft.net>
983 * configure.in: Use sparc/sparc32/sparcv9/sparcv9b in place
984 of sparc/sparc32/sparcv9b.
985 * sysdeps/sparc/sparc32/sparcv9b/Implies: File removed.
986 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/Implies: File removed.
988 2006-02-24 Roland McGrath <roland@redhat.com>
990 * elf/elf.h (HWCAP_SPARC_BLKINIT): New macro.
991 * sysdeps/sparc/dl-procinfo.h (HWCAP_IMPORTANT): Add it.
992 (_DL_HWCAP_COUNT): Increase to 7.
993 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add "v9v".
994 From David S. Miller <davem@sunset.davemloft.net>.
996 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.c: Moved to ...
997 * sysdeps/sparc/dl-procinfo.c: ... here, new file.
998 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Moved to ...
999 * sysdeps/sparc/dl-procinfo.h: ... here, new file.
1000 (HWCAP_IMPORTANT): Include HWCAP_SPARC_V9 when [__WORDSIZE != 64].
1001 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.c: File removed.
1002 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: File removed.
1004 * elf/sofini.c (__FRAME_END__): Mark as const.
1005 * elf/soinit.c (__EH_FRAME_BEGIN__): Likewise. Add used attribute.
1007 2006-02-18 Joseph S. Myers <joseph@codesourcery.com>
1009 * soft-fp/single.h (SFtype): Define.
1010 (union _FP_UNION_S): Use it.
1011 * soft-fp/double.h (DFtype): Define.
1012 (union _FP_UNION_D): Use it.
1013 * soft-fp/extended.h (XFtype): Define.
1014 (union _FP_UNION_E): Use it.
1015 * soft-fp/quad.h (TFtype): Define.
1016 (union _FP_UNION_Q): Use it.
1017 * soft-fp/soft-fp.h: Add _LIBC conditionals.
1018 (SI_BITS, DI_BITS): Define.
1019 * soft-fp/op-common.h (_FP_DECL): Add __attribute__((unused)) for
1021 (_FP_CMP_EQ): Use parentheses for && inside ||.
1022 (_FP_TO_INT): Use statement expressions in conditional controlling
1024 (_FP_FROM_INT): Likewise. Take unsigned type as argument.
1025 * soft-fp/op-2.h (_FP_FRAC_SLL_2, _FP_FRAC_SRL_2, _FP_FRAC_SRST_2,
1026 _FP_FRAC_SRS_2, _FP_FRAC_ASSEMBLE_2): Use statement expressions in
1027 conditional controlling possibly constant shift.
1028 (_FP_FRAC_SRST_2, _FP_FRAC_SRS_2): Avoid left shift by exactly
1030 (_FP_FRAC_GT_2, _FP_FRAC_GE_2): Use parentheses for && inside ||.
1031 * soft-fp/op-4.h (_FP_FRAC_SRST_4): Avoid left shift by exactly
1033 (__FP_FRAC_ADD_3, __FP_FRAC_ADD_4, __FP_FRAC_SUB_3,
1034 __FP_FRAC_SUB_4): Use _FP_W_TYPE for carry flags.
1035 * soft-fp/op-8.h (_FP_FRAC_SRS_8): Avoid left shift by exactly
1037 * soft-fp/floatdidf.c: Pass unsigned type and macro for type size.
1038 * soft-fp/floatdisf.c: Likewise.
1039 * soft-fp/floatditf.c: Likewise.
1040 * soft-fp/floatsidf.c: Likewise.
1041 * soft-fp/floatsisf.c: Likewise.
1042 * soft-fp/floatsitf.c: Likewise.
1043 * soft-fp/floatundidf.c: Likewise.
1044 * soft-fp/floatundisf.c: Likewise.
1045 * soft-fp/floatunditf.c: Likewise.
1046 * soft-fp/floatunsidf.c: Likewise.
1047 * soft-fp/floatunsisf.c: Likewise.
1048 * soft-fp/floatunsitf.c: Likewise.
1049 * soft-fp/fixdfdi.c: Pass macro for type size.
1050 * soft-fp/fixdfsi.c: Likewise.
1051 * soft-fp/fixsfdi.c: Likewise.
1052 * soft-fp/fixsfsi.c: Likewise.
1053 * soft-fp/fixtfdi.c: Likewise.
1054 * soft-fp/fixtfsi.c: Likewise.
1055 * soft-fp/fixunsdfdi.c: Likewise.
1056 * soft-fp/fixunsdfsi.c: Likewise.
1057 * soft-fp/fixunssfdi.c: Likewise.
1058 * soft-fp/fixunssfsi.c: Likewise.
1059 * soft-fp/fixunstfdi.c: Likewise.
1060 * soft-fp/fixunstfsi.c: Likewise.
1061 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Pass unsigned type.
1062 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Likewise.
1063 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1064 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1065 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1066 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1067 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Likewise.
1068 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Likewise.
1069 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Likewise.
1070 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Likewise.
1071 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Likewise.
1072 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Likewise.
1073 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Likewise.
1074 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Likewise.
1075 * soft-fp/adddf3.c: Use typedefs for argument and return types.
1076 * soft-fp/addsf3.c: Likewise.
1077 * soft-fp/addtf3.c: Likewise.
1078 * soft-fp/divdf3.c: Likewise.
1079 * soft-fp/divsf3.c: Likewise.
1080 * soft-fp/divtf3.c: Likewise.
1081 * soft-fp/eqdf2.c: Likewise.
1082 * soft-fp/eqsf2.c: Likewise.
1083 * soft-fp/eqtf2.c: Likewise.
1084 * soft-fp/extenddftf2.c: Likewise.
1085 * soft-fp/extendsfdf2.c: Likewise.
1086 * soft-fp/extendsftf2.c: Likewise.
1087 * soft-fp/fixdfdi.c: Likewise.
1088 * soft-fp/fixdfsi.c: Likewise.
1089 * soft-fp/fixsfdi.c: Likewise.
1090 * soft-fp/fixsfsi.c: Likewise.
1091 * soft-fp/fixtfdi.c: Likewise.
1092 * soft-fp/fixtfsi.c: Likewise.
1093 * soft-fp/fixunsdfdi.c: Likewise.
1094 * soft-fp/fixunsdfsi.c: Likewise.
1095 * soft-fp/fixunssfdi.c: Likewise.
1096 * soft-fp/fixunssfsi.c: Likewise.
1097 * soft-fp/fixunstfdi.c: Likewise.
1098 * soft-fp/fixunstfsi.c: Likewise.
1099 * soft-fp/floatdidf.c: Likewise.
1100 * soft-fp/floatdisf.c: Likewise.
1101 * soft-fp/floatditf.c: Likewise.
1102 * soft-fp/floatsidf.c: Likewise.
1103 * soft-fp/floatsisf.c: Likewise.
1104 * soft-fp/floatsitf.c: Likewise.
1105 * soft-fp/floatundidf.c: Likewise.
1106 * soft-fp/floatundisf.c: Likewise.
1107 * soft-fp/floatunditf.c: Likewise.
1108 * soft-fp/floatunsidf.c: Likewise.
1109 * soft-fp/floatunsisf.c: Likewise.
1110 * soft-fp/floatunsitf.c: Likewise.
1111 * soft-fp/gedf2.c: Likewise.
1112 * soft-fp/gesf2.c: Likewise.
1113 * soft-fp/getf2.c: Likewise.
1114 * soft-fp/ledf2.c: Likewise.
1115 * soft-fp/lesf2.c: Likewise.
1116 * soft-fp/letf2.c: Likewise.
1117 * soft-fp/muldf3.c: Likewise.
1118 * soft-fp/mulsf3.c: Likewise.
1119 * soft-fp/multf3.c: Likewise.
1120 * soft-fp/negdf2.c: Likewise.
1121 * soft-fp/negsf2.c: Likewise.
1122 * soft-fp/negtf2.c: Likewise.
1123 * soft-fp/sqrtdf2.c: Likewise.
1124 * soft-fp/sqrtsf2.c: Likewise.
1125 * soft-fp/sqrttf2.c: Likewise.
1126 * soft-fp/subdf3.c: Likewise.
1127 * soft-fp/subsf3.c: Likewise.
1128 * soft-fp/subtf3.c: Likewise.
1129 * soft-fp/truncdfsf2.c: Likewise.
1130 * soft-fp/trunctfdf2.c: Likewise.
1131 * soft-fp/trunctfsf2.c: Likewise.
1132 * soft-fp/unorddf2.c: Likewise.
1133 * soft-fp/unordsf2.c: Likewise.
1134 * soft-fp/unordtf2.c: Likewise.
1136 2006-02-09 Joseph S. Myers <joseph@codesourcery.com>
1138 * soft-fp/op-common.h (_FP_UNPACK_SEMIRAW): Define.
1139 (_FP_OVERFLOW_SEMIRAW): Likewise.
1140 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1141 (_FP_CHOOSENAN_SEMIRAW): Likewise.
1142 (_FP_EXP_NORMAL): Likewise.
1143 (_FP_PACK_SEMIRAW): Likewise.
1144 (_FP_ADD_INTERNAL): Rewrite to operate on semi-raw value.
1145 (_FP_SUB): Likewise.
1146 (_FP_TO_INT): Rewrite to operate on raw values. Don't set INVALID
1147 exception for conversions where most negative representable
1148 integer is correct truncated value, but do set INEXACT for such
1149 conversions where appropriate. Don't always left-shift for
1150 converting to a wider integer.
1151 (_FP_FROM_INT): Rewrite to yield raw value. Correct shift for
1152 integers with one more bits than (mantissa + guard) bits for the
1153 floating point format. Don't use __FP_FRAC_SRS_1 for shifting
1154 integers that may be wider than _FP_W_TYPE_SIZE.
1155 (FP_CONV): Don't define.
1156 (FP_EXTEND): Define.
1157 (FP_TRUNC): Likewise.
1158 * soft-fp/op-1.h (_FP_FRAC_SRST_1, __FP_FRAC_SRST_1): Define.
1159 (_FP_FRAC_CONV_1_1): Don't define.
1160 (_FP_FRAC_COPY_1_1): Define.
1161 * soft-fp/op-2.h (_FP_FRAC_SRST_2): Define.
1162 (_FP_FRAC_CONV_1_2, _FP_FRAC_CONV_2_1): Don't define.
1163 (_FP_FRAC_COPY_1_2, _FP_FRAC_COPY_2_1): Define.
1164 * soft-fp/op-4.h (_FP_FRAC_SRST_4): Define.
1165 (_FP_FRAC_SRS_4): Define based on _FP_FRAC_SRST_4.
1166 (_FP_FRAC_CONV_1_4, _FP_FRAC_CONV_2_4): Don't define.
1167 (_FP_FRAC_COPY_1_4, _FP_FRAC_COPY_2_4): Define.
1168 (_FP_FRAC_CONV_4_1, _FP_FRAC_CONV_4_2): Don't define.
1169 (_FP_FRAC_COPY_4_1, _FP_FRAC_COPY_4_2): Define.
1170 * soft-fp/single.h (_FP_FRACTBITS_S): Define.
1171 (_FP_FRACXBITS_S): Define in terms of _FP_FRACXBITS_S.
1172 (_FP_WFRACXBITS_S): Likewise.
1173 (_FP_QNANBIT_SH_S, _FP_IMPLBIT_SH_S): Define.
1174 (FP_UNPACK_SEMIRAW_S, FP_UNPACK_SEMIRAW_SP): Define.
1175 (FP_PACK_SEMIRAW_S, FP_PACK_SEMIRAW_SP): Define.
1176 * soft-fp/double.h (_FP_QNANBIT_SH_D, _FP_IMPLBIT_SH_D): Define.
1177 (FP_UNPACK_SEMIRAW_D, FP_UNPACK_SEMIRAW_D): Define
1178 (FP_PACK_SEMIRAW_D, FP_PACK_SEMIRAW_DP): Define.
1179 * soft-fp/extended.h (_FP_QNANBIT_SH_E, _FP_IMPLBIT_SH_E): Define.
1180 (FP_UNPACK_EP): Correct typo.
1181 (FP_UNPACK_SEMIRAW_E, FP_UNPACK_SEMIRAW_EP): Define.
1182 (FP_PACK_SEMIRAW_E, FP_PACK_SEMIRAW_EP): Define.
1183 * soft-fp/quad.h (_FP_QNANBIT_SH_Q, _FP_IMPLBIT_SH_Q): Define.
1184 (FP_UNPACK_SEMIRAW_Q, FP_UNPACK_SEMIRAW_QP): Define.
1185 (FP_PACK_SEMIRAW_Q, FP_PACK_SEMIRAW_QP): Define.
1186 * soft-fp/fixdfdi.c: Use unsigned type for result of conversion.
1187 * soft-fp/fixdfsi.c: Likewise.
1188 * soft-fp/fixsfdi.c: Likewise.
1189 * soft-fp/fixsfsi.c: Likewise.
1190 * soft-fp/fixtfdi.c: Likewise.
1191 * soft-fp/fixtfsi.c: Likewise.
1192 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Likewise.
1193 * sysdeps/alpha/soft-fp/ots_nintxq.c: Likewise.
1194 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1195 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1196 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Likewise.
1197 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Likewise.
1198 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1199 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1200 * soft-fp/adddf3.c: Update for changed soft-fp interfaces.
1201 * soft-fp/addsf3.c: Likewise.
1202 * soft-fp/addtf3.c: Likewise.
1203 * soft-fp/extenddftf2.c: Likewise.
1204 * soft-fp/extendsfdf2.c: Likewise.
1205 * soft-fp/extendsftf2.c: Likewise.
1206 * soft-fp/fixdfdi.c: Likewise.
1207 * soft-fp/fixdfsi.c: Likewise.
1208 * soft-fp/fixsfdi.c: Likewise.
1209 * soft-fp/fixsfsi.c: Likewise.
1210 * soft-fp/fixtfdi.c: Likewise.
1211 * soft-fp/fixtfsi.c: Likewise.
1212 * soft-fp/fixunsdfdi.c: Likewise.
1213 * soft-fp/fixunsdfsi.c: Likewise.
1214 * soft-fp/fixunssfdi.c: Likewise.
1215 * soft-fp/fixunssfsi.c: Likewise.
1216 * soft-fp/fixunstfdi.c: Likewise.
1217 * soft-fp/fixunstfsi.c: Likewise.
1218 * soft-fp/floatdidf.c: Likewise.
1219 * soft-fp/floatdisf.c: Likewise.
1220 * soft-fp/floatditf.c: Likewise.
1221 * soft-fp/floatsidf.c: Likewise.
1222 * soft-fp/floatsisf.c: Likewise.
1223 * soft-fp/floatsitf.c: Likewise.
1224 * soft-fp/floatundidf.c: Likewise.
1225 * soft-fp/floatundisf.c: Likewise.
1226 * soft-fp/floatunditf.c: Likewise.
1227 * soft-fp/floatunsidf.c: Likewise.
1228 * soft-fp/floatunsisf.c: Likewise.
1229 * soft-fp/floatunsitf.c: Likewise.
1230 * soft-fp/subdf3.c: Likewise.
1231 * soft-fp/subsf3.c: Likewise.
1232 * soft-fp/subtf3.c: Likewise.
1233 * soft-fp/truncdfsf2.c: Likewise.
1234 * soft-fp/trunctfdf2.c: Likewise.
1235 * soft-fp/trunctfsf2.c: Likewise.
1236 * sysdeps/alpha/soft-fp/ots_add.c: Likewise.
1237 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Likewise.
1238 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Likewise.
1239 * sysdeps/alpha/soft-fp/ots_cvttx.c: Likewise.
1240 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Likewise.
1241 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Likewise.
1242 * sysdeps/alpha/soft-fp/ots_nintxq.c: Likewise.
1243 * sysdeps/alpha/soft-fp/ots_sub.c: Likewise.
1244 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1245 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1246 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1247 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1248 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1249 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1250 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1251 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1252 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1253 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1254 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1255 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1256 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1257 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1258 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Likewise.
1259 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Likewise.
1260 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Likewise.
1261 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Likewise.
1262 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Likewise.
1263 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Likewise.
1264 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Likewise.
1265 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Likewise.
1266 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Likewise.
1267 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Likewise.
1268 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Likewise.
1269 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Likewise.
1270 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Likewise.
1271 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Likewise.
1272 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Likewise.
1273 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Likewise.
1274 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Likewise.
1275 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Likewise.
1276 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1277 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Likewise.
1278 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1279 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1280 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1281 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Likewise.
1282 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Likewise.
1283 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Likewise.
1284 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Likewise.
1285 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Likewise.
1287 2006-02-23 Roland McGrath <roland@redhat.com>
1289 * include/libc-symbols.h: Fix comment typo.
1290 From Peter Kjellerstedt <peter.kjellerstedt@axis.com>.
1292 * sysdeps/unix/sysv/linux/i386/fchownat.c: Diddle code so that "fail"
1293 label is always used.
1296 * bits/syslog-path.h: New file.
1297 * misc/Makefile (headers): Add it.
1298 * misc/sys/syslog.h: Include it.
1299 (_PATH_LOG): Macro removed.
1300 From Robert Millan <robertmh@gnu.org>.
1302 * sysdeps/unix/sysv/linux/ftruncate64.c: Find generic implementation
1303 in misc/, not posix/.
1304 Reported by David S. Miller <davem@davemloft.net>.
1306 2006-02-23 Jakub Jelinek <jakub@redhat.com>
1308 * posix/sched_yield.c (__sched_yield): Add libc_hidden_def.
1309 * sysdeps/mach/sched_yield.c (__sched_yield): Likewise.
1311 2006-02-22 Roland McGrath <roland@redhat.com>
1313 * po/libc.pot: Regenerated.
1315 2006-02-22 Jakub Jelinek <jakub@redhat.com>
1317 * nis/ypclnt.c (yperr_string, ypbinderr_string): Add N_()
1318 around string literals.
1320 2005-10-03 Jakub Jelinek <jakub@redhat.com>
1322 * nscd/selinux.c (audit_init): Print error string in the failure
1325 2006-02-21 Roland McGrath <roland@redhat.com>
1327 * sysdeps/unix/sysv/linux/kernel-features.h
1328 (__ASSUME_CLONE_THREAD_FLAGS): Consolidate definitions.
1330 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Update comment, remove
1331 __THROW from epoll_wait, to match .../linux/sys/epoll.h file.
1333 2006-02-03 Jakub Jelinek <jakub@redhat.com>
1335 * manual/filesys.texi (futimes): Fix prototype.
1337 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
1340 * manual/memory.texi (Obstacks Data Alignment): The default
1341 alignment is not 4: it is enough to hold any type of data.
1342 Problem reported by Benno in
1343 <http://sources.redhat.com/ml/libc-alpha/2004-08/msg00055.html>.
1345 2005-11-15 Robert Millan <robertmh@gnu.org>
1348 * manual/llio.texi (read, write): Document EINVAL on unaligned access.
1350 2006-02-21 Roland McGrath <roland@redhat.com>
1352 * sysdeps/i386/i686/memset.S: Fix treatment of unaligned pointer.
1353 Reported by John Zulauf <john.zulauf@amd.com>.
1355 2004-11-23 Richard Sandiford <rsandifo@redhat.com>
1357 * configure.in (libc_cv_gcc_dwarf2_unwind_info): Delete.
1358 (HAVE_DWARF2_UNWIND_INFO{,_STATIC}): Remove AC_DEFINEs.
1359 * configure: Regenerate.
1360 * config.h.in (HAVE_DWARF2_UNWIND_INFO{,_STATIC}): Remove undefs.
1361 * elf/soinit.c: Don't include gccframe.h.
1362 (__EH_FRAME_BEGIN__): Define unconditionally.
1363 (__register_frame_info, __deregister_frame_info)
1364 (__register_frame_info_bases, __deregister_frame_info_bases)
1365 (__register_frame, __deregister_frame): Remove declarations.
1366 (__libc_global_ctors, __libc_fini): Don't call registry functions.
1367 * elf/sofini.c (__EH_FRAME_END__): Define unconditionally.
1369 2006-01-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
1372 * sysdeps/mach/hurd/getsid.c (getsid): When parameter PID is zero,
1373 use _hurd_pid instead.
1375 2006-02-20 Richard Henderson <rth@redhat.com>
1377 * sysdeps/alpha/soft-fp/Makefile (CPPFLAGS): Add soft-fp include
1379 * sysdeps/alpha/soft-fp/e_sqrtl.c: Don't use local-soft-fp.h.
1380 (__ieee754_sqrtl): Add _round local variable.
1381 * sysdeps/unix/sysv/linux/alpha/fpu/Implies: Remove.
1383 * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Fix hidden defs.
1385 2006-02-20 Roland McGrath <roland@redhat.com>
1387 * sysdeps/mips: Directory removed, saved in ports repository.
1388 * sysdeps/unix/mips: Likewise.
1389 * sysdeps/unix/sysv/linux/mips: Likewise.
1390 * sysdeps/mach/mips: Likewise.
1391 * sysdeps/mach/hurd/mips: Likewise.
1392 * shlib-versions: Remove mips matches, now in ports fragment.
1393 * sysdeps/unix/sysv/linux/kernel-features.h: Likewise.
1394 * configure.in (machine): Likewise.
1395 * configure: Regenerated.
1397 * hurd/hurd/xattr.h: New file.
1398 * hurd/xattr.c: New file.
1399 * hurd/Makefile (routines): Add it.
1400 * sysdeps/mach/hurd/fgetxattr.c: New file.
1401 * sysdeps/mach/hurd/flistxattr.c: New file.
1402 * sysdeps/mach/hurd/fremovexattr.c: New file.
1403 * sysdeps/mach/hurd/fsetxattr.c: New file.
1404 * sysdeps/mach/hurd/getxattr.c: New file.
1405 * sysdeps/mach/hurd/lgetxattr.c: New file.
1406 * sysdeps/mach/hurd/listxattr.c: New file.
1407 * sysdeps/mach/hurd/lsetxattr.c: New file.
1408 * sysdeps/mach/hurd/removexattr.c: New file.
1409 * sysdeps/mach/hurd/setxattr.c: New file.
1411 2006-02-15 Thomas Schwinge <tschwinge@gnu.org>
1414 * include/unistd.h (__getresuid, __getresgid, __setresuid)
1415 (__setresgid): Fix argument name order in prototypes.
1416 * posix/unistd.h (getresuid, getresgid, setresuid, setresgid):
1418 * posix/getresuid.c (__getresuid): Fix argument order in definition.
1419 * posix/getresgid.c (__getresgid): Likewise.
1420 * posix/setresuid.c (__setresuid): Likewise.
1421 * posix/setresgid.c (__setresgid): Likewise.
1422 * sysdeps/mach/hurd/getresuid.c (__getresuid): Likewise.
1423 * sysdeps/mach/hurd/getresgid.c (__getresgid): Likewise.
1424 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1425 * sysdeps/mach/hurd/setresgid.c (__setresgid): Likewise.
1426 Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
1428 2006-02-13 Mike Frysinger <vapier@gentoo.org>
1431 * string/tester.c (test_strnlen): New function.
1432 (test_strchr): Call it.
1433 (test_strncat): Test lengths where the sign bit is set.
1434 (test_strncmp): Likewise.
1436 2006-02-17 Jakub Jelinek <jakub@redhat.com>
1438 * include/atomic.h (atomic_and, atomic_or): Define.
1440 2006-02-15 Ulrich Drepper <drepper@redhat.com>
1442 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Define MADV_DONTFORK
1444 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
1445 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1446 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
1447 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1448 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
1449 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
1450 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
1451 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1453 2006-02-13 Jakub Jelinek <jakub@redhat.com>
1455 * sysdeps/unix/sysv/linux/not-cancel.h (__openat_not_cancel,
1456 __openat64_not_cancel): Remove prototypes.
1457 (__openat_nocancel, __openat64_nocancel): New prototypes or defines.
1458 (openat_not_cancel, openat_not_cancel_3, openat64_not_cancel,
1459 openat64_not_cancel_3): Use them.
1461 2006-02-12 Ulrich Drepper <drepper@redhat.com>
1463 * io/ftw.c: Start using *at functions.
1464 * io/ftw64.c: Likewise.
1466 * sysdeps/generic/not-cancel.h: Define openat_not_cancel,
1467 openat_not_cancel_3, openat64_not_cancel, and openat64_not_cancel_3.
1468 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1470 * sysdeps/unix/sysv/linux/openat.c: Create separate _nocancel
1473 * io/fxstatat.c: Add __fxstatat alias.
1474 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise.
1475 * sysdeps/unix/sysv/linux/fxstatat.c: Likewise. Add support for
1477 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Add __fxstatat alias.
1478 Add support for fstatat64 syscall.
1479 * include/sys/stat.h: Declare __fxstatat.
1480 * io/fxstatat64.c: Add __fxstatat64 alias.
1481 * sysdeps/unix/sysv/linux/fxstatat64.c: Add support for fstatat64
1484 * dirent/fdopendir.c: Add __fdopendir alias.
1485 * sysdeps/unix/fdopendir.c: Likewise.
1486 * sysdeps/mach/hurd/fdopendir.c: Likewise.
1487 * include/dirent.h: Add __fdopendir declaration.
1490 * libio/wgenops.c (_IO_wsetb): Use correct size of wide char
1491 buffer in FREE_BUF call.
1493 2006-02-08 Ulrich Drepper <drepper@redhat.com>
1495 * sysdeps/unix/sysv/linux/bits/sched.h: Declare unshare.
1496 * sysdeps/unix/sysv/linux/Versions [libc, GLIBC_2.4]: Export
1498 * sysdeps/unix/sysv/linux/syscalls.list: Add unshare syscall.
1500 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Add some
1501 preprocessor magic so that the compiler won't see the prototypes
1502 for the functions we are defining as stubs.
1504 2006-02-05 Ulrich Drepper <drepper@redhat.com>
1506 * io/ftw.c (ftw_startup): Use fchdir to return to original
1507 directory for FTW_CHDIR.
1509 2006-02-03 Ulrich Drepper <drepper@redhat.com>
1511 * manual/stdio.texi (Formatted Output Functions): Fix make_message
1512 example. Patch by NIIBE Yutaka <gniibe@m17n.org>.
1514 2006-02-03 Roland McGrath <roland@redhat.com>
1517 * sysdeps/posix/profil.c (__profil): Use __profile_frequency to choose
1518 timer interval, don't assume smallest possible interval is it.
1520 2006-02-03 Jakub Jelinek <jakub@redhat.com>
1522 * sysdeps/powerpc/fpu/bits/fenvinline.h (fegetround): Make asm
1525 * stdlib/bits/stdlib-ldbl.h (qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r):
1526 Guard with [__USE_SVID || __USE_XOPEN_EXTENDED].
1528 * math/math.h [__LDBL_COMPAT && __USE_ISOC99] (nexttowardl): New
1531 * math/math.h (__nldbl_nexttowardf): Put __THROW before
1532 __attribute__ ((__const__)).
1533 (__MATHDECL_2): Use __REDIRECT_NTH instead of __REDIRECT
1534 followed by __THROW.
1536 2006-02-02 Ulrich Drepper <drepper@redhat.com>
1538 * sysdeps/unix/sysv/linux/futimesat.c [__NR_futimesat]
1539 (futimesat): If file is NULL use __futimes.
1540 * include/sys/time.h: Declare __futimes.
1542 2006-02-02 Roland McGrath <roland@redhat.com>
1544 * sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): Use the same
1545 fstat check for ENOENT that should be EBADF as for ENOTDIR, and also
1546 check for missing /proc the same way.
1548 * include/errno.h [__cplusplus]: Avoid extra header magic for C++.
1550 * manual/install.texi (Tools for Compilation): Require gcc 3.4,
1551 recommend 4.1, advise 4.0 for powerpc64, and note 4.1 required for
1552 powerpc, s390{x,} with new long double.
1553 * INSTALL: Regenerated.
1555 * timezone/private.h: Update from tzcode2006a.
1556 * timezone/scheck.c: Likewise.
1557 * timezone/asia: Update from tzdata2006a.
1558 * timezone/northamerica: Likewise.
1559 * timezone/zone.tab: Likewise.
1561 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): New variable.
1562 (CFLAGS-mcount.c): Use it instead of -msoft-float.
1563 * sysdeps/powerpc/powerpc64/elf/Makefile
1564 (CFLAGS-dl-runtime.os, CFLAGS-dl-lookup.os, CFLAGS-dl-misc.os,
1565 CFLAGS-rtld-mempcpy.os, CFLAGS-rtld-memmove.os, CFLAGS-rtld-memchr.os,
1566 CFLAGS-rtld-strnlen.os): Likewise.
1568 2006-02-01 Roland McGrath <roland@redhat.com>
1570 * sysdeps/ieee754/ldbl-opt/Makefile (sysdep-CFLAGS): Avoid adding
1571 -mlong-double-128 when it's already there.
1573 2006-02-01 Roland McGrath <roland@frob.com>
1575 * mach/Machrules ($(objpfx)%.uh, $(objpfx)%.__h): Use static pattern
1576 rules for these, not implicit rules.
1577 ($(objpfx)%.h): Likewise.
1578 Reported by Thomas Schwinge <tschwinge@gnu.org>.
1580 2006-02-01 Jakub Jelinek <jakub@redhat.com>
1582 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Use long_double_symbol
1585 * libio/bits/libio-ldbl.h (_IO_vfwscanf, _IO_vfwprintf): Remove
1588 * math/bits/mathcalls.h: Guard __END_NAMESPACE_C99 with the
1589 same #if condition as corresponding __BEGIN_NAMESPACE_C99.
1590 (scalb): Don't define only if __USE_ISOC99.
1592 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Fix a typo.
1593 * sysdeps/s390/fpu/libm-test-ulps: Remove llrint ulps.
1595 2006-01-19 Thomas Schwinge <tschwinge@gnu.org>
1597 * libio/genops.c: Include <stdbool.h>.
1599 2006-02-01 Ulrich Drepper <drepper@redhat.com>
1601 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Add
1603 * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_02_known): Likewise.
1605 2006-01-31 Jakub Jelinek <jakub@redhat.com>
1607 * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file.
1608 * sysdeps/alpha/fpu/s_ceil.c: Include math_ldbl_opt.h, add
1609 compat_symbol if LONG_DOUBLE_COMPAT.
1610 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1611 * sysdeps/alpha/fpu/s_fabs.c: Likewise.
1612 * sysdeps/alpha/fpu/s_floor.c: Likewise.
1613 * sysdeps/alpha/fpu/s_rint.c: Likewise.
1614 * sysdeps/alpha/soft-fp/e_sqrtl.c: New file.
1615 * sysdeps/alpha/Implies: Add ieee754/ldbl-128.
1617 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: New file.
1618 * sysdeps/unix/sysv/linux/alpha/Implies: Add ieee754/ldbl-64-128,
1620 * sysdeps/alpha/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove.
1621 * sysdeps/unix/sysv/linux/alpha/nldbl-abi.h: New file.
1622 * sysdeps/unix/sysv/linux/alpha/Makefile
1623 [$(subdir) = math] (libm-routines): Add multc3, divtc3.
1625 * math/divtc3.c: New file.
1626 * math/multc3.c: New file.
1627 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
1628 [$(subdir) = math] (libm-routines): Add multc3, divtc3.
1630 * sysdeps/unix/sysv/linux/sparc/sparc32/fpu/Implies: New file.
1631 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include math.h and
1633 (fabsl): Use long_double_symbol instead of weak_alias.
1634 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Include math.h and
1636 [LONG_DOUBLE_COMPAT] (fabsl): Add compat_symbol.
1638 2006-01-31 Martin Schwidefsky <schwidefsky@de.ibm.com>
1639 Jakub Jelinek <jakub@redhat.com>
1641 * sysdeps/unix/sysv/linux/s390/Implies: New file.
1642 * sysdeps/unix/sysv/linux/s390/fpu/Implies: New file.
1643 * sysdeps/unix/sysv/linux/s390/nldbl-abi.h: New file.
1644 * sysdeps/s390/fpu/bits/mathinline.h (signbitl, sqrtl): New inlines.
1645 * sysdeps/s390/bits/mathdef.h: New file.
1646 * sysdeps/s390/fpu/e_sqrtl.c: New file.
1647 * sysdeps/s390/s390-32/bits/wordsize.h (__LONG_DOUBLE_MATH_OPTIONAL,
1648 __NO_LONG_DOUBLE_MATH): Define.
1649 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
1650 * sysdeps/s390/Implies: Add ieee754/ldbl-128.
1651 * sysdeps/s390/ldbl2mpn.c: File removed.
1652 * sysdeps/s390/fpu/libm-test-ulps: Updated.
1654 2006-01-31 Roland McGrath <roland@redhat.com>
1656 * sysdeps/alpha/fpu/bits/mathdef.h: Moved to ...
1657 * sysdeps/alpha/bits/mathdef.h: ... here.
1658 * sysdeps/i386/fpu/bits/mathdef.h: Moved to ...
1659 * sysdeps/i386/bits/mathdef.h: ... here.
1660 * sysdeps/mips/fpu/bits/mathdef.h: Moved to ...
1661 * sysdeps/mips/bits/mathdef.h: ... here.
1662 * sysdeps/m68k/fpu/bits/mathdef.h: Moved to ...
1663 * sysdeps/m68k/bits/mathdef.h: ... here.
1664 * sysdeps/powerpc/fpu/bits/mathdef.h: Moved to ...
1665 * sysdeps/powerpc/bits/mathdef.h: ... here.
1666 * sysdeps/sparc/fpu/bits/mathdef.h: Moved to ...
1667 * sysdeps/sparc/bits/mathdef.h: ... here.
1668 * sysdeps/ia64/fpu/bits/mathdef.h: Moved to ...
1669 * sysdeps/ia64/bits/mathdef.h: ... here.
1670 * sysdeps/sh/sh4/fpu/bits/mathdef.h: Moved to ...
1671 * sysdeps/sh/sh4/bits/mathdef.h: ... here.
1672 * sysdeps/x86_64/fpu/bits/mathdef.h: Moved to ...
1673 * sysdeps/x86_64/bits/mathdef.h: ... here.
1675 2006-01-31 Jakub Jelinek <jakub@redhat.com>
1677 * sysdeps/unix/sysv/linux/i386/fxstatat.c [XSTAT_IS_STAT64]
1678 (__fxstatat64): Add libc_hidden_ver.
1679 * sysdeps/unix/sysv/linux/fxstatat.c [XSTAT_IS_STAT64] (__fxstatat64):
1682 * sysdeps/sparc/sparc64/jmpbuf-unwind.h: Remove jmpbuf-offsets.h
1685 2006-01-31 Roland McGrath <roland@redhat.com>
1687 * sysdeps/powerpc/fpu/libm-test-ulps: Update by Jakub.
1689 * inet/rcmd.c (iruserfopen): Remove redundant initialization.
1690 From Bernhard Fischer <rep.nop@aon.at>.
1692 * posix/regcomp.c (calc_eclosure_iter): Remove dead variables.
1693 Reported by Mike Frysinger <vapier@gentoo.org>.
1695 2006-01-30 Steven Munroe <sjmunroe@us.ibm.com>
1697 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Correct index
1698 for __sincosl_table.
1699 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1700 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1702 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Correct sign of 0.0.
1703 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
1705 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: New file.
1706 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: New file.
1707 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: New file.
1709 2006-01-29 Daniel Jacobowitz <dan@codesourcery.com>
1711 * sysdeps/unix/sysv/linux/mips/bits/errno.h (ECANCELED,
1712 EOWNERDEAD, ENOTRECOVERABLE): Define.
1714 * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_REMOVE): Define.
1716 * sysdeps/mips/dl-machine.h (RTLD_START): Correct offsets for
1719 * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct msghdr): Use
1720 size_t for msg_controllen.
1721 (__cmsg_nxthdr): Correct test.
1722 (__SCM_CONNECT): Delete.
1724 2006-01-30 Alexandre Oliva <aoliva@redhat.com>
1725 Roland McGrath <roland@redhat.com>
1727 * configure.in (fno_unit_at_a_time): Set to
1728 -fno-toplevel-reorder if the compiler supports it.
1729 Otherwise use -fno-unit-at-a-time unconditionally.
1730 * configure: Regenerated.
1732 2006-01-30 Jakub Jelinek <jakub@redhat.com>
1734 * sysdeps/powerpc/fpu/libm-test-ulps: Merge ulps with older
1735 libm-test-ulps rather than overwrite it. Remove excessively high ulps.
1737 2006-01-29 Joseph S. Myers <joseph@codesourcery.com>
1739 * soft-fp/double.h (FP_CMP_UNORD_D): Also define in
1740 [_FP_W_TYPE_SIZE >= 64] case.
1741 * soft-fp/extended.h (FP_CMP_UNORD_E): Likewise.
1742 * soft-fp/quad.h (FP_CMP_UNORD_Q): Likewise.
1744 2006-01-27 Dwayne Grant McConnell <decimal@us.ibm.com>
1745 Jakub Jelinek <jakub@redhat.com>
1746 Roland McGrath <roland@redhat.com>
1747 Steven Munroe <sjmunroe@us.ibm.com>
1748 Alan Modra <amodra@bigpond.net.au>
1750 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Comment fix.
1751 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1752 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1756 * math/libm-test.inc (check_float_internal): Allow ulp <= 0.5.
1757 (erfc_test): Don't run erfcl (27.0L) test if erfcl (27.0L) is
1759 [TEST_LDOUBLE] (ceil_test, floor_test, llrint_test, llround_test,
1760 rint_test, round_test, trunc_test): Add new tests.
1762 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: New file.
1763 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: New file.
1764 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S: New file.
1765 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: New file.
1766 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: New file.
1767 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: New file.
1768 * sysdeps/powerpc/powerpc32/fpu/s_isnan.c: New file.
1770 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: New file.
1771 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: New file.
1772 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: New file.
1773 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: New file.
1774 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: New file.
1775 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: New file.
1776 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: New file.
1777 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: New file.
1778 * sysdeps/powerpc/powerpc64/fpu/s_isnan.c: New file.
1779 * sysdeps/powerpc/powerpc64/fpu/s_llrintl.S: New file.
1780 * sysdeps/powerpc/powerpc64/fpu/s_llroundl.S: New file.
1781 * sysdeps/powerpc/powerpc64/fpu/s_lrintl.S: New file.
1782 * sysdeps/powerpc/powerpc64/fpu/s_lroundl.S: New file.
1783 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: New file.
1784 * sysdeps/powerpc/powerpc64/fpu/s_rintl.S: New file.
1785 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: New file.
1786 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: New file.
1788 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: New file.
1790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: New file.
1791 * sysdeps/unix/sysv/linux/powerpc/configure.in: New file.
1792 * sysdeps/unix/sysv/linux/powerpc/configure: New file.
1793 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
1794 (__LONG_DOUBLE_MATH_OPTIONAL): Define.
1795 (__NO_LONG_DOUBLE_MATH): Define.
1796 * sysdeps/unix/sysv/linux/powerpc/nldbl-abi.h: New file.
1797 * sysdeps/powerpc/fpu/s_isnan.c: Include math_ldbl_opt.h.
1798 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include math_ldbl_opt.h.
1799 [LONG_DOUBLE_COMPAT] (ceill): Add compatibility symbols.
1800 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include math_ldbl_opt.h.
1801 [LONG_DOUBLE_COMPAT] (copysignl): Add compatibility symbols.
1802 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include math_ldbl_opt.h.
1803 [LONG_DOUBLE_COMPAT] (floorl): Add compatibility symbols.
1804 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include math_ldbl_opt.h.
1805 [LONG_DOUBLE_COMPAT] (llrintl, lrintl): Add compatibility symbols.
1806 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include math_ldbl_opt.h.
1807 [LONG_DOUBLE_COMPAT] (llroundl, lroundl): Add compatibility symbols.
1808 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include math_ldbl_opt.h.
1809 [LONG_DOUBLE_COMPAT] (rintl): Add compatibility symbols.
1810 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include math_ldbl_opt.h.
1811 [LONG_DOUBLE_COMPAT] (roundl): Add compatibility symbols.
1812 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include math_ldbl_opt.h.
1813 [LONG_DOUBLE_COMPAT] (truncl): Add compatibility symbols.
1814 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include math_ldbl_opt.h.
1815 [LONG_DOUBLE_COMPAT] (ceill): Add compatibility symbols.
1816 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include math_ldbl_opt.h.
1817 [LONG_DOUBLE_COMPAT] (copysignl): Add compatibility symbols.
1818 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include math_ldbl_opt.h.
1819 [LONG_DOUBLE_COMPAT] (floorl): Add compatibility symbols.
1820 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include math_ldbl_opt.h.
1821 [LONG_DOUBLE_COMPAT] (lrintl): Add compatibility symbols.
1822 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include math_ldbl_opt.h.
1823 [LONG_DOUBLE_COMPAT] (llrintl): Add compatibility symbols.
1824 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include math_ldbl_opt.h.
1825 [LONG_DOUBLE_COMPAT] (lroundl): Add compatibility symbols.
1826 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include math_ldbl_opt.h.
1827 [LONG_DOUBLE_COMPAT] (rintl): Add compatibility symbols.
1828 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include math_ldbl_opt.h.
1829 [LONG_DOUBLE_COMPAT] (roundl): Add compatibility symbols.
1830 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include math_ldbl_opt.h.
1831 [LONG_DOUBLE_COMPAT] (truncl): Add compatibility symbols.
1833 * misc/qefgcvt_r.c [LDBL_MIN_10_EXP == -291] (FLOAT_MIN_10_NORM): New.
1835 * sysdeps/powerpc/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove.
1836 * sysdeps/powerpc/Implies: Add ieee754/ldbl-128ibm.
1837 * sysdeps/powerpc/powerpc32/Implies: Remove powerpc/soft-fp.
1838 * sysdeps/ieee754/ldbl-128ibm/Makefile: New file.
1839 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: New file.
1840 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: New file.
1841 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: New file.
1842 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: New file.
1843 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: New file.
1844 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: New file.
1845 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: New file.
1846 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: New file.
1847 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: New file.
1848 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: New file.
1849 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: New file.
1850 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: New file.
1851 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: New file.
1852 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: New file.
1853 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: New file.
1854 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: New file.
1855 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: New file.
1856 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: New file.
1857 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: New file.
1858 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: New file.
1859 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: New file.
1860 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: New file.
1861 * sysdeps/ieee754/ldbl-128ibm/ieee754.h: New file.
1862 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: New file.
1863 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: New file.
1864 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: New file.
1865 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: New file.
1866 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: New file.
1867 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: New file.
1868 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: New file.
1869 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: New file.
1870 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: New file.
1871 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: New file.
1872 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: New file.
1873 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: New file.
1874 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: New file.
1875 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: New file.
1876 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: New file.
1877 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: New file.
1878 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: New file.
1879 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: New file.
1880 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: New file.
1881 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: New file.
1882 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: New file.
1883 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: New file.
1884 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: New file.
1885 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: New file.
1886 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: New file.
1887 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: New file.
1888 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: New file.
1889 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: New file.
1890 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: New file.
1891 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: New file.
1892 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: New file.
1893 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: New file.
1894 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: New file.
1895 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: New file.
1896 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: New file.
1897 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: New file.
1898 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: New file.
1899 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: New file.
1900 * sysdeps/ieee754/ldbl-128ibm/t_sincosl.c: New file.
1901 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: New file.
1902 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: New file.
1903 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: New file.
1904 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: New file.
1905 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: New file.
1906 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: New file.
1907 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: New file.
1908 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: New file.
1909 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: New file.
1910 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: New file.
1912 * sysdeps/ieee754/ldbl-128/e_powl.c: Fix old comment.
1914 2006-01-22 Aurelien Jarno <aurelien@aurel32.net>
1916 * sysdeps/gnu/errlist-compat.awk: Reduce required number of symbols in
1919 2006-01-21 Ulrich Drepper <drepper@redhat.com>
1921 * sysdeps/unix/sysv/linux/renameat.c (__atfct_seterrno_2): Correctly
1922 return EBADF for non-existing file descriptors.
1923 * sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): Likewise.
1924 * io/tst-openat.c (do_test): Add some more tests.
1925 * io/tst-faccessat.c (do_test): Likewise.
1926 * io/tst-renameat.c (do_test): Likewise.
1927 * io/tst-fstatat.c (do_test): Likewise.
1928 * io/tst-fchmodat.c (do_test): Likewise.
1929 * io/tst-fchownat.c (do_test): Likewise.
1931 2006-01-21 Roland McGrath <roland@redhat.com>
1933 * sysdeps/unix/sysv/linux/faccessat.c: Move RESULT defn inside block.
1935 * misc/tst-pselect.c: Include <unistd.h>.
1937 * time/time.h [__need_timespec et al]: Include <bits/types.h> here too.
1939 * stdlib/fpioconst.c: Fix whitespace typo.
1941 2006-01-20 Jakub Jelinek <jakub@redhat.com>
1943 * sysdeps/ieee754/ldbl-64-128/s_nexttowardfd.c: Moved to...
1944 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: ... here. New file.
1945 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (long_double_symbol_1): For
1946 C define again using _weak_alias, for assembler use weak_alias.
1948 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: New file.
1949 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: New file.
1950 * sysdeps/powerpc/fpu/bits/mathinline.h (__CPU_HAS_FSQRT): New macro.
1951 (__ieee754_sqrt, __ieee754_sqrtf): Use it.
1953 2006-01-21 Ulrich Drepper <drepper@redhat.com>
1955 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Allow actual
1956 system call code to be redefined in macro CALL_PSELECT6.
1957 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
1958 (sysdep_routines): Add call_pselect6.
1959 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: New file.
1960 * sysdeps/unix/sysv/linux/i386/pselect.c: New file.
1961 * misc/Makefile (tests): Add tst-pselect.
1962 * misc/tst-pselect.c: New file.
1964 2006-01-20 Roland McGrath <roland@frob.com>
1966 * sysdeps/mach/hurd/ppoll.c: New file.
1968 2006-01-20 Ulrich Drepper <drepper@redhat.com>
1970 * sysdeps/unix/sysv/linux/pselect.c: Fix typo in declaration.
1972 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Cast k_dev
1973 value to unsigned int to match kernel.
1975 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Try using the
1976 syscall in more cases.
1978 * io/Makefile (tests): Add tst-symlinkat, tst-linkat, tst-readlinkat,
1979 tst-mkdirat, tst-mknodat, and tst-mkfifoat.
1980 * io/tst-symlinkat.c: New file.
1981 * io/tst-linkat.c: New file.
1982 * io/tst-readlinkat.c: New file.
1983 * io/tst-mkdirat.c: New file.
1984 * io/tst-mknodat.c: New file.
1985 * io/tst-mkfifoat.c: New file.
1987 * dirent/Makefile (tests): Add tst-fdopendir2.
1988 * dirent/tst-fdopendir2.c: New file.
1990 2006-01-20 Alexandre Oliva <aoliva@redhat.com>
1992 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
1993 (sigcontext_struct) [__WORDSIZE == 32]: Define.
1995 2006-01-20 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1997 * sysdeps/sh/sh4/__longjmp.S: Demangle also r14 and r15.
1998 * sysdeps/sh/sh3/__longjmp.S: Likewise.
1999 * sysdeps/sh/sh4/setjmp.S: Mangle also r14 and r15.
2000 * sysdeps/sh/sh3/setjmp.S: Likewise.
2001 * sysdeps/unix/sysv/linux/sh/sysdep.h [__ASSEMBLER__]
2002 (PTR_MANGLE): Add temporary register as the second parameter.
2003 (PTR_DEMANGLE): Likewize.
2004 (PTR_MANGLE2, PTR_DEMANGLE2): Define.
2006 2006-01-19 Ulrich Drepper <drepper@redhat.com>
2008 * include/fcntl.h: Declare __have_atfcts.
2009 * sysdeps/unix/sysv/linux/faccessat.c: Use syscall if available.
2010 * sysdeps/unix/sysv/linux/fchmodat.c: Likewise.
2011 * sysdeps/unix/sysv/linux/fchownat.c: Likewise.
2012 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
2013 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2014 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2015 * sysdeps/unix/sysv/linux/openat.c: Likewise.
2016 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2017 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2018 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2019 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2020 * sysdeps/unix/sysv/linux/xmknodat.c: Likewise.
2021 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise.
2022 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PSELECT,
2023 __ASSUME_PPOLL, and __ASSUME_ATFCTS if possible.
2025 * io/ppoll.c: New file.
2026 * io/Makefile (routines): Add ppoll.
2027 (CFLAGS-ppoll.c): Define.
2028 * io/Versions: Export ppoll for GLIBC_2.4.
2029 * io/sys/poll.h: Declare ppoll.
2030 * sysdeps/unix/sysv/linux/ppoll.c: New file.
2032 * misc/pselect.c: Make it possible to include this file to define
2033 the generic code as a static function.
2034 * sysdeps/unix/sysv/linux/pselect.c: New file.
2036 2006-01-19 Jakub Jelinek <jakub@redhat.com>
2038 * misc/pselect.c (__pselect): Remove static.
2039 Include sysdep-cancel.h again. Add LIBC_CANCEL_HANDLED ().
2041 2006-01-18 Roland McGrath <roland@redhat.com>
2043 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h [__ASSEMBLER__]: Don't
2044 include problematic headers for assembler.
2046 * Makerules ($(+sysdir_pfx)sysd-rules): Don't emit m_%.c rules,
2047 instead emit m_%.o compilation rules from s_%.? source files.
2048 * math/Makefile ($(objpfx)m_%$o: s_%.c): New rule using o-iterator.
2050 2006-01-18 Ulrich Drepper <drepper@redhat.com>
2052 * misc/pselect.c (__pselect): No need to enable async cancellation
2053 here. This is done in select.
2055 * sysdeps/unix/sysv/linux/fxstatat.c [STAT_IS_KERNEL_STAT]
2056 (__fxstatat): Correct handling of invalid vers values.
2059 * libio/fileops.c (_IO_new_file_fopen): If ,ccs= is given, also
2060 set vtable to the wide vtable.
2061 * libio/tst-fopenloc2.c: New file.
2062 * libio/Makefile (tests): Add tst-fopenloc2.
2064 2006-01-18 Roland McGrath <roland@redhat.com>
2066 * sysdeps/ieee754/ldbl-opt/nldbl-dprintf.c: Restore
2067 attribute_hidden here.
2069 * sysdeps/sparc/sparc64/Makefile (long-double-fcts): Move this ...
2070 * sysdeps/sparc/Makefile (long-double-fcts): ... to here.
2072 2006-01-18 Jakub Jelinek <jakub@redhat.com>
2074 * elf/dl-deps.c (_dl_map_object_deps): In case of failure also make a
2075 copy of objname string.
2077 2006-01-16 Roland McGrath <roland@redhat.com>
2079 * Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules to install
2080 into $(inst_includedir)/%.h from sysdirs.
2081 [headers]: Change static pattern rule for installing
2082 $(headers) to do only those not matching %.h.
2083 ($(inst_includedir)/%.h: $(objpfx)%.h): Add this pattern rule instead.
2084 ($(inst_includedir)/%.h: %.h): Likewise.
2085 ($(inst_includedir)/%.h: $(..)include/%.h): Likewise.
2087 * Makefile ($(inst_includedir)/gnu/stubs.h):
2088 Add $(make-target-directory).
2090 * stdlib/Makefile (headers): Restore headers removed in last change.
2092 2006-01-16 Jakub Jelinek <jakub@redhat.com>
2094 * math/e_exp2l.c: Don't include stdio.h, errno.h, stub-tag.h, include
2096 (__ieee754_exp2l): Compute for now as expl (M_LN2l * x)
2098 (exp2l): Remove stub_warning.
2100 2006-01-15 Jakub Jelinek <jakub@redhat.com>
2102 * io/tst-faccessat.c (do_test): Don't fail if geteuid () == 0.
2104 2006-01-16 Ulrich Drepper <drepper@redhat.com>
2106 * sysdeps/unix/sysv/linux/kernel-features.h: Define
2107 __ASSUME_TMPFS_NAME.
2108 * sysdeps/unix/sysv/linux/shm_open.c [__ASSUME_TMPFS_NAME]
2109 (where_is_shmfs): Don't test for obsolete shm filesystem name.
2111 * sysdeps/unix/sysv/linux/getsysstats.c: Don't search for proc
2112 mount point. We assume procfs is mounted at /proc in many other
2115 2006-01-15 Andreas Jaeger <aj@suse.de>
2118 * posix/regex_internal.c (re_string_reconstruct): Adjust for
2119 build_wcs_upper_buffer change.
2120 (build_wcs_upper_buffer): Change return type.
2123 * math/s_cacosh.c (__cacosh): Do not return a negative
2124 value. Patch by Wes Loewer <wjltemp-temp01@yahoo.com>.
2125 * math/s_cacoshl.c (__cacoshl): Likewise.
2126 * math/s_cacoshf.c (__cacoshf): Likewise.
2127 * math/libm-test.inc (cacosh_test): Adjust for change.
2129 * sysdeps/alpha/fpu/libm-test-ulps: Adopt for cacosh test change.
2130 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
2131 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2132 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2133 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
2134 * sysdeps/mips/fpu/libm-test-ulps: Likewise.
2135 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2136 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2138 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2139 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2140 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2143 * libio/fputwc_u.c (fputwc_unlocked): Fix return value.
2144 * libio/getwc_u.c (__getwc_unlocked): Likewise.
2145 * libio/wfileops.c (_IO_wdo_write): Likewise.
2148 * libio/fputwc.c (fputwc): Use proper type for result.
2149 * libio/ioungetwc.c (ungetwc): Likewise.
2151 2006-01-14 Ulrich Drepper <drepper@redhat.com>
2153 * sysdeps/unix/sysv/linux/bits/sched.h: Define SCHED_BATCH.
2155 2006-01-14 Roland McGrath <roland@redhat.com>
2157 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Don't try
2158 attribute_hidden here.
2159 * sysdeps/ieee754/ldbl-opt/nldbl-vsyslog.c (vsyslog): Restore
2160 attribute_hidden here.
2161 * sysdeps/ieee754/ldbl-opt/nldbl-asprintf.c (__asprintf): Likewise.
2162 * sysdeps/ieee754/ldbl-opt/nldbl-fprintf.c (fprintf): Likewise.
2163 * sysdeps/ieee754/ldbl-opt/nldbl-qecvt.c (qecvt): Likewise.
2164 * sysdeps/ieee754/ldbl-opt/nldbl-qfcvt.c (qfcvt): Likewise.
2165 * sysdeps/ieee754/ldbl-opt/nldbl-qgcvt.c (qgcvt): Likewise.
2167 * sysdeps/ieee754/ldbl-opt/configure.in: Use AC_TRY_COMPILE and
2168 verify __LONG_DOUBLE_128__ predefine.
2169 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2171 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_HIDDEN): Removed.
2172 (NLDBL_DECL): Rewritten.
2173 Remove __THROW from NLDBL_DECL uses.
2174 Use NLDBL_DECL for __vstrfmon_l.
2175 (__nldbl___vsyslog_chk): Restore missing decl.
2176 * sysdeps/ieee754/ldbl-opt/nldbl-asinh.c: Restore attribute_hidden.
2178 2006-01-14 Jakub Jelinek <jakub@redhat.com>
2180 * misc/sys/cdefs.h (__LDBL_REDIR1_DECL): Define.
2181 (__LDBL_REDIR_DECL): Stringize __nldbl and name.
2182 * stdlib/bits/monetary-ldbl.h: Remove pastos from wchar-ldbl.h.
2183 (strfmon, strfmon_l): Add __LDBL_REDIR_DECL.
2184 * stdlib/bits/stdlib-ldbl.h (strtold, strtold_l, __strtold_internal,
2185 qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r): Use __LDBL_REDIR1_DECL
2186 instead of __LDBL_REDIR_DECL.
2187 * wcsmbs/bits/wchar-ldbl.h: Remove stale #if.
2188 (__LDBL_REDIR_WCHAR): Remove.
2189 (fwprintf, wprintf, swprintf, vfwprintf, vwprintf, vswprintf,
2190 fwscanf, wscanf, swscanf, vfwscanf, vwscanf, vswscanf): Use
2191 __LDBL_REDIR_DECL instead of __LDBL_REDIR_WCHAR.
2192 (wcstold, wcstold_l, __wcstold_internal): Add __LDBL_REDIR1_DECL.
2193 * wcsmbs/wchar.h: Include bits/wchar-ldbl.h after bits/wchar2.h
2194 instead of before it.
2195 (wcstold inline): Move #ifndef __LDBL_COMPAT before
2197 * libio/bits/stdio-ldbl.h (__snprintf_chk, __vsnprintf_chk): Add
2199 * misc/bits/syslog-ldbl.h (vsyslog): Protect with #ifdef __USE_BSD.
2200 (__syslog_chk, __vsyslog_chk): Add __LDBL_REDIR_DECL.
2202 2006-01-14 Roland McGrath <roland@redhat.com>
2204 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Fix typo.
2205 (NLDBL_HIDDEN): New macro.
2206 (NLDBL_DECL): Use it in place of attribute_hidden.
2208 * misc/efgcvt.c: Include <math_ldbl_opt.h> instead of <shlib-compat.h>.
2209 * misc/efgcvt_r.c: Likewise.
2211 * sysdeps/unix/sysv/linux/sparc/sparc32/nldbl-abi.h: New file.
2212 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: #include <nldbl-abi.h>
2213 to define LONG_DOUBLE_COMPAT_VERSION. Use that in place of
2215 * sysdeps/ieee754/ldbl-opt/Versions: Include <nldbl-abi.h>.
2216 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Revert last change.
2218 2006-01-14 Jakub Jelinek <jakub@redhat.com>
2220 * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New
2222 (nexttowardf): Redirect to __nldbl_nexttowardf.
2223 (nexttoward): Redirect to nextafter.
2224 (__MATHDECL_2, __MATHDECL_1): Redirect *l functions to
2225 non-*l versions if __LONG_DOUBLE_MATH_OPTIONAL and
2226 __NO_LONG_DOUBLE_MATH.
2227 * math/complex.h (__MATHDECL_1): Likewise.
2228 * math/bits/mathcalls.h (nexttoward): Don't prototype if
2230 * misc/sys/cdefs.h: Include <bits/wordsize.h>.
2231 (__LDBL_COMPAT, __LDBL_REDIR1, __LDBL_REDIR, __LDBL_REDIR1_NTH,
2232 __LDBL_REDIR_NTH, __LDBL_REDIR_DECL): New macros.
2234 * libio/bits/stdio-ldbl.h: New file.
2235 * libio/Makefile (headers): Add it.
2236 * libio/stdio.h [__LDBL_COMPAT]: #include it.
2237 * libio/bits/libio-ldbl.h: New file.
2238 * libio/Makefile (headers): Add it.
2239 * libio/libio.h [__LDBL_COMPAT]: #include it.
2240 * libio/libioP.h: Include <math_ldbl_opt.h>.
2241 * include/wchar.h (__fwprintf, __vfwprintf): Fix commented out
2243 (__vfwprintf_chk): New prototype. Add libc_hidden_proto.
2244 * wcsmbs/bits/wchar-ldbl.h: New file.
2245 * wcsmbs/Makefile (headers): Add it.
2246 * wcsmbs/wchar.h [__LDBL_COMPAT]: #include it.
2247 * wcsmbs/bits/wchar2.h (__vswprintf_alias): Removed.
2248 (vswprintf): Define as a macro rather than inline function.
2249 * stdio-common/bits/printf-ldbl.h: New file.
2250 * stdio-common/Makefile (headers): Add it.
2251 * stdio-common/printf.h [__LDBL_COMPAT]: #include it.
2252 * libio/fwprintf.c: Include libioP.h.
2253 (fwprintf): Use ldbl_weak_alias instead of weak_alias.
2254 * libio/fwscanf.c: Include libioP.h.
2255 (fwscanf): Rename to __fwscanf and add ldbl_strong_alias.
2256 * libio/iovdprintf.c (vdprintf): Use ldbl_weak_alias instead of
2258 * libio/iovsprintf.c (_IO_vsprintf): Rename to __IO_vsprintf,
2259 add ldbl_strong_alias and use INTDEF2 instead of INTDEF.
2260 (vsprintf): Use ldbl_weak_alias instead of weak_alias.
2261 * libio/iovsscanf.c (__vsscanf, vsscanf): Use ldbl_weak_alias
2262 instead of weak_alias.
2263 * libio/iovswscanf.c (vswscanf): Rename to __vswscanf,
2264 add ldbl_strong_alias and use ldbl_hidden_def instead of
2266 * libio/obprintf.c (obstack_printf, obstack_vprintf): Use
2267 ldbl_weak_alias instead of weak_alias.
2268 * libio/swprintf.c: Include libioP.h.
2269 (swprintf): Rename to __swprintf and add ldbl_strong_alias.
2270 * libio/swscanf.c: Include libioP.h.
2271 (swscanf): Rename to __swscanf and add ldbl_strong_alias.
2272 * libio/vasprintf.c (vasprintf): Use ldbl_weak_alias instead of
2274 * libio/vscanf.c (vscanf): Use ldbl_weak_alias instead of
2276 * libio/vsnprintf.c (__vsnprintf, vsnprintf): Use ldbl_weak_alias
2277 instead of weak_alias.
2278 * libio/vswprintf.c (__vswprintf): Remove alias.
2279 (vswprintf): Use ldbl_weak_alias instead of weak_alias.
2280 * libio/vwprintf.c: Include libioP.h.
2281 (vwprintf): Rename to __vwprintf and add ldbl_strong_alias.
2282 * libio/vwscanf.c (vwscanf): Rename to __vwscanf and add
2284 * libio/wprintf.c: Include libioP.h.
2285 (wprintf): Rename to __wprintf and add ldbl_strong_alias.
2286 * libio/wscanf.c: Include libioP.h.
2287 (wscanf): Rename to __wscanf and add ldbl_strong_alias.
2288 * stdio-common/asprintf.c (__asprintf): Rename to ___asprintf, add
2289 ldbl_strong_alias and use INTDEF2 instead of INTDEF.
2290 (asprintf): Use ldbl_weak_alias instead of weak_alias.
2291 * stdio-common/dprintf.c (dprintf): Rename to __dprintf, add
2292 ldbl_strong_alias and use ldbl_hidden_def instead of
2294 * stdio-common/fprintf.c: Include libioP.h.
2295 (fprintf): Rename to __fprintf, add ldbl_strong_alias and
2296 use ldbl_hidden_def instead of libc_hidden_def.
2297 (_IO_fprintf): Use ldbl_weak_alias instead of weak_alias.
2298 * stdio-common/fscanf.c: Include libioP.h.
2299 (fscanf): Rename to __fscanf and add ldbl_strong_alias.
2300 * stdio-common/printf.c: Include libioP.h.
2301 (printf): Rename to __printf and add ldbl_strong_alias.
2302 (_IO_printf): Use ldbl_strong_alias instead of strong_alias.
2303 * stdio-common/printf_fp.c (__printf_fp): Rename to __printf_fp, add
2304 ldbl_strong_alias and use ldbl_hidden_def instead of
2306 * stdio-common/printf_size.c (printf_size): Rename to __printf_size
2307 and add ldbl_strong_alias.
2308 * stdio-common/scanf.c (scanf): Rename to __scanf and add
2310 * stdio-common/snprintf.c (snprintf): Use ldbl_weak_alias instead of
2312 * stdio-common/sprintf.c (sprintf): Rename to __sprintf, add
2313 ldbl_strong_alias and use ldbl_hidden_def instead of
2315 (_IO_sprintf): Use ldbl_strong_alias instead of strong_alias.
2316 * stdio-common/sscanf.c: Include libioP.h instead of iolibio.h.
2317 (sscanf): Rename to __sscanf and add ldbl_strong_alias.
2318 * stdio-common/vfprintf.c (vfprintf): Define to
2319 _IO_vfprintf_internal. Use ldbl_strong_alias instead. Use
2320 ldbl_hidden_def instead of libc_hidden_def.
2321 (_IO_vfprintf_internal): Clear is_long_double if __ldbl_is_dbl,
2322 handle the argument as double if it is non-zero.
2323 (vfwprintf): Use ldbl_weak_alias instead of weak_alias.
2324 (_IO_vfprintf): Add ldbl_strong_alias.
2325 * stdio-common/vfscanf.c (_IO_vfscanf): Rename to
2326 _IO_vfscanf_internal, don't use strtold if __ldbl_is_dbl, add
2328 (vfwscanf): Use ldbl_weak_alias instead of weak_alias.
2329 (__vfscanf): Rename to ___vfscanf, add ldbl_strong_alias and
2330 use ldbl_hidden_def instead of libc_hidden_def.
2331 (vfscanf): Use ldbl_weak_alias instead of weak_alias.
2332 * stdio-common/vprintf.c: Include libioP.h.
2333 (vprintf): Rename to __vprintf and add ldbl_strong_alias.
2334 * debug/fprintf_chk.c (__fprintf_chk): Rename to ___fprintf_chk
2335 and add ldbl_strong_alias.
2336 * debug/printf_chk.c (__printf_chk): Rename to ___printf_chk
2337 and add ldbl_strong_alias.
2338 * debug/snprintf_chk.c: Include libioP.h.
2339 (__snprintf_chk): Rename to ___snprintf_chk and add ldbl_strong_alias.
2340 * debug/sprintf_chk.c: Include libioP.h.
2341 (__sprintf_chk): Rename to ___sprintf_chk and add ldbl_strong_alias.
2342 * debug/vfprintf_chk.c (__vfprintf_chk): Rename to ___vfprintf_chk,
2343 add ldbl_strong_alias and use ldbl_hidden_def instead of
2345 * debug/vfwprintf_chk.c (__vfwprintf_chk): Add libc_hidden_def.
2346 * debug/vprintf_chk.c (__vprintf_chk): Rename to ___vprintf_chk
2347 and add ldbl_strong_alias.
2348 * debug/vsnprintf_chk.c (__vsnprintf_chk): Rename to ___vsnprintf_chk,
2349 add ldbl_strong_alias and use ldbl_hidden_def instead of
2351 * debug/vsprintf_chk.c (__vsprintf_chk): Rename to ___vsprintf_chk,
2352 add ldbl_strong_alias and use ldbl_hidden_def instead of
2355 * stdlib/stdlib.h (strtold): Don't define inline if [!__LDBL_COMPAT].
2356 * wcsmbs/wchar.h (wcstold): Likewise.
2357 * stdlib/strtod_l.c: Include math_ldbl_opt.h.
2358 (____STRTOF_INTERNAL): Define.
2359 (INTERNAL (__STRTOF)): Rename to ____STRTOF_INTERNAL.
2360 (__STRTOF): Call ____STRTOF_INTERNAL instead.
2361 [LONG_DOUBLE_COMPAT] (strtold_l, wcstold_l, __strtold_l, __wcstold_l):
2362 Add compatibility symbols.
2363 * stdlib/strtod.c: Include math_ldbl_opt.h.
2364 [LONG_DOUBLE_COMPAT] (strtold, wcstold, __strtold_internal,
2365 __wcstold_internal): Add compatibility symbols.
2366 * stdlib/strtold.c: Include bits/wordsize.h, wchar.h.
2367 (NEW, NEW1): Define.
2368 (__new_strtold, __new_wcstold): New prototypes.
2369 (____new_strtold_internal, ____new_wcstold_internal): Likewise.
2370 Add libc_hidden_proto.
2371 (STRTOF): Define to NEW (*told).
2372 [__LONG_DOUBLE_MATH_OPTIONAL] (wcstold, strtold): Add
2374 [__LONG_DOUBLE_MATH_OPTIONAL] (__wcstold_internal,
2375 __strtold_internal): Likewise. Add libc_hidden_ver.
2377 * stdlib/bits/stdlib-ldbl.h: New file.
2378 * stdlib/Makefile (headers): Add it.
2379 * stdlib/stdlib.h [__LDBL_COMPAT]: #include it.
2380 * include/stdlib.h (ecvt_r, fcvt_r, qecvt_r, qfcvt_r): Remove
2382 (__ecvt, __fcvt, __gcvt, __ecvt_r, __fcvt_r, __qecvt, __qfcvt,
2383 __qgcvt, __qecvt_r, __qfcvt_r): New prototypes.
2384 * misc/efgcvt_r.c: Include shlib-compat.h.
2385 (LONG_DOUBLE_CVT): Define.
2386 (__APPEND, __APPEND2): Define.
2387 (*fcvt_r): Use __APPEND instead of APPEND. Remove libc_hidden_def.
2388 (*ecvt_r): Likewise.
2389 (cvt_symbol): Define. Use it on fcvt_r and ecvt_r.
2390 * misc/efgcvt.c: Include shlib-compat.h.
2391 (LONG_DOUBLE_CVT): Define.
2392 (__APPEND, __APPEND2): Define.
2393 (fcvt): Use __APPEND instead of APPEND. Remove libc_hidden_def.
2394 (ecvt, gcvt): Likewise.
2395 (cvt_symbol): Define. Use it on fcvt, ecvt and gcvt.
2397 * stdlib/bits/monetary-ldbl.h: New file.
2398 * stdlib/Makefile (headers): Add it.
2399 * stdlib/monetary.h [__LDBL_COMPAT]: #include it.
2400 * stdlib/strfmon.c: Include math_ldbl_opt.h.
2401 (strfmon): Rename to __strfmon and add ldbl_strong_alias.
2402 * stdlib/strfmon_l.c: Remove all traces of [!USE_IN_LIBIO].
2403 (__vstrfmon_l): Don't set is_long_double if __ldbl_is_dbl.
2404 (__strfmon_l): Rename to ___strfmon_l and add ldbl_strong_alias.
2405 (strfmon_l): Use ldbl_weak_alias instead of weak_alias.
2407 * misc/bits/syslog-ldbl.h: New file.
2408 * misc/Makefile (headers): Add it.
2409 * misc/sys/syslog.h [__LDBL_COMPAT]: #include it.
2410 * misc/syslog.c: Include math_ldbl_opt.h.
2411 (syslog): Rename to __syslog and add ldbl_strong_alias,
2412 use ldbl_hidden_def instead of libc_hidden_def.
2413 (vsyslog): Rename to __vsyslog and add ldbl_strong_alias,
2414 use ldbl_hidden_def instead of libc_hidden_def.
2416 * sysdeps/generic/math_ldbl_opt.h: New file.
2417 * math/w_j1l.c (j1l, y1l): Rename to __ prefixed variants.
2419 * math/w_j0l.c (j0l, y0l): Likewise.
2420 * math/w_jnl.c (jnl, ynl): Likewise.
2421 * sysdeps/ieee754/ldbl-96/s_nexttoward.c
2422 (__nexttowardl): Remove strong_alias.
2423 (nexttowardl): Remove weak_alias.
2424 * sysdeps/ieee754/ldbl-96/s_erfl.c
2425 (__erfl, __erfcl): Remove strong_alias.
2426 (erfl, erfcl): Remove weak_alias.
2428 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: New file.
2429 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: New file.
2430 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: New file.
2431 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: New file.
2432 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: New file.
2433 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: New file.
2434 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: New file.
2435 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: New file.
2436 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: New file.
2437 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: New file.
2438 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: New file.
2439 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: New file.
2440 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: New file.
2441 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: New file.
2442 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: New file.
2443 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: New file.
2444 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: New file.
2445 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: New file.
2446 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: New file.
2447 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: New file.
2448 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: New file.
2449 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: New file.
2450 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: New file.
2451 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: New file.
2452 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c: New file.
2453 * sysdeps/ieee754/ldbl-64-128/s_nexttoward.c: New file.
2454 * sysdeps/ieee754/ldbl-64-128/s_nexttowardf.c: New file.
2455 * sysdeps/ieee754/ldbl-64-128/s_nexttowardfd.c: New file.
2456 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: New file.
2457 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: New file.
2458 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: New file.
2459 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: New file.
2460 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: New file.
2461 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: New file.
2462 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: New file.
2463 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: New file.
2464 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: New file.
2465 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: New file.
2466 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: New file.
2467 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: New file.
2468 * sysdeps/ieee754/ldbl-64-128/w_expl.c: New file.
2469 * sysdeps/ieee754/ldbl-opt/configure.in: New file.
2470 * sysdeps/ieee754/ldbl-opt/configure: New file.
2471 * sysdeps/ieee754/ldbl-opt/Makefile: New file.
2472 * sysdeps/ieee754/ldbl-opt/Versions: New file.
2473 * sysdeps/ieee754/ldbl-opt/cabs.c: New file.
2474 * sysdeps/ieee754/ldbl-opt/cabsl.c: New file.
2475 * sysdeps/ieee754/ldbl-opt/carg.c: New file.
2476 * sysdeps/ieee754/ldbl-opt/cargl.c: New file.
2477 * sysdeps/ieee754/ldbl-opt/cimag.c: New file.
2478 * sysdeps/ieee754/ldbl-opt/cimagl.c: New file.
2479 * sysdeps/ieee754/ldbl-opt/conj.c: New file.
2480 * sysdeps/ieee754/ldbl-opt/conjl.c: New file.
2481 * sysdeps/ieee754/ldbl-opt/creal.c: New file.
2482 * sysdeps/ieee754/ldbl-opt/creall.c: New file.
2483 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: New file.
2484 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: New file.
2485 * sysdeps/ieee754/ldbl-opt/nldbl-acos.c: New file.
2486 * sysdeps/ieee754/ldbl-opt/nldbl-acosh.c: New file.
2487 * sysdeps/ieee754/ldbl-opt/nldbl-asin.c: New file.
2488 * sysdeps/ieee754/ldbl-opt/nldbl-asinh.c: New file.
2489 * sysdeps/ieee754/ldbl-opt/nldbl-asprintf.c: New file.
2490 * sysdeps/ieee754/ldbl-opt/nldbl-atan.c: New file.
2491 * sysdeps/ieee754/ldbl-opt/nldbl-atan2.c: New file.
2492 * sysdeps/ieee754/ldbl-opt/nldbl-atanh.c: New file.
2493 * sysdeps/ieee754/ldbl-opt/nldbl-cabs.c: New file.
2494 * sysdeps/ieee754/ldbl-opt/nldbl-cacos.c: New file.
2495 * sysdeps/ieee754/ldbl-opt/nldbl-cacosh.c: New file.
2496 * sysdeps/ieee754/ldbl-opt/nldbl-carg.c: New file.
2497 * sysdeps/ieee754/ldbl-opt/nldbl-casin.c: New file.
2498 * sysdeps/ieee754/ldbl-opt/nldbl-casinh.c: New file.
2499 * sysdeps/ieee754/ldbl-opt/nldbl-catan.c: New file.
2500 * sysdeps/ieee754/ldbl-opt/nldbl-catanh.c: New file.
2501 * sysdeps/ieee754/ldbl-opt/nldbl-cbrt.c: New file.
2502 * sysdeps/ieee754/ldbl-opt/nldbl-ccos.c: New file.
2503 * sysdeps/ieee754/ldbl-opt/nldbl-ccosh.c: New file.
2504 * sysdeps/ieee754/ldbl-opt/nldbl-ceil.c: New file.
2505 * sysdeps/ieee754/ldbl-opt/nldbl-cexp.c: New file.
2506 * sysdeps/ieee754/ldbl-opt/nldbl-cimag.c: New file.
2507 * sysdeps/ieee754/ldbl-opt/nldbl-clog.c: New file.
2508 * sysdeps/ieee754/ldbl-opt/nldbl-clog10.c: New file.
2509 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: New file.
2510 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: New file.
2511 * sysdeps/ieee754/ldbl-opt/nldbl-conj.c: New file.
2512 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c: New file.
2513 * sysdeps/ieee754/ldbl-opt/nldbl-cos.c: New file.
2514 * sysdeps/ieee754/ldbl-opt/nldbl-cosh.c: New file.
2515 * sysdeps/ieee754/ldbl-opt/nldbl-cpow.c: New file.
2516 * sysdeps/ieee754/ldbl-opt/nldbl-cproj.c: New file.
2517 * sysdeps/ieee754/ldbl-opt/nldbl-creal.c: New file.
2518 * sysdeps/ieee754/ldbl-opt/nldbl-csin.c: New file.
2519 * sysdeps/ieee754/ldbl-opt/nldbl-csinh.c: New file.
2520 * sysdeps/ieee754/ldbl-opt/nldbl-csqrt.c: New file.
2521 * sysdeps/ieee754/ldbl-opt/nldbl-ctan.c: New file.
2522 * sysdeps/ieee754/ldbl-opt/nldbl-ctanh.c: New file.
2523 * sysdeps/ieee754/ldbl-opt/nldbl-dprintf.c: New file.
2524 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: New file.
2525 * sysdeps/ieee754/ldbl-opt/nldbl-erf.c: New file.
2526 * sysdeps/ieee754/ldbl-opt/nldbl-erfc.c: New file.
2527 * sysdeps/ieee754/ldbl-opt/nldbl-exp.c: New file.
2528 * sysdeps/ieee754/ldbl-opt/nldbl-exp10.c: New file.
2529 * sysdeps/ieee754/ldbl-opt/nldbl-exp2.c: New file.
2530 * sysdeps/ieee754/ldbl-opt/nldbl-expm1.c: New file.
2531 * sysdeps/ieee754/ldbl-opt/nldbl-fabs.c: New file.
2532 * sysdeps/ieee754/ldbl-opt/nldbl-fdim.c: New file.
2533 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: New file.
2534 * sysdeps/ieee754/ldbl-opt/nldbl-floor.c: New file.
2535 * sysdeps/ieee754/ldbl-opt/nldbl-fma.c: New file.
2536 * sysdeps/ieee754/ldbl-opt/nldbl-fmax.c: New file.
2537 * sysdeps/ieee754/ldbl-opt/nldbl-fmin.c: New file.
2538 * sysdeps/ieee754/ldbl-opt/nldbl-fmod.c: New file.
2539 * sysdeps/ieee754/ldbl-opt/nldbl-fprintf.c: New file.
2540 * sysdeps/ieee754/ldbl-opt/nldbl-fprintf_chk.c: New file.
2541 * sysdeps/ieee754/ldbl-opt/nldbl-frexp.c: New file.
2542 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c: New file.
2543 * sysdeps/ieee754/ldbl-opt/nldbl-fwprintf.c: New file.
2544 * sysdeps/ieee754/ldbl-opt/nldbl-fwprintf_chk.c: New file.
2545 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c: New file.
2546 * sysdeps/ieee754/ldbl-opt/nldbl-gamma.c: New file.
2547 * sysdeps/ieee754/ldbl-opt/nldbl-hypot.c: New file.
2548 * sysdeps/ieee754/ldbl-opt/nldbl-ilogb.c: New file.
2549 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c: New file.
2550 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: New file.
2551 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: New file.
2552 * sysdeps/ieee754/ldbl-opt/nldbl-j0.c: New file.
2553 * sysdeps/ieee754/ldbl-opt/nldbl-j1.c: New file.
2554 * sysdeps/ieee754/ldbl-opt/nldbl-jn.c: New file.
2555 * sysdeps/ieee754/ldbl-opt/nldbl-ldexp.c: New file.
2556 * sysdeps/ieee754/ldbl-opt/nldbl-lgamma.c: New file.
2557 * sysdeps/ieee754/ldbl-opt/nldbl-lgamma_r.c: New file.
2558 * sysdeps/ieee754/ldbl-opt/nldbl-llrint.c: New file.
2559 * sysdeps/ieee754/ldbl-opt/nldbl-llround.c: New file.
2560 * sysdeps/ieee754/ldbl-opt/nldbl-log.c: New file.
2561 * sysdeps/ieee754/ldbl-opt/nldbl-log10.c: New file.
2562 * sysdeps/ieee754/ldbl-opt/nldbl-log1p.c: New file.
2563 * sysdeps/ieee754/ldbl-opt/nldbl-log2.c: New file.
2564 * sysdeps/ieee754/ldbl-opt/nldbl-logb.c: New file.
2565 * sysdeps/ieee754/ldbl-opt/nldbl-lrint.c: New file.
2566 * sysdeps/ieee754/ldbl-opt/nldbl-lround.c: New file.
2567 * sysdeps/ieee754/ldbl-opt/nldbl-modf.c: New file.
2568 * sysdeps/ieee754/ldbl-opt/nldbl-nan.c: New file.
2569 * sysdeps/ieee754/ldbl-opt/nldbl-nearbyint.c: New file.
2570 * sysdeps/ieee754/ldbl-opt/nldbl-nextafter.c: New file.
2571 * sysdeps/ieee754/ldbl-opt/nldbl-nexttoward.c: New file.
2572 * sysdeps/ieee754/ldbl-opt/nldbl-nexttowardf.c: New file.
2573 * sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf.c: New file.
2574 * sysdeps/ieee754/ldbl-opt/nldbl-obstack_vprintf.c: New file.
2575 * sysdeps/ieee754/ldbl-opt/nldbl-pow.c: New file.
2576 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: New file.
2577 * sysdeps/ieee754/ldbl-opt/nldbl-printf.c: New file.
2578 * sysdeps/ieee754/ldbl-opt/nldbl-printf_chk.c: New file.
2579 * sysdeps/ieee754/ldbl-opt/nldbl-printf_fp.c: New file.
2580 * sysdeps/ieee754/ldbl-opt/nldbl-printf_size.c: New file.
2581 * sysdeps/ieee754/ldbl-opt/nldbl-qecvt.c: New file.
2582 * sysdeps/ieee754/ldbl-opt/nldbl-qecvt_r.c: New file.
2583 * sysdeps/ieee754/ldbl-opt/nldbl-qfcvt.c: New file.
2584 * sysdeps/ieee754/ldbl-opt/nldbl-qfcvt_r.c: New file.
2585 * sysdeps/ieee754/ldbl-opt/nldbl-qgcvt.c: New file.
2586 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c: New file.
2587 * sysdeps/ieee754/ldbl-opt/nldbl-remquo.c: New file.
2588 * sysdeps/ieee754/ldbl-opt/nldbl-rint.c: New file.
2589 * sysdeps/ieee754/ldbl-opt/nldbl-round.c: New file.
2590 * sysdeps/ieee754/ldbl-opt/nldbl-scalb.c: New file.
2591 * sysdeps/ieee754/ldbl-opt/nldbl-scalbln.c: New file.
2592 * sysdeps/ieee754/ldbl-opt/nldbl-scalbn.c: New file.
2593 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c: New file.
2594 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: New file.
2595 * sysdeps/ieee754/ldbl-opt/nldbl-significand.c: New file.
2596 * sysdeps/ieee754/ldbl-opt/nldbl-sin.c: New file.
2597 * sysdeps/ieee754/ldbl-opt/nldbl-sincos.c: New file.
2598 * sysdeps/ieee754/ldbl-opt/nldbl-sinh.c: New file.
2599 * sysdeps/ieee754/ldbl-opt/nldbl-snprintf.c: New file.
2600 * sysdeps/ieee754/ldbl-opt/nldbl-snprintf_chk.c: New file.
2601 * sysdeps/ieee754/ldbl-opt/nldbl-sprintf.c: New file.
2602 * sysdeps/ieee754/ldbl-opt/nldbl-sprintf_chk.c: New file.
2603 * sysdeps/ieee754/ldbl-opt/nldbl-sqrt.c: New file.
2604 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c: New file.
2605 * sysdeps/ieee754/ldbl-opt/nldbl-strfmon.c: New file.
2606 * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c: New file.
2607 * sysdeps/ieee754/ldbl-opt/nldbl-strtold.c: New file.
2608 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: New file.
2609 * sysdeps/ieee754/ldbl-opt/nldbl-strtoldint.c: New file.
2610 * sysdeps/ieee754/ldbl-opt/nldbl-swprintf.c: New file.
2611 * sysdeps/ieee754/ldbl-opt/nldbl-swprintf_chk.c: New file.
2612 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c: New file.
2613 * sysdeps/ieee754/ldbl-opt/nldbl-syslog.c: New file.
2614 * sysdeps/ieee754/ldbl-opt/nldbl-syslog_chk.c: New file.
2615 * sysdeps/ieee754/ldbl-opt/nldbl-tan.c: New file.
2616 * sysdeps/ieee754/ldbl-opt/nldbl-tanh.c: New file.
2617 * sysdeps/ieee754/ldbl-opt/nldbl-tgamma.c: New file.
2618 * sysdeps/ieee754/ldbl-opt/nldbl-trunc.c: New file.
2619 * sysdeps/ieee754/ldbl-opt/nldbl-vasprintf.c: New file.
2620 * sysdeps/ieee754/ldbl-opt/nldbl-vdprintf.c: New file.
2621 * sysdeps/ieee754/ldbl-opt/nldbl-vfprintf.c: New file.
2622 * sysdeps/ieee754/ldbl-opt/nldbl-vfprintf_chk.c: New file.
2623 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c: New file.
2624 * sysdeps/ieee754/ldbl-opt/nldbl-vfwprintf.c: New file.
2625 * sysdeps/ieee754/ldbl-opt/nldbl-vfwprintf_chk.c: New file.
2626 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c: New file.
2627 * sysdeps/ieee754/ldbl-opt/nldbl-vprintf.c: New file.
2628 * sysdeps/ieee754/ldbl-opt/nldbl-vprintf_chk.c: New file.
2629 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c: New file.
2630 * sysdeps/ieee754/ldbl-opt/nldbl-vsnprintf.c: New file.
2631 * sysdeps/ieee754/ldbl-opt/nldbl-vsnprintf_chk.c: New file.
2632 * sysdeps/ieee754/ldbl-opt/nldbl-vsprintf.c: New file.
2633 * sysdeps/ieee754/ldbl-opt/nldbl-vsprintf_chk.c: New file.
2634 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c: New file.
2635 * sysdeps/ieee754/ldbl-opt/nldbl-vswprintf.c: New file.
2636 * sysdeps/ieee754/ldbl-opt/nldbl-vswprintf_chk.c: New file.
2637 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c: New file.
2638 * sysdeps/ieee754/ldbl-opt/nldbl-vsyslog.c: New file.
2639 * sysdeps/ieee754/ldbl-opt/nldbl-vsyslog_chk.c: New file.
2640 * sysdeps/ieee754/ldbl-opt/nldbl-vwprintf.c: New file.
2641 * sysdeps/ieee754/ldbl-opt/nldbl-vwprintf_chk.c: New file.
2642 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c: New file.
2643 * sysdeps/ieee754/ldbl-opt/nldbl-wcstold.c: New file.
2644 * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c: New file.
2645 * sysdeps/ieee754/ldbl-opt/nldbl-wcstoldint.c: New file.
2646 * sysdeps/ieee754/ldbl-opt/nldbl-wprintf.c: New file.
2647 * sysdeps/ieee754/ldbl-opt/nldbl-wprintf_chk.c: New file.
2648 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c: New file.
2649 * sysdeps/ieee754/ldbl-opt/nldbl-y0.c: New file.
2650 * sysdeps/ieee754/ldbl-opt/nldbl-y1.c: New file.
2651 * sysdeps/ieee754/ldbl-opt/nldbl-yn.c: New file.
2652 * sysdeps/ieee754/ldbl-opt/s_asinh.c: New file.
2653 * sysdeps/ieee754/ldbl-opt/s_atan.c: New file.
2654 * sysdeps/ieee754/ldbl-opt/s_cacos.c: New file.
2655 * sysdeps/ieee754/ldbl-opt/s_cacosh.c: New file.
2656 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: New file.
2657 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: New file.
2658 * sysdeps/ieee754/ldbl-opt/s_casin.c: New file.
2659 * sysdeps/ieee754/ldbl-opt/s_casinh.c: New file.
2660 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: New file.
2661 * sysdeps/ieee754/ldbl-opt/s_casinl.c: New file.
2662 * sysdeps/ieee754/ldbl-opt/s_catan.c: New file.
2663 * sysdeps/ieee754/ldbl-opt/s_catanh.c: New file.
2664 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: New file.
2665 * sysdeps/ieee754/ldbl-opt/s_catanl.c: New file.
2666 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: New file.
2667 * sysdeps/ieee754/ldbl-opt/s_ccos.c: New file.
2668 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: New file.
2669 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: New file.
2670 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: New file.
2671 * sysdeps/ieee754/ldbl-opt/s_ceil.c: New file.
2672 * sysdeps/ieee754/ldbl-opt/s_cexp.c: New file.
2673 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: New file.
2674 * sysdeps/ieee754/ldbl-opt/s_clog.c: New file.
2675 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
2676 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: New file.
2677 * sysdeps/ieee754/ldbl-opt/s_clogl.c: New file.
2678 * sysdeps/ieee754/ldbl-opt/s_copysign.c: New file.
2679 * sysdeps/ieee754/ldbl-opt/s_cpow.c: New file.
2680 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: New file.
2681 * sysdeps/ieee754/ldbl-opt/s_cproj.c: New file.
2682 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: New file.
2683 * sysdeps/ieee754/ldbl-opt/s_csin.c: New file.
2684 * sysdeps/ieee754/ldbl-opt/s_csinh.c: New file.
2685 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: New file.
2686 * sysdeps/ieee754/ldbl-opt/s_csinl.c: New file.
2687 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: New file.
2688 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: New file.
2689 * sysdeps/ieee754/ldbl-opt/s_ctan.c: New file.
2690 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: New file.
2691 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: New file.
2692 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: New file.
2693 * sysdeps/ieee754/ldbl-opt/s_erf.c: New file.
2694 * sysdeps/ieee754/ldbl-opt/s_expm1.c: New file.
2695 * sysdeps/ieee754/ldbl-opt/s_fabs.c: New file.
2696 * sysdeps/ieee754/ldbl-opt/s_fdim.c: New file.
2697 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: New file.
2698 * sysdeps/ieee754/ldbl-opt/s_finite.c: New file.
2699 * sysdeps/ieee754/ldbl-opt/s_floor.c: New file.
2700 * sysdeps/ieee754/ldbl-opt/s_fma.c: New file.
2701 * sysdeps/ieee754/ldbl-opt/s_fmal.c: New file.
2702 * sysdeps/ieee754/ldbl-opt/s_fmax.c: New file.
2703 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: New file.
2704 * sysdeps/ieee754/ldbl-opt/s_fmin.c: New file.
2705 * sysdeps/ieee754/ldbl-opt/s_fminl.c: New file.
2706 * sysdeps/ieee754/ldbl-opt/s_frexp.c: New file.
2707 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: New file.
2708 * sysdeps/ieee754/ldbl-opt/s_isinf.c: New file.
2709 * sysdeps/ieee754/ldbl-opt/s_isnan.c: New file.
2710 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: New file.
2711 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: New file.
2712 * sysdeps/ieee754/ldbl-opt/s_llrint.c: New file.
2713 * sysdeps/ieee754/ldbl-opt/s_llround.c: New file.
2714 * sysdeps/ieee754/ldbl-opt/s_log1p.c: New file.
2715 * sysdeps/ieee754/ldbl-opt/s_logb.c: New file.
2716 * sysdeps/ieee754/ldbl-opt/s_lrint.c: New file.
2717 * sysdeps/ieee754/ldbl-opt/s_lround.c: New file.
2718 * sysdeps/ieee754/ldbl-opt/s_modf.c: New file.
2719 * sysdeps/ieee754/ldbl-opt/s_nan.c: New file.
2720 * sysdeps/ieee754/ldbl-opt/s_nanl.c: New file.
2721 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: New file.
2722 * sysdeps/ieee754/ldbl-opt/s_nextafter.c: New file.
2723 * sysdeps/ieee754/ldbl-opt/s_remquo.c: New file.
2724 * sysdeps/ieee754/ldbl-opt/s_rint.c: New file.
2725 * sysdeps/ieee754/ldbl-opt/s_round.c: New file.
2726 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: New file.
2727 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: New file.
2728 * sysdeps/ieee754/ldbl-opt/s_significand.c: New file.
2729 * sysdeps/ieee754/ldbl-opt/s_significandl.c: New file.
2730 * sysdeps/ieee754/ldbl-opt/s_sin.c: New file.
2731 * sysdeps/ieee754/ldbl-opt/s_sincos.c: New file.
2732 * sysdeps/ieee754/ldbl-opt/s_tan.c: New file.
2733 * sysdeps/ieee754/ldbl-opt/s_tanh.c: New file.
2734 * sysdeps/ieee754/ldbl-opt/s_trunc.c: New file.
2735 * sysdeps/ieee754/ldbl-opt/w_acos.c: New file.
2736 * sysdeps/ieee754/ldbl-opt/w_acosh.c: New file.
2737 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: New file.
2738 * sysdeps/ieee754/ldbl-opt/w_acosl.c: New file.
2739 * sysdeps/ieee754/ldbl-opt/w_asin.c: New file.
2740 * sysdeps/ieee754/ldbl-opt/w_asinl.c: New file.
2741 * sysdeps/ieee754/ldbl-opt/w_atan2.c: New file.
2742 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: New file.
2743 * sysdeps/ieee754/ldbl-opt/w_atanh.c: New file.
2744 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: New file.
2745 * sysdeps/ieee754/ldbl-opt/w_cosh.c: New file.
2746 * sysdeps/ieee754/ldbl-opt/w_coshl.c: New file.
2747 * sysdeps/ieee754/ldbl-opt/w_drem.c: New file.
2748 * sysdeps/ieee754/ldbl-opt/w_dreml.c: New file.
2749 * sysdeps/ieee754/ldbl-opt/w_exp.c: New file.
2750 * sysdeps/ieee754/ldbl-opt/w_exp10.c: New file.
2751 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: New file.
2752 * sysdeps/ieee754/ldbl-opt/w_fmod.c: New file.
2753 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: New file.
2754 * sysdeps/ieee754/ldbl-opt/w_hypot.c: New file.
2755 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: New file.
2756 * sysdeps/ieee754/ldbl-opt/w_j0.c: New file.
2757 * sysdeps/ieee754/ldbl-opt/w_j0l.c: New file.
2758 * sysdeps/ieee754/ldbl-opt/w_j1.c: New file.
2759 * sysdeps/ieee754/ldbl-opt/w_j1l.c: New file.
2760 * sysdeps/ieee754/ldbl-opt/w_jn.c: New file.
2761 * sysdeps/ieee754/ldbl-opt/w_jnl.c: New file.
2762 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: New file.
2763 * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: New file.
2764 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: New file.
2765 * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: New file.
2766 * sysdeps/ieee754/ldbl-opt/w_log.c: New file.
2767 * sysdeps/ieee754/ldbl-opt/w_log10.c: New file.
2768 * sysdeps/ieee754/ldbl-opt/w_log10l.c: New file.
2769 * sysdeps/ieee754/ldbl-opt/w_log2.c: New file.
2770 * sysdeps/ieee754/ldbl-opt/w_log2l.c: New file.
2771 * sysdeps/ieee754/ldbl-opt/w_logl.c: New file.
2772 * sysdeps/ieee754/ldbl-opt/w_pow.c: New file.
2773 * sysdeps/ieee754/ldbl-opt/w_powl.c: New file.
2774 * sysdeps/ieee754/ldbl-opt/w_remainder.c: New file.
2775 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: New file.
2776 * sysdeps/ieee754/ldbl-opt/w_scalb.c: New file.
2777 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: New file.
2778 * sysdeps/ieee754/ldbl-opt/w_sinh.c: New file.
2779 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: New file.
2780 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: New file.
2781 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: New file.
2782 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: New file.
2783 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: New file.
2785 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: New file.
2786 * sysdeps/unix/sysv/linux/sparc/sparc32/Implies: New file.
2787 * sysdeps/sparc/sparc32/Implies: Move ldbl-128 first and flt-32
2789 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (NLDBL_VERSION):
2790 %define this to to GLIBC_2.4.
2791 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
2792 * sysdeps/sparc/sparc32/fpu/s_fabs.c: New file.
2793 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: New file.
2794 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: New file.
2795 * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: Removed.
2796 * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: Removed.
2797 * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: Removed.
2798 * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: Removed.
2799 * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: Removed.
2800 * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: Removed.
2801 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: New file.
2802 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: New file.
2803 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: New file.
2804 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: New file.
2805 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: New file.
2806 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: New file.
2807 * sysdeps/sparc/sparc32/soft-fp/Versions: New file.
2808 * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_cmp,
2809 __unordered_v9cmp): Define differently depending on
2810 -m32 -mlong-double-{64,128}.
2811 (__signbitl, sqrtl, __ieee754_sqrtl): New inlines.
2812 * sysdeps/sparc/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove.
2813 * sysdeps/sparc/sparc32/soft-fp/Makefile (sparc32-quad-routines):
2815 (sysdep-routines): Add sparc32-quad-routines.
2816 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Include stdlib.h.
2817 (FP_HANDLE_EXCEPTIONS): Call ___Q_simulate_exceptions as a normal
2819 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): New
2821 * sysdeps/sparc/sparc32/soft-fp/q_div.c (_Q_div): Fix a typo.
2822 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Include stdlib.h.
2823 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
2825 * libio/libio.h (_IO_vfscanf, _IO_vfprintf): Remove __THROW.
2826 (_IO_vfwscanf, _IO_vfwprintf): Likewise.
2827 * libio/libioP.h (_IO_vdprintf): Likewise.
2829 2006-01-13 Richard Henderson <rth@redhat.com>
2831 * sysdeps/unix/sysv/linux/alpha/sysdep.h (PTR_MANGLE, PTR_MANGLE2,
2832 PTR_DEMANGLE, PTR_DEMANGLE2): Move ...
2833 * sysdeps/unix/alpha/sysdep.h: ... here.
2834 * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Define __GI___fxstatat64.
2836 2006-01-13 Andreas Jaeger <aj@suse.de>
2838 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (ELF_NVRREG): Fix
2839 value for PowerPC64.
2841 2006-01-12 Roland McGrath <roland@redhat.com>
2843 * sysdeps/s390/jmpbuf-offsets.h: New file.
2844 * sysdeps/s390/jmpbuf-unwind.h: Include it.
2846 * sysdeps/alpha/__longjmp.S: Include <jmpbuf-offsets.h>
2847 instead of <bits/setjmp.h>.
2848 * sysdeps/alpha/setjmp.S: Likewise.
2849 * sysdeps/i386/__longjmp.S: Likewise.
2850 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2851 * sysdeps/i386/bsd-setjmp.S: Likewise.
2852 * sysdeps/i386/setjmp.S: Likewise.
2853 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
2854 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2855 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S:
2856 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2857 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2858 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2859 * sysdeps/sh/sh3/setjmp.S: Likewise.
2860 * sysdeps/sh/sh4/setjmp.S: Likewise.
2861 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2862 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
2863 * sysdeps/x86_64/__longjmp.S: Likewise.
2864 * sysdeps/x86_64/setjmp.S: Likewise.
2865 * sysdeps/mach/hurd/i386/longjmp-ts.c: Include <jmpbuf-offsets.h>.
2866 * sysdeps/mach/hurd/powerpc/longjmp-ts.c: Likewise.
2867 * sysdeps/mach/hurd/alpha/longjmp-ts.c: Likewise.
2868 * sysdeps/alpha/jmpbuf-unwind.h: Likewise.
2869 * sysdeps/hppa/jmpbuf-unwind.h: Likewise.
2870 * sysdeps/i386/jmpbuf-unwind.h: Likewise.
2871 * sysdeps/powerpc/jmpbuf-unwind.h: Likewise.
2872 * sysdeps/sparc/sparc32/jmpbuf-unwind.h: Likewise.
2873 * sysdeps/sparc/sparc64/jmpbuf-unwind.h: Likewise.
2874 * sysdeps/x86_64/jmpbuf-unwind.h: Likewise.
2875 * setjmp/jmpbuf-offsets.h: File removed.
2876 * include/bits/setjmp.h: File removed.
2878 2006-01-11 Ulrich Drepper <drepper@redhat.com>
2880 * libio/wmemstream.c: New file.
2881 * libio/stdio.h: Declare open_wmemstream.
2882 * libio/Versions: Export open_wmemstream for GLIBC_2.4.
2883 * libio/Makefile (routines): Add wmemstream.
2884 (tests): Add tst-memstream1, tst-memstream2, tst-wmemstream2, and
2886 * libio/tst-memstream1.c: New file.
2887 * libio/tst-memstream2.c: New file.
2888 * libio/tst-wmemstream1.c: New file.
2889 * libio/tst-wmemstream2.c: New file.
2891 * libio/memstream.c (_IO_mem_sync): Remove useless call to
2894 * elf/check-textrel.c: Add missing argument.
2896 * Makerules: Define build-module-asneeded.
2897 * iconvdata/extra-module.mk: Use build-module-asneeded.
2900 2006-01-09 Richard Henderson <rth@redhat.com>
2902 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on ld.so.
2903 * sysdeps/alpha/__longjmp.S: Use PTR_DEMANGLE.
2904 * sysdeps/alpha/setjmp.S: Likewise. Avoid __sigjmp_save for rtld;
2905 tailcall in libc.so.
2906 * sysdeps/unix/sysv/linux/alpha/sysdep.h (PTR_MANGLE): Define.
2907 (PTR_MANGLE2): Define.
2909 2006-01-11 Ulrich Drepper <drepper@redhat.com>
2911 * elf/check-localplt.c: New file.
2912 * elf/Makefile: Add rules to build and run check-localplt.
2913 * scripts/data/localplt-x86_64-linux-gnu.data: New file.
2914 * scripts/data/localplt-i386-linux-gnu.data: New file.
2916 * include/sys/stat.h: Add libc_hidden_proto for __fxstatat64.
2917 * sysdeps/unix/sysv/linux/fxstatat64.c: Add libc_hidden_def for
2919 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Add
2920 __GI___fxstatat64 alias.
2922 * libio/memstream.c (_IO_mem_finish): Fix potential memory leak if
2925 * include/sched.h: Add libc_hidden_proto for __sched_yield.
2927 * libio/genops.c (_IO_unbuffer_write): Give concurrently running
2928 threads the chance to work correctly by trying to lock the stream.
2929 If this does not work, proceed without locking.
2931 2006-01-10 Ulrich Drepper <drepper@redhat.com>
2933 * libio/genops.c (_IO_unbuffer_write): Don't always free the
2934 buffer. This is not necessary except in debug mode. If we don't
2935 free the buffer but the FILE structure to a list.
2936 (buffer_free): New function. Free buffers or tell _IO_unbuffer_write
2938 * libio/libio.h (struct _IO_FILE): Add new members to keep track
2939 of which buffers have to be freed.
2941 * iconv/gconv_cache.c (free_mem): Don't call munmap if gconv_cache
2944 2005-10-14 Paul Eggert <eggert@cs.ucla.edu>
2946 * malloc/obstack.c: Fix old comments. Update FSF snail mail address.
2947 * malloc/obstack.h: Likewise.
2950 Fix portability bugs encountered when porting to Itanium.
2951 * malloc/obstack.h (obstack_empty_p, obstack_finish): Do not
2952 assume that the "contents" member is suitably aligned. It is
2953 not, for some hosts and alignments: e.g., Itanium, long-double.
2954 * malloc/obstack.c (_obstack_begin, _obstack_begin_1,
2955 _obstack_newchunk): Likewise.
2956 * malloc/obstack.c: Include <stddef.h>, for size_t.
2957 Include <inttypes.h>, <stdint.h> if needed and available.
2958 (DEFAULT_ALIGNMENT): Now an enum constant, not a macro.
2959 Use C89 offsetof rather than K&R trick.
2960 Use the maximum alignment of uintmax_t, long double, void *
2961 rather than the alignment of double.
2962 (union fooround): Use uintmax_t, long double, void * members
2963 rather than just long and double.
2966 Fix portability bugs encountered when porting to the IBM iSeries,
2967 where pointers are 256 bits wide and no integers are that wide.
2968 * malloc/obstack.h (__PTR_TO_INT, __INT_TO_PTR): Remove.
2969 All uses changed to:
2970 (__BPTR_ALIGN, __PTR_ALIGN): New macros.
2971 (struct _obstack_chunk.temp): Change from int to a union
2972 of pointer and int. All uses changed.
2975 * malloc/obstack.c (print_and_abort) [!_LIBC]:
2976 Call fprintf (stderr, ...), not __fxprintf (NULL, ...).
2977 [_LIBC && USE_IN_LIBIO]: Don't include <wchar.h>; no longer needed.
2979 2006-01-10 Derek Price <derek@ximbiot.com>
2980 Paul Eggert <eggert@cs.ucla.edu>
2983 * posix/glob.c: Assume freestanding C89 compiler. Simplify cruft that
2984 may be replaced with GNULIB modules. Make no attempt to find 64-bit
2985 versions of file access functions directly when [!_LIBC].
2986 Don't define GLOB_* macros here.
2987 (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK, DIRENT_MIGHT_BE_DIR): New
2988 macros to abstract dirent->d_type access.
2989 (GETPW_R_SIZE_MAX, GET_LOGIN_NAME_MAX): New macros to abstract sysconf
2992 2006-01-10 Roland McGrath <roland@redhat.com>
2994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2995 (PTR_MANGLE): Fix cast.
2997 * timezone/test-tz.c: Revert last change, updating to match
2998 tzdata2005r definition of "MST".
3000 2006-01-10 Ulrich Drepper <drepper@redhat.com>
3002 * include/bits/setjmp.h: Don't include jmpbuf-offsets.h if _ISOMAC is
3005 2006-01-10 Andreas Jaeger <aj@suse.de>
3007 * include/time.h: Use normal comments.
3009 2006-01-10 Thomas Schwinge <tschwinge@gnu.org>
3011 * hurd/sigunwind.c: Include <jmpbuf-unwind.h> instead of <setjmp.h>.
3012 * sysdeps/mach/hurd/jmp-unwind.c: Likewise.
3014 2006-01-10 Jakub Jelinek <jakub@redhat.com>
3016 * wcsmbs/bits/wchar2.h (vswprintf): Call __vswprintf_alias rather than
3017 vswprintf recursively.
3019 2006-01-10 Ulrich Drepper <drepper@redhat.com>
3021 * sysdeps/x86_64/bits/setjmp.h: Add back accidently removed #endif.
3023 2006-01-10 Roland McGrath <roland@redhat.com>
3025 * include/bits/setjmp.h: New file.
3026 * setjmp/jmpbuf-offsets.h: New file.
3027 * sysdeps/alpha/bits/setjmp.h: Move JB_* macros ...
3028 * sysdeps/alpha/jmpbuf-offsets.h: ... here, new file.
3029 * sysdeps/hppa/bits/setjmp.h (JB_SP): Macro moved ...
3030 * sysdeps/hppa/jmpbuf-offsets.h: ... here, new file.
3031 * sysdeps/i386/bits/setjmp.h: Move JB_* macros ...
3032 * sysdeps/i386/jmpbuf-offsets.h: ... here, new file.
3033 * sysdeps/mips/bits/setjmp.h (JB_PC): Macro removed.
3034 * sysdeps/powerpc/bits/setjmp.h: Move JB_* macros ...
3035 * sysdeps/powerpc/jmpbuf-offsets.h: ... here, new file.
3036 * sysdeps/s390/bits/setjmp.h: Remove __JB_* macros.
3037 * sysdeps/sh/bits/setjmp.h (JB_SIZE): Macro moved ...
3038 * sysdeps/sh/jmpbuf-offsets.h: ... here, new file.
3039 * sysdeps/sparc/sparc32/bits/setjmp.h: Move JB_* macros ...
3040 * sysdeps/sparc/sparc32/jmpbuf-offsets.h: ... here, new file.
3041 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Remove JB_* macros.
3042 * sysdeps/x86_64/bits/setjmp.h: Move JB_* macros ...
3043 * sysdeps/x86_64/jmpbuf-offsets.h: ... here, new file.
3045 * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
3046 * sysdeps/powerpc/jmpbuf-unwind.h: ... here.
3047 * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
3048 * sysdeps/alpha/jmpbuf-unwind.h: ... here.
3049 * sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
3050 * sysdeps/sparc/sparc32/jmpbuf-unwind.h: ... here.
3051 * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
3052 * sysdeps/i386/jmpbuf-unwind.h: ... here.
3053 * sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
3054 * sysdeps/x86_64/jmpbuf-unwind.h: ... here.
3055 * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
3056 * sysdeps/sh/jmpbuf-unwind.h: ... here.
3057 * sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
3058 * sysdeps/hppa/jmpbuf-unwind.h: ... here, new file.
3059 * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
3060 * sysdeps/mips/jmpbuf-unwind.h: ... here.
3061 * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
3062 * sysdeps/m68k/jmpbuf-unwind.h: ... here, new file.
3063 * sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
3064 * sysdeps/s390/jmpbuf-unwind.h: ... here.
3065 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS):
3067 * sysdeps/ia64/jmpbuf-unwind.h: ... here.
3068 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS):
3070 * sysdeps/sparc/sparc64/jmpbuf-unwind.h: ... here.
3072 * sysdeps/alpha/jmpbuf-unwind.h: New file, moved from nptl/.
3073 * sysdeps/i386/jmpbuf-unwind.h: New file, moved from nptl/.
3074 * sysdeps/ia64/jmpbuf-unwind.h: New file, moved from nptl/.
3075 * sysdeps/mips/jmpbuf-unwind.h: New file, moved from nptl/.
3076 * sysdeps/powerpc/jmpbuf-unwind.h: New file, moved from nptl/.
3077 * sysdeps/s390/jmpbuf-unwind.h: New file, moved from nptl/.
3078 * sysdeps/sh/jmpbuf-unwind.h: New file, moved from nptl/.
3079 * sysdeps/sparc/sparc32/jmpbuf-unwind.h: New file, moved from nptl/.
3080 * sysdeps/sparc/sparc64/jmpbuf-unwind.h: New file, moved from nptl/.
3081 * sysdeps/x86_64/jmpbuf-unwind.h: New file, moved from nptl/.
3083 * sysdeps/linkmap.h: File removed.
3085 2006-01-07 Carlos O'Donell <carlos@systemhalted.org>
3087 * sysdeps/hppa/elf/start.S (_start): Use PLABEL32 relocations
3088 by using LR and RR. Add %sr0 to iitlbp.
3090 2006-01-09 Roland McGrath <roland@redhat.com>
3092 * timezone/private.h: Update from tzcode2005r.
3093 * timezone/tzfile.h: Likewise.
3094 * timezone/zdump.c: Likewise.
3095 * timezone/zic.c: Likewise.
3096 * timezone/africa: Update from tzdata2005r.
3097 * timezone/antarctica: Likewise.
3098 * timezone/asia: Likewise.
3099 * timezone/australasia: Likewise.
3100 * timezone/backward: Likewise.
3101 * timezone/europe: Likewise.
3102 * timezone/northamerica: Likewise.
3103 * timezone/southamerica: Likewise.
3104 * timezone/systemv: Likewise.
3106 * elf/Makefile ($(objpfx)reldep5.out): Fix dependency typo,
3107 so we depend on $(objpfx)reldepmod6.so as intended.
3109 2006-01-09 Ulrich Drepper <drepper@redhat.com>
3112 * sysdeps/i386/i686/strtok.S: Store pointer to NUL byte if NULL is
3114 * sysdeps/i386/strtok.S: Likewise.
3115 * sysdeps/x86_64/strtok.S: Likewise.
3116 * string/Makefile (tests): Add bug-strtok1.
3117 * string/bug-strtok1.c: New file.
3119 * elf/check-textrel.c (AB): Also check for writable and executable
3122 * sysdeps/ieee754/dbl-64/e_exp2.c: Remove section attribute from
3123 const variables, gas produces garbage.
3124 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3125 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3126 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3128 2006-01-09 Jakub Jelinek <jakub@redhat.com>
3130 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS): Add
3131 stack bias to mc_fp field.
3133 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
3134 (struct kernel_stat): Rename st_[amc]time fields to st_[amc]time_sec.
3135 (struct kernel_stat64): New type.
3136 (_HAVE___UNUSED1, _HAVE___UNUSED2, _HAVE_STAT___UNUSED1,
3137 _HAVE_STAT___UNUSED2, _HAVE_STAT___UNUSED3, _HAVE_STAT___UNUSED4,
3138 _HAVE_STAT___UNUSED5, _HAVE_STAT___PAD1, _HAVE_STAT___PAD2,
3139 _HAVE_STAT64___UNUSED1, _HAVE_STAT64___UNUSED2,
3140 _HAVE_STAT64___UNUSED3, _HAVE_STAT64___UNUSED4,
3141 _HAVE_STAT64___UNUSED5, _HAVE_STAT64___PAD1, _HAVE_STAT64___PAD2):
3143 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Use i386/xstat.c.
3144 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c:
3145 Use i386/fxstatat.c.
3146 * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: Use i386/lxstat.c.
3147 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: New file.
3148 * sysdeps/unix/sysv/linux/sparc/bits/stat.h (struct stat,
3149 struct stat64): Add nsec resolution for 64-bit code like already done
3151 * sysdeps/unix/sysv/linux/kernel-features.h
3152 (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL): Don't define
3154 (__ASSUME_STAT64_SYSCALL): Only define for sparc64 for >= 2.6.12
3157 * scripts/data/c++-types-sparc-linux-gnu.data: New file.
3158 * scripts/data/c++-types-sparc64-linux-gnu.data: New file.
3159 * scripts/data/c++-types-alpha-linux-gnu.data: Adjust.
3161 2006-01-08 Roland McGrath <roland@redhat.com>
3164 * sysdeps/unix/get_child_max.c: New file.
3165 * posix/get_child_max.c: New file.
3166 * posix/Makefile (routines): Add it.
3167 * include/sys/sysinfo.h (__get_child_max): Declare it.
3168 * sysdeps/posix/sysconf.c (__sysconf) [! CHILD_MAX]: Use it.
3170 * sysdeps/unix/sysv/linux/futimes.c [!__NR_fcntl && __NR_fcntl64]: Use
3171 fcntl64 syscall instead.
3173 * stdio-common/tst-fmemopen2.c (do_test): Add a cast.
3174 * stdio-common/printf-parsemb.c (__find_specmb): Likewise.
3176 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in
3177 #include for kernel-features.h.
3178 * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: Likewise.
3179 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: Likewise.
3180 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
3181 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
3182 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
3183 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
3184 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
3185 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
3186 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
3187 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
3188 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
3189 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
3190 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
3191 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3192 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3193 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3194 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3195 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3196 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3197 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3198 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3199 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3200 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3201 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3202 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
3203 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3204 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
3205 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
3206 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
3207 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3208 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3209 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3210 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3211 * sysdeps/unix/sysv/linux/i386/fchownat.c: Likewise.
3212 * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
3213 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3214 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Likewise.
3215 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3216 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3217 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3218 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3219 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3220 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
3221 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3222 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3223 * sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise.
3224 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3225 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3226 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3227 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
3228 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
3229 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
3230 * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
3231 * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
3232 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3233 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3234 * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
3235 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3236 * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
3237 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3238 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3239 * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
3240 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3241 * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
3242 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
3243 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3244 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3245 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3246 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3247 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
3248 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Likewise.
3249 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
3250 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3251 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3252 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3253 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3254 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3255 * sysdeps/unix/sysv/linux/opendir.c: Likewise.
3256 * sysdeps/unix/sysv/linux/poll.c: Likewise.
3257 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Likewise.
3259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
3260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
3265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: Likewise.
3266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3274 * sysdeps/unix/sysv/linux/pread.c: Likewise.
3275 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3276 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3277 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3278 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3279 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3280 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise.
3281 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3282 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3283 * sysdeps/unix/sysv/linux/setegid.c: Likewise.
3284 * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
3285 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3286 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3287 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3288 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3289 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3290 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Likewise.
3291 * sysdeps/unix/sysv/linux/statvfs64.c: Likewise.
3292 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3293 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3294 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
3295 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
3296 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3297 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3299 2006-01-07 Roland McGrath <roland@redhat.com>
3301 * po/libc.pot: Regenerated.
3303 * po/.cvsignore: List libc.pot.files, and not any .pot names.
3305 * manual/maint.texi (Porting): Don't mention Dist files.
3306 * sysdeps/alpha/soft-fp/Dist: File removed.
3307 * sysdeps/alpha/Dist: File removed.
3308 * sysdeps/i386/i686/Dist: File removed.
3309 * sysdeps/i386/soft-fp/Dist: File removed.
3310 * sysdeps/i386/Dist: File removed.
3311 * sysdeps/mips/soft-fp/Dist: File removed.
3312 * sysdeps/mips/mips64/soft-fp/Dist: File removed.
3313 * sysdeps/mips/mips64/Dist: File removed.
3314 * sysdeps/mips/Dist: File removed.
3315 * sysdeps/wordsize-32/Dist: File removed.
3316 * sysdeps/m68k/fpu/switch/Dist: File removed.
3317 * sysdeps/m68k/fpu/Dist: File removed.
3318 * sysdeps/powerpc/powerpc64/Dist: File removed.
3319 * sysdeps/powerpc/soft-fp/Dist: File removed.
3320 * sysdeps/powerpc/powerpc32/fpu/Dist: File removed.
3321 * sysdeps/powerpc/powerpc32/Dist: File removed.
3322 * sysdeps/powerpc/fpu/Dist: File removed.
3323 * sysdeps/powerpc/Dist: File removed.
3324 * sysdeps/unix/common/Dist: File removed.
3325 * sysdeps/unix/bsd/bsd4.4/Dist: File removed.
3326 * sysdeps/unix/bsd/Dist: File removed.
3327 * sysdeps/unix/sysv/linux/alpha/Dist: File removed.
3328 * sysdeps/unix/sysv/linux/i386/Dist: File removed.
3329 * sysdeps/unix/sysv/linux/mips/mips64/Dist: File removed.
3330 * sysdeps/unix/sysv/linux/mips/Dist: File removed.
3331 * sysdeps/unix/sysv/linux/m68k/Dist: File removed.
3332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: File removed.
3333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: File removed.
3334 * sysdeps/unix/sysv/linux/powerpc/aix/Dist: File removed.
3335 * sysdeps/unix/sysv/linux/powerpc/Dist: File removed.
3336 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: File removed.
3337 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: File removed.
3338 * sysdeps/unix/sysv/linux/sparc/Dist: File removed.
3339 * sysdeps/unix/sysv/linux/ia64/Dist: File removed.
3340 * sysdeps/unix/sysv/linux/s390/s390-64/Dist: File removed.
3341 * sysdeps/unix/sysv/linux/s390/Dist: File removed.
3342 * sysdeps/unix/sysv/linux/s390/s390-32/Dist: File removed.
3343 * sysdeps/unix/sysv/linux/sh/Dist: File removed.
3344 * sysdeps/unix/sysv/linux/x86_64/Dist: File removed.
3345 * sysdeps/unix/sysv/linux/hppa/Dist: File removed.
3346 * sysdeps/unix/sysv/linux/Dist: File removed.
3347 * sysdeps/unix/sysv/Dist: File removed.
3348 * sysdeps/unix/Dist: File removed.
3349 * sysdeps/generic/Dist: File removed.
3350 * sysdeps/sparc/sparc32/soft-fp/Dist: File removed.
3351 * sysdeps/sparc/sparc32/sparcv9/Dist: File removed.
3352 * sysdeps/sparc/sparc32/sparcv8/Dist: File removed.
3353 * sysdeps/sparc/sparc32/Dist: File removed.
3354 * sysdeps/sparc/sparc64/soft-fp/Dist: File removed.
3355 * sysdeps/sparc/sparc64/Dist: File removed.
3356 * sysdeps/sparc/Dist: File removed.
3357 * sysdeps/gnu/Dist: File removed.
3358 * sysdeps/ia64/fpu/Dist: File removed.
3359 * sysdeps/ia64/Dist: File removed.
3360 * sysdeps/mach/mips/Dist: File removed.
3361 * sysdeps/mach/hurd/alpha/Dist: File removed.
3362 * sysdeps/mach/hurd/i386/Dist: File removed.
3363 * sysdeps/mach/hurd/mips/Dist: File removed.
3364 * sysdeps/mach/hurd/powerpc/Dist: File removed.
3365 * sysdeps/mach/hurd/Dist: File removed.
3366 * sysdeps/s390/s390-64/Dist: File removed.
3367 * sysdeps/s390/Dist: File removed.
3368 * sysdeps/s390/s390-32/Dist: File removed.
3369 * sysdeps/sh/Dist: File removed.
3370 * sysdeps/posix/Dist: File removed.
3371 * sysdeps/ieee754/dbl-64/Dist: File removed.
3372 * sysdeps/ieee754/ldbl-128/Dist: File removed.
3373 * sysdeps/ieee754/flt-32/Dist: File removed.
3374 * sysdeps/ieee754/Dist: File removed.
3375 * sysdeps/x86_64/soft-fp/Dist: File removed.
3376 * sysdeps/x86_64/Dist: File removed.
3377 * sysdeps/hppa/Dist: File removed.
3379 * Makerules (common-clean): Don't remove distinfo file.
3380 ($(objpfx)distinfo): Target removed.
3381 * manual/Makefile (mostlyclean): Don't remove distinfo file.
3382 (glibc-targets): Remove echo-distinfo.
3384 * scripts/list-sources.sh: New file.
3385 * Makefile (TAGS): New target.
3386 * po/Makefile (libc.pot, libc.pot.files): New targets.
3387 * Makeconfig (XGETTEXT): New variable.
3388 * Makerules ($(..)po/%.pot): Rule removed.
3389 (TAGS): Target removed.
3390 * Rules (subdir_TAGS): Target removed.
3391 * MakeTAGS: File removed.
3393 * Makefile (iconvdata/% localedata/% po/% manual/%): Depend on FORCE.
3394 * Makeconfig ($(all-Depend-files)): New targets with no-op commands.
3396 2004-08-03 Marco Gerards <marco@gnu.org>
3399 * sysdeps/mach/hurd/bits/ioctls.h (SIOCGIFHWADDR): New macro.
3401 2006-01-07 Ulrich Drepper <drepper@redhat.com>
3403 * stdio-common/tstdiomisc.c (F): Use NAN to get NaN value.
3405 2006-01-06 Ulrich Drepper <drepper@redhat.com>
3407 * elf/tst-tls8.c (do_test): Use $ORIGIN in module names.
3409 2006-01-03 Steven Munroe <sjmunroe@us.ibm.com>
3411 * sysdeps/generic/sysdep.h (cfi_same_value): Define macro.
3413 * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve,
3414 _dl_profile_resolve): Add CFI directives for stack and LR save.
3415 Save LR in LRSAVE of previous frame per ABI.
3416 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add CFI directives
3418 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
3420 (__makecontext, __novec_makecontext): Likewise.
3421 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Add CFI directive
3422 for LR save to register.
3423 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3424 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3425 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3426 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise.
3427 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3428 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3429 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3430 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3431 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3432 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3433 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Add CFI directive
3435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3436 * sysdeps/powerpc/powerpc32/ppc-mcount.S: Add CFI directives for stack
3438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3445 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise. Don't use
3446 negative stack addressing.
3448 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3449 _dl_profile_resolve): Add CFI directives for stack and LR save.
3450 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Add CFI directives
3452 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Add CFI
3453 directives for stack and LR save.
3454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Add CFI
3455 directives for stack.
3456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): Add CFI
3457 directives for stack.
3458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3459 (__getcontext, __novec_getcontext): Add CFI directives for stack
3461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3462 (__makecontext): Add CFI directives for stack and LR save.
3463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3464 (__setcontext, __novec_setcontext): Add CFI directives for stack
3466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3467 (__swapcontext, __novec_swapcontext): Add CFI directives for stack
3470 2006-01-06 Jakub Jelinek <jakub@redhat.com>
3472 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include tls.h.
3473 (SYSCALL_ERROR_HANDLER_ENTRY): Use %g4 instead of %g2, to avoid
3474 the need of .register directive for it.
3475 * configure.in (libc_cv_asm_cfi_directives): Use CFI rel offset
3476 2047 instead of 0 in the test on sparc64.
3478 2006-01-06 Ulrich Drepper <drepper@redhat.com>
3480 * scripts/check-c++-types.sh: Add more pthread types.
3481 * scripts/data//c++-types-i386-linux-gnu.data: Adjust.
3482 * scripts/data//c++-types-ia64-linux-gnu.data: Likewise.
3483 * scripts/data//c++-types-powerpc-linux-gnu.data: Likewise.
3484 * scripts/data//c++-types-powerpc64-linux-gnu.data: Likewise.
3485 * scripts/data//c++-types-s390-linux-gnu.data: Likewise.
3486 * scripts/data//c++-types-s390x-linux-gnu.data: Likewise.
3487 * scripts/data//c++-types-x86_64-linux-gnu.data: Likewise.
3489 * sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL_NCS):
3490 Adjust for private->__private rename in tcbhead_t.
3493 * ncsd/aicache.c: Don't use sendfile for records on the stack.
3494 * nscd/grpcache.c: Likewise.
3495 * nscd/hstcache.c: Likewise.
3496 * nscd/initgrcache.c: Likewise.
3497 * nscd/pwdcache.c: Likewise.
3498 Patch by dmueller@suse.com.
3500 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Define MADV_REMOVE.
3501 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
3502 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
3503 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
3504 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3505 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3506 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3507 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
3509 2006-01-06 Roland McGrath <roland@redhat.com>
3511 * Makeconfig (+gnu-stabs): Remove ancient cruft.
3514 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_HWX25): Corrected macro
3515 name (was typo ARPHDR_HWX25).
3516 (ARPHRD_IEEE80211_PRISM, ARPHRD_IEEE80211_RADIOTAP): New macros.
3517 (ARPHRD_VOID, ARPHRD_NONE): New macros.
3519 * sysdeps/wordsize-32/divdi3.c (__moddi3): Add a cast.
3521 * io/fcntl.h [__USE_ATFILE] (AT_EACCESS): New macro.
3522 * posix/unistd.h [__USE_ATFILE]: Declare faccessat.
3523 * io/faccessat.c: New file.
3524 * sysdeps/unix/sysv/linux/faccessat.c: New file.
3525 * io/Makefile (routines): Add faccessat.
3526 * io/Versions (libc: GLIBC_2.4): Likewise.
3527 * io/tst-faccessat.c: New file.
3528 * io/Makefile (tests): Add it.
3530 * scripts/check-local-headers.sh: Revert last change.
3532 * io/euidaccess.c: Add eaccess as an alias.
3533 * sysdeps/mach/hurd/euidaccess.c: Likewise.
3534 * sysdeps/posix/euidaccess.c: Likewise.
3535 * posix/unistd.h [__USE_GNU]: Declare eaccess.
3536 * io/Versions (libc: GLIBC_2.4): Add eaccess.
3538 2005-12-04 Joseph S. Myers <joseph@codesourcery.com>
3540 * soft-fp/Makefile (gcc-single-routines): Add unordsf2,
3541 floatunsisf, floatundisf.
3542 (gcc-double-routines): Add unorddf2, floatunsidf, floatundidf.
3543 (gcc-quad-routines): Add unordtf2, floatunsitf, floatunditf.
3544 * soft-fp/op-common.h (_FP_CMP_UNORD): Define.
3545 * soft-fp/single.h (FP_CMP_UNORD_S): Define.
3546 * soft-fp/double.h (FP_CMP_UNORD_D): Define.
3547 * soft-fp/quad.h (FP_CMP_UNORD_Q): Define.
3548 * soft-fp/extended.h (FP_CMP_UNORD_E): Define.
3549 * soft-fp/unordsf2.c: New file.
3550 * soft-fp/unorddf2.c: New file.
3551 * soft-fp/unordtf2.c: New file.
3552 * soft-fp/floatunsisf.c: New file.
3553 * soft-fp/floatundisf.c: New file.
3554 * soft-fp/floatunsidf.c: New file.
3555 * soft-fp/floatundidf.c: New file.
3556 * soft-fp/floatunsitf.c: New file.
3557 * soft-fp/floatunditf.c: New file.
3559 * soft-fp/op-common.h (__FP_CLZ): Define using __builtin_clz,
3560 __builtin_clzl and __builtin_clzll.
3562 2006-01-05 Mike Frysinger <vapier@gentoo.org>
3564 * include/alloca.h (extend_alloca): Fix typoed name 'extern_alloca'.
3566 2006-01-05 Jakub Jelinek <jakub@redhat.com>
3568 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL):
3569 Only define for 2.6.12+ on s390{,x}.
3570 (__ASSUME_GETDENTS32_D_TYPE): Only define for 2.6.8+ on most arches
3571 and only for 2.6.11+ on s390{,x}.
3573 2006-01-05 Ulrich Drepper <drepper@redhat.com>
3575 * sysdeps/pthread/aio_misc.h [!DONT_USE_BOOTSTRAP_MAP]
3576 (struct waitlist): Don't add cond.
3577 * sysdeps/pthread/aio_notify.c [!DONT_USE_BOOTSTRAP_MAP]
3578 (__aio_notify): Use AIO_MISC_NOTIFY instead of pthread_cond_signal.
3579 * sysdeps/pthread/aio_suspend.c [!DONT_USE_BOOTSTRAP_MAP]: Don't
3580 use condvar, use AIO_MISC_WAIT.
3581 * sysdeps/pthread/lio_listio.c: Likewise.
3582 * rt/Makefile (tests): Add tst-aio9 and tst-aio10.
3583 * rt/tst-aio9.c: New file.
3584 * rt/tst-aio10.c: New file.
3586 * rt/tst-aio3.c: The thread is now supposed to be created.
3588 2006-01-05 Roland McGrath <roland@redhat.com>
3590 * include/features.h: Grok _ATFILE_SOURCE and define __USE_ATFILE when
3591 it or _GNU_SOURCE is defined.
3592 * io/fcntl.h: Protect *at and AT_* with [__USE_ATFILE] instead of
3594 * libio/stdio.h: Likewise.
3595 * posix/unistd.h: Likewise.
3596 * time/sys/time.h: Likewise.
3597 * io/sys/stat.h: Likewise.
3599 * io/sys/stat.h [__USE_GNU]: Declare fchmodat.
3600 * io/fchmodat.c: New file.
3601 * io/Makefile (routines): Add fchmodat.
3602 * io/Versions (libc: GLIBC_2.4): Likewise.
3603 * sysdeps/unix/sysv/linux/fchmodat.c: New file.
3604 * io/tst-fchmodat.c: New file.
3605 * io/Makefile (tests): Add it.
3607 2006-01-03 Steven Munroe <sjmunroe@us.ibm.com>
3609 * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY, EALIGN): Add cfi_startproc
3610 directive to ENTRY macros.
3611 (END): Add cfi_endproc directive to END macro.
3612 * sysdeps/powerpc/powerpc64/sysdep.h (ENTRY, EALIGN): Add cfi_startproc
3613 directive to ENTRY macros.
3614 (END, END_GEN_TB): Add cfi_endproc directive to END macros.
3615 * sysdeps/powerpc/powerpc32/dl-start.S: Remove ENTRY()s for
3616 _dl_start_user and _dl_main_dispatch.
3617 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Use END macro.
3618 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Use Likewise.
3619 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3620 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3621 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3622 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Remove redundant
3624 cfi_startproc and cfi_endproc.
3625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3627 2006-01-04 Ulrich Drepper <drepper@redhat.com>
3629 * sysdeps/pthread/aio_misc.h (struct waitlist): Add result member.
3630 * sysdeps/pthread/aio_notify.c (__aio_notify): For synchronous waiters,
3631 failed I/O, and a result pointer, set value to -1.
3632 * sysdeps/pthread/aio_suspend.c: Initialize result pointer to NULL.
3633 * sysdeps/pthread/lio_listio.c: For LIO_WAIT, point result pointer in
3634 wait list to local variable result. If nonzero afterwards, set errno
3635 to EIO. For LIO_NOWAIT set result to NULL.
3636 * rt/Makefile (tests): Add tst-aio8.
3637 * rt/tst-aio8.c: New file.
3639 2005-12-25 Kristian Van Der Vliet <vanders@liqwyd.com>
3641 * abi-tags (*-.*-syllable.*): New match, with ABI value 5.
3642 * elf/cache.c (print_entry): Match the Syllable ABI tag.
3644 2006-01-04 Ulrich Drepper <drepper@redhat.com>
3646 * include/stdlib.h: Make even more C++ compliant.
3648 2006-01-04 Joseph S. Myers <joseph@codesourcery.com>
3650 * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Use
3653 2006-01-03 H.J. Lu <hongjiu.lu@intel.com>
3655 * configure.in (HAVE_LIBAUDIT): Check
3656 audit_log_user_avc_message instead of audit_log_avc.
3658 2006-01-04 Joseph S. Myers <joseph@codesourcery.com>
3660 * sysdeps/ieee754/bits/nan.h: Fix typo.
3662 2006-01-03 Jakub Jelinek <jakub@redhat.com>
3664 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Include string.h.
3666 * sysdeps/sparc/sparc32/dl-machine.h (LD_SO_PRELOAD): Remove unused
3669 * sysdeps/sparc/sparc32/bits/atomic.h: Include stdint.h, add
3670 {,u}atomic*_t typedefs.
3671 (__sparc32_atomic_do_lock): Add __volatile and memory clobber.
3672 (__sparc32_atomic_do_unlock): Add memory barrier.
3673 (__sparc32_atomic_do_lock24, __sparc32_atomic_do_unlock24): Define.
3674 [!SHARED] (__v9_compare_and_exchange_val_32_acq): Define.
3675 (__v7_compare_and_exchange_val_acq, __v7_compare_and_exchange_bool_acq,
3676 __v7_exchange_acq, __v7_exchange_and_add, __v7_exchange_24_rel,
3677 __v7_compare_and_exchange_val_24_acq, __atomic_is_v9,
3678 atomic_exchange_acq, atomic_compare_and_exchange_val_24_acq,
3679 atomic_exchange_24_rel): Define.
3680 [SHARED] (atomic_exchange_and_add): Define.
3681 [!SHARED] (__ATOMIC_HWCAP_SPARC_V9): Define.
3682 [!SHARED] (_dl_hwcap): New weak decl.
3683 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_exchange_24_rel,
3684 atomic_compare_and_exchange_val_24_acq): Define.
3685 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_exchange_24_rel,
3686 atomic_compare_and_exchange_val_24_acq): Define.
3688 2006-01-03 Ulrich Drepper <drepper@redhat.com>
3690 lio_listio should emit an event for each individual request in
3691 addition to the global event.
3692 * sysdeps/pthread/lio_listio.c (lio_listio): Renamed to
3693 lio_listio_internal. Remove mode parameter check. Only set sigevent
3694 type to SIGEV_NONE if LIO_NO_INDIVIDUAL_EVENT is set.
3695 (__lio_listio_21): New function. Compatiblity version which sets
3696 LIO_NO_INDIVIDUAL_EVENT before calling lio_listio_internal.
3697 (__lio_listio_item_notify): New function.
3698 * sysdeps/pthread/lio_listio64.c: Define __lio_listio_21 and
3699 __lio_listio_item_notify macros.
3700 * sysdeps/pthread/Versions: New file.
3701 * rt/tst-aio2.c: Adjust test for new semantics of lio_listio.
3702 * include/aio.h: Define LIO_NO_INDIVIDUAL_EVENT.
3703 * Versions.def: Add GLIBC_2.4 for librt.
3705 * rt/Versions: Whitespace fix.
3706 * sysdeps/pthread/aio_misc.c: Likewise.
3708 * nscd/connections.c (nscd_init): Remove if block which should
3709 have been removed as part of the -S option removal.
3711 2006-01-03 Andreas Jaeger <aj@suse.de>
3713 * scripts/check-local-headers.sh: Allow $includedir/c++.
3715 2006-01-03 Jakub Jelinek <jakub@redhat.com>
3717 * posix/unistd.h (ctermid): Remove __nonnull attribute.
3719 2006-01-02 Jakub Jelinek <jakub@redhat.com>
3721 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PTR_MANGLE,
3722 PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define.
3723 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PTR_MANGLE,
3724 PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define.
3725 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h [__WORDSIZE == 64]
3726 (_JMPBUF_UNWINDS): Don't demangle uc_mcontext.mc_fp.
3727 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Mangle %fp, %sp
3729 * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Demangle %fp, %sp
3732 2006-01-02 Jakub Jelinek <jakub@redhat.com>
3734 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PTR_MANGLE2):
3736 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PTR_MANGLE2):
3738 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Demangle also %r15.
3739 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
3740 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Mangle also %r15.
3741 * sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise.
3742 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise.
3743 * sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise.
3745 * sysdeps/s390/bits/setjmp.h (__jmp_buf): Add __s390_jmp_buf
3746 struct tag to make C++ happy.
3748 2006-01-02 Ulrich Drepper <drepper@redhat.com>
3750 * posix/Makefile ($(objpfx)annexc.out): Move -I.. to the end of
3753 2006-01-01 Ulrich Drepper <drepper@redhat.com>
3755 * posix/getconf.c: Update copyright year.
3756 * nss/getent.c: Likewise.
3757 * iconv/iconvconfig.c: Likewise.
3758 * iconv/iconv_prog.c: Likewise.
3759 * elf/ldconfig.c: Likewise.
3760 * catgets/gencat.c: Likewise.
3761 * csu/version.c: Likewise.
3762 * elf/ldd.bash.in: Likewise.
3763 * elf/sprof.c (print_version): Likewise.
3764 * locale/programs/locale.c: Likewise.
3765 * locale/programs/localedef.c: Likewise.
3766 * nscd/nscd.c (print_version): Likewise.
3767 * debug/xtrace.sh: Likewise.
3768 * malloc/memusage.sh: Likewise.
3769 * malloc/mtrace.pl: Likewise.
3770 * debug/catchsegv.sh: Likewise.
3772 2005-12-31 Andreas Jaeger <aj@suse.de>
3775 * manual/filesys.texi (Symbolic Links): Fix description of
3776 canonicalize_file_name based on patch by Oskar Liljeblad
3777 <oskar@osk.mine.nu>.
3779 2005-12-29 Andreas Jaeger <aj@suse.de>
3781 * resolv/res_debug.c (latlon2ul): Use ISO C function definition.
3782 (precsize_aton): Likewise.
3783 (precsize_ntoa): Likewise.
3785 * resolv/gethnamaddr.c (_gethtbyname): Remove extra prototype.
3786 (gethostbyname2): Likewise.
3787 (gethostbyaddr): Likewise.
3788 (getanswer): Use ISO C function definition.
3790 2005-12-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3792 * sysdeps/sh/sysdep.h: Add cfi instrumentation to asm fragments.
3793 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3794 * sysdeps/sh/_mcount.S: Add cfi instrumentation.
3795 * sysdeps/unix/sh/sysdep.S: Likewise.
3796 * sysdeps/unix/sysv/linux/sh/makecontext.S: Adjust cfi_startproc.
3797 * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Remove now duplicate
3798 cfi_startproc and cfi_endproc.
3799 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise.
3800 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise.
3801 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3802 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3803 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3804 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3805 * sysdeps/unix/sysv/linux/sh/sysdep.S: Add cfi_endproc.
3807 2005-12-30 Ulrich Drepper <drepper@redhat.com>
3809 * sysdeps/powerpc/powerpc64/setjmp-common.S: Make sure pointer guard
3810 value doesn't survive in a registers when the function returns.
3811 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3812 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3814 2005-12-30 Jakub Jelinek <jakub@redhat.com>
3816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
3818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
3819 PTR_MANGLE2 and PTR_DEMANGLE2.
3820 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Use PTR_DEMANGLE2.
3821 * sysdeps/powerpc/powerpc64/setjmp-common.S: Use PTR_MANGLE2.
3822 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3823 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3825 2005-12-30 Ulrich Drepper <drepper@redhat.com>
3827 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS):
3828 Don't use _demangle parameter for now.
3831 * libio/iogetwline.c (_IO_getwline_info): Move return to correct
3834 * nscd/connections.c: Remove last remnants of -S option support.
3835 * nscd/nscd.c: Likewise.
3836 * nscd/nscd.h: Likewise.
3838 2005-12-30 Andreas Jaeger <aj@suse.de>
3841 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Fix struct msghdr
3842 for 64-bit mips kernel.
3844 2005-12-08 Steven Munroe <sjmunroe@us.ibm.com>
3845 Tom Gall <tom_gall@vnet.ibm.com>
3847 * elf/rtld.c (dl_main): Initialize l_local_scope for sysinfo_map.
3848 * sysdeps/powerpc/elf/libc-start.c: Move this...
3849 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: ...to here.
3850 * sysdeps/powerpc/powerpc32/dl-start.S: Add _dl_main_dispatch label.
3851 * sysdeps/powerpc/powerpc32/hp-timing.h: New file.
3852 * sysdeps/unix/sysv/linux/powerpc/Versions: New file.
3853 * sysdeps/unix/sysv/linux/clock_getres.c: If HAVE_CLOCK_GETRES_VSYSCALL
3854 is not defined, redefine INTERNAL_VSYSCALL and INLINE_VSYSCALL to
3855 INTERNAL_SYSCALL and INLINE_SYSCALL respectively. Otherwise include
3856 <bits/libc-vdso.h>. Use INLINE_VSYSCALL and INTERNAL_SYSCALL instead
3857 of the normal versions throughout the code.
3858 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise if
3859 HAVE_CLOCK_GETTIME_VSYSCALL is defined.
3860 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: New file.
3861 * sysdeps/unix/sysv/linux/powerpc/dl-vdso.c: New file.
3862 * sysdeps/unix/sysv/linux/powerpc/dl-vdso.h: New file.
3863 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use vDSO.
3864 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: New file.
3865 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add dl-vdso to routines.
3866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
3867 INLINE_VSYSCALL, INTERNAL_VSYSCALL, INTERNAL_SYSCALL_NCS,
3868 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK, HAVE_CLOCK_GETRES_VSYSCALL,
3869 and HAVE_CLOCK_GETTIME_VSYSCALL.
3870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3872 2005-12-29 Ulrich Drepper <drepper@redhat.com>
3874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h [ASSEMBLER]:
3875 Define PTR_DEMANGLE2.
3876 * sysdeps/powerpc/powerpc32/setjmp-common.S [PTR_MANGLE]: Also
3878 * sysdeps/powerpc/powerpc32/__longjmp-common.S [PTR_DEMANGLE]: Also
3880 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [PTR_MANGLE]: Mangle
3882 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [PTR_DEMANGLE]:
3885 * sysdeps/powerpc/powerpc64/setjmp-common.S [PTR_MANGLE]: Also
3887 * sysdeps/powerpc/powerpc64/__longjmp-common.S [PTR_DEMANGLE]: Also
3890 2005-12-26 Steven Munroe <sjmunroe@us.ibm.com>
3892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S:
3893 Move common function to...
3894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S:
3897 Move common function to...
3898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S:
3901 Move common function to...
3902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym
3905 (_FRAME_BACKCHAIN, _FRAME_LR_SAVE, _FRAME_PARM_SAVE1,
3906 _FRAME_PARM_SAVE2, _FRAME_PARM_SAVE3, _FRAME_PARM_SAVE4):
3907 Remove unrelated stack frame defines.
3909 2005-12-29 Ulrich Drepper <drepper@redhat.com>
3911 * stdio-common/tstdiomisc.c [FLT_EVAL_METHOD!=2] (dbl_max):
3912 Defining as macro as before the last change.
3914 * sysdeps/unix/sysv/linux/sigaction.c: If WRAPPER_INCLUDE is defined,
3915 include the named file.
3916 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3917 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3918 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3919 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3920 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3921 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3923 2005-12-29 Roland McGrath <roland@frob.com>
3925 * sysdeps/mach/hurd/errno.c: New file.
3927 * sysdeps/mach/hurd/ioctl.c (__ioctl): Use a union to avoid a cast.
3929 * sysdeps/posix/libc_fatal.c (__libc_message): Add a const, a cast.
3931 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Fix cast.
3932 * hurd/report-wait.c (_S_msg_report_wait): Likewise.
3934 * include/sys/xattr.h: New file.
3936 2005-12-28 Roland McGrath <roland@redhat.com>
3938 * hurd/sigunwind.c: Include <stdint.h>.
3939 * sysdeps/mach/hurd/jmp-unwind.c: Likewise.
3941 2005-12-28 Ulrich Drepper <drepper@redhat.com>
3943 * nscd/selinux.c (log_callback): Use audit_log_user_avc_message.
3944 Don't do anything if audit_fd is invalid.
3945 (audit_init): Don't complain if kernel support is missing.
3946 Patch by Steve Grubb <sgrubb@redhat.com>.
3948 * sysdeps/i386/__longjmp.S [PTR_DEMANGLE]: Also demangle stack
3950 * sysdeps/i386/bsd-_setjmp.S [PTR_MANGLE]: Also mangle stack pointer.
3951 * sysdeps/i386/bsd-setjmp.S: Likewise.
3952 * sysdeps/i386/setjmp.S: Likewise.
3954 * sysdeps/x86_64/__longjmp.S: No need to make sure return value is
3955 != 0, the caller did that.
3957 2005-12-27 Roland McGrath <roland@redhat.com>
3959 * sysdeps/x86_64/__longjmp.S: Don't confuse unwinder by loading
3960 mangled values in %rbp and %rsp registers and by wrong cfi.
3962 * config.make.in (c++-sysincludes): New substituted variable.
3963 * configure.in (CXX_SYSINCLUDES): New substituted variable.
3964 * configure: Regenerated.
3965 * Makeconfig (CXXFLAGS): Prepend $(c++-sysincludes) here.
3967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3968 (PTR_MANGLE): Fix cast.
3970 * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Take third argument
3971 DEMANGLE, and pass SP value through it.
3972 * sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
3973 * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
3974 * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
3975 * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
3976 * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
3977 * sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
3978 * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
3979 * sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
3980 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise.
3981 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Likewise.
3982 * sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
3983 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Pass inline
3984 demangler function to _JMPBUF_UNWINDS.
3985 * sysdeps/mach/hurd/jmp-unwind.c (demangle_ptr): New function.
3986 (_longjmp_unwind): Pass it to _JMPBUF_UNWINDS.
3988 * posix/tst-execle1.c (do_test): Add a const.
3989 * posix/tst-execle2.c (do_test): Likewise.
3991 * posix/transbug.c (run_test): Add some casts.
3992 * posix/bug-regex22.c (main): Likewise.
3993 * posix/bug-regex5.c (main): Likewise.
3994 * wcsmbs/tst-mbsrtowcs.c (main): Likewise.
3995 * string/test-strspn.c (do_test, do_random_tests): Likewise.
3996 * string/test-strrchr.c (do_test, do_random_tests): Likewise.
3997 * string/test-strlen.c (do_random_tests): Likewise.
3998 * string/test-strpbrk.c (do_test, do_random_tests): Likewise.
3999 * string/test-strcmp.c (do_random_tests): Likewise.
4000 * string/test-strchr.c (do_test, do_random_tests): Likewise.
4001 * string/test-strcat.c (do_test, do_random_tests): Likewise.
4002 * string/test-strncpy.c (do_random_tests): Likewise.
4003 * string/test-strcpy.c (do_test, do_random_tests): Likewise.
4004 * string/test-memccpy.c (do_test): Likewise.
4005 * string/test-memmove.c (do_test, do_random_tests): Likewise.
4006 * string/test-memcpy.c (do_test, do_random_tests): Likewise.
4007 * string/test-memcmp.c (do_test, do_random_tests): Likewise.
4008 * string/test-memchr.c (do_test, do_random_tests): Likewise.
4009 * dlfcn/bug-atexit1.c (do_test): Fix up prototype in cast.
4010 * stdio-common/tst-fgets.c (do_test): Add a cast.
4011 * iconvdata/bug-iconv4.c (xiconv): Add a cast.
4013 * locale/programs/simple-hash.c (insert_entry_2): Remove useless casts.
4015 * resolv/herror.c (herror): Remove unused extern decl.
4017 * libio/obprintf.c: Include "strfile.h".
4019 * elf/order2mod2.c (init): Cast ignored value to void.
4021 2005-12-27 Ulrich Drepper <drepper@redhat.com>
4023 * elf/tst-tls13.c (do_test): Avoid using the library path when
4024 looking for tst-tlsmod13a.so.
4026 * stdio-common/tstdiomisc.c: If FLT_EVAL_METHOD is 2, use long
4027 double math to generate NaN results.
4029 * sysdeps/unix/sysv/linux/sparc/bits/errno.h: Define EOWNERDEAD
4030 and ENOTRECOVERABLE if not already defined.
4031 * sysdeps/unix/sysv/linux/alpha/bits/errno.h: Likewise.
4033 2005-12-27 Jakub Jelinek <jakub@redhat.com>
4035 * sysdeps/unix/sysv/linux/alpha/Versions: Add new errlist-compat
4036 entry for up to 138 errnos.
4038 2005-12-27 Jakub Jelinek <jakub@redhat.com>
4040 * iconv/gconv_trans.c (__gconv_transliterate): Demangle step __fct
4043 2005-12-27 David S. Miller <davem@sunset.davemloft.net>
4045 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist-compat
4046 entry for up to 134 errnos.
4048 2005-12-26 Ulrich Drepper <drepper@redhat.com>
4050 * Versions.def: Add GLIBC_2.4 for libpthread.
4052 2005-12-25 Ulrich Drepper <drepper@redhat.com>
4054 * stdlib/Makefile ($(objpfx)isomac.out): Move -I.. to the end so
4055 that $(..)/bits is not found early.
4057 2005-12-24 Ulrich Drepper <drepper@redhat.com>
4059 * manual/errno.texi: Add new Linux errno codes.
4060 * sysdeps/unix/sysv/linux/Versions: Add new errlist-compat entry
4061 for up to 132 errnos.
4062 * sysdeps/unix/sysv/linux/bits/errno.h: Define EOWNERDEAD and
4063 ENOTRECOVERABLE if not already defined.
4065 2005-12-23 Ulrich Drepper <drepper@redhat.com>
4068 * sysdeps/i386/i586/memusage.h: New file.
4069 * sysdeps/i386/memusage.h: Don't define GETTIME.
4071 2005-12-22 Ulrich Drepper <drepper@redhat.com>
4074 * misc/syslog.c (SyslogAddr): Use sockaddr_un instead of sockaddr.
4075 (openlog_internal): Adjust for this change.
4077 * Makeconfig: Define CXXFLAGS. Split out warnings from +gccwarn which
4078 are not understood by the C++ compiler.
4079 * Makerules: Add rules to build C++ code for test cases.
4080 * include/stdlib.h: Protect for inclusion in C++ code.
4081 * include/time.h: Likewise.
4083 2005-12-22 Roland McGrath <roland@redhat.com>
4085 * Makerules [gen-as-const-headers] (tests): Add one test per .sym
4087 ($(objpfx)test-as-const.c): Target replaced with ...
4088 ($(objpfx)test-as-const-%.c): ... this pattern rule.
4089 (generated): Add those files.
4091 2005-12-22 Ulrich Drepper <drepper@redhat.com>
4093 * test-skeleton.c (timeout_handler): Rewrite ts initialization for
4096 * sysdeps/x86_64/__longjmp.S: Also protect SP and BP.
4097 * sysdeps/x86_64/setjmp.S: Likewise.
4099 2005-12-21 Roland McGrath <roland@redhat.com>
4101 * sysdeps/unix/sysv/linux/i386/ucontext_i.h: File removed.
4102 * sysdeps/unix/sysv/linux/i386/ucontext_i.sym: New file.
4103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: File removed.
4104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym: New file.
4105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: File removed.
4106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym: New file.
4107 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: File removed.
4108 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: File removed.
4109 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: New file.
4110 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h: File removed.
4111 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: New file.
4112 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h: File removed.
4113 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: New file.
4114 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: File removed.
4115 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: New file.
4116 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = stdlib]:
4117 (gen-as-const-headers): Add it.
4118 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
4119 * sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
4120 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4121 * sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise.
4122 * stdlib/tst-ucontext-off.c: File removed.
4123 * stdlib/Makefile (tests): Remove it.
4125 * scripts/gen-as-const.awk: Support generating a test program.
4126 * Makerules [gen-as-const-headers] (tests): Add test-as-const.
4127 [gen-as-const-headers] ($(objpfx)test-as-const.c): New target.
4129 * sysdeps/generic/bits: Subdirectory and all files moved to ...
4130 * bits: ... here, new subdirectory.
4131 * Makeconfig (+includes): Reordered includes to put build and sysdeps
4132 dirs first after $(..)include, $(sysincludes) last.
4135 * intl/l10nflist.c (_nl_make_l10nflist): Free ABS_FILENAME when later
4138 2005-12-21 Jakub Jelinek <jakub@redhat.com>
4140 * sysdeps/powerpc/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.
4142 2005-12-21 Roland McGrath <roland@redhat.com>
4144 * sysdeps/mach/hurd/ifreq.c: Add missing #includes.
4146 * elf/cache.c: Use <> rather than "" #includes.
4147 * elf/chroot_canon.c: Likewise.
4148 * elf/dl-lookup.c: Likewise.
4149 * elf/ldconfig.c: Likewise.
4150 * elf/readlib.c: Likewise.
4151 * elf/rtld.c: Likewise.
4152 * gmon/mcount.c: Likewise.
4153 * hurd/hurdfault.c: Likewise.
4154 * hurd/hurdsig.c: Likewise.
4155 * hurd/report-wait.c: Likewise.
4156 * hurd/sigunwind.c: Likewise.
4157 * mach/setup-thread.c: Likewise.
4158 * rt/aio_read64.c: Likewise.
4159 * rt/aio_sigqueue.c: Likewise.
4160 * rt/aio_write64.c: Likewise.
4161 * soft-fp/soft-fp.h: Likewise.
4162 * stdio-common/tmpfile64.c: Likewise.
4163 * sysdeps/mach/hurd/fork.c: Likewise.
4164 * sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
4165 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4166 * sysdeps/mach/hurd/mips/trampoline.c: Likewise.
4167 * sysdeps/mach/hurd/powerpc/trampoline.c: Likewise.
4168 * sysdeps/posix/sprofil.c: Likewise.
4169 * sysdeps/pthread/aio_cancel.c: Likewise.
4170 * sysdeps/pthread/aio_fsync.c: Likewise.
4171 * sysdeps/pthread/aio_read64.c: Likewise.
4172 * sysdeps/pthread/aio_read.c: Likewise.
4173 * sysdeps/pthread/aio_suspend.c: Likewise.
4174 * sysdeps/pthread/aio_write64.c: Likewise.
4175 * sysdeps/pthread/aio_write.c: Likewise.
4176 * sysdeps/pthread/lio_listio64.c: Likewise.
4177 * sysdeps/pthread/lio_listio.c: Likewise.
4178 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4179 * sysdeps/unix/sysv/tcflow.c: Likewise.
4181 * sysdeps/generic/unwind-dw2.c (extract_cie_info): Add a cast.
4183 * elf/dl-error.c (_dl_signal_error): Use .__jmpbuf in __longjmp call.
4185 * csu/dso_handle.c (__dso_handle): Add const to pointer type too.
4187 2005-12-21 Ulrich Drepper <drepper@redhat.com>
4189 * iconv/gconv_conf.c: Initialize empty_path_elem.
4191 * sysdeps/ieee754/dbl-64/halfulp.c: Mark tab54 as static and const.
4192 * sysdeps/i386/fpu/e_expl.c: Mark c0 and c1 as const.
4193 * sysdeps/ieee754/flt-32/s_expm1f.c: Make sure huge and tiny end
4195 * sysdeps/ieee754/flt-32/e_exp2f.c: Make sure TWO127 and TWOM100
4197 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4198 * sysdeps/ieee754/dbl-64/e_exp2.c: Make sure TWO1023 and TWOM1000
4201 2005-12-21 Thorsten Kukuk <kukuk@suse.de>
4203 * elf/readlib.c: Fix include of readelflib.c.
4205 2005-12-21 Ulrich Drepper <drepper@redhat.com>
4208 * io/fts.c (fts_open): Change type of len to size_t.
4209 (fts_build): Remove cast in call to fts_alloc.
4210 (fts_alloc): Change third parameter's type to size_t.
4213 * io/fts.c (fts_open): Avoid function call in MAX macro use.
4215 2005-12-20 Ulrich Drepper <drepper@redhat.com>
4217 * locale/xlocale.c (_nl_C_locobj): Mark as const.
4218 * include/locale.h: Define _nl_C_locobj_ptr.
4219 * iconv/gconv_charset.h: Use _nl_C_locobj_ptr instead of using pointer
4220 to _nl_C_locobj because we also need a cast.
4221 * iconv/gconv_conf.c: Likewise.
4222 * iconv/gconv_int.h: Likewise.
4223 * iconv/gconv_open.c: Likewise.
4224 * locale/duplocale.c: Likewise.
4225 * locale/freelocale.c: Likewise.
4226 * locale/newlocale.c: Likewise.
4227 * misc/syslog.c: Likewise.
4228 * stdlib/strtod_l.c: Likewise.
4229 * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
4231 * csu/dso_handle.c (__dso_handle): Mark as const.
4233 * intl/plural-exp.c (GERMANIC_PLURAL): Mark as const.
4234 * intl/plural-exp.h: Adjust declaration of
4235 __gettext_germanic_plural.
4237 * resolv/herror.c (h_errlist): Mark as const.
4240 2005-12-15 Thomas Schwinge <tschwinge@gnu.org>
4243 * sysdeps/mach/hurd/xmknod.c (__xmknod): Handle S_IFREG.
4245 2005-12-20 Roland McGrath <roland@redhat.com>
4247 * sysdeps/unix/sysv/linux/ifreq.h: File removed.
4248 * sysdeps/unix/sysv/linux/ifreq.c: #include "kernel-features.h" here.
4250 * sysdeps/mach/hurd/ifreq.h: File removed.
4251 (__ifreq): Function moved to ...
4252 * sysdeps/mach/hurd/ifreq.c: ... here, new file.
4254 2005-12-20 Ulrich Drepper <drepper@redhat.com>
4256 * sunrpc/clnt_unix.c (unix_ops): Mark as const.
4257 * sunrpc/auth_des.c (authdes_ops): Likewise.
4258 * sunrpc/svc_raw.c (server_ops): Likewise.
4259 * sunrpc/clnt_udp.c (udp_ops): Likewise.
4260 * sunrpc/clnt_tcp.c (tcp_ops): Likewise.
4261 * sunrpc/clnt_raw.c (client_ops): Likewise.
4262 * sunrpc/auth_unix.c (auth_unix_ops): Likewise.
4263 * sunrpc/auth_none.c (ops): Likewise.
4265 * nss/nsswitch.c (databases): Mark as const. Change name field
4267 * nss/databases.def: Add warning.
4269 * resolv/res_hconf.c (arg_service_list): Reduce size of svcs and
4271 (cmd): Mark as const.
4272 (parse_line): Mark c as pointer to const.
4274 * misc/getusershell.c (initshells): Remove unnecessary tests.
4275 (endusershell): Likewise.
4276 (okshells): Mark as const.
4278 * sysdeps/posix/gai_strerror.c: Complete rewrite. Avoid relocations.
4279 * sysdeps/posix/gai_strerror-strs.h: New file.
4280 * sysdeps/posix/Dist: New file.
4282 * sysdeps/posix/getaddrinfo.c (gaih): Mark as const.
4283 * locale/loadlocale.c (_nl_value_types): Likewise.
4284 * iconv/gconv_conf.c (builtin_aliases): Likewise.
4285 * iconv/gconv_open.c (internal_trans_names): Likewise.
4287 2005-12-19 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4289 * sysdeps/unix/sysv/linux/sh/sysdep.h: Include tls.h.
4290 (PTR_MANGLE, PTR_DEMANGLE): Define.
4291 (SYSCALL_ERROR_HANDLER): Fix typo.
4292 * sysdeps/sh/sh4/__longjmp.S: Use PTR_DEMANGLE if defined.
4293 * sysdeps/sh/sh3/__longjmp.S: Likewise.
4294 * sysdeps/sh/sh4/setjmp.S: Use PTR_MANGLE if defined.
4295 * sysdeps/sh/sh3/setjmp.S: Likewise.
4297 2005-12-20 Jakub Jelinek <jakub@redhat.com>
4299 * sysdeps/ia64/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.
4301 * sysdeps/unix/sysv/linux/time.c: If __NR_time is not defined,
4302 use sysdeps/unix/time.c implementation.
4304 2005-12-19 Ulrich Drepper <drepper@redhat.com>
4307 * timezone/zic.c (tofile;): Fix typo in symlink creation.
4308 Patch by Phil Estes <pestes@us.ibm.com>.
4311 * sysdeps/unix/sysv/linux/time.c: New file.
4312 * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove time entry.
4314 2005-12-15 Thomas Schwinge <tschwinge@gnu.org>
4316 * io/xmknodat.c: Include <stddef.h>.
4317 * misc/futimesat.c: Remove weak_alias and correct stub_warning.
4318 * stdio-common/renameat.c (renameat): Fix typo.
4320 2005-12-16 Thorsten Kukuk <kukuk@suse.de>
4323 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4324 Map more filesystem types to a string.
4325 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add SYSFS_MAGIC.
4327 2005-12-19 Jakub Jelinek <jakub@redhat.com>
4329 * locale/Makefile (programs/%-kw.h): Run $(GPERF) inside of the
4330 programs subdirectory.
4332 * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use
4333 PTR_DEMANGLE for PC if defined.
4334 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp):
4336 * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Likewise.
4337 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Xor %r14 with
4338 THREAD_GET_POINTER_GUARD () if PTR_DEMANGLE is defined.
4339 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
4340 * sysdeps/powerpc/powerpc32/setjmp-common.S (__sigsetjmp): Use
4341 PTR_MANGLE for PC if defined.
4342 * sysdeps/powerpc/powerpc64/setjmp-common.S (__sigsetjmp): Likewise.
4343 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4344 Avoid call to __sigjmp_save if IS_IN_rtld.
4345 * sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise.
4346 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise.
4347 * sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise.
4348 * sysdeps/unix/sysv/linux/ia64/setjmp.S (__sigsetjmp): Likewise.
4349 * sysdeps/unix/sysv/linux/ia64/sysdep.h (PTR_MANGLE, PTR_DEMANGLE):
4351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Include tls.h.
4352 (PTR_MANGLE, PTR_DEMANGLE): Define.
4353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Include tls.h
4354 (PTR_MANGLE, PTR_DEMANGLE): Define.
4355 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Include tls.h.
4356 (PTR_MANGLE, PTR_DEMANGLE): Define.
4357 (SYSCALL_ERROR_HANDLER): Add missing semicolons.
4358 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Include tls.h.
4359 (PTR_MANGLE, PTR_DEMANGLE): Define.
4360 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Add
4361 SYSCALL_ERROR_HANDLER.
4363 2005-12-19 Ulrich Drepper <drepper@redhat.com>
4365 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Handle NO_WEAK_ALIAS.
4366 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4367 Patch by Clint Adams.
4369 2005-12-16 Martin Schwidefsky <schwidefsky@de.ibm.com>
4371 * sysdeps/unix/sysv/linux/s390/sys/user.h: Copy struct user and
4372 dependent definitions from the kernel header to sys/user.h and
4373 remove the #include of asm/user.h.
4375 2005-12-19 Ulrich Drepper <drepper@redhat.com>
4377 * sysdeps/gnu/Makefile: Make sure the correct errlist.c file is
4378 used when generating errlist-compat.c.
4380 2005-12-18 Ulrich Drepper <drepper@redhat.com>
4382 * iconv/gconv.c: Demangle pointers before use if necessary.
4383 * iconv/gconv_cache.c: Likewise.
4384 * iconv/skeleton.c: Likewise.
4385 * libio/iofwide.c: Likewise.
4386 * wcsmbs/btowc.c: Likewise.
4387 * wcsmbs/mbrtowc.c: Likewise.
4388 * wcsmbs/mbsnrtowcs.c: Likewise.
4389 * wcsmbs/mbsrtowcs_l.c: Likewise.
4390 * wcsmbs/wcrtomb.c: Likewise.
4391 * wcsmbs/wcsnrtombs.c: Likewise.
4392 * wcsmbs/wcsrtombs.c: Likewise.
4393 * wcsmbs/wctob.c: Likewise.
4394 * iconv_gconv_db.c: Likewise. After init functions returns mangle
4395 btowc pointer if necessary.
4396 * iconv/gconv_dl.c: Mangle function pointers retrieved from dlsym.
4398 * iconv/gconv_builtin.c (builtin_map): Change type of size
4399 information fields to int8_t.
4401 * libio/iofwide.c (__libio_codecvt): Mark as const.
4402 (__libio_translit): Likewise.
4403 * libio/libioP.h (__libio_codecvt): Adjust declaraction.
4405 * wcsmbs/wcsmbsload.c (to_wc): Mark as const.
4408 2005-12-18 Richard Henderson <rth@redhat.com>
4410 * sysdeps/alpha/libc-tls.c: Fix directory on include of base file.
4412 2005-12-18 Ulrich Drepper <drepper@redhat.com>
4414 * iconv/gconv_builtin.c: Mark map with attribute_relro.
4416 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Define C
4417 version for inside ld.so.
4419 * elf/rtld.c (dl_main): Don't use hp timing code unless it's available.
4421 * sysdeps/powerpc/powerpc32/setjmp-common.S [IS_IN_rtld]: Avoid
4422 call to __sigjmp_save.
4423 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4425 * stdlib/cxa_atexit.c: Use PTR_MANGLE on function pointer. Fill in
4426 flavor field last and protect with memory barrier.
4427 * stdlib/on_exit.c: Likewise.
4428 * stdlib/cxa_finalize.c: Use PTR_DEMANGLE on function pointer before
4430 * stdlib/exit.c: Likewise.
4432 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE and
4433 PTR_DEMANGLE for C code in libc.
4434 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4436 2005-12-17 Ulrich Drepper <drepper@redhat.com>
4438 * elf/Versions [GLIBC_PRIVATE]: Export __pointer_chk_guard if defined.
4439 * elf/rtld.c: Define __pointer_chk_guard_local and if necessary
4440 __pointer_chk_guard.
4441 (_rtld_global_ro): Initialize _dl_pointer_guard.
4442 (dl_main): Initialize __pointer_chk_guard_local and either
4443 __pointer_chk_guard or TLS value if necessary.
4444 (process_envvars): Recognize and handle LD_POINTER_GUARD.
4445 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_pointer_guard.
4446 * sysdeps/i386/__longjmp.S: Use PTR_DEMANGLE for PC if defined.
4447 * sysdeps/x86_64/__longjmp.S: Likewise.
4448 * sysdeps/i386/bsd-_setjmp.S: Use PTR_MANGLE for PC if defined.
4449 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4450 * sysdeps/i386/setjmp.S: Likewise.
4451 [IS_IN_rtld]: Avoid call to __sigjmp_save.
4452 * sysdeps/i386/setjmp.S: Likewise.
4453 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE and
4455 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4457 * sysdeps/i386/elf/setjmp.S: Removed.
4458 * sysdeps/i386/elf/bsd-setjmp.S: Removed.
4460 * elf/dl-error.c (_dl_catch_error): Use __sigsetgjmp instead of
4462 * elf/dl-error.c (_dl_signal_error): Use __longjmp instead of longjmp.
4463 * elf/dl-minimal.c (longjmp): Remove definition.
4465 * sysdeps/x86_64/bsd-setjmp.S [PIC] (setjmp): Add missing jmp.
4467 2005-12-14 Thorsten Kukuk <kukuk@suse.de>
4469 * nscd/Makefile: Don't build nscd_nischeck.
4470 * nscd/nscd_nischeck.c: Removed.
4472 2005-12-15 Ulrich Drepper <drepper@redhat.com>
4474 * sysdeps/unix/sysv/linux/renameat.c: Move errno setting code in
4475 separate function __atfct_seterrno_2.
4476 * include/fcntl.h: Declare __atfct_seterrno_2.
4477 * posix/unistd.h: Declare linkat, symlinkat, readlinkat.
4478 * io/Makefile (routines): Add linkat, symlinkat, readlinkat.
4479 * io/Versions [GLIBC_2.4]: Export linkat, symlinkat, readlinkat.
4480 * io/linkat.c: New file.
4481 * io/readlinkat.c: New file.
4482 * io/symlinkat.c: New file.
4483 * sysdeps/unix/sysv/linux/linkat.c: New file.
4484 * sysdeps/unix/sysv/linux/readlinkat.c: New file.
4485 * sysdeps/unix/sysv/linux/symlinkat.c: New file.
4487 2005-12-15 Roland McGrath <roland@redhat.com>
4490 * manual/stdio.texi (String Streams): For open_memstream, elaborate a
4491 little on malloc reference.
4493 * sysdeps/alpha/fpu/s_cacosf.c: Don't use sysdeps/generic/.
4494 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
4495 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
4496 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
4497 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
4498 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
4499 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
4500 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
4501 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
4502 * sysdeps/alpha/fpu/s_clog10f.c: Likewise.
4503 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
4504 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
4505 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
4506 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
4507 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
4508 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
4509 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
4510 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
4511 * sysdeps/alpha/libc-tls.c: Likewise.
4512 * sysdeps/gnu/glob64.c: Likewise.
4513 * sysdeps/gnu/updwtmp.c: Likewise.
4514 * sysdeps/gnu/utmp_file.c: Likewise.
4515 * sysdeps/i386/bzero.c: Likewise.
4516 * sysdeps/i386/ffs.c: Likewise.
4517 * sysdeps/i386/i686/ffs.c: Likewise.
4518 * sysdeps/i386/memset.c: Likewise.
4519 * sysdeps/ia64/fpu/printf_fphex.c: Likewise.
4520 * sysdeps/ia64/libc-tls.c: Likewise.
4521 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4522 * sysdeps/m68k/ffs.c: Likewise.
4523 * sysdeps/mach/hurd/getdents.c: Likewise.
4524 * sysdeps/mach/hurd/init-posix.c: Likewise.
4525 * sysdeps/mach/msync.c: Likewise.
4526 * sysdeps/mips/libc-tls.c: Likewise.
4527 * sysdeps/posix/profil.c: Likewise.
4528 * sysdeps/posix/shm_open.c: Likewise.
4529 * sysdeps/posix/shm_unlink.c: Likewise.
4530 * sysdeps/posix/sprofil.c: Likewise.
4531 * sysdeps/powerpc/ffs.c: Likewise.
4532 * sysdeps/rs6000/ffs.c: Likewise.
4533 * sysdeps/s390/libc-tls.c: Likewise.
4534 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4535 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
4536 * sysdeps/unix/sysv/linux/alpha/wordexp.c: Likewise.
4537 * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
4538 * sysdeps/unix/sysv/linux/gai_sigqueue.c: Likewise.
4539 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
4540 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4541 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4542 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4543 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
4544 * sysdeps/unix/sysv/linux/i386/readelflib.c: Likewise.
4545 * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
4546 * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
4547 * sysdeps/unix/sysv/linux/ia64/readelflib.c: Likewise.
4548 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
4549 * sysdeps/unix/sysv/linux/mips/readelflib.c: Likewise.
4550 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
4551 * sysdeps/unix/sysv/linux/mq_close.c: Likewise.
4552 * sysdeps/unix/sysv/linux/mq_getattr.c: Likewise.
4553 * sysdeps/unix/sysv/linux/mq_notify.c: Likewise.
4554 * sysdeps/unix/sysv/linux/mq_open.c: Likewise.
4555 * sysdeps/unix/sysv/linux/mq_receive.c: Likewise.
4556 * sysdeps/unix/sysv/linux/mq_send.c: Likewise.
4557 * sysdeps/unix/sysv/linux/mq_unlink.c: Likewise.
4558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
4559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
4560 * sysdeps/unix/sysv/linux/powerpc/readelflib.c: Likewise.
4561 * sysdeps/unix/sysv/linux/s390/readelflib.c: Likewise.
4562 * sysdeps/unix/sysv/linux/sched_getaffinity.c: Likewise.
4563 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4564 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
4565 * sysdeps/unix/sysv/linux/sigstack.c: Likewise.
4566 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
4567 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4568 * sysdeps/unix/sysv/linux/sparc/readelflib.c: Likewise.
4569 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
4570 * sysdeps/unix/sysv/linux/vfork.c: Likewise.
4571 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Likewise.
4573 * sysdeps/unix/sysv/linux/Makefile (inhibit-siglist): Removed.
4575 2005-12-13 Ulrich Drepper <drepper@redhat.com>
4577 * locale/programs/charmap-kw.h: Regenerated with new gperf.
4578 * locale/programs/locfile-kw.h: Likewise.
4580 * Makeconfig (+includes): Look in current directory late.
4581 * Makerules: Add rules from rules before the rules for the current
4583 * sysdeps/generic/__longjmp.c: Moved to...
4584 * setjmp/__longjmp.c: ...here.
4585 * sysdeps/generic/_exit.c: Moved to...
4586 * posix/_exit.c: ...here.
4587 * sysdeps/generic/_strerror.c: Moved to...
4588 * string/_strerror.c: ...here.
4589 * sysdeps/generic/abort.c: Moved to...
4590 * stdlib/abort.c: ...here.
4591 * sysdeps/generic/accept.c: Moved to...
4592 * socket/accept.c: ...here.
4593 * sysdeps/generic/access.c: Moved to...
4594 * io/access.c: ...here.
4595 * sysdeps/generic/acct.c: Moved to...
4596 * misc/acct.c: ...here.
4597 * sysdeps/generic/add_n.c: Moved to...
4598 * stdlib/add_n.c: ...here.
4599 * sysdeps/generic/addmul_1.c: Moved to...
4600 * stdlib/addmul_1.c: ...here.
4601 * sysdeps/generic/adjtime.c: Moved to...
4602 * time/adjtime.c: ...here.
4603 * sysdeps/generic/aio_cancel.c: Moved to...
4604 * rt/aio_cancel.c: ...here.
4605 * sysdeps/generic/aio_fsync.c: Moved to...
4606 * rt/aio_fsync.c: ...here.
4607 * sysdeps/generic/aio_misc.c: Moved to...
4608 * rt/aio_misc.c: ...here.
4609 * sysdeps/generic/aio_notify.c: Moved to...
4610 * rt/aio_notify.c: ...here.
4611 * sysdeps/generic/aio_read.c: Moved to...
4612 * rt/aio_read.c: ...here.
4613 * sysdeps/generic/aio_read64.c: Moved to...
4614 * rt/aio_read64.c: ...here.
4615 * sysdeps/generic/aio_sigqueue.c: Moved to...
4616 * rt/aio_sigqueue.c: ...here.
4617 * sysdeps/generic/aio_suspend.c: Moved to...
4618 * rt/aio_suspend.c: ...here.
4619 * sysdeps/generic/aio_write.c: Moved to...
4620 * rt/aio_write.c: ...here.
4621 * sysdeps/generic/aio_write64.c: Moved to...
4622 * rt/aio_write64.c: ...here.
4623 * sysdeps/generic/alarm.c: Moved to...
4624 * posix/alarm.c: ...here.
4625 * sysdeps/generic/allocrtsig.c: Moved to...
4626 * signal/allocrtsig.c: ...here.
4627 * sysdeps/generic/alphasort64.c: Moved to...
4628 * dirent/alphasort64.c: ...here.
4629 * sysdeps/generic/backtrace.c: Moved to...
4630 * debug/backtrace.c: ...here.
4631 * sysdeps/generic/backtracesyms.c: Moved to...
4632 * debug/backtracesyms.c: ...here.
4633 * sysdeps/generic/backtracesymsfd.c: Moved to...
4634 * debug/backtracesymsfd.c: ...here.
4635 * sysdeps/generic/bb_init_func.c: Moved to...
4636 * gmon/bb_init_func.c: ...here.
4637 * sysdeps/generic/bcopy.c: Moved to...
4638 * string/bcopy.c: ...here.
4639 * sysdeps/generic/bind.c: Moved to...
4640 * socket/bind.c: ...here.
4641 * sysdeps/generic/brdinit.c: Moved to...
4642 * bare/brdinit.c: ...here.
4643 * sysdeps/generic/brk.c: Moved to...
4644 * misc/brk.c: ...here.
4645 * sysdeps/generic/bsd-_setjmp.c: Moved to...
4646 * setjmp/bsd-_setjmp.c: ...here.
4647 * sysdeps/generic/bsd-setjmp.c: Moved to...
4648 * setjmp/bsd-setjmp.c: ...here.
4649 * sysdeps/generic/bzero.c: Moved to...
4650 * string/bzero.c: ...here.
4651 * sysdeps/generic/cabsf.c: Moved to...
4652 * math/cabsf.c: ...here.
4653 * sysdeps/generic/cargf.c: Moved to...
4654 * math/cargf.c: ...here.
4655 * sysdeps/generic/chdir.c: Moved to...
4656 * io/chdir.c: ...here.
4657 * sysdeps/generic/check_fds.c: Moved to...
4658 * csu/check_fds.c: ...here.
4659 * sysdeps/generic/check_pf.c: Moved to...
4660 * inet/check_pf.c: ...here.
4661 * sysdeps/generic/chflags.c: Moved to...
4662 * misc/chflags.c: ...here.
4663 * sysdeps/generic/chmod.c: Moved to...
4664 * io/chmod.c: ...here.
4665 * sysdeps/generic/chown.c: Moved to...
4666 * io/chown.c: ...here.
4667 * sysdeps/generic/chroot.c: Moved to...
4668 * misc/chroot.c: ...here.
4669 * sysdeps/generic/cimagf.c: Moved to...
4670 * math/cimagf.c: ...here.
4671 * sysdeps/generic/clock.c: Moved to...
4672 * time/clock.c: ...here.
4673 * sysdeps/generic/clock_getcpuclockid.c: Moved to...
4674 * rt/clock_getcpuclockid.c: ...here.
4675 * sysdeps/generic/clock_getres.c: Moved to...
4676 * rt/clock_getres.c: ...here.
4677 * sysdeps/generic/clock_gettime.c: Moved to...
4678 * rt/clock_gettime.c: ...here.
4679 * sysdeps/generic/clock_nanosleep.c: Moved to...
4680 * rt/clock_nanosleep.c: ...here.
4681 * sysdeps/generic/clock_settime.c: Moved to...
4682 * rt/clock_settime.c: ...here.
4683 * sysdeps/generic/close.c: Moved to...
4684 * io/close.c: ...here.
4685 * sysdeps/generic/closedir.c: Moved to...
4686 * dirent/closedir.c: ...here.
4687 * sysdeps/generic/cmp.c: Moved to...
4688 * stdlib/cmp.c: ...here.
4689 * sysdeps/generic/conjf.c: Moved to...
4690 * math/conjf.c: ...here.
4691 * sysdeps/generic/connect.c: Moved to...
4692 * socket/connect.c: ...here.
4693 * sysdeps/generic/console.c: Moved to...
4694 * bare/console.c: ...here.
4695 * sysdeps/generic/crealf.c: Moved to...
4696 * math/crealf.c: ...here.
4697 * sysdeps/generic/creat.c: Moved to...
4698 * io/creat.c: ...here.
4699 * sysdeps/generic/creat64.c: Moved to...
4700 * io/creat64.c: ...here.
4701 * sysdeps/generic/ctermid.c: Moved to...
4702 * stdio-common/ctermid.c: ...here.
4703 * sysdeps/generic/cuserid.c: Moved to...
4704 * stdio-common/cuserid.c: ...here.
4705 * sysdeps/generic/dbl2mpn.c: Moved to...
4706 * stdlib/dbl2mpn.c: ...here.
4707 * sysdeps/generic/dirfd.c: Moved to...
4708 * dirent/dirfd.c: ...here.
4709 * sysdeps/generic/div.c: Moved to...
4710 * stdlib/div.c: ...here.
4711 * sysdeps/generic/divmod_1.c: Moved to...
4712 * stdlib/divmod_1.c: ...here.
4713 * sysdeps/generic/divrem.c: Moved to...
4714 * stdlib/divrem.c: ...here.
4715 * sysdeps/generic/dl-brk.c: Moved to...
4716 * elf/dl-brk.c: ...here.
4717 * sysdeps/generic/dl-cache.c: Moved to...
4718 * elf/dl-cache.c: ...here.
4719 * sysdeps/generic/dl-environ.c: Moved to...
4720 * elf/dl-environ.c: ...here.
4721 * sysdeps/generic/dl-execstack.c: Moved to...
4722 * elf/dl-execstack.c: ...here.
4723 * sysdeps/generic/dl-fptr.c: Moved to...
4724 * elf/dl-fptr.c: ...here.
4725 * sysdeps/generic/dl-origin.c: Moved to...
4726 * elf/dl-origin.c: ...here.
4727 * sysdeps/generic/dl-sbrk.c: Moved to...
4728 * elf/dl-sbrk.c: ...here.
4729 * sysdeps/generic/dl-symaddr.c: Moved to...
4730 * elf/dl-symaddr.c: ...here.
4731 * sysdeps/generic/dl-sysdep.c: Moved to...
4732 * elf/dl-sysdep.c: ...here.
4733 * sysdeps/generic/dl-tls.c: Moved to...
4734 * elf/dl-tls.c: ...here.
4735 * sysdeps/generic/dl-trampoline.c: Moved to...
4736 * elf/dl-trampoline.c: ...here.
4737 * sysdeps/generic/dup.c: Moved to...
4738 * io/dup.c: ...here.
4739 * sysdeps/generic/dup2.c: Moved to...
4740 * io/dup2.c: ...here.
4741 * sysdeps/generic/e_acoshl.c: Moved to...
4742 * math/e_acoshl.c: ...here.
4743 * sysdeps/generic/e_acosl.c: Moved to...
4744 * math/e_acosl.c: ...here.
4745 * sysdeps/generic/e_asinl.c: Moved to...
4746 * math/e_asinl.c: ...here.
4747 * sysdeps/generic/e_atan2l.c: Moved to...
4748 * math/e_atan2l.c: ...here.
4749 * sysdeps/generic/e_atanhl.c: Moved to...
4750 * math/e_atanhl.c: ...here.
4751 * sysdeps/generic/e_coshl.c: Moved to...
4752 * math/e_coshl.c: ...here.
4753 * sysdeps/generic/e_exp10.c: Moved to...
4754 * math/e_exp10.c: ...here.
4755 * sysdeps/generic/e_exp10f.c: Moved to...
4756 * math/e_exp10f.c: ...here.
4757 * sysdeps/generic/e_exp10l.c: Moved to...
4758 * math/e_exp10l.c: ...here.
4759 * sysdeps/generic/e_exp2l.c: Moved to...
4760 * math/e_exp2l.c: ...here.
4761 * sysdeps/generic/e_expl.c: Moved to...
4762 * math/e_expl.c: ...here.
4763 * sysdeps/generic/e_fmodl.c: Moved to...
4764 * math/e_fmodl.c: ...here.
4765 * sysdeps/generic/e_gammal_r.c: Moved to...
4766 * math/e_gammal_r.c: ...here.
4767 * sysdeps/generic/e_hypotl.c: Moved to...
4768 * math/e_hypotl.c: ...here.
4769 * sysdeps/generic/e_j0l.c: Moved to...
4770 * math/e_j0l.c: ...here.
4771 * sysdeps/generic/e_j1l.c: Moved to...
4772 * math/e_j1l.c: ...here.
4773 * sysdeps/generic/e_jnl.c: Moved to...
4774 * math/e_jnl.c: ...here.
4775 * sysdeps/generic/e_lgammal_r.c: Moved to...
4776 * math/e_lgammal_r.c: ...here.
4777 * sysdeps/generic/e_log10l.c: Moved to...
4778 * math/e_log10l.c: ...here.
4779 * sysdeps/generic/e_log2l.c: Moved to...
4780 * math/e_log2l.c: ...here.
4781 * sysdeps/generic/e_logl.c: Moved to...
4782 * math/e_logl.c: ...here.
4783 * sysdeps/generic/e_powl.c: Moved to...
4784 * math/e_powl.c: ...here.
4785 * sysdeps/generic/e_rem_pio2l.c: Moved to...
4786 * math/e_rem_pio2l.c: ...here.
4787 * sysdeps/generic/e_scalb.c: Moved to...
4788 * math/e_scalb.c: ...here.
4789 * sysdeps/generic/e_scalbf.c: Moved to...
4790 * math/e_scalbf.c: ...here.
4791 * sysdeps/generic/e_scalbl.c: Moved to...
4792 * math/e_scalbl.c: ...here.
4793 * sysdeps/generic/e_sinhl.c: Moved to...
4794 * math/e_sinhl.c: ...here.
4795 * sysdeps/generic/e_sqrtl.c: Moved to...
4796 * math/e_sqrtl.c: ...here.
4797 * sysdeps/generic/enbl-secure.c: Moved to...
4798 * elf/enbl-secure.c: ...here.
4799 * sysdeps/generic/endutxent.c: Moved to...
4800 * login/endutxent.c: ...here.
4801 * sysdeps/generic/environ.c: Moved to...
4802 * posix/environ.c: ...here.
4803 * sysdeps/generic/errlist.c: Moved to...
4804 * stdio-common/errlist.c: ...here.
4805 * sysdeps/generic/errno-loc.c: Moved to...
4806 * csu/errno-loc.c: ...here.
4807 * sysdeps/generic/errno-loc.c: Moved to...
4808 * csu/errno-loc.c: ...here.
4809 * sysdeps/generic/errno.c: Moved to...
4810 * csu/errno.c: ...here.
4811 * sysdeps/generic/euidaccess.c: Moved to...
4812 * io/euidaccess.c: ...here.
4813 * sysdeps/generic/exc2signal.c: Moved to...
4814 * hurd/exc2signal.c: ...here.
4815 * sysdeps/generic/execve.c: Moved to...
4816 * posix/execve.c: ...here.
4817 * sysdeps/generic/fattach.c: Moved to...
4818 * streams/fattach.c: ...here.
4819 * sysdeps/generic/fchdir.c: Moved to...
4820 * io/fchdir.c: ...here.
4821 * sysdeps/generic/fchflags.c: Moved to...
4822 * misc/fchflags.c: ...here.
4823 * sysdeps/generic/fchmod.c: Moved to...
4824 * io/fchmod.c: ...here.
4825 * sysdeps/generic/fchown.c: Moved to...
4826 * io/fchown.c: ...here.
4827 * sysdeps/generic/fchownat.c: Moved to...
4828 * io/fchownat.c: ...here.
4829 * sysdeps/generic/fclrexcpt.c: Moved to...
4830 * math/fclrexcpt.c: ...here.
4831 * sysdeps/generic/fcntl.c: Moved to...
4832 * io/fcntl.c: ...here.
4833 * sysdeps/generic/fdatasync.c: Moved to...
4834 * misc/fdatasync.c: ...here.
4835 * sysdeps/generic/fdetach.c: Moved to...
4836 * streams/fdetach.c: ...here.
4837 * sysdeps/generic/fdopendir.c: Moved to...
4838 * dirent/fdopendir.c: ...here.
4839 * sysdeps/generic/fedisblxcpt.c: Moved to...
4840 * math/fedisblxcpt.c: ...here.
4841 * sysdeps/generic/feenablxcpt.c: Moved to...
4842 * math/feenablxcpt.c: ...here.
4843 * sysdeps/generic/fegetenv.c: Moved to...
4844 * math/fegetenv.c: ...here.
4845 * sysdeps/generic/fegetexcept.c: Moved to...
4846 * math/fegetexcept.c: ...here.
4847 * sysdeps/generic/fegetround.c: Moved to...
4848 * math/fegetround.c: ...here.
4849 * sysdeps/generic/feholdexcpt.c: Moved to...
4850 * math/feholdexcpt.c: ...here.
4851 * sysdeps/generic/fesetenv.c: Moved to...
4852 * math/fesetenv.c: ...here.
4853 * sysdeps/generic/fesetround.c: Moved to...
4854 * math/fesetround.c: ...here.
4855 * sysdeps/generic/feupdateenv.c: Moved to...
4856 * math/feupdateenv.c: ...here.
4857 * sysdeps/generic/fexecve.c: Moved to...
4858 * posix/fexecve.c: ...here.
4859 * sysdeps/generic/ffs.c: Moved to...
4860 * string/ffs.c: ...here.
4861 * sysdeps/generic/ffsll.c: Moved to...
4862 * string/ffsll.c: ...here.
4863 * sysdeps/generic/fgetexcptflg.c: Moved to...
4864 * math/fgetexcptflg.c: ...here.
4865 * sysdeps/generic/fgetxattr.c: Moved to...
4866 * misc/fgetxattr.c: ...here.
4867 * sysdeps/generic/flistxattr.c: Moved to...
4868 * misc/flistxattr.c: ...here.
4869 * sysdeps/generic/flock.c: Moved to...
4870 * io/flock.c: ...here.
4871 * sysdeps/generic/flockfile.c: Moved to...
4872 * stdio-common/flockfile.c: ...here.
4873 * sysdeps/generic/fork.c: Moved to...
4874 * posix/fork.c: ...here.
4875 * sysdeps/generic/fpathconf.c: Moved to...
4876 * posix/fpathconf.c: ...here.
4877 * sysdeps/generic/fpu_control.c: Moved to...
4878 * math/fpu_control.c: ...here.
4879 * sysdeps/generic/fraiseexcpt.c: Moved to...
4880 * math/fraiseexcpt.c: ...here.
4881 * sysdeps/generic/fremovexattr.c: Moved to...
4882 * misc/fremovexattr.c: ...here.
4883 * sysdeps/generic/fsetexcptflg.c: Moved to...
4884 * math/fsetexcptflg.c: ...here.
4885 * sysdeps/generic/fsetxattr.c: Moved to...
4886 * misc/fsetxattr.c: ...here.
4887 * sysdeps/generic/fstatfs.c: Moved to...
4888 * io/fstatfs.c: ...here.
4889 * sysdeps/generic/fstatfs64.c: Moved to...
4890 * io/fstatfs64.c: ...here.
4891 * sysdeps/generic/fstatvfs.c: Moved to...
4892 * io/fstatvfs.c: ...here.
4893 * sysdeps/generic/fstatvfs64.c: Moved to...
4894 * io/fstatvfs64.c: ...here.
4895 * sysdeps/generic/fsync.c: Moved to...
4896 * misc/fsync.c: ...here.
4897 * sysdeps/generic/ftestexcept.c: Moved to...
4898 * math/ftestexcept.c: ...here.
4899 * sysdeps/generic/ftime.c: Moved to...
4900 * time/ftime.c: ...here.
4901 * sysdeps/generic/ftruncate.c: Moved to...
4902 * misc/ftruncate.c: ...here.
4903 * sysdeps/generic/ftruncate64.c: Moved to...
4904 * misc/ftruncate64.c: ...here.
4905 * sysdeps/generic/ftrylockfile.c: Moved to...
4906 * stdio-common/ftrylockfile.c: ...here.
4907 * sysdeps/generic/funlockfile.c: Moved to...
4908 * stdio-common/funlockfile.c: ...here.
4909 * sysdeps/generic/futimes.c: Moved to...
4910 * misc/futimes.c: ...here.
4911 * sysdeps/generic/futimesat.c: Moved to...
4912 * misc/futimesat.c: ...here.
4913 * sysdeps/generic/fxstat.c: Moved to...
4914 * io/fxstat.c: ...here.
4915 * sysdeps/generic/fxstat64.c: Moved to...
4916 * io/fxstat64.c: ...here.
4917 * sysdeps/generic/fxstatat.c: Moved to...
4918 * io/fxstatat.c: ...here.
4919 * sysdeps/generic/fxstatat64.c: Moved to...
4920 * io/fxstatat64.c: ...here.
4921 * sysdeps/generic/gai_sigqueue.c: Moved to...
4922 * resolv/gai_sigqueue.c: ...here.
4923 * sysdeps/generic/gai_strerror.c: Moved to...
4924 * posix/gai_strerror.c: ...here.
4925 * sysdeps/generic/get_clockfreq.c: Moved to...
4926 * rt/get_clockfreq.c: ...here.
4927 * sysdeps/generic/getaddrinfo.c: Moved to...
4928 * posix/getaddrinfo.c: ...here.
4929 * sysdeps/generic/getclktck.c: Moved to...
4930 * misc/getclktck.c: ...here.
4931 * sysdeps/generic/getcontext.c: Moved to...
4932 * stdlib/getcontext.c: ...here.
4933 * sysdeps/generic/getcwd.c: Moved to...
4934 * io/getcwd.c: ...here.
4935 * sysdeps/generic/getdents.c: Moved to...
4936 * dirent/getdents.c: ...here.
4937 * sysdeps/generic/getdents64.c: Moved to...
4938 * dirent/getdents64.c: ...here.
4939 * sysdeps/generic/getdomain.c: Moved to...
4940 * misc/getdomain.c: ...here.
4941 * sysdeps/generic/getdtsz.c: Moved to...
4942 * misc/getdtsz.c: ...here.
4943 * sysdeps/generic/getegid.c: Moved to...
4944 * posix/getegid.c: ...here.
4945 * sysdeps/generic/getenv.c: Moved to...
4946 * stdlib/getenv.c: ...here.
4947 * sysdeps/generic/geteuid.c: Moved to...
4948 * posix/geteuid.c: ...here.
4949 * sysdeps/generic/getgid.c: Moved to...
4950 * posix/getgid.c: ...here.
4951 * sysdeps/generic/getgroups.c: Moved to...
4952 * posix/getgroups.c: ...here.
4953 * sysdeps/generic/gethostid.c: Moved to...
4954 * misc/gethostid.c: ...here.
4955 * sysdeps/generic/gethostname.c: Moved to...
4956 * misc/gethostname.c: ...here.
4957 * sysdeps/generic/getipv4sourcefilter.c: Moved to...
4958 * inet/getipv4sourcefilter.c: ...here.
4959 * sysdeps/generic/getitimer.c: Moved to...
4960 * time/getitimer.c: ...here.
4961 * sysdeps/generic/getloadavg.c: Moved to...
4962 * misc/getloadavg.c: ...here.
4963 * sysdeps/generic/getlogin.c: Moved to...
4964 * posix/getlogin.c: ...here.
4965 * sysdeps/generic/getlogin_r.c: Moved to...
4966 * posix/getlogin_r.c: ...here.
4967 * sysdeps/generic/getmsg.c: Moved to...
4968 * streams/getmsg.c: ...here.
4969 * sysdeps/generic/getpagesize.c: Moved to...
4970 * misc/getpagesize.c: ...here.
4971 * sysdeps/generic/getpeername.c: Moved to...
4972 * socket/getpeername.c: ...here.
4973 * sysdeps/generic/getpgid.c: Moved to...
4974 * posix/getpgid.c: ...here.
4975 * sysdeps/generic/getpgrp.c: Moved to...
4976 * posix/getpgrp.c: ...here.
4977 * sysdeps/generic/getpid.c: Moved to...
4978 * posix/getpid.c: ...here.
4979 * sysdeps/generic/getpmsg.c: Moved to...
4980 * streams/getpmsg.c: ...here.
4981 * sysdeps/generic/getppid.c: Moved to...
4982 * posix/getppid.c: ...here.
4983 * sysdeps/generic/getpriority.c: Moved to...
4984 * resource/getpriority.c: ...here.
4985 * sysdeps/generic/getpt.c: Moved to...
4986 * login/getpt.c: ...here.
4987 * sysdeps/generic/getresgid.c: Moved to...
4988 * posix/getresgid.c: ...here.
4989 * sysdeps/generic/getresuid.c: Moved to...
4990 * posix/getresuid.c: ...here.
4991 * sysdeps/generic/getrlimit.c: Moved to...
4992 * resource/getrlimit.c: ...here.
4993 * sysdeps/generic/getrlimit64.c: Moved to...
4994 * resource/getrlimit64.c: ...here.
4995 * sysdeps/generic/getrusage.c: Moved to...
4996 * resource/getrusage.c: ...here.
4997 * sysdeps/generic/getsid.c: Moved to...
4998 * posix/getsid.c: ...here.
4999 * sysdeps/generic/getsockname.c: Moved to...
5000 * socket/getsockname.c: ...here.
5001 * sysdeps/generic/getsockopt.c: Moved to...
5002 * socket/getsockopt.c: ...here.
5003 * sysdeps/generic/getsourcefilter.c: Moved to...
5004 * inet/getsourcefilter.c: ...here.
5005 * sysdeps/generic/getsysstats.c: Moved to...
5006 * misc/getsysstats.c: ...here.
5007 * sysdeps/generic/gettimeofday.c: Moved to...
5008 * time/gettimeofday.c: ...here.
5009 * sysdeps/generic/getuid.c: Moved to...
5010 * posix/getuid.c: ...here.
5011 * sysdeps/generic/getutmp.c: Moved to...
5012 * login/getutmp.c: ...here.
5013 * sysdeps/generic/getutmpx.c: Moved to...
5014 * login/getutmpx.c: ...here.
5015 * sysdeps/generic/getutxent.c: Moved to...
5016 * login/getutxent.c: ...here.
5017 * sysdeps/generic/getutxid.c: Moved to...
5018 * login/getutxid.c: ...here.
5019 * sysdeps/generic/getutxline.c: Moved to...
5020 * login/getutxline.c: ...here.
5021 * sysdeps/generic/getxattr.c: Moved to...
5022 * misc/getxattr.c: ...here.
5023 * sysdeps/generic/glob.c: Moved to...
5024 * posix/glob.c: ...here.
5025 * sysdeps/generic/glob64.c: Moved to...
5026 * posix/glob64.c: ...here.
5027 * sysdeps/generic/grantpt.c: Moved to...
5028 * login/grantpt.c: ...here.
5029 * sysdeps/generic/group_member.c: Moved to...
5030 * posix/group_member.c: ...here.
5031 * sysdeps/generic/gtty.c: Moved to...
5032 * misc/gtty.c: ...here.
5033 * sysdeps/generic/herrno-loc.c: Moved to...
5034 * inet/herrno-loc.c: ...here.
5035 * sysdeps/generic/htonl.c: Moved to...
5036 * inet/htonl.c: ...here.
5037 * sysdeps/generic/htons.c: Moved to...
5038 * inet/htons.c: ...here.
5039 * sysdeps/generic/if_index.c: Moved to...
5040 * inet/if_index.c: ...here.
5041 * sysdeps/generic/ifaddrs.c: Moved to...
5042 * inet/ifaddrs.c: ...here.
5043 * sysdeps/generic/ifreq.c: Moved to...
5044 * inet/ifreq.c: ...here.
5045 * sysdeps/generic/init-first.c: Moved to...
5046 * csu/init-first.c: ...here.
5047 * sysdeps/generic/init-posix.c: Moved to...
5048 * posix/init-posix.c: ...here.
5049 * sysdeps/generic/inlines.c: Moved to...
5050 * stdlib/inlines.c: ...here.
5051 * sysdeps/generic/ioctl.c: Moved to...
5052 * misc/ioctl.c: ...here.
5053 * sysdeps/generic/isastream.c: Moved to...
5054 * streams/isastream.c: ...here.
5055 * sysdeps/generic/isatty.c: Moved to...
5056 * io/isatty.c: ...here.
5057 * sysdeps/generic/isfdtype.c: Moved to...
5058 * socket/isfdtype.c: ...here.
5059 * sysdeps/generic/jmp-unwind.c: Moved to...
5060 * setjmp/jmp-unwind.c: ...here.
5061 * sysdeps/generic/k_cosl.c: Moved to...
5062 * math/k_cosl.c: ...here.
5063 * sysdeps/generic/k_rem_pio2l.c: Moved to...
5064 * math/k_rem_pio2l.c: ...here.
5065 * sysdeps/generic/k_sincosl.c: Moved to...
5066 * math/k_sincosl.c: ...here.
5067 * sysdeps/generic/k_sinl.c: Moved to...
5068 * math/k_sinl.c: ...here.
5069 * sysdeps/generic/k_tanl.c: Moved to...
5070 * math/k_tanl.c: ...here.
5071 * sysdeps/generic/kill.c: Moved to...
5072 * signal/kill.c: ...here.
5073 * sysdeps/generic/killpg.c: Moved to...
5074 * signal/killpg.c: ...here.
5075 * sysdeps/generic/labs.c: Moved to...
5076 * stdlib/labs.c: ...here.
5077 * sysdeps/generic/lchmod.c: Moved to...
5078 * io/lchmod.c: ...here.
5079 * sysdeps/generic/lchown.c: Moved to...
5080 * io/lchown.c: ...here.
5081 * sysdeps/generic/ldbl2mpn.c: Moved to...
5082 * stdlib/ldbl2mpn.c: ...here.
5083 * sysdeps/generic/ldiv.c: Moved to...
5084 * stdlib/ldiv.c: ...here.
5085 * sysdeps/generic/lgetxattr.c: Moved to...
5086 * misc/lgetxattr.c: ...here.
5087 * sysdeps/generic/libc-start.c: Moved to...
5088 * csu/libc-start.c: ...here.
5089 * sysdeps/generic/libc-tls.c: Moved to...
5090 * csu/libc-tls.c: ...here.
5091 * sysdeps/generic/libc_fatal.c: Moved to...
5092 * libio/libc_fatal.c: ...here.
5093 * sysdeps/generic/link.c: Moved to...
5094 * io/link.c: ...here.
5095 * sysdeps/generic/lio_listio.c: Moved to...
5096 * rt/lio_listio.c: ...here.
5097 * sysdeps/generic/lio_listio64.c: Moved to...
5098 * rt/lio_listio64.c: ...here.
5099 * sysdeps/generic/listen.c: Moved to...
5100 * socket/listen.c: ...here.
5101 * sysdeps/generic/listxattr.c: Moved to...
5102 * misc/listxattr.c: ...here.
5103 * sysdeps/generic/llabs.c: Moved to...
5104 * stdlib/llabs.c: ...here.
5105 * sysdeps/generic/lldiv.c: Moved to...
5106 * stdlib/lldiv.c: ...here.
5107 * sysdeps/generic/llistxattr.c: Moved to...
5108 * misc/llistxattr.c: ...here.
5109 * sysdeps/generic/lockf.c: Moved to...
5110 * io/lockf.c: ...here.
5111 * sysdeps/generic/lockf64.c: Moved to...
5112 * io/lockf64.c: ...here.
5113 * sysdeps/generic/longjmp-ts.c: Moved to...
5114 * hurd/longjmp-ts.c: ...here.
5115 * sysdeps/generic/longjmp.c: Moved to...
5116 * setjmp/longjmp.c: ...here.
5117 * sysdeps/generic/lremovexattr.c: Moved to...
5118 * misc/lremovexattr.c: ...here.
5119 * sysdeps/generic/lseek.c: Moved to...
5120 * misc/lseek.c: ...here.
5121 * sysdeps/generic/lseek64.c: Moved to...
5122 * io/lseek64.c: ...here.
5123 * sysdeps/generic/lsetxattr.c: Moved to...
5124 * misc/lsetxattr.c: ...here.
5125 * sysdeps/generic/lshift.c: Moved to...
5126 * stdlib/lshift.c: ...here.
5127 * sysdeps/generic/lutimes.c: Moved to...
5128 * misc/lutimes.c: ...here.
5129 * sysdeps/generic/lxstat.c: Moved to...
5130 * io/lxstat.c: ...here.
5131 * sysdeps/generic/lxstat64.c: Moved to...
5132 * io/lxstat64.c: ...here.
5133 * sysdeps/generic/madvise.c: Moved to...
5134 * misc/madvise.c: ...here.
5135 * sysdeps/generic/makecontext.c: Moved to...
5136 * stdlib/makecontext.c: ...here.
5137 * sysdeps/generic/memccpy.c: Moved to...
5138 * string/memccpy.c: ...here.
5139 * sysdeps/generic/memchr.c: Moved to...
5140 * string/memchr.c: ...here.
5141 * sysdeps/generic/memcmp.c: Moved to...
5142 * string/memcmp.c: ...here.
5143 * sysdeps/generic/memcpy.c: Moved to...
5144 * string/memcpy.c: ...here.
5145 * sysdeps/generic/memcpy_chk.c: Moved to...
5146 * debug/memcpy_chk.c: ...here.
5147 * sysdeps/generic/memmem.c: Moved to...
5148 * string/memmem.c: ...here.
5149 * sysdeps/generic/memmove.c: Moved to...
5150 * string/memmove.c: ...here.
5151 * sysdeps/generic/memmove_chk.c: Moved to...
5152 * debug/memmove_chk.c: ...here.
5153 * sysdeps/generic/mempcpy.c: Moved to...
5154 * string/mempcpy.c: ...here.
5155 * sysdeps/generic/mempcpy_chk.c: Moved to...
5156 * debug/mempcpy_chk.c: ...here.
5157 * sysdeps/generic/memrchr.c: Moved to...
5158 * string/memrchr.c: ...here.
5159 * sysdeps/generic/memset.c: Moved to...
5160 * string/memset.c: ...here.
5161 * sysdeps/generic/memset_chk.c: Moved to...
5162 * debug/memset_chk.c: ...here.
5163 * sysdeps/generic/mig-reply.c: Moved to...
5164 * mach/mig-reply.c: ...here.
5165 * sysdeps/generic/mincore.c: Moved to...
5166 * misc/mincore.c: ...here.
5167 * sysdeps/generic/mkdir.c: Moved to...
5168 * io/mkdir.c: ...here.
5169 * sysdeps/generic/mkdirat.c: Moved to...
5170 * io/mkdirat.c: ...here.
5171 * sysdeps/generic/mkfifo.c: Moved to...
5172 * io/mkfifo.c: ...here.
5173 * sysdeps/generic/mkfifoat.c: Moved to...
5174 * io/mkfifoat.c: ...here.
5175 * sysdeps/generic/mknod.c: Moved to...
5176 * io/mknod.c: ...here.
5177 * sysdeps/generic/mknodat.c: Moved to...
5178 * io/mknodat.c: ...here.
5179 * sysdeps/generic/mlock.c: Moved to...
5180 * misc/mlock.c: ...here.
5181 * sysdeps/generic/mlockall.c: Moved to...
5182 * misc/mlockall.c: ...here.
5183 * sysdeps/generic/mmap.c: Moved to...
5184 * misc/mmap.c: ...here.
5185 * sysdeps/generic/mmap64.c: Moved to...
5186 * misc/mmap64.c: ...here.
5187 * sysdeps/generic/mod_1.c: Moved to...
5188 * stdlib/mod_1.c: ...here.
5189 * sysdeps/generic/morecore.c: Moved to...
5190 * malloc/morecore.c: ...here.
5191 * sysdeps/generic/mp_clz_tab.c: Moved to...
5192 * stdlib/mp_clz_tab.c: ...here.
5193 * sysdeps/generic/mpn2dbl.c: Moved to...
5194 * stdlib/mpn2dbl.c: ...here.
5195 * sysdeps/generic/mpn2flt.c: Moved to...
5196 * stdlib/mpn2flt.c: ...here.
5197 * sysdeps/generic/mpn2ldbl.c: Moved to...
5198 * stdlib/mpn2ldbl.c: ...here.
5199 * sysdeps/generic/mprotect.c: Moved to...
5200 * misc/mprotect.c: ...here.
5201 * sysdeps/generic/mq_close.c: Moved to...
5202 * rt/mq_close.c: ...here.
5203 * sysdeps/generic/mq_getattr.c: Moved to...
5204 * rt/mq_getattr.c: ...here.
5205 * sysdeps/generic/mq_notify.c: Moved to...
5206 * rt/mq_notify.c: ...here.
5207 * sysdeps/generic/mq_open.c: Moved to...
5208 * rt/mq_open.c: ...here.
5209 * sysdeps/generic/mq_receive.c: Moved to...
5210 * rt/mq_receive.c: ...here.
5211 * sysdeps/generic/mq_send.c: Moved to...
5212 * rt/mq_send.c: ...here.
5213 * sysdeps/generic/mq_setattr.c: Moved to...
5214 * rt/mq_setattr.c: ...here.
5215 * sysdeps/generic/mq_timedreceive.c: Moved to...
5216 * rt/mq_timedreceive.c: ...here.
5217 * sysdeps/generic/mq_timedsend.c: Moved to...
5218 * rt/mq_timedsend.c: ...here.
5219 * sysdeps/generic/mq_unlink.c: Moved to...
5220 * rt/mq_unlink.c: ...here.
5221 * sysdeps/generic/msgctl.c: Moved to...
5222 * sysvipc/msgctl.c: ...here.
5223 * sysdeps/generic/msgget.c: Moved to...
5224 * sysvipc/msgget.c: ...here.
5225 * sysdeps/generic/msgrcv.c: Moved to...
5226 * sysvipc/msgrcv.c: ...here.
5227 * sysdeps/generic/msgsnd.c: Moved to...
5228 * sysvipc/msgsnd.c: ...here.
5229 * sysdeps/generic/msync.c: Moved to...
5230 * misc/msync.c: ...here.
5231 * sysdeps/generic/mul.c: Moved to...
5232 * stdlib/mul.c: ...here.
5233 * sysdeps/generic/mul_1.c: Moved to...
5234 * stdlib/mul_1.c: ...here.
5235 * sysdeps/generic/mul_n.c: Moved to...
5236 * stdlib/mul_n.c: ...here.
5237 * sysdeps/generic/munlock.c: Moved to...
5238 * misc/munlock.c: ...here.
5239 * sysdeps/generic/munlockall.c: Moved to...
5240 * misc/munlockall.c: ...here.
5241 * sysdeps/generic/munmap.c: Moved to...
5242 * misc/munmap.c: ...here.
5243 * sysdeps/generic/nanosleep.c: Moved to...
5244 * posix/nanosleep.c: ...here.
5245 * sysdeps/generic/nice.c: Moved to...
5246 * resource/nice.c: ...here.
5247 * sysdeps/generic/nscd_setup_thread.c: Moved to...
5248 * nscd/nscd_setup_thread.c: ...here.
5249 * sysdeps/generic/open.c: Moved to...
5250 * io/open.c: ...here.
5251 * sysdeps/generic/open64.c: Moved to...
5252 * io/open64.c: ...here.
5253 * sysdeps/generic/openat.c: Moved to...
5254 * io/openat.c: ...here.
5255 * sysdeps/generic/openat64.c: Moved to...
5256 * io/openat64.c: ...here.
5257 * sysdeps/generic/opendir.c: Moved to...
5258 * dirent/opendir.c: ...here.
5259 * sysdeps/generic/opensock.c: Moved to...
5260 * socket/opensock.c: ...here.
5261 * sysdeps/generic/pathconf.c: Moved to...
5262 * posix/pathconf.c: ...here.
5263 * sysdeps/generic/pause.c: Moved to...
5264 * posix/pause.c: ...here.
5265 * sysdeps/generic/pipe.c: Moved to...
5266 * io/pipe.c: ...here.
5267 * sysdeps/generic/poll.c: Moved to...
5268 * io/poll.c: ...here.
5269 * sysdeps/generic/posix_fadvise.c: Moved to...
5270 * io/posix_fadvise.c: ...here.
5271 * sysdeps/generic/posix_fadvise64.c: Moved to...
5272 * io/posix_fadvise64.c: ...here.
5273 * sysdeps/generic/posix_fallocate.c: Moved to...
5274 * io/posix_fallocate.c: ...here.
5275 * sysdeps/generic/posix_fallocate64.c: Moved to...
5276 * io/posix_fallocate64.c: ...here.
5277 * sysdeps/generic/posix_madvise.c: Moved to...
5278 * posix/posix_madvise.c: ...here.
5279 * sysdeps/generic/pread.c: Moved to...
5280 * posix/pread.c: ...here.
5281 * sysdeps/generic/pread64.c: Moved to...
5282 * posix/pread64.c: ...here.
5283 * sysdeps/generic/printf_fphex.c: Moved to...
5284 * stdio-common/printf_fphex.c: ...here.
5285 * sysdeps/generic/prof-freq.c: Moved to...
5286 * gmon/prof-freq.c: ...here.
5287 * sysdeps/generic/profil.c: Moved to...
5288 * gmon/profil.c: ...here.
5289 * sysdeps/generic/pselect.c: Moved to...
5290 * misc/pselect.c: ...here.
5291 * sysdeps/generic/ptrace.c: Moved to...
5292 * misc/ptrace.c: ...here.
5293 * sysdeps/generic/ptsname.c: Moved to...
5294 * login/ptsname.c: ...here.
5295 * sysdeps/generic/putenv.c: Moved to...
5296 * stdlib/putenv.c: ...here.
5297 * sysdeps/generic/putmsg.c: Moved to...
5298 * streams/putmsg.c: ...here.
5299 * sysdeps/generic/putpmsg.c: Moved to...
5300 * streams/putpmsg.c: ...here.
5301 * sysdeps/generic/pututxline.c: Moved to...
5302 * login/pututxline.c: ...here.
5303 * sysdeps/generic/pwrite.c: Moved to...
5304 * posix/pwrite.c: ...here.
5305 * sysdeps/generic/pwrite64.c: Moved to...
5306 * posix/pwrite64.c: ...here.
5307 * sysdeps/generic/raise.c: Moved to...
5308 * signal/raise.c: ...here.
5309 * sysdeps/generic/rawmemchr.c: Moved to...
5310 * string/rawmemchr.c: ...here.
5311 * sysdeps/generic/read.c: Moved to...
5312 * io/read.c: ...here.
5313 * sysdeps/generic/readdir.c: Moved to...
5314 * dirent/readdir.c: ...here.
5315 * sysdeps/generic/readdir64.c: Moved to...
5316 * dirent/readdir64.c: ...here.
5317 * sysdeps/generic/readdir64_r.c: Moved to...
5318 * dirent/readdir64_r.c: ...here.
5319 * sysdeps/generic/readdir_r.c: Moved to...
5320 * dirent/readdir_r.c: ...here.
5321 * sysdeps/generic/readelflib.c: Moved to...
5322 * elf/readelflib.c: ...here.
5323 * sysdeps/generic/readlink.c: Moved to...
5324 * io/readlink.c: ...here.
5325 * sysdeps/generic/readonly-area.c: Moved to...
5326 * debug/readonly-area.c: ...here.
5327 * sysdeps/generic/readv.c: Moved to...
5328 * misc/readv.c: ...here.
5329 * sysdeps/generic/reboot.c: Moved to...
5330 * misc/reboot.c: ...here.
5331 * sysdeps/generic/recv.c: Moved to...
5332 * socket/recv.c: ...here.
5333 * sysdeps/generic/recvfrom.c: Moved to...
5334 * socket/recvfrom.c: ...here.
5335 * sysdeps/generic/recvmsg.c: Moved to...
5336 * socket/recvmsg.c: ...here.
5337 * sysdeps/generic/remap_file_pages.c: Moved to...
5338 * misc/remap_file_pages.c: ...here.
5339 * sysdeps/generic/remove.c: Moved to...
5340 * stdio-common/remove.c: ...here.
5341 * sysdeps/generic/removexattr.c: Moved to...
5342 * misc/removexattr.c: ...here.
5343 * sysdeps/generic/rename.c: Moved to...
5344 * stdio-common/rename.c: ...here.
5345 * sysdeps/generic/renameat.c: Moved to...
5346 * stdio-common/renameat.c: ...here.
5347 * sysdeps/generic/res-state.c: Moved to...
5348 * resolv/res-state.c: ...here.
5349 * sysdeps/generic/revoke.c: Moved to...
5350 * misc/revoke.c: ...here.
5351 * sysdeps/generic/rewinddir.c: Moved to...
5352 * dirent/rewinddir.c: ...here.
5353 * sysdeps/generic/rmdir.c: Moved to...
5354 * io/rmdir.c: ...here.
5355 * sysdeps/generic/rshift.c: Moved to...
5356 * stdlib/rshift.c: ...here.
5357 * sysdeps/generic/s_asinhl.c: Moved to...
5358 * math/s_asinhl.c: ...here.
5359 * sysdeps/generic/s_atanl.c: Moved to...
5360 * math/s_atanl.c: ...here.
5361 * sysdeps/generic/s_cacos.c: Moved to...
5362 * math/s_cacos.c: ...here.
5363 * sysdeps/generic/s_cacosf.c: Moved to...
5364 * math/s_cacosf.c: ...here.
5365 * sysdeps/generic/s_cacosh.c: Moved to...
5366 * math/s_cacosh.c: ...here.
5367 * sysdeps/generic/s_cacoshf.c: Moved to...
5368 * math/s_cacoshf.c: ...here.
5369 * sysdeps/generic/s_cacoshl.c: Moved to...
5370 * math/s_cacoshl.c: ...here.
5371 * sysdeps/generic/s_cacosl.c: Moved to...
5372 * math/s_cacosl.c: ...here.
5373 * sysdeps/generic/s_casin.c: Moved to...
5374 * math/s_casin.c: ...here.
5375 * sysdeps/generic/s_casinf.c: Moved to...
5376 * math/s_casinf.c: ...here.
5377 * sysdeps/generic/s_casinh.c: Moved to...
5378 * math/s_casinh.c: ...here.
5379 * sysdeps/generic/s_casinhf.c: Moved to...
5380 * math/s_casinhf.c: ...here.
5381 * sysdeps/generic/s_casinhl.c: Moved to...
5382 * math/s_casinhl.c: ...here.
5383 * sysdeps/generic/s_casinl.c: Moved to...
5384 * math/s_casinl.c: ...here.
5385 * sysdeps/generic/s_catan.c: Moved to...
5386 * math/s_catan.c: ...here.
5387 * sysdeps/generic/s_catanf.c: Moved to...
5388 * math/s_catanf.c: ...here.
5389 * sysdeps/generic/s_catanh.c: Moved to...
5390 * math/s_catanh.c: ...here.
5391 * sysdeps/generic/s_catanhf.c: Moved to...
5392 * math/s_catanhf.c: ...here.
5393 * sysdeps/generic/s_catanhl.c: Moved to...
5394 * math/s_catanhl.c: ...here.
5395 * sysdeps/generic/s_catanl.c: Moved to...
5396 * math/s_catanl.c: ...here.
5397 * sysdeps/generic/s_cbrtl.c: Moved to...
5398 * math/s_cbrtl.c: ...here.
5399 * sysdeps/generic/s_ccos.c: Moved to...
5400 * math/s_ccos.c: ...here.
5401 * sysdeps/generic/s_ccosf.c: Moved to...
5402 * math/s_ccosf.c: ...here.
5403 * sysdeps/generic/s_ccosh.c: Moved to...
5404 * math/s_ccosh.c: ...here.
5405 * sysdeps/generic/s_ccoshf.c: Moved to...
5406 * math/s_ccoshf.c: ...here.
5407 * sysdeps/generic/s_ccoshl.c: Moved to...
5408 * math/s_ccoshl.c: ...here.
5409 * sysdeps/generic/s_ccosl.c: Moved to...
5410 * math/s_ccosl.c: ...here.
5411 * sysdeps/generic/s_cexp.c: Moved to...
5412 * math/s_cexp.c: ...here.
5413 * sysdeps/generic/s_cexpf.c: Moved to...
5414 * math/s_cexpf.c: ...here.
5415 * sysdeps/generic/s_cexpl.c: Moved to...
5416 * math/s_cexpl.c: ...here.
5417 * sysdeps/generic/s_clog.c: Moved to...
5418 * math/s_clog.c: ...here.
5419 * sysdeps/generic/s_clog10.c: Moved to...
5420 * math/s_clog10.c: ...here.
5421 * sysdeps/generic/s_clog10f.c: Moved to...
5422 * math/s_clog10f.c: ...here.
5423 * sysdeps/generic/s_clog10l.c: Moved to...
5424 * math/s_clog10l.c: ...here.
5425 * sysdeps/generic/s_clogf.c: Moved to...
5426 * math/s_clogf.c: ...here.
5427 * sysdeps/generic/s_clogl.c: Moved to...
5428 * math/s_clogl.c: ...here.
5429 * sysdeps/generic/s_cpow.c: Moved to...
5430 * math/s_cpow.c: ...here.
5431 * sysdeps/generic/s_cpowf.c: Moved to...
5432 * math/s_cpowf.c: ...here.
5433 * sysdeps/generic/s_cpowl.c: Moved to...
5434 * math/s_cpowl.c: ...here.
5435 * sysdeps/generic/s_cproj.c: Moved to...
5436 * math/s_cproj.c: ...here.
5437 * sysdeps/generic/s_cprojf.c: Moved to...
5438 * math/s_cprojf.c: ...here.
5439 * sysdeps/generic/s_cprojl.c: Moved to...
5440 * math/s_cprojl.c: ...here.
5441 * sysdeps/generic/s_csin.c: Moved to...
5442 * math/s_csin.c: ...here.
5443 * sysdeps/generic/s_csinf.c: Moved to...
5444 * math/s_csinf.c: ...here.
5445 * sysdeps/generic/s_csinh.c: Moved to...
5446 * math/s_csinh.c: ...here.
5447 * sysdeps/generic/s_csinhf.c: Moved to...
5448 * math/s_csinhf.c: ...here.
5449 * sysdeps/generic/s_csinhl.c: Moved to...
5450 * math/s_csinhl.c: ...here.
5451 * sysdeps/generic/s_csinl.c: Moved to...
5452 * math/s_csinl.c: ...here.
5453 * sysdeps/generic/s_csqrt.c: Moved to...
5454 * math/s_csqrt.c: ...here.
5455 * sysdeps/generic/s_csqrtf.c: Moved to...
5456 * math/s_csqrtf.c: ...here.
5457 * sysdeps/generic/s_csqrtl.c: Moved to...
5458 * math/s_csqrtl.c: ...here.
5459 * sysdeps/generic/s_ctan.c: Moved to...
5460 * math/s_ctan.c: ...here.
5461 * sysdeps/generic/s_ctanf.c: Moved to...
5462 * math/s_ctanf.c: ...here.
5463 * sysdeps/generic/s_ctanh.c: Moved to...
5464 * math/s_ctanh.c: ...here.
5465 * sysdeps/generic/s_ctanhf.c: Moved to...
5466 * math/s_ctanhf.c: ...here.
5467 * sysdeps/generic/s_ctanhl.c: Moved to...
5468 * math/s_ctanhl.c: ...here.
5469 * sysdeps/generic/s_ctanl.c: Moved to...
5470 * math/s_ctanl.c: ...here.
5471 * sysdeps/generic/s_erfl.c: Moved to...
5472 * math/s_erfl.c: ...here.
5473 * sysdeps/generic/s_expm1l.c: Moved to...
5474 * math/s_expm1l.c: ...here.
5475 * sysdeps/generic/s_fdim.c: Moved to...
5476 * math/s_fdim.c: ...here.
5477 * sysdeps/generic/s_fdimf.c: Moved to...
5478 * math/s_fdimf.c: ...here.
5479 * sysdeps/generic/s_fdiml.c: Moved to...
5480 * math/s_fdiml.c: ...here.
5481 * sysdeps/generic/s_fma.c: Moved to...
5482 * math/s_fma.c: ...here.
5483 * sysdeps/generic/s_fmaf.c: Moved to...
5484 * math/s_fmaf.c: ...here.
5485 * sysdeps/generic/s_fmal.c: Moved to...
5486 * math/s_fmal.c: ...here.
5487 * sysdeps/generic/s_fmax.c: Moved to...
5488 * math/s_fmax.c: ...here.
5489 * sysdeps/generic/s_fmaxf.c: Moved to...
5490 * math/s_fmaxf.c: ...here.
5491 * sysdeps/generic/s_fmaxl.c: Moved to...
5492 * math/s_fmaxl.c: ...here.
5493 * sysdeps/generic/s_fmin.c: Moved to...
5494 * math/s_fmin.c: ...here.
5495 * sysdeps/generic/s_fminf.c: Moved to...
5496 * math/s_fminf.c: ...here.
5497 * sysdeps/generic/s_fminl.c: Moved to...
5498 * math/s_fminl.c: ...here.
5499 * sysdeps/generic/s_ldexp.c: Moved to...
5500 * math/s_ldexp.c: ...here.
5501 * sysdeps/generic/s_ldexpf.c: Moved to...
5502 * math/s_ldexpf.c: ...here.
5503 * sysdeps/generic/s_ldexpl.c: Moved to...
5504 * math/s_ldexpl.c: ...here.
5505 * sysdeps/generic/s_log1pl.c: Moved to...
5506 * math/s_log1pl.c: ...here.
5507 * sysdeps/generic/s_nan.c: Moved to...
5508 * math/s_nan.c: ...here.
5509 * sysdeps/generic/s_nanf.c: Moved to...
5510 * math/s_nanf.c: ...here.
5511 * sysdeps/generic/s_nanl.c: Moved to...
5512 * math/s_nanl.c: ...here.
5513 * sysdeps/generic/s_nextafter.c: Moved to...
5514 * math/s_nextafter.c: ...here.
5515 * sysdeps/generic/s_nexttowardf.c: Moved to...
5516 * math/s_nexttowardf.c: ...here.
5517 * sysdeps/generic/s_nexttowardl.c: Moved to...
5518 * math/s_nexttowardl.c: ...here.
5519 * sysdeps/generic/s_significand.c: Moved to...
5520 * math/s_significand.c: ...here.
5521 * sysdeps/generic/s_significandf.c: Moved to...
5522 * math/s_significandf.c: ...here.
5523 * sysdeps/generic/s_significandl.c: Moved to...
5524 * math/s_significandl.c: ...here.
5525 * sysdeps/generic/s_tanhl.c: Moved to...
5526 * math/s_tanhl.c: ...here.
5527 * sysdeps/generic/sbrk.c: Moved to...
5528 * misc/sbrk.c: ...here.
5529 * sysdeps/generic/scandir64.c: Moved to...
5530 * dirent/scandir64.c: ...here.
5531 * sysdeps/generic/sched_getaffinity.c: Moved to...
5532 * posix/sched_getaffinity.c: ...here.
5533 * sysdeps/generic/sched_getp.c: Moved to...
5534 * posix/sched_getp.c: ...here.
5535 * sysdeps/generic/sched_gets.c: Moved to...
5536 * posix/sched_gets.c: ...here.
5537 * sysdeps/generic/sched_primax.c: Moved to...
5538 * posix/sched_primax.c: ...here.
5539 * sysdeps/generic/sched_primin.c: Moved to...
5540 * posix/sched_primin.c: ...here.
5541 * sysdeps/generic/sched_rr_gi.c: Moved to...
5542 * posix/sched_rr_gi.c: ...here.
5543 * sysdeps/generic/sched_setaffinity.c: Moved to...
5544 * posix/sched_setaffinity.c: ...here.
5545 * sysdeps/generic/sched_setp.c: Moved to...
5546 * posix/sched_setp.c: ...here.
5547 * sysdeps/generic/sched_sets.c: Moved to...
5548 * posix/sched_sets.c: ...here.
5549 * sysdeps/generic/sched_yield.c: Moved to...
5550 * posix/sched_yield.c: ...here.
5551 * sysdeps/generic/seekdir.c: Moved to...
5552 * dirent/seekdir.c: ...here.
5553 * sysdeps/generic/segfault.c: Moved to...
5554 * debug/segfault.c: ...here.
5555 * sysdeps/generic/select.c: Moved to...
5556 * misc/select.c: ...here.
5557 * sysdeps/generic/semctl.c: Moved to...
5558 * sysvipc/semctl.c: ...here.
5559 * sysdeps/generic/semget.c: Moved to...
5560 * sysvipc/semget.c: ...here.
5561 * sysdeps/generic/semop.c: Moved to...
5562 * sysvipc/semop.c: ...here.
5563 * sysdeps/generic/semtimedop.c: Moved to...
5564 * sysvipc/semtimedop.c: ...here.
5565 * sysdeps/generic/send.c: Moved to...
5566 * socket/send.c: ...here.
5567 * sysdeps/generic/sendfile.c: Moved to...
5568 * io/sendfile.c: ...here.
5569 * sysdeps/generic/sendfile64.c: Moved to...
5570 * io/sendfile64.c: ...here.
5571 * sysdeps/generic/sendmsg.c: Moved to...
5572 * socket/sendmsg.c: ...here.
5573 * sysdeps/generic/sendto.c: Moved to...
5574 * socket/sendto.c: ...here.
5575 * sysdeps/generic/setcontext.c: Moved to...
5576 * stdlib/setcontext.c: ...here.
5577 * sysdeps/generic/setdomain.c: Moved to...
5578 * misc/setdomain.c: ...here.
5579 * sysdeps/generic/setegid.c: Moved to...
5580 * misc/setegid.c: ...here.
5581 * sysdeps/generic/setenv.c: Moved to...
5582 * stdlib/setenv.c: ...here.
5583 * sysdeps/generic/seteuid.c: Moved to...
5584 * misc/seteuid.c: ...here.
5585 * sysdeps/generic/setfpucw.c: Moved to...
5586 * math/setfpucw.c: ...here.
5587 * sysdeps/generic/setgid.c: Moved to...
5588 * posix/setgid.c: ...here.
5589 * sysdeps/generic/setgroups.c: Moved to...
5590 * grp/setgroups.c: ...here.
5591 * sysdeps/generic/sethostid.c: Moved to...
5592 * misc/sethostid.c: ...here.
5593 * sysdeps/generic/sethostname.c: Moved to...
5594 * misc/sethostname.c: ...here.
5595 * sysdeps/generic/setipv4sourcefilter.c: Moved to...
5596 * inet/setipv4sourcefilter.c: ...here.
5597 * sysdeps/generic/setitimer.c: Moved to...
5598 * time/setitimer.c: ...here.
5599 * sysdeps/generic/setjmp.c: Moved to...
5600 * setjmp/setjmp.c: ...here.
5601 * sysdeps/generic/setlogin.c: Moved to...
5602 * posix/setlogin.c: ...here.
5603 * sysdeps/generic/setpgid.c: Moved to...
5604 * posix/setpgid.c: ...here.
5605 * sysdeps/generic/setpgrp.c: Moved to...
5606 * posix/setpgrp.c: ...here.
5607 * sysdeps/generic/setpriority.c: Moved to...
5608 * resource/setpriority.c: ...here.
5609 * sysdeps/generic/setregid.c: Moved to...
5610 * misc/setregid.c: ...here.
5611 * sysdeps/generic/setresgid.c: Moved to...
5612 * posix/setresgid.c: ...here.
5613 * sysdeps/generic/setresuid.c: Moved to...
5614 * posix/setresuid.c: ...here.
5615 * sysdeps/generic/setreuid.c: Moved to...
5616 * misc/setreuid.c: ...here.
5617 * sysdeps/generic/setrlimit.c: Moved to...
5618 * resource/setrlimit.c: ...here.
5619 * sysdeps/generic/setrlimit64.c: Moved to...
5620 * resource/setrlimit64.c: ...here.
5621 * sysdeps/generic/setsid.c: Moved to...
5622 * posix/setsid.c: ...here.
5623 * sysdeps/generic/setsockopt.c: Moved to...
5624 * socket/setsockopt.c: ...here.
5625 * sysdeps/generic/setsourcefilter.c: Moved to...
5626 * inet/setsourcefilter.c: ...here.
5627 * sysdeps/generic/settimeofday.c: Moved to...
5628 * time/settimeofday.c: ...here.
5629 * sysdeps/generic/setuid.c: Moved to...
5630 * posix/setuid.c: ...here.
5631 * sysdeps/generic/setutxent.c: Moved to...
5632 * login/setutxent.c: ...here.
5633 * sysdeps/generic/setxattr.c: Moved to...
5634 * misc/setxattr.c: ...here.
5635 * sysdeps/generic/shm_open.c: Moved to...
5636 * rt/shm_open.c: ...here.
5637 * sysdeps/generic/shm_unlink.c: Moved to...
5638 * rt/shm_unlink.c: ...here.
5639 * sysdeps/generic/shmat.c: Moved to...
5640 * sysvipc/shmat.c: ...here.
5641 * sysdeps/generic/shmctl.c: Moved to...
5642 * sysvipc/shmctl.c: ...here.
5643 * sysdeps/generic/shmdt.c: Moved to...
5644 * sysvipc/shmdt.c: ...here.
5645 * sysdeps/generic/shmget.c: Moved to...
5646 * sysvipc/shmget.c: ...here.
5647 * sysdeps/generic/shutdown.c: Moved to...
5648 * socket/shutdown.c: ...here.
5649 * sysdeps/generic/sigaction.c: Moved to...
5650 * signal/sigaction.c: ...here.
5651 * sysdeps/generic/sigaltstack.c: Moved to...
5652 * signal/sigaltstack.c: ...here.
5653 * sysdeps/generic/sigblock.c: Moved to...
5654 * signal/sigblock.c: ...here.
5655 * sysdeps/generic/sigfillset.c: Moved to...
5656 * signal/sigfillset.c: ...here.
5657 * sysdeps/generic/sigignore.c: Moved to...
5658 * signal/sigignore.c: ...here.
5659 * sysdeps/generic/sigintr.c: Moved to...
5660 * signal/sigintr.c: ...here.
5661 * sysdeps/generic/sigjmp.c: Moved to...
5662 * setjmp/sigjmp.c: ...here.
5663 * sysdeps/generic/siglist.c: Moved to...
5664 * stdio-common/siglist.c: ...here.
5665 * sysdeps/generic/signal.c: Moved to...
5666 * signal/signal.c: ...here.
5667 * sysdeps/generic/sigpause.c: Moved to...
5668 * signal/sigpause.c: ...here.
5669 * sysdeps/generic/sigpending.c: Moved to...
5670 * signal/sigpending.c: ...here.
5671 * sysdeps/generic/sigprocmask.c: Moved to...
5672 * signal/sigprocmask.c: ...here.
5673 * sysdeps/generic/sigqueue.c: Moved to...
5674 * signal/sigqueue.c: ...here.
5675 * sysdeps/generic/sigreturn.c: Moved to...
5676 * signal/sigreturn.c: ...here.
5677 * sysdeps/generic/sigset.c: Moved to...
5678 * signal/sigset.c: ...here.
5679 * sysdeps/generic/sigsetmask.c: Moved to...
5680 * signal/sigsetmask.c: ...here.
5681 * sysdeps/generic/sigstack.c: Moved to...
5682 * signal/sigstack.c: ...here.
5683 * sysdeps/generic/sigsuspend.c: Moved to...
5684 * signal/sigsuspend.c: ...here.
5685 * sysdeps/generic/sigtimedwait.c: Moved to...
5686 * signal/sigtimedwait.c: ...here.
5687 * sysdeps/generic/sigvec.c: Moved to...
5688 * signal/sigvec.c: ...here.
5689 * sysdeps/generic/sigwait.c: Moved to...
5690 * signal/sigwait.c: ...here.
5691 * sysdeps/generic/sigwaitinfo.c: Moved to...
5692 * signal/sigwaitinfo.c: ...here.
5693 * sysdeps/generic/sleep.c: Moved to...
5694 * posix/sleep.c: ...here.
5695 * sysdeps/generic/sockatmark.c: Moved to...
5696 * socket/sockatmark.c: ...here.
5697 * sysdeps/generic/socket.c: Moved to...
5698 * socket/socket.c: ...here.
5699 * sysdeps/generic/socketpair.c: Moved to...
5700 * socket/socketpair.c: ...here.
5701 * sysdeps/generic/spawni.c: Moved to...
5702 * posix/spawni.c: ...here.
5703 * sysdeps/generic/speed.c: Moved to...
5704 * termios/speed.c: ...here.
5705 * sysdeps/generic/sprofil.c: Moved to...
5706 * gmon/sprofil.c: ...here.
5707 * sysdeps/generic/sstk.c: Moved to...
5708 * misc/sstk.c: ...here.
5709 * sysdeps/generic/start.c: Moved to...
5710 * csu/start.c: ...here.
5711 * sysdeps/generic/statfs.c: Moved to...
5712 * io/statfs.c: ...here.
5713 * sysdeps/generic/statfs64.c: Moved to...
5714 * io/statfs64.c: ...here.
5715 * sysdeps/generic/statvfs.c: Moved to...
5716 * io/statvfs.c: ...here.
5717 * sysdeps/generic/statvfs64.c: Moved to...
5718 * io/statvfs64.c: ...here.
5719 * sysdeps/generic/stime.c: Moved to...
5720 * time/stime.c: ...here.
5721 * sysdeps/generic/stpcpy.c: Moved to...
5722 * string/stpcpy.c: ...here.
5723 * sysdeps/generic/stpcpy_chk.c: Moved to...
5724 * debug/stpcpy_chk.c: ...here.
5725 * sysdeps/generic/stpncpy.c: Moved to...
5726 * string/stpncpy.c: ...here.
5727 * sysdeps/generic/stpncpy_chk.c: Moved to...
5728 * debug/stpncpy_chk.c: ...here.
5729 * sysdeps/generic/strcasecmp.c: Moved to...
5730 * string/strcasecmp.c: ...here.
5731 * sysdeps/generic/strcasecmp_l.c: Moved to...
5732 * string/strcasecmp_l.c: ...here.
5733 * sysdeps/generic/strcasestr.c: Moved to...
5734 * string/strcasestr.c: ...here.
5735 * sysdeps/generic/strcat.c: Moved to...
5736 * string/strcat.c: ...here.
5737 * sysdeps/generic/strcat_chk.c: Moved to...
5738 * debug/strcat_chk.c: ...here.
5739 * sysdeps/generic/strchr.c: Moved to...
5740 * string/strchr.c: ...here.
5741 * sysdeps/generic/strchrnul.c: Moved to...
5742 * string/strchrnul.c: ...here.
5743 * sysdeps/generic/strcmp.c: Moved to...
5744 * string/strcmp.c: ...here.
5745 * sysdeps/generic/strcpy.c: Moved to...
5746 * string/strcpy.c: ...here.
5747 * sysdeps/generic/strcpy_chk.c: Moved to...
5748 * debug/strcpy_chk.c: ...here.
5749 * sysdeps/generic/strcspn.c: Moved to...
5750 * string/strcspn.c: ...here.
5751 * sysdeps/generic/string-inlines.c: Moved to...
5752 * string/string-inlines.c: ...here.
5753 * sysdeps/generic/strlen.c: Moved to...
5754 * string/strlen.c: ...here.
5755 * sysdeps/generic/strncase.c: Moved to...
5756 * string/strncase.c: ...here.
5757 * sysdeps/generic/strncase_l.c: Moved to...
5758 * string/strncase_l.c: ...here.
5759 * sysdeps/generic/strncat.c: Moved to...
5760 * string/strncat.c: ...here.
5761 * sysdeps/generic/strncat_chk.c: Moved to...
5762 * debug/strncat_chk.c: ...here.
5763 * sysdeps/generic/strncmp.c: Moved to...
5764 * string/strncmp.c: ...here.
5765 * sysdeps/generic/strncpy.c: Moved to...
5766 * string/strncpy.c: ...here.
5767 * sysdeps/generic/strncpy_chk.c: Moved to...
5768 * debug/strncpy_chk.c: ...here.
5769 * sysdeps/generic/strnlen.c: Moved to...
5770 * string/strnlen.c: ...here.
5771 * sysdeps/generic/strpbrk.c: Moved to...
5772 * string/strpbrk.c: ...here.
5773 * sysdeps/generic/strrchr.c: Moved to...
5774 * string/strrchr.c: ...here.
5775 * sysdeps/generic/strsep.c: Moved to...
5776 * string/strsep.c: ...here.
5777 * sysdeps/generic/strspn.c: Moved to...
5778 * string/strspn.c: ...here.
5779 * sysdeps/generic/strstr.c: Moved to...
5780 * string/strstr.c: ...here.
5781 * sysdeps/generic/strtoimax.c: Moved to...
5782 * stdlib/strtoimax.c: ...here.
5783 * sysdeps/generic/strtok.c: Moved to...
5784 * string/strtok.c: ...here.
5785 * sysdeps/generic/strtok_r.c: Moved to...
5786 * string/strtok_r.c: ...here.
5787 * sysdeps/generic/strtol.c: Moved to...
5788 * stdlib/strtol.c: ...here.
5789 * sysdeps/generic/strtol_l.c: Moved to...
5790 * stdlib/strtol_l.c: ...here.
5791 * sysdeps/generic/strtold_l.c: Moved to...
5792 * stdlib/strtold_l.c: ...here.
5793 * sysdeps/generic/strtoll.c: Moved to...
5794 * stdlib/strtoll.c: ...here.
5795 * sysdeps/generic/strtoll_l.c: Moved to...
5796 * stdlib/strtoll_l.c: ...here.
5797 * sysdeps/generic/strtoul.c: Moved to...
5798 * stdlib/strtoul.c: ...here.
5799 * sysdeps/generic/strtoul_l.c: Moved to...
5800 * stdlib/strtoul_l.c: ...here.
5801 * sysdeps/generic/strtoull.c: Moved to...
5802 * stdlib/strtoull.c: ...here.
5803 * sysdeps/generic/strtoull_l.c: Moved to...
5804 * stdlib/strtoull_l.c: ...here.
5805 * sysdeps/generic/strtoumax.c: Moved to...
5806 * stdlib/strtoumax.c: ...here.
5807 * sysdeps/generic/strtsupp.c: Moved to...
5808 * bare/strtsupp.c: ...here.
5809 * sysdeps/generic/stty.c: Moved to...
5810 * misc/stty.c: ...here.
5811 * sysdeps/generic/sub_n.c: Moved to...
5812 * stdlib/sub_n.c: ...here.
5813 * sysdeps/generic/submul_1.c: Moved to...
5814 * stdlib/submul_1.c: ...here.
5815 * sysdeps/generic/swapcontext.c: Moved to...
5816 * stdlib/swapcontext.c: ...here.
5817 * sysdeps/generic/swapoff.c: Moved to...
5818 * misc/swapoff.c: ...here.
5819 * sysdeps/generic/swapon.c: Moved to...
5820 * misc/swapon.c: ...here.
5821 * sysdeps/generic/symlink.c: Moved to...
5822 * io/symlink.c: ...here.
5823 * sysdeps/generic/sync.c: Moved to...
5824 * misc/sync.c: ...here.
5825 * sysdeps/generic/syscall.c: Moved to...
5826 * misc/syscall.c: ...here.
5827 * sysdeps/generic/sysconf.c: Moved to...
5828 * posix/sysconf.c: ...here.
5829 * sysdeps/generic/sysdep.c: Moved to...
5830 * csu/sysdep.c: ...here.
5831 * sysdeps/generic/syslog.c: Moved to...
5832 * misc/syslog.c: ...here.
5833 * sysdeps/generic/system.c: Moved to...
5834 * stdlib/system.c: ...here.
5835 * sysdeps/generic/sysv_signal.c: Moved to...
5836 * signal/sysv_signal.c: ...here.
5837 * sysdeps/generic/t_sincosl.c: Moved to...
5838 * math/t_sincosl.c: ...here.
5839 * sysdeps/generic/tcdrain.c: Moved to...
5840 * termios/tcdrain.c: ...here.
5841 * sysdeps/generic/tcflow.c: Moved to...
5842 * termios/tcflow.c: ...here.
5843 * sysdeps/generic/tcflush.c: Moved to...
5844 * termios/tcflush.c: ...here.
5845 * sysdeps/generic/tcgetattr.c: Moved to...
5846 * termios/tcgetattr.c: ...here.
5847 * sysdeps/generic/tcgetpgrp.c: Moved to...
5848 * termios/tcgetpgrp.c: ...here.
5849 * sysdeps/generic/tcsendbrk.c: Moved to...
5850 * termios/tcsendbrk.c: ...here.
5851 * sysdeps/generic/tcsetattr.c: Moved to...
5852 * termios/tcsetattr.c: ...here.
5853 * sysdeps/generic/tcsetpgrp.c: Moved to...
5854 * termios/tcsetpgrp.c: ...here.
5855 * sysdeps/generic/telldir.c: Moved to...
5856 * dirent/telldir.c: ...here.
5857 * sysdeps/generic/tempname.c: Moved to...
5858 * stdio-common/tempname.c: ...here.
5859 * sysdeps/generic/time.c: Moved to...
5860 * time/time.c: ...here.
5861 * sysdeps/generic/timer_create.c: Moved to...
5862 * rt/timer_create.c: ...here.
5863 * sysdeps/generic/timer_delete.c: Moved to...
5864 * rt/timer_delete.c: ...here.
5865 * sysdeps/generic/timer_getoverr.c: Moved to...
5866 * rt/timer_getoverr.c: ...here.
5867 * sysdeps/generic/timer_gettime.c: Moved to...
5868 * rt/timer_gettime.c: ...here.
5869 * sysdeps/generic/timer_settime.c: Moved to...
5870 * rt/timer_settime.c: ...here.
5871 * sysdeps/generic/times.c: Moved to...
5872 * posix/times.c: ...here.
5873 * sysdeps/generic/tmpfile.c: Moved to...
5874 * stdio-common/tmpfile.c: ...here.
5875 * sysdeps/generic/tmpfile64.c: Moved to...
5876 * stdio-common/tmpfile64.c: ...here.
5877 * sysdeps/generic/trampoline.c: Moved to...
5878 * hurd/trampoline.c: ...here.
5879 * sysdeps/generic/truncate.c: Moved to...
5880 * misc/truncate.c: ...here.
5881 * sysdeps/generic/truncate64.c: Moved to...
5882 * misc/truncate64.c: ...here.
5883 * sysdeps/generic/tst-timer.c: Moved to...
5884 * rt/tst-timer.c: ...here.
5885 * sysdeps/generic/ttyname.c: Moved to...
5886 * io/ttyname.c: ...here.
5887 * sysdeps/generic/ttyname_r.c: Moved to...
5888 * io/ttyname_r.c: ...here.
5889 * sysdeps/generic/ualarm.c: Moved to...
5890 * misc/ualarm.c: ...here.
5891 * sysdeps/generic/udiv_qrnnd.c: Moved to...
5892 * stdlib/udiv_qrnnd.c: ...here.
5893 * sysdeps/generic/ulimit.c: Moved to...
5894 * resource/ulimit.c: ...here.
5895 * sysdeps/generic/umask.c: Moved to...
5896 * io/umask.c: ...here.
5897 * sysdeps/generic/uname.c: Moved to...
5898 * posix/uname.c: ...here.
5899 * sysdeps/generic/unlink.c: Moved to...
5900 * io/unlink.c: ...here.
5901 * sysdeps/generic/unlinkat.c: Moved to...
5902 * io/unlinkat.c: ...here.
5903 * sysdeps/generic/unlockpt.c: Moved to...
5904 * login/unlockpt.c: ...here.
5905 * sysdeps/generic/updwtmp.c: Moved to...
5906 * login/updwtmp.c: ...here.
5907 * sysdeps/generic/updwtmpx.c: Moved to...
5908 * login/updwtmpx.c: ...here.
5909 * sysdeps/generic/usleep.c: Moved to...
5910 * misc/usleep.c: ...here.
5911 * sysdeps/generic/ustat.c: Moved to...
5912 * misc/ustat.c: ...here.
5913 * sysdeps/generic/utime.c: Moved to...
5914 * io/utime.c: ...here.
5915 * sysdeps/generic/utimes.c: Moved to...
5916 * misc/utimes.c: ...here.
5917 * sysdeps/generic/utmp_file.c: Moved to...
5918 * login/utmp_file.c: ...here.
5919 * sysdeps/generic/utmpxname.c: Moved to...
5920 * login/utmpxname.c: ...here.
5921 * sysdeps/generic/versionsort64.c: Moved to...
5922 * dirent/versionsort64.c: ...here.
5923 * sysdeps/generic/vfork.c: Moved to...
5924 * posix/vfork.c: ...here.
5925 * sysdeps/generic/vhangup.c: Moved to...
5926 * misc/vhangup.c: ...here.
5927 * sysdeps/generic/vlimit.c: Moved to...
5928 * resource/vlimit.c: ...here.
5929 * sysdeps/generic/vtimes.c: Moved to...
5930 * resource/vtimes.c: ...here.
5931 * sysdeps/generic/w_acos.c: Moved to...
5932 * math/w_acos.c: ...here.
5933 * sysdeps/generic/w_acosf.c: Moved to...
5934 * math/w_acosf.c: ...here.
5935 * sysdeps/generic/w_acosh.c: Moved to...
5936 * math/w_acosh.c: ...here.
5937 * sysdeps/generic/w_acoshf.c: Moved to...
5938 * math/w_acoshf.c: ...here.
5939 * sysdeps/generic/w_acoshl.c: Moved to...
5940 * math/w_acoshl.c: ...here.
5941 * sysdeps/generic/w_acosl.c: Moved to...
5942 * math/w_acosl.c: ...here.
5943 * sysdeps/generic/w_asin.c: Moved to...
5944 * math/w_asin.c: ...here.
5945 * sysdeps/generic/w_asinf.c: Moved to...
5946 * math/w_asinf.c: ...here.
5947 * sysdeps/generic/w_asinl.c: Moved to...
5948 * math/w_asinl.c: ...here.
5949 * sysdeps/generic/w_atan2.c: Moved to...
5950 * math/w_atan2.c: ...here.
5951 * sysdeps/generic/w_atan2f.c: Moved to...
5952 * math/w_atan2f.c: ...here.
5953 * sysdeps/generic/w_atan2l.c: Moved to...
5954 * math/w_atan2l.c: ...here.
5955 * sysdeps/generic/w_atanh.c: Moved to...
5956 * math/w_atanh.c: ...here.
5957 * sysdeps/generic/w_atanhf.c: Moved to...
5958 * math/w_atanhf.c: ...here.
5959 * sysdeps/generic/w_atanhl.c: Moved to...
5960 * math/w_atanhl.c: ...here.
5961 * sysdeps/generic/w_cosh.c: Moved to...
5962 * math/w_cosh.c: ...here.
5963 * sysdeps/generic/w_coshf.c: Moved to...
5964 * math/w_coshf.c: ...here.
5965 * sysdeps/generic/w_coshl.c: Moved to...
5966 * math/w_coshl.c: ...here.
5967 * sysdeps/generic/w_drem.c: Moved to...
5968 * math/w_drem.c: ...here.
5969 * sysdeps/generic/w_dremf.c: Moved to...
5970 * math/w_dremf.c: ...here.
5971 * sysdeps/generic/w_dreml.c: Moved to...
5972 * math/w_dreml.c: ...here.
5973 * sysdeps/generic/w_exp10.c: Moved to...
5974 * math/w_exp10.c: ...here.
5975 * sysdeps/generic/w_exp10f.c: Moved to...
5976 * math/w_exp10f.c: ...here.
5977 * sysdeps/generic/w_exp10l.c: Moved to...
5978 * math/w_exp10l.c: ...here.
5979 * sysdeps/generic/w_exp2.c: Moved to...
5980 * math/w_exp2.c: ...here.
5981 * sysdeps/generic/w_exp2f.c: Moved to...
5982 * math/w_exp2f.c: ...here.
5983 * sysdeps/generic/w_exp2l.c: Moved to...
5984 * math/w_exp2l.c: ...here.
5985 * sysdeps/generic/w_expl.c: Moved to...
5986 * math/w_expl.c: ...here.
5987 * sysdeps/generic/w_fmod.c: Moved to...
5988 * math/w_fmod.c: ...here.
5989 * sysdeps/generic/w_fmodf.c: Moved to...
5990 * math/w_fmodf.c: ...here.
5991 * sysdeps/generic/w_fmodl.c: Moved to...
5992 * math/w_fmodl.c: ...here.
5993 * sysdeps/generic/w_hypot.c: Moved to...
5994 * math/w_hypot.c: ...here.
5995 * sysdeps/generic/w_hypotf.c: Moved to...
5996 * math/w_hypotf.c: ...here.
5997 * sysdeps/generic/w_hypotl.c: Moved to...
5998 * math/w_hypotl.c: ...here.
5999 * sysdeps/generic/w_j0.c: Moved to...
6000 * math/w_j0.c: ...here.
6001 * sysdeps/generic/w_j0f.c: Moved to...
6002 * math/w_j0f.c: ...here.
6003 * sysdeps/generic/w_j0l.c: Moved to...
6004 * math/w_j0l.c: ...here.
6005 * sysdeps/generic/w_j1.c: Moved to...
6006 * math/w_j1.c: ...here.
6007 * sysdeps/generic/w_j1f.c: Moved to...
6008 * math/w_j1f.c: ...here.
6009 * sysdeps/generic/w_j1l.c: Moved to...
6010 * math/w_j1l.c: ...here.
6011 * sysdeps/generic/w_jn.c: Moved to...
6012 * math/w_jn.c: ...here.
6013 * sysdeps/generic/w_jnf.c: Moved to...
6014 * math/w_jnf.c: ...here.
6015 * sysdeps/generic/w_jnl.c: Moved to...
6016 * math/w_jnl.c: ...here.
6017 * sysdeps/generic/w_lgamma.c: Moved to...
6018 * math/w_lgamma.c: ...here.
6019 * sysdeps/generic/w_lgamma_r.c: Moved to...
6020 * math/w_lgamma_r.c: ...here.
6021 * sysdeps/generic/w_lgammaf.c: Moved to...
6022 * math/w_lgammaf.c: ...here.
6023 * sysdeps/generic/w_lgammaf_r.c: Moved to...
6024 * math/w_lgammaf_r.c: ...here.
6025 * sysdeps/generic/w_lgammal.c: Moved to...
6026 * math/w_lgammal.c: ...here.
6027 * sysdeps/generic/w_lgammal_r.c: Moved to...
6028 * math/w_lgammal_r.c: ...here.
6029 * sysdeps/generic/w_log.c: Moved to...
6030 * math/w_log.c: ...here.
6031 * sysdeps/generic/w_log10.c: Moved to...
6032 * math/w_log10.c: ...here.
6033 * sysdeps/generic/w_log10f.c: Moved to...
6034 * math/w_log10f.c: ...here.
6035 * sysdeps/generic/w_log10l.c: Moved to...
6036 * math/w_log10l.c: ...here.
6037 * sysdeps/generic/w_log2.c: Moved to...
6038 * math/w_log2.c: ...here.
6039 * sysdeps/generic/w_log2f.c: Moved to...
6040 * math/w_log2f.c: ...here.
6041 * sysdeps/generic/w_log2l.c: Moved to...
6042 * math/w_log2l.c: ...here.
6043 * sysdeps/generic/w_logf.c: Moved to...
6044 * math/w_logf.c: ...here.
6045 * sysdeps/generic/w_logl.c: Moved to...
6046 * math/w_logl.c: ...here.
6047 * sysdeps/generic/w_pow.c: Moved to...
6048 * math/w_pow.c: ...here.
6049 * sysdeps/generic/w_powf.c: Moved to...
6050 * math/w_powf.c: ...here.
6051 * sysdeps/generic/w_powl.c: Moved to...
6052 * math/w_powl.c: ...here.
6053 * sysdeps/generic/w_remainder.c: Moved to...
6054 * math/w_remainder.c: ...here.
6055 * sysdeps/generic/w_remainderf.c: Moved to...
6056 * math/w_remainderf.c: ...here.
6057 * sysdeps/generic/w_remainderl.c: Moved to...
6058 * math/w_remainderl.c: ...here.
6059 * sysdeps/generic/w_scalb.c: Moved to...
6060 * math/w_scalb.c: ...here.
6061 * sysdeps/generic/w_scalbf.c: Moved to...
6062 * math/w_scalbf.c: ...here.
6063 * sysdeps/generic/w_scalbl.c: Moved to...
6064 * math/w_scalbl.c: ...here.
6065 * sysdeps/generic/w_sinh.c: Moved to...
6066 * math/w_sinh.c: ...here.
6067 * sysdeps/generic/w_sinhf.c: Moved to...
6068 * math/w_sinhf.c: ...here.
6069 * sysdeps/generic/w_sinhl.c: Moved to...
6070 * math/w_sinhl.c: ...here.
6071 * sysdeps/generic/w_sqrt.c: Moved to...
6072 * math/w_sqrt.c: ...here.
6073 * sysdeps/generic/w_sqrtf.c: Moved to...
6074 * math/w_sqrtf.c: ...here.
6075 * sysdeps/generic/w_sqrtl.c: Moved to...
6076 * math/w_sqrtl.c: ...here.
6077 * sysdeps/generic/w_tgamma.c: Moved to...
6078 * math/w_tgamma.c: ...here.
6079 * sysdeps/generic/w_tgammaf.c: Moved to...
6080 * math/w_tgammaf.c: ...here.
6081 * sysdeps/generic/w_tgammal.c: Moved to...
6082 * math/w_tgammal.c: ...here.
6083 * sysdeps/generic/wait.c: Moved to...
6084 * posix/wait.c: ...here.
6085 * sysdeps/generic/wait3.c: Moved to...
6086 * posix/wait3.c: ...here.
6087 * sysdeps/generic/wait4.c: Moved to...
6088 * posix/wait4.c: ...here.
6089 * sysdeps/generic/waitid.c: Moved to...
6090 * posix/waitid.c: ...here.
6091 * sysdeps/generic/waitpid.c: Moved to...
6092 * posix/waitpid.c: ...here.
6093 * sysdeps/generic/wcstoimax.c: Moved to...
6094 * stdlib/wcstoimax.c: ...here.
6095 * sysdeps/generic/wcstol.c: Moved to...
6096 * wcsmbs/wcstol.c: ...here.
6097 * sysdeps/generic/wcstol_l.c: Moved to...
6098 * wcsmbs/wcstol_l.c: ...here.
6099 * sysdeps/generic/wcstoll.c: Moved to...
6100 * wcsmbs/wcstoll.c: ...here.
6101 * sysdeps/generic/wcstoll_l.c: Moved to...
6102 * wcsmbs/wcstoll_l.c: ...here.
6103 * sysdeps/generic/wcstoul.c: Moved to...
6104 * wcsmbs/wcstoul.c: ...here.
6105 * sysdeps/generic/wcstoul_l.c: Moved to...
6106 * wcsmbs/wcstoul_l.c: ...here.
6107 * sysdeps/generic/wcstoull.c: Moved to...
6108 * wcsmbs/wcstoull.c: ...here.
6109 * sysdeps/generic/wcstoull_l.c: Moved to...
6110 * wcsmbs/wcstoull_l.c: ...here.
6111 * sysdeps/generic/wcstoumax.c: Moved to...
6112 * stdlib/wcstoumax.c: ...here.
6113 * sysdeps/generic/wordcopy.c: Moved to...
6114 * string/wordcopy.c: ...here.
6115 * sysdeps/generic/wordexp.c: Moved to...
6116 * posix/wordexp.c: ...here.
6117 * sysdeps/generic/write.c: Moved to...
6118 * io/write.c: ...here.
6119 * sysdeps/generic/writev.c: Moved to...
6120 * misc/writev.c: ...here.
6121 * sysdeps/generic/xmknod.c: Moved to...
6122 * io/xmknod.c: ...here.
6123 * sysdeps/generic/xmknodat.c: Moved to...
6124 * io/xmknodat.c: ...here.
6125 * sysdeps/generic/xpg-strerror.c: Moved to...
6126 * string/xpg-strerror.c: ...here.
6127 * sysdeps/generic/xstat.c: Moved to...
6128 * io/xstat.c: ...here.
6129 * sysdeps/generic/xstat64.c: Moved to...
6130 * io/xstat64.c: ...here.
6131 * catgets/gencat.c: Use "config.h" to refer to the local config.h file.
6132 * stdlib/stdtod_l.c: Use "..." for gmp-impl.h and longlong.h headers.
6133 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust for files moving
6134 out of sysdeps/generic.
6135 * sysdeps/ieee754/ldbl-96/strtold_l.c: Likewise.
6136 * sysdeps/powerpc/elf/libc-start.c: Likewise.
6137 * sysdeps/unix/sysv/linux/dl-sbrk.c: Likewise.
6138 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6139 * sysdeps/unix/sysv/linux/segfault.c: Likewise.
6140 * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
6141 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6142 * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
6143 * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
6144 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6145 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6146 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Likewise.
6147 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
6148 * sysdeps/wordsize-32/llabs.c: Likewise.
6149 * sysdeps/wordsize-32/lldiv.c: Likewise.
6150 * sysdeps/wordsize-64/glob.c: Likewise.
6151 * sysdeps/wordsize-64/labs.c: Likewise.
6152 * sysdeps/wordsize-64/ldiv.c: Likewise.
6153 * sysdeps/wordsize-64/strtol.c: Likewise.
6154 * sysdeps/wordsize-64/strtol_l.c: Likewise.
6155 * sysdeps/wordsize-64/strtoul.c: Likewise.
6156 * sysdeps/wordsize-64/strtoul_l.c: Likewise.
6157 * sysdeps/wordsize-64/wcstol.c: Likewise.
6158 * sysdeps/wordsize-64/wcstol_l.c: Likewise.
6159 * sysdeps/wordsize-64/wcstoul.c: Likewise.
6160 * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
6161 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6162 * wcsmbs/Makefile (strtox-CFLAGS): remove -I../stdlib.
6163 (CPPFLAGS-wcstold_l.c): Add -I../stdlib.
6165 2005-12-13 Roland McGrath <roland@redhat.com>
6167 * sysdeps/generic/Makefile: Remove remaining bits/endian.h cruft.
6169 2005-12-13 Ulrich Drepper <drepper@redhat.com>
6171 * sysdeps/generic/signame.c: Removed.
6172 * sysdeps/generic/signame.h: Removed.
6173 * sysdeps/generic/configure.in: Removed.
6174 * sysdeps/generic/Dist: Remove these files.
6176 * sysdeps/generic/det_endian.c: Removed.
6177 * sysdeps/generic/Makefile: Remove rule to build it.
6178 * sysdeps/generic/Dist: Don't distribute it.
6180 2005-12-13 Roland McGrath <roland@redhat.com>
6182 * sysdeps/powerpc/dl-procinfo.c: New file.
6183 * sysdeps/powerpc/dl-procinfo.h: New file.
6185 2005-12-12 Ulrich Drepper <drepper@redhat.com>
6187 * io/sys/stat.h: Add restrict to fstatat declarations.
6189 2005-12-10 Ulrich Drepper <drepper@redhat.com>
6191 * posix/regex_internal.h: Include <stdint.h> if available.
6193 2005-12-06 Paolo Bonzini <bonzini@gnu.org>
6195 * posix/regex_internal.h (SIZE_MAX): Provide a default definition.
6197 2005-12-08 Ulrich Drepper <drepper@redhat.com>
6199 * nis/nis_call.c (inetstr2int): Optimize.
6201 2005-12-08 Jakub Jelinek <jakub@redhat.com>
6203 * nis/nis_call.c (__nisbind_create): Remove __nisbind_destroy,
6204 ->clnt cannot be != NULL.
6205 (__do_niscall): No need to use __nisbind_destroy, __nisbind_next
6207 (__nisbind_connect): use_auth is already TRUE, otherwise we would
6210 * nis/nis_lookup.c (nis_lookup): Remove unnecessary
6211 __nisbind_destroy calls. __nisbind_next does all that.
6213 * nis/ypclnt.c (yp_update): Before trying default authentication,
6214 free DES descriptor.
6216 2005-12-07 Jakub Jelinek <jakub@redhat.com>
6218 * nis/nis_table.c (nis_list): Fix memory handling in error case.
6220 2005-12-07 Ulrich Drepper <drepper@redhat.com>
6222 * nis/nis_table.c (nis_list): Remove have_tablepath, just use the
6223 pointer value itself.
6225 2005-12-06 Ulrich Drepper <drepper@redhat.com>
6227 * catgets/gencat.c: Use GPL, not LGPL.
6228 * elf/cache.c: Likewise.
6229 * elf/chroot_canon.c: Likewise.
6230 * elf/ldconfig.c: Likewise.
6231 * elf/readlib.c: Likewise.
6232 * iconv/dummy-repertoire.c: Likewise.
6233 * iconv/iconv_charmap.c: Likewise.
6234 * iconv/iconv_prog.c: Likewise.
6235 * iconv/iconvconfig.c: Likewise.
6236 * locale/programs/3level.h: Likewise.
6237 * locale/programs/charmap-dir.c: Likewise.
6238 * locale/programs/charmap-dir.h: Likewise.
6239 * locale/programs/charmap-kw.gperf: Likewise.
6240 * locale/programs/charmap.c: Likewise.
6241 * locale/programs/charmap.h: Likewise.
6242 * locale/programs/config.h: Likewise.
6243 * locale/programs/ld-address.c: Likewise.
6244 * locale/programs/ld-collate.c: Likewise.
6245 * locale/programs/ld-ctype.c: Likewise.
6246 * locale/programs/ld-identification.c: Likewise.
6247 * locale/programs/ld-measurement.c: Likewise.
6248 * locale/programs/ld-messages.c: Likewise.
6249 * locale/programs/ld-monetary.c: Likewise.
6250 * locale/programs/ld-name.c: Likewise.
6251 * locale/programs/ld-numeric.c: Likewise.
6252 * locale/programs/ld-paper.c: Likewise.
6253 * locale/programs/ld-telephone.c: Likewise.
6254 * locale/programs/ld-time.c: Likewise.
6255 * locale/programs/linereader.c: Likewise.
6256 * locale/programs/linereader.h: Likewise.
6257 * locale/programs/locale-spec.c: Likewise.
6258 * locale/programs/locale.c: Likewise.
6259 * locale/programs/localedef.c: Likewise.
6260 * locale/programs/localedef.h: Likewise.
6261 * locale/programs/locarchive.c: Likewise.
6262 * locale/programs/locfile-kw.gperf: Likewise.
6263 * locale/programs/locfile-token.h: Likewise.
6264 * locale/programs/locfile.c: Likewise.
6265 * locale/programs/locfile.h: Likewise.
6266 * locale/programs/repertoire.c: Likewise.
6267 * locale/programs/repertoire.h: Likewise.
6268 * locale/programs/simple-hash.c: Likewise.
6269 * locale/programs/simple-hash.h: Likewise.
6270 * locale/programs/xmalloc.c: Likewise.
6271 * locale/programs/xstrdup.c: Likewise.
6272 * malloc/memusagestat.c: Likewise.
6273 * nscd/aicache.c: Likewise.
6274 * nscd/cache.c: Likewise.
6275 * nscd/connections.c: Likewise.
6276 * nscd/dbg_log.c: Likewise.
6277 * nscd/gai.c: Likewise.
6278 * nscd/getgrgid_r.c: Likewise.
6279 * nscd/getgrnam_r.c: Likewise.
6280 * nscd/gethstbyad_r.c: Likewise.
6281 * nscd/gethstbynm2_r.c: Likewise.
6282 * nscd/getpwnam_r.c: Likewise.
6283 * nscd/getpwuid_r.c: Likewise.
6284 * nscd/grpcache.c: Likewise.
6285 * nscd/hstcache.c: Likewise.
6286 * nscd/initgrcache.c: Likewise.
6287 * nscd/mem.c: Likewise.
6288 * nscd/nscd.c: Likewise.
6289 * nscd/nscd_conf.c: Likewise.
6290 * nscd/pwdcache.c: Likewise.
6291 * posix/getconf.c: Likewise.
6292 * sysdeps/generic/nscd_setup_thread.c: Likewise.
6293 * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise.
6295 * sunrpc/auth_des.c (authdes_pk_create): If conversation key
6296 cannot be created, free memory.
6297 Reported by rprasad@vmware.com.
6299 2005-11-15 Mike Frysinger <vapier@gentoo.org>
6301 * sysdeps/hppa/bits/setjmp.h: Add _BITS_SETJMP_H preprocessor
6302 protection and allow pthread.h to include bits/setjmp.h as well as
6304 * sysdeps/m68k/bits/setjmp.h: Likewise.
6305 * sysdeps/s390/bits/setjmp.h: Make sure only setjmp.h or pthread.h
6306 are allow to include bits/setjmp.h.
6307 * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Cast rhs to match lhs
6309 * sysdeps/sh/bits/setjmp.h: Likewise.
6311 2005-11-12 Jim Meyering <jim@meyering.net>
6313 * sysdeps/unix/opendir.c (__alloc_dir): Declare STATP parameter
6314 to be pointer to const.
6315 * include/dirent.h: Update decl.
6317 2005-12-05 Roland McGrath <roland@redhat.com>
6319 * hurd/hurdmalloc.c: Remove $ tag $ magic.
6320 * mach/err_kern.sub: Likewise.
6321 * mach/err_server.sub: Likewise.
6322 * mach/err_us.sub: Likewise.
6323 * mach/error_compat.c: Likewise.
6324 * mach/errorlib.h: Likewise.
6325 * mach/errstring.c: Likewise.
6326 * mach/mach/error.h: Likewise.
6327 * mach/mach_error.c: Likewise.
6328 * mach/mach_error.h: Likewise.
6329 * mach/msg-destroy.c: Likewise.
6330 * mach/msgserver.c: Likewise.
6331 * sysdeps/mach/sys/reboot.h: Likewise.
6333 * sysdeps/generic/dwarf2.h: Replace license text with glibc LGPL.
6335 2005-11-28 Jakub Jelinek <jakub@redhat.com>
6337 * malloc/tst-mallocfork.c (do_test): Make sure sa_flags is
6338 initialized. Reported by John Reiser <jreiser@BitWagon.com>.
6340 2005-12-05 Daniel Jacobowitz <dan@codesourcery.com>
6342 * stdlib/longlong.h: Update from GCC.
6344 2005-12-04 Joseph S. Myers <joseph@codesourcery.com>
6346 * soft-fp/soft-fp.h: Include <stdlib.h>.
6348 * soft-fp/floatdisf.c (__floatdisf): Return float.
6350 2005-12-05 Roland McGrath <roland@redhat.com>
6352 * sysdeps/unix/sysv/linux/kernel-features.h
6353 (__ASSUME_POSIX_CPU_TIMERS): New macro, for 2.6.12 and later.
6355 2005-12-03 Ulrich Drepper <drepper@redhat.com>
6357 * nis/nis_table.c (nis_list): Optimize freeing and reallocation of
6360 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
6361 Better sized buffers. Correct error case handling.
6362 * nis/nis_error.c (nis_sperror_r): Let snprintf determine whether
6363 there is an overflow.
6364 * nis/nss_nisplus/nisplus-service.c: Fix locking to use
6365 _nss_create_tablename. Avoid unnecessary copying, remove
6366 unnecessary variables, general cleanup.
6367 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6368 * nis/nss_nisplus/nisplus-proto.c: Likewise..
6369 * nis/nss_nisplus/nisplus-network.c: Fix locking to use
6370 _nss_create_tablename. Avoid unnecessary copying, general cleanup.
6371 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
6373 Fix locking to use _nss_create_tablename. Avoid unnecessary copying,
6375 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
6376 Correctly construct request.
6377 Fix locking to use _nss_create_tablename. Avoid unnecessary copying,
6379 * nis/nss_nisplus/nisplus-alias.c: Fix locking to use
6380 _nss_create_tablename. Avoid unnecessary copying, general cleanup.
6381 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_setnetgrent):
6382 Rewrite to use snprintf.
6383 * nis/nss_nisplus/nisplus-publickey.c (_nss_nisplus_netname2user):
6386 2005-12-02 Ulrich Drepper <drepper@redhat.com>
6388 * nis/nss_nisplus/nisplus-pwd.c (_nss_pwd_create_tablename):
6389 Renamed from _nss_create_tablename. Export from file (but not DSO).
6390 (pwd_tablename_val): Renamed from tablename_val, mark hidden.
6391 (pwd_tablename_len): Renamed from tablename_len, mark hidden.
6393 * nis/nss_nisplus/nisplus-spwd.c (_nss_create_tablename): Removed.
6394 Use _nss_pwd_create_tablename now. Use pwd_tablename_val and
6395 pwd_tablename_len. Remove unnecessary variables, general cleanup.
6397 * nis/nss_nisplus/nisplus-pwd.c: Fix locking to use
6398 _nss_create_tablename. Avoid unnecessary copying, remove
6399 unnecessary variables, general cleanup.
6400 * nis/nss_nisplus/nisplus-grp.c: Likewise.
6402 * io/Makefile (routines): Add mknodat, xmknodat, mkdirat, mkfifoat.
6403 (static-only-routines): Add mknodat.
6404 * io/Versions [GLIBC_2.4]: Add mkdirat, mkfifoat, __xmknodat.
6405 * io/sys/stat.h: Declare mkditat, mknodat, mkfifoat, __xmknodat.
6406 Define mknodat inline function.
6407 * include/sys/stat.h: Add hidden proto for __xmknodat.
6408 * sysdeps/generic/mkdirat.c: New file.
6409 * sysdeps/generic/mkfifoat.c: New file.
6410 * sysdeps/generic/mknodat.c: New file.
6411 * sysdeps/generic/xmknodat.c: New file.
6412 * sysdeps/unix/mkfifoat.c: New file.
6413 * sysdeps/unix/sysv/linux/mkdirat.c: New file.
6414 * sysdeps/unix/sysv/linux/xmknodat.c: New file.
6416 * sysdeps/generic/xmknod.c: Add one more parameter check.
6418 2005-11-28 Andreas Jaeger <aj@suse.de>
6420 * sysdeps/unix/sysv/linux/mips/bits/mman.h (MREMAP_FIXED): Added,
6421 Patch by René Rebe <rene@exactcode.de>.
6423 2005-11-27 Ulrich Drepper <drepper@redhat.com>
6425 * sysdeps/posix/getaddrinfo.c: Avoid RFC 3484 sorting if there are
6426 multiple return records but only one address.
6428 * sysdeps/posix/getaddrinfo.c (gaih_inet): Avoid some code duplication.
6430 2005-11-27 Roland McGrath <roland@redhat.com>
6432 * sysdeps/unix/sysv/linux/fchownat.c: Include alloca.h, sysdep.h.
6433 Reported by René Rebe <rene@exactcode.de>.
6435 2005-11-27 Ulrich Drepper <drepper@redhat.com>
6437 * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Don't cache
6440 * nis/nis_table.c (nis_list): Add more free calls in error cases.
6442 2005-11-26 Richard Henderson <rth@redhat.com>
6444 * sysdeps/alpha/strncmp.S: Don't read too much data when pointers
6445 are co-aligned, and count is aligned with the end of the word.
6447 2005-11-26 Ulrich Drepper <drepper@redhat.com>
6449 * nis/nis_lookup.c (nis_lookup): Mark RPCTIMEOUT as const. Pretty
6452 * nis/nis_table.c (__create_ib_request): Use strdupa instead of
6453 variable size array.
6454 (RPCTIMEOUT): Mark as const.
6456 * nis/ypclnt.c (yp_bind_ypbindprog): Initialize clnt_saddr by hand.
6457 (ypdomainname): Renamed from __ypdomainname. No need for initializer.
6458 (ypbindlist): Renamed from __ypbindlist.
6459 (do_ypcall): Check memory allocation suceeded before calling
6461 (yperr_string): Reduce size of function by using only one gettext call.
6462 (ypbinderr_string): Likewise.
6463 (yp_match): Free response in case memory for return value cannot be
6465 (yp_first): Likewise.
6466 (yp_next): Likewise.
6467 (do_ypcall_tr): New function which translates error codes as well.
6468 (yp_match, yp_next, yp_master, yp_order, yp_maplist): Use it.
6469 (yp_all): Correct test for invalid parameter.
6471 (RPCTIMEOUT, UDPTIMEOUT): Mark as const.
6473 2005-11-25 Richard Henderson <rth@redhat.com>
6475 * sysdeps/unix/sysv/linux/alpha/fxstatat.c (__fxstatat): Fix typo.
6476 (__fxstatat64): Alias from __fxstatat; remove other cnp errors.
6477 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Include sys/cdefs.h
6479 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MREMAP_FIXED): Define.
6481 2005-11-25 Ulrich Drepper <drepper@redhat.com>
6483 * Makeconfig (+cflags): Add -fmerge-all-constants by default.
6486 * nss/function.def: Add entry to use gethostbyname2 for files.
6488 2005-11-25 Thorsten Kukuk <kukuk@suse.de>
6490 * sysdeps/unix/sysv/linux/fxstatat64.c: Include string.h.
6492 2005-11-25 Ulrich Drepper <drepper@redhat.com>
6495 * nss/nss_files/files-netgrp.c (_nss_files_endnetgrent): Change
6496 return value type to match expected type.
6499 * nis/ypclnt.c (yp_order): Correct test for invalid parameter.
6501 2005-11-24 Ulrich Drepper <drepper@redhat.com>
6503 * scripts/check-c++-types.sh: Improve comments.
6505 * scripts/check-local-headers.sh: New file.
6506 * Makefile (tests): Run check-local-headers.sh.
6508 2005-11-23 Thorsten Kukuk <kukuk@suse.de>
6510 * include/sys/sendfile.h: New file.
6512 2005-11-24 Andreas Schwab <schwab@suse.de>
6514 * time/sys/time.h: Remove nonnull attribute from futimesat.
6516 2005-11-22 Ulrich Drepper <drepper@redhat.com>
6518 * nscd/connections.c (sendfileall): Define.
6519 (handle_request): Use it instead of sendfile call.
6520 * nscd/nscd-client.h: Declare sendfileall.
6521 * nscd/aicache.c: Use sendfileall instead of sendfile.
6522 * nscd/grpcache.c: Likewise.
6523 * nscd/hstcache.c: Likewise.
6524 * nscd/initgrcache.c: Likewise.
6525 * nscd/pwdcache.c: Likewise.
6528 * manual/install.texi (Tools for Compilation): Require gawk.
6530 2005-11-22 Jakub Jelinek <jakub@redhat.com>
6532 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
6533 unused is_static field from slotinfo array.
6535 2005-11-21 Jakub Jelinek <jakub@redhat.com>
6537 * sunrpc/bindrsvprt.c (bindresvport): Wrap around to startport
6538 in the loop if port is bigger than endport, initially set to
6539 ENDPORT. When changing startport, set endport and port
6542 2005-11-21 Ulrich Drepper <drepper@redhat.com>
6544 * Makefile.in: Remove RCS ID line.
6545 * config-name.in: Likewise.
6546 * config.make.in: Likewise.
6547 * malloc/arena.c: Likewise.
6548 * malloc/hooks.c: Likewise.
6549 * malloc/malloc.c: Likewise.
6550 * manual/dir: Likewise.
6551 * math/math_private.h: Likewise.
6552 * resolv/gethnamaddr.c: Likewise.
6553 * scripts/mkinstalldirs: Likewise.
6554 * sunrpc/rpc_clntout.c: Likewise.
6555 * sunrpc/rpc_cout.c: Likewise.
6556 * sunrpc/rpc_hout.c: Likewise.
6557 * sunrpc/rpc_main.c: Likewise.
6558 * sunrpc/rpc_parse.c: Likewise.
6559 * sunrpc/rpc_sample.c: Likewise.
6560 * sunrpc/rpc_scan.c: Likewise.
6561 * sunrpc/rpc_svcout.c: Likewise.
6562 * sunrpc/rpc_tblout.c: Likewise.
6563 * sunrpc/rpc_util.c: Likewise.
6564 * sysdeps/unix/sysv/linux/sys/quote.h: Likewise.
6566 * nscd/nscd_helper.c: Pretty printing.
6568 2005-11-19 Roland McGrath <roland@redhat.com>
6570 * elf/elf.h: Revert last change.
6572 2005-11-19 Jakub Jelinek <jakub@redhat.com>
6574 * sysdeps/unix/sysv/linux/ia64/bits/shm.h (shmatt_t): New type.
6575 (struct shmid_ds): Use it for shm_nattch field.
6577 2005-11-18 Jakub Jelinek <jakub@redhat.com>
6579 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): If FILE is NULL,
6580 set access and modification times of the file referenced by FD.
6581 * sysdeps/generic/futimesat.c (futimesat): Don't return EINVAL if
6582 FILE is NULL. Don't check FD if FILE is absolute path.
6584 2005-11-19 Ulrich Drepper <drepper@redhat.com>
6586 * nscd/nscd_gethst_r.c (nscd_gethst_r): Avoid unnecesary read call
6587 if there are no aliases.
6589 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-connections.c,
6590 CFLAGS-pwdcache.c, CFLAGS-grpcache.c, CFLAGS-hstcache.c,
6591 CFLAGS-aicache.c, CFLAGS-initgrcache.c): Add -DHAVE_SENDFILE.
6592 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
6594 * nscd/pwdcache.c [HAVE_SENDFILE]: Include <sys/sendfile.h> and
6595 <kernel-features.h>.
6596 [HAVE_SENDFILE] (cache_addpw): Use sendfile to transmit positive
6598 * nscd/grpcache.c: Likewise.
6599 * nscd/hstcache.c: Likewise.
6600 * nscd/aicache.c: Likewise.
6601 * nscd/initgrcache.c: Likewise.
6602 * nscd/connectionc.c: Likewise.
6604 2005-11-18 Andreas Schwab <schwab@suse.de>
6606 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove useless alias.
6608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Handle
6610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
6612 2005-11-18 Paul Brook <paul@codesourcery.com>
6614 * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MREMAP_FIXED): New macro.
6616 * nscd/grpcache.c: Include <sys/socket.h>.
6617 * nscd/nscd_stat.c: Likewise.
6618 * nscd/pwdcache.c: Likewise.
6619 * sysdeps/unix/sysv/linux/unlinkat.c: Include <stdlib.h>, <sysdep.h>.
6621 2005-11-17 Ulrich Drepper <drepper@redhat.com>
6623 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Define SHM_NORESERVE.
6624 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
6625 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6626 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Likewise.
6627 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
6628 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
6629 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6630 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6632 2005-11-17 Steven Munroe <sjmunroe@us.ibm.com>
6635 * string/test-strncmp.c (do_test_limit): Handle zero length and
6636 non-zero align values.
6637 (test_main): Correct do_test_limit tests for 64-bit.
6639 2005-11-15 Steven Munroe <sjmunroe@us.ibm.com>
6641 * sysdeps/powerpc/sysdep.h (PPC_FEATURE_HAS_SPE,
6642 PPC_FEATURE_HAS_EFP_SINGLE, PPC_FEATURE_HAS_EFP_DOUBLE,
6643 PPC_FEATURE_NO_TB, PPC_FEATURE_POWER4, PPC_FEATURE_POWER5,
6644 PPC_FEATURE_POWER5_PLUS, PPC_FEATURE_CELL, PPC_FEATURE_970):
6645 Define to match 2.6.15 kernel.
6647 * sysdeps/powerpc/fpu/e_sqrt.c: Remove dl-procinfo.h include.
6648 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6649 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6651 2005-11-17 Roland McGrath <roland@redhat.com>
6653 * elf/elf.h (R_PPC64_ADDR30): Renamed to R_PPC64_REL30.
6655 2005-11-17 Jakub Jelinek <jakub@redhat.com>
6657 * io/sys/stat.h (fstatat): If __REDIRECT_NTH isn't defined,
6658 define fstatat to fstatat64.
6660 2005-11-17 Steven Munroe <sjmunroe@us.ibm.com>
6663 * string/test-strncmp.c (do_test_limit): New function.
6664 (do_test) Add cast to eliminate compiler warnings.
6665 (do_random_tests) Add cast to eliminate compiler warnings.
6666 (test_main) Add do_test_limit tests.
6667 * sysdeps/powerpc/powerpc32/strncmp.S: Test length before unaligned
6669 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6671 2005-11-17 Ulrich Drepper <drepper@redhat.com>
6673 * include/resolv.h: Include <stdbool.h>.
6674 Patch by Paul Brook.
6676 * io/sys/stat.h: Use __const not const in fstatat prototypes.
6678 2005-11-08 H.J. Lu <hongjiu.lu@intel.com>
6680 * sysdeps/wordsize-32/Makefile (CPPFLAGS-divdi3.c): Set to
6682 * sysdeps/wordsize-32/symbol-hacks.h: Skip if in_divdi3_c is defined.
6684 2005-11-16 Jakub Jelinek <jakub@redhat.com>
6686 * sysdeps/unix/sysv/linux/fchownat.c: Include string.h.
6687 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
6688 * sysdeps/unix/sysv/linux/i386/fchownat.c: Likewise.
6689 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Likewise.
6690 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6691 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise.
6692 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6693 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise.
6695 2005-11-16 Ulrich Drepper <drepper@redhat.com>
6697 * iconvdata/Makefile (modules): Add ISO_11548-1.
6698 (distribute): Add iso_11548-1.c.
6699 * iconvdata/gconv-modules: Add entries for ISO 11548-1.
6700 * iconvdata/TESTS: Add entry for ISO 11548-1.
6703 * iconvdata/iso_11548-1.c: New file.
6704 * iconvdata/testdata/ISO_11548-1: New file.
6705 * iconvdata/testdata/ISO_11548-1..UTF8: New file.
6706 Patch by Samuel Thibault <samuel.thibault@ens-lyon.org>.
6708 2005-11-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6710 * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Remove incorrect &.
6712 2005-11-15 Ulrich Drepper <drepper@redhat.com>
6715 * inet/netinet/icmp6.h: More updates for RFC3542.
6716 * inet/netinet/ip6.h: Likewise.
6717 * sysdeps/unix/sysv/linux/bits/in.h: Adjust for current kernel sources.
6718 Patch by David L Stevens <dlstevens@us.ibm.com>.
6720 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6721 Return -1 on failure.
6722 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6723 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise..
6724 * sysdeps/unix/sysv/linux/fxstatat64.c [__ASSUME_STAT64_SYSCALL]
6725 (__fxstatat64): Handle errors.
6727 * io/sys/poll.h: Add comment explaining poll is a cancellation point.
6729 * sysdeps/unix/sysv/linux/syscalls.list (epoll_wait): Align with
6730 poll, make cancelable.
6731 * sysdeps/unix/sysv/linux/sys/epoll.h: Add comment explaining
6732 epoll_wait is a cancellation point.
6734 2005-11-15 Jakub Jelinek <jakub@redhat.com>
6736 * io/sys/stat.h (fstatat): Don't use __THROW together with
6739 2005-11-14 Ulrich Drepper <drepper@redhat.com>
6741 * elf/dl-open.c [!SHARED]: Remove _dl_tls_static_size definition.
6742 * sysdeps/generic/libc-tls.c: Initialize _dl_tls_static_size here.
6744 2005-11-11 Ulrich Drepper <drepper@redhat.com>
6746 * io/Makefile (routines): Add fstatat, fstatat64, fxstatat, fxstatat64,
6747 fchownat, and unlinkat.
6748 (static-only-routines): Add fstatat and fstatat64.
6749 (tests): Add tst-unlinkat, tst-fstatat, tst-futimesat, tst-renameat,
6751 * io/Versions [GLIBC_2.4]: Add fchownat, __fxstatat, __fxstatat64,
6753 * io/fcntl.h: Define AT_FDCWD, AT_SYMLINK_NOFOLLOW, and AT_REMOVEDIR.
6754 * io/fstatat.c: New file.
6755 * io/fstatat64.c: New file.
6756 * io/sys/stat.h: Declare fstatat, fstatat64, __fxstatat, __fxstatat64
6757 and define fstatat and fstatat64 inline functions.
6758 * libio/stdio.h: Declare renameat.
6759 * misc/Makefile (routines): Add futimesat.
6760 * misc/Versions [GLIBC_2.4]: Add futimesat.
6761 * posix/unistd.h: Declare fchownat and unlinkat.
6762 * stdio-common/Makefile (routines): Add renameat.
6763 * stdio-common/Versions [GLIBC_2.4]: Add renameat.
6764 * sysdeps/generic/fchownat.c: New file.
6765 * sysdeps/generic/futimesat.c: New file.
6766 * sysdeps/generic/fxstatat.c: New file.
6767 * sysdeps/generic/fxstatat64.c: New file.
6768 * sysdeps/generic/renameat.c: New file.
6769 * sysdeps/generic/unlinkat.c: New file.
6770 * sysdeps/unix/sysv/linux/fchownat.c: New file.
6771 * sysdeps/unix/sysv/linux/futimesat.c: New file.
6772 * sysdeps/unix/sysv/linux/fxstatat.c: New file.
6773 * sysdeps/unix/sysv/linux/fxstatat64.c: New file.
6774 * sysdeps/unix/sysv/linux/renameat.c: New file.
6775 * sysdeps/unix/sysv/linux/unlinkat.c: New file.
6776 * sysdeps/unix/sysv/linux/alpha/fxstatat.c: New file.
6777 * sysdeps/unix/sysv/linux/i386/fchownat.c: New file.
6778 * sysdeps/unix/sysv/linux/i386/fxstatat.c: New file.
6779 * sysdeps/unix/sysv/linux/m68k/fchownat.c: New file.
6780 * sysdeps/unix/sysv/linux/m68k/fxstatat.c: New file.
6781 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: New file.
6782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fxstatat.c: New file.
6783 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: New file.
6784 * sysdeps/unix/sysv/linux/s390/s390-32/fxstatat.c: New file.
6785 * sysdeps/unix/sysv/linux/sh/fchownat.c: New file.
6786 * sysdeps/unix/sysv/linux/sh/fxstatat.c: New file.
6787 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: New file.
6788 * sysdeps/unix/sysv/linux/sparc/sparc32/fxstatat.c: New file.
6789 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c: New file.
6790 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: New file.
6791 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat64.c: New file.
6792 * time/sys/time.h: Declare futimesat.
6793 * include/fcntl.h: Declare __atfct_seterrno.
6794 * sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): New function.
6795 Split out from openat code and called.
6796 (do_test): Allow openat to fail with ENOSYS. Handle AT_FDCWD.
6797 * sysdeps/generic/openat.c: Handle AT_FDCWD.
6798 * sysdeps/generic/openat64.c: Likewise.
6799 * io/tst-unlinkat.c: New file.
6800 * io/tst-fstatat.c: New file.
6801 * io/tst-futimesat.c: New file.
6802 * io/tst-renameat.c: New file.
6803 * io/tst-fchownat.c: New file.
6804 * io/tst-openat.c: Don't fail if openat is not implemented.
6806 * sysdeps/unix/sysv/linux/powerpc/chown.c: Don't provide backward
6807 compatibility code if new kernel is guaranteed.
6809 * time/sys/time.h: Add a few nonnull attributes.
6811 2005-11-09 Ulrich Drepper <drepper@redhat.com>
6813 * io/fcntl.h: Declare openat and openat64.
6814 * io/Makefile (routines): Add openat and openat64.
6815 (tests): Add tst-openat.
6816 * io/Versions: Add openat and openat64 for GLIBC_2.4.
6817 * sysdeps/generic/openat.c: New file.
6818 * sysdeps/generic/openat64.c: New file.
6819 * sysdeps/unix/sysv/linux/openat.c: New file.
6820 * sysdeps/unix/sysv/linux/openat64.c: New file.
6821 * io/tst-openat.c: New file.
6823 * sysdeps/generic/check_fds.c (check_one_fd): For writable
6824 descriptors, use /dev/full.
6825 (__libc_check_standard_fds): Reverse modes so that common operations on
6826 the descriptors fail.
6827 * sysdeps/unix/sysv/linux/device-nrs.h: Add info for /dev/full.
6829 2005-11-07 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
6831 * elf/elf.h (R_M32R_REL32): New macro.
6833 2005-11-05 Marcus Brinkmann <marcus@gnu.org>
6835 * sysdeps/mach/hurd/bits/stat.h (S_IMMAP0): New macro.
6836 (S_ISPARE): Unset the S_IMMAP0 flag.
6838 2005-11-07 Roland McGrath <roland@redhat.com>
6840 * configure.in: Grok --with-cpu=CPU option. If given, search for
6841 sysdeps/.../machine/CPU subdirs, and give error if none are found.
6842 * configure: Regenerated.
6843 * config.make.in (with-cpu): New substituted variable.
6844 * Makeconfig (+cflags): Add -mcpu=$(with-cpu) if set.
6846 * malloc/malloc.c (munmap_chunk): Suppress warnings from last change.
6848 * sysdeps/unix/bsd/sun: Directory and all subdirectories removed,
6849 saved in ports repository.
6850 * sysdeps/unix/sysv/linux/tcflush.c: Rewritten.
6851 * sysdeps/unix/sysv/linux/tcflow.c: Rewritten.
6853 2005-11-06 Ulrich Drepper <drepper@redhat.com>
6855 * malloc/malloc.c (munmap_chunk): Add sanity checks.
6857 * sysdeps/pthread/configure: Fix comment.
6859 2005-11-05 Ulrich Drepper <drepper@redhat.com>
6861 * configure.in: Remove gnu_as definition and everything using it.
6862 * config.make.in: Remove gnu-as.
6863 * config.h.in: Remove HAVE_GNU_AS.
6865 * configure.in: Remove gnu_ld definition and everything using it.
6866 * config.h.in: Remove HAVE_GNU_LD.
6867 * config.make.in: Remove gnu-ld.
6868 * csu/Makefile: Remove use of gnu-ld.
6869 * csu/munch.awk: Removed.
6870 * csu/munch-tmpl.c: Removed.
6871 * include/libc-symbols.h: Remove use of HAVE_GNU_LD.
6872 * posix/execl.c: Likewise.
6873 * posix/execv.c: Likewise.
6874 * stdio-common/psignal.c: Likewise.
6875 * stdlib/exit.c: Likewise.
6876 * string/strsignal.c: Likewise.
6877 * string/tester.c: Likewise.
6878 * sysdeps/generic/errlist.c: Likewise.
6879 * sysdeps/generic/getenv.c: Likewise.
6880 * sysdeps/generic/getgroups.c: Likewise.
6881 * sysdeps/generic/init-posix.c: Likewise.
6882 * sysdeps/posix/gettimeofday.c: Likewise.
6883 * sysdeps/posix/system.c: Likewise.
6884 * sysdeps/unix/bsd/init-posix.c: Likewise.
6885 * sysdeps/unix/bsd/ulimit.c: Likewise.
6886 * sysdeps/unix/bsd/sun/m68k/brk.S: Likewise.
6887 * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise.
6888 * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise.
6889 * sysdeps/unix/i386/brk.S: Likewise.
6890 * sysdeps/unix/sparc/brk.S: Likewise.
6892 * configure.in: Remove test for support for subtracting local labels.
6893 * config.h.in: Remove HAVE_SUBTRACT_LOCAL_LABELS.
6894 * stdio-common/vfprintf.c: Remove test of
6895 HAVE_SUBTRACT_LOCAL_LABELS.
6897 * configure.in: If init_array/fini_array support is not available,
6899 * config.h.in: Remove trace of optional init_array/fini_array support.
6900 * config.make.in: Likewise.
6901 * csu/elf-init.c: Likewise.
6902 * dlfcn/dlfcn.c: Likewise.
6903 * elf/soinit.c: Likewise.
6904 * sysdeps/ia64/elf/initfinit.c: Likewise.
6906 2005-11-04 Roland McGrath <roland@redhat.com>
6908 * sysdeps/i386/configure.in (libc_mtune_example): Variable removed.
6909 * sysdeps/i386/configure: Regenerated.
6912 * configure.in: Change order of add-on sysdeps directories,
6913 so they are interleaved with main sysdeps directories.
6914 * configure: Regenerated.
6916 2005-11-03 Roland McGrath <roland@redhat.com>
6918 * NEWS: Synch with 2.3 branch updates.
6920 2005-11-03 Ulrich Drepper <drepper@redhat.com>
6922 * sunrpc/svc.c (svc_getreq_poll): Fix inefficient loop test.
6924 2005-11-03 Roland McGrath <roland@redhat.com>
6927 * sunrpc/svc.c (svc_getreqset): Use ffsl instead of ffs on fd_mask,
6928 make sure constant is long.
6929 From Jay Lan <jlan@engr.sgi.com>.
6931 2005-11-03 Ulrich Drepper <drepper@redhat.com>
6934 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use simple
6935 gethostbyname2 lookup if AI_V4MAPPED|AI_ALL is set.
6937 * sysdeps/posix/getaddrinfo.c (gaih_inet): Avoid alloca when possible
6938 while looking for scope delimiter.
6939 Some pretty printing.
6941 2005-10-31 Steven Munroe <sjmunroe@us.ibm.com>
6943 * sysdeps/powerpc/powerpc64/Makefile
6944 (sysdep_routines, elide-routines.os): Add hp-timing.
6945 * sysdeps/powerpc/powerpc64/hp-timing.c: New file.
6946 * sysdeps/powerpc/powerpc64/hp-timing.h: New file.
6947 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: New file.
6949 2005-10-31 Ulrich Drepper <drepper@redhat.com>
6951 * resolv/res_init.c (__res_iclose): New function. Broken out of
6952 res_nclose. Take addition parameter which determines whether
6953 addresses should be freed.
6954 (res_nclose): Call __res_iclose.
6955 (res_thread_freeres): Likewise.
6956 * resolv/res_data.c (res_close): Call __res_iclose.
6957 * resolv/res_libc.c (res_init): No need to separately free the
6959 (__res_maybe_init): Likewise.
6960 * resolv/res_send.c: Use __res_iclose instead of res_nclose.
6961 * resolv/Versions [GLIBC_PRIVATE]: Add __res_iclose.
6962 * include/resolv.h: Declare __res_iclose.
6963 Add libc_hidden_proto for __res_iclose.
6964 * hesiod/hesiod.c (__hesiod_res_set): No need to free name server
6965 addresses here again.
6968 * debug/execinfo.h: Change backtrace_symbols_fd comment.
6970 2005-10-24 H.J. Lu <hongjiu.lu@intel.com>
6972 * sysdeps/ia64/fpu/libm-symbols.h (WEAK_LIBM_ENTRY): Add "__"
6973 prefix to LOCAL_LIBM_ENTRY.
6974 (WEAK_LIBM_END): Add "__" prefix to LOCAL_LIBM_END.
6976 2005-10-26 Jakub Jelinek <jakub@redhat.com>
6978 * elf/dl-conflict.c (_dl_resolve_conflicts): Use _dl_debug_printf
6979 instead of _dl_printf to print conflict processing debug message.
6980 Reported by John Reiser <jreiser@BitWagon.com>.
6982 2005-10-30 Ulrich Drepper <drepper@redhat.com>
6984 * misc/hsearch_r.c (hsearch_r): Remove duplicate test.
6985 Patch by Chris Caputo <ccaputo@alt.net>.
6987 2005-10-28 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6989 * sysdeps/unix/sh/sysdep.S: Remove unnecessary weak_alias.
6990 * sysdeps/unix/sysv/linux/sh/socket.S: Honor NO_WEAK_ALIAS.
6992 2005-10-28 Thorsten Kukuk <kukuk@suse.de>
6994 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey): Fix off
6997 2005-10-24 Roland McGrath <roland@redhat.com>
7000 * include/string.h: Use libc_hidden_proto for strnlen,
7001 not libc_hidden_builtin_proto.
7003 2005-10-23 Ulrich Drepper <drepper@redhat.com>
7005 * rt/mqueue.h: Cleanups.
7007 2005-10-22 Roland McGrath <roland@redhat.com>
7010 * sysdeps/mach/hurd/getpeername.c (__getpeername): Fix last change.
7011 From Samuel Thibault <samuel.thibault@ens-lyon.org>.
7013 2005-10-17 Thomas Schwinge <tschwinge@gnu.org>
7016 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Don't use ?: as lvalue.
7017 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
7019 2005-10-20 Ulrich Drepper <drepper@redhat.com>
7021 * iconvdata/ibm1364.h (__ucs4_to_ibm1364sb): Fix one mapping.
7022 * iconvdata/ibm1388.h (__ucs4_to_ibm1388sb): Likewise.
7023 * iconvdata/testdata/IBM1364: Add missing valid input.
7024 * iconvdata/testdata/IBM1388: Likewise.
7025 * iconvdata/testdata/IBM1364..UTF8: Adjust appropriately.
7026 * iconvdata/testdata/IBM1388..UTF8: Likewise.
7027 Patch by Masahide Washizawa <washi@jp.ibm.com>.
7029 2005-08-23 GOTO Masanori <gotom@debian.or.jp>
7032 * sysdeps/alpha/remqu.S: Return the correct result when the same
7033 dividend and divisor are provided, and they're negative numbers.
7034 * sysdeps/alpha/divqu.S: Likewise.
7036 2005-10-18 Steven Munroe <sjmunroe@us.ibm.com>
7038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h (TESTS):
7040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h (TESTS):
7043 2005-10-19 Ulrich Drepper <drepper@redhat.com>
7045 * iconvdata/Makefile (modules): Add IBM1364, IBM1371, IBM1388, IBM1390,
7047 (distribute): Add ibm1364.c, ibm1364.h, ibm1371.c, ibm1371.h,
7048 ibm1388.c, ibm1388.h, ibm1390.c, ibm1390.h, ibm1399.c, and ibm1399.h.
7049 * iconvdata/TESTS: Add entries for IBM1364, IBM1371, IBM1388, IBM1390,
7051 * iconvdata/gconv-modules: Likewise.
7052 * iconvdata/ibm1364.c: New file.
7053 * iconvdata/ibm1364.h: New file.
7054 * iconvdata/ibm1371.c: New file.
7055 * iconvdata/ibm1371.h: New file.
7056 * iconvdata/ibm1388.c: New file.
7057 * iconvdata/ibm1388.h: New file.
7058 * iconvdata/ibm1390.c: New file.
7059 * iconvdata/ibm1390.h: New file.
7060 * iconvdata/ibm1399.c: New file.
7061 * iconvdata/ibm1399.h: New file.
7062 * iconvdata/testdata/IBM1364: New file.
7063 * iconvdata/testdata/IBM1364..UTF8: New file.
7064 * iconvdata/testdata/IBM1371: New file.
7065 * iconvdata/testdata/IBM1371..UTF8: New file.
7066 * iconvdata/testdata/IBM1388: New file.
7067 * iconvdata/testdata/IBM1388..UTF8: New file
7068 * iconvdata/testdata/IBM1390: New file.
7069 * iconvdata/testdata/IBM1390..UTF8: New file.
7070 * iconvdata/testdata/IBM1399: New file.
7071 * iconvdata/testdata/IBM1399..UTF8: New file.
7072 Original patch by Masahide Washizawa <washi@jp.ibm.com>.
7074 2005-10-17 Roland McGrath <roland@redhat.com>
7076 * elf/dl-load.c (MAP_COPY): When undefined, define to
7077 MAP_PRIVATE|MAP_DENYWRITE instead of just MAP_PRIVATE.
7078 (_dl_map_object_from_fd): Don't use MAP_DENYWRITE explicitly.
7080 2005-10-17 Martin Schwidefsky <schwidefsky@de.ibm.com>
7082 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_STSZ, TESTS):
7084 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h (SC_STSZ, TESTS):
7087 2005-10-17 Ulrich Drepper <drepper@redhat.com>
7089 * libio/oldfileops.c (_IO_old_file_xsputn): Fix last patch.
7092 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Also
7093 allow EACCES errors when opening /proc for now.
7095 * wctype/wcfuncs.c: Don't use expensive wide char lookups in isw*
7096 functions if character is in ASCII range.
7097 * wctype/wcfuncs_l.c: Likewise.
7099 2005-05-03 Robert Millan <robertmh@gnu.org>
7101 * abi-tags (.*-.*-knetbsd.*-gnu.*): New match, with ABI value 4.
7102 * elf/cache.c (print_entry): Match the kNetBSD ABI tag.
7104 2005-10-16 Alfred M. Szmidt <ams@gnu.org>
7106 * sysdeps/generic/bits/mman.h
7107 [__USE_GNU] (MREMAP_MAYMOVE, REMAP_FIXED): New macros.
7109 2005-10-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7111 * sysdeps/unix/sysv/linux/sh/makecontext.S: New file.
7112 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: New file.
7113 * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: New file.
7114 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: New file.
7115 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: New file.
7116 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: New file.
7117 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: New file.
7118 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h: New file.
7119 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h: New file.
7120 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Removed.
7121 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: New file.
7122 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: New file.
7124 2005-09-13 Jakub Jelinek <jakub@redhat.com>
7127 * include/limits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Make sure these
7128 are defined for -D_GNU_SOURCE or -D_ISOC99_SOURCE even when not
7131 2005-10-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7133 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MREMAP_FIXED.
7135 2005-08-05 Alfred M. Szmidt <ams@gnu.org>
7138 * sysdeps/mach/hurd/setitimer.c (restart_itimer): Move static fn
7139 forward decl out of function body.
7140 * sysdeps/mach/hurd/profil.c: Likewise.
7142 2005-10-16 Roland McGrath <roland@frob.com>
7145 * sysdeps/mach/hurd/getpeername.c (__getpeername): Respect *LEN
7146 byte limit when setting ADDR->sa_family.
7147 Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
7150 * sysdeps/mach/hurd/dl-sysdep.h
7151 [SHARED] (DL_ARGV_NOT_RELRO): New macro.
7154 * sysdeps/mach/hurd/i386/init-first.c (init): Make cast kosher.
7155 (_hurd_stack_setup): Don't declare with arguments and ellipsis.
7156 Use __builtin_frame_address and __builtin_return_address.
7157 (_dl_init_first): Likewise.
7160 * sysdeps/mach/hurd/i386/init-first.c (_cthread_init_routine): Declare
7162 (init): Check for it being undefined.
7164 2005-10-16 Daniel Jacobowitz <dan@codesourcery.com>
7165 Roland McGrath <roland@redhat.com>
7167 * Makerules [module-names] (extra-modules-build): New variable.
7168 ($(extra-modules-build:%=$(objpfx)%.so)): New static pattern rule.
7169 Depend on libc.so and libc_nonshared.a.
7170 * dlfcn/Makefile ($(test-modules)): Remove static pattern rule.
7171 * elf/Makefile (modules-names-nobuild): New variable, add filtmod1.
7172 ($(test-modules)): Remove static pattern rule.
7174 2005-10-15 Thomas Schwinge <tschwinge@gnu.org>
7176 * include/dirent.h: Include <stdbool.h>.
7177 * sysdeps/mach/hurd/fdopendir.c: Include <fcntl.h>.
7178 (fdopendir): Correct argument to _hurd_fd_get().
7179 * sysdeps/mach/hurd/opendir.c (__opendir): Remove stray `}'.
7181 2005-08-20 Paul Eggert <eggert@cs.ucla.edu>
7184 * posix/regcomp.c (init_word_char, duplicate_node_closure,
7185 fetch_token, peek_token_bracket, build_range_exp,
7186 build_collating_symbol): Remove forward decls; no longer needed
7187 now that we use prototypes.
7189 2005-10-15 Ulrich Drepper <drepper@redhat.com>
7192 * posix/regex_internal.h: Remove last traces of
7193 RE_NO_INTERNAL_PROTOTYPES.
7196 * string/strxfrm_l.c (STRXFRM): Fix exit conditions of two loops.
7198 * sysdeps/unix/fdopendir.c (fdopendir): Make sure descriptor
7201 * wcsmbs/tst-mbrtowc2.c: Use de_DE.UTF-8 instead of en_US.UTF-8.
7202 * wcsmbs/Makefile: Define tst-mbrtowc2-ENV.
7204 * posix/regexec.c: Finish prototyping of static functions.
7205 * posix/regex_internal.c: Likewise.
7207 2005-10-14 Roland McGrath <roland@frob.com>
7209 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): New function, broken
7211 (__opendir): ... here. Call it.
7212 * sysdeps/mach/hurd/fdopendir.c: New file.
7214 2005-10-14 Ulrich Drepper <drepper@redhat.com>
7217 * math/tgmath.h: Correctly determine result type for
7218 __TGMATH_BINARY_REAL_ONLY,
7219 __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
7220 __TGMATH_TERNARY_REAL_ONLY, and __TGMATH_BINARY_REAL_IMAG.
7222 2005-09-17 Andreas Jaeger <aj@suse.de>
7225 * math/test-tgmath-int.c: New file.
7226 * math/Makefile (tests): Add test-tgmath-int.
7228 2005-10-14 Ulrich Drepper <drepper@redhat.com>
7231 * malloc/tst-mtrace.sh: Work around for bootstraping.
7233 * locale/programs/ld-collate.c (collate_output): Fix counting of
7234 elements. Don't limit table size. Use correct secondary hash
7236 * locale/localeinfo.h (LIMAGIC): Change value returned for LC_COLLATE.
7237 * posix/fnmatch_loop.c: Adjust for changed secondary hash function.
7238 * posix/regcomp.c: Likewise.
7240 * time/asctime.c (asctime_internal): Use __snprintf instead of
7241 snprintf to avoid PLT entry.
7243 * sysdeps/unix/opendir.c (__opendir): Pass extra argument to
7245 (__alloc_dir): Only close descriptor on error if new parameter is true.
7246 * sysdeps/unix/fdopendir.c (fdopendir): Pass extra argument to
7247 __alloc_dir. Don't close fd on error.
7248 * include/dirent.h (__alloc_dir): Adjust prototype.
7250 * stdlib/Makefile (tests): Add tst-ucontext-off.
7251 * stdlib/tst-ucontext-off.c: New file.
7252 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h (TESTS): Define.
7253 * sysdeps/unix/sysv/linux/i386/ucontext_i.h (TESTS): Likewise.
7256 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: Fix values for
7257 oFPREGS, oSIGMASK, oFPREGSMEM, and oMXCSR.
7258 Patch by Nicholas Miell <nmiell@comcast.net>.
7261 * time/asctime.c (asctime_internal): New function, derived from
7262 asctime_r. Takes additional parameter which is the buffer length.
7263 Use snprintf instead sprintf, if it overflows, fail.
7264 (asctime_r): Call asctime_internal with 26 as buffer length.
7265 (asctime): Call asctime_internal with length of internal buffer.
7266 * time/Makefile (tests): Add bug-asctime_r.
7267 * time/bug-asctime_r.c: New file.
7270 * time/asctime.c (__asctime_r): Check for tm_year computation to
7271 overflow and fail in this case.
7272 * time/Makefile (tests): Add bug-asctime.
7273 * time/bug-asctime.c: New file.
7276 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MREMAP_FIXED.
7277 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
7278 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7279 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7280 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7281 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7282 * misc/sys/mman.h: Add ellipsis after last parameter of mremap and
7283 adjust leading comment.
7284 * sysdeps/unix/sysv/linux/syscalls.list: Add pointer parameter to
7286 * include/sys/mman.h (__mremap): Add ellipsis.
7287 * malloc/memusage.c: Adjust mremap wrapper for optional additional
7290 2005-10-13 Ulrich Drepper <drepper@redhat.com>
7293 * libio/iogetdelim.c (_IO_getdelim): Fix truncation of return
7294 value. Avoid overflow in computation.
7297 * argp/argp.h: Remove __NTH for __argp_usage inline function.
7299 2005-08-26 Paul Eggert <eggert@cs.ucla.edu>
7302 * posix/regex_internal.h (bitset_not, bitset_merge, bitset_not_merge,
7303 bitset_mask, re_string_allocate, re_string_construct,
7304 re_string_reconstruct, re_string_destruct, re_string_elem_size_at,
7305 re_string_char_size_at, re_string_wchar_at, re_string_peek_byte_case,
7306 re_string_fetch_byte_case, re_node_set_alloc, re_node_set_init_1,
7307 re_node_set_init_2, re_node_set_init_copy, re_node_set_add_intersect,
7308 re_node_set_init_union, re_node_set_merge, re_node_set_insert,
7309 re_node_set_insert_last, re_node_set_compare, re_node_set_contains,
7310 re_node_set_remove_at, re_dfa_add_node, re_acquire_state,
7311 re_acquire_state_context): Remove unnecessary forward decls.
7312 (re_string_char_size_at, re_string_wchar_at, re_string_elem_size_at):
7313 Put __attribute at function definition, now that the function decl
7315 * posix/regex_internal.c (re_string_peek_byte_case,
7316 re_string_fetch_byte_case, re_node_set_compare, re_node_set_contains):
7319 2005-08-23 Paul Eggert <eggert@cs.ucla.edu>
7322 * posix/regex_internal.c (re_string_skip_chars, register_state,
7323 calc_state_hash): Remove forward decls.
7324 * posix/regexec.c (acquire_init_state_context, check_halt_node_context,
7325 proceed_next_node, pop_fail_stack, sub_epsilon_src_nodes,
7326 clean_state_log_if_needed): Likewise.
7328 2005-10-13 Ulrich Drepper <drepper@redhat.com>
7330 * posix/regex.c: No need to use K&R definitions for static functions.
7331 * posix/regex_internal.c: Likewise.
7332 * posix/regcomp.c: Likewise.
7335 * sysdeps/generic/s_csqrt.c (__csqrt): For zero real part, return
7336 principal square root.
7337 * sysdeps/generic/s_csqrtf.c (__csqrtf): Likewise.
7338 * sysdeps/generic/s_csqrtl.c (__csqrtl): Likewise.
7339 * math/libm-test.inc (csqrt_test): Add test for returning
7342 * include/features.h: Define _POSIX_C_SOURCE to 200112 for
7343 _XOPEN_SOURCE == 600.
7345 2005-10-12 Ulrich Drepper <drepper@redhat.com>
7347 * malloc/malloc.c (_int_free): Fail if block size is obviously wrong.
7349 * include/malloc.h: Remove _int_new_arena prototype.
7350 * malloc/arena.c (_int_new_arena): Move definition ahead of
7351 arena_get2 and make static.
7353 Correctly implement M_MXFAST.
7354 * malloc/malloc.c (struct malloc_state): Replace max_fast with flags
7356 (global_max_fast): New variable.
7357 (set_max_fast): Change to not require arena parameter and to modify
7358 global_max_fast. Change all callers.
7359 (get_max_fast): New macro. Use this instead of directly accessing
7360 now removed max_fast arena member.
7361 (have_fastchunks): Use flags instead of max_fast.
7362 (clear_fastchunks): Likewise.
7363 (set_fastchunks): Likewise.
7364 (contiguous): Likewise.
7365 (noncontiguous): Likewise.
7366 (set_noncontiguous): Likewise.
7367 (set_contiguous): Likewise.
7368 (malloc_init_state): Explicitly set FASTCHUNKS_BIT. Call set_max_fast
7369 only for main arena.
7370 * malloc/hooks.c (public_sET_STATe): Adjust set_max_fast use.
7372 2005-10-10 Daniel Jacobowitz <dan@codesourcery.com>
7374 * sysdeps/generic/bits/byteswap.h (__bswap_constant_16): New macro.
7375 (__bswap_16): Use it.
7376 (__bswap_constant_32): New macro.
7377 (__bswap_32): Use it.
7379 2005-10-10 Ulrich Drepper <drepper@redhat.com>
7381 * malloc/arena.c (ptmalloc_unlock_all2): Reset atfork_recursive_cntr.
7383 2005-10-08 Jakub Jelinek <jakub@redhat.com>
7385 * nss/getent.c (hosts_keys): Pass INADDRSZ as size rather
7386 than IN6ADDRSZ to AF_INET gethostbyaddr.
7388 2005-10-07 Roland McGrath <roland@redhat.com>
7391 * include/features.h: Make tests on _FORTIFY_SOURCE and __OPTIMIZE__
7392 friendly to -Wundef.
7393 (__USE_FORTIFY_LEVEL): Always define it, to 0 if nothing else.
7395 2005-10-06 Ulrich Drepper <drepper@redhat.com>
7397 * sysdeps/unix/sysv/linux/readonly-area.c: Allow fopen to fail because
7398 the file does not exist.
7400 2005-10-05 Simon Josefsson <jas@extundo.com>
7403 * crypt/md5.h (MD5_DIGEST_SIZE, MD5_BLOCK_SIZE): New macros.
7405 2005-10-05 Roland McGrath <roland@redhat.com>
7407 * crypt/Makefile (distribute): Remove duplicate defn.
7409 * sysdeps/generic/ldsodefs.h (struct audit_ifaces):
7410 Use ARCH_PLTENTER_MEMBERS and ARCH_PLTEXIT_MEMBERS macros if defined.
7411 * elf/tst-auditmod1.c: Include <tst-audit.h> to define more
7412 architecture-specific code.
7413 * sysdeps/generic/tst-audit.h: New file.
7414 * elf/Makefile (distribute): Add it.
7416 2005-10-05 Daniel Jacobowitz <dan@codesourcery.com>
7418 * elf/elf.h (R_ARM_TLS_DTPMOD32, R_ARM_TLS_DTPOFF32,
7419 R_ARM_TLS_TPOFF32, R_ARM_TLS_GD32, R_ARM_TLS_LDM32,
7420 R_ARM_TLS_LDO32, R_ARM_TLS_IE32, R_ARM_TLS_LE32): New macros.
7422 2005-10-03 Roland McGrath <roland@redhat.com>
7424 * sysdeps/powerpc/nofpu: Directory removed, saved in ports repository.
7426 2005-09-30 Ulrich Drepper <drepper@redhat.com>
7428 * posix/regex.h: Pretty printing.
7429 Clean up namespace a bit.
7431 2005-09-30 Jakub Jelinek <jakub@redhat.com>
7433 * posix/regexec.c (update_cur_sifted_state, check_arrival,
7434 check_arrival_add_next_nodes): Avoid using uninitialized variable.
7436 * malloc/memusage.c (dest): Fix a bunch of warnings on 32-bit arches.
7438 * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 4.0.x.
7440 2005-09-29 Ulrich Drepper <drepper@redhat.com>
7442 * iconvdata/Makefile (modules): Add IBM803, IBM901, IBM902, IBM921,
7443 IBM1008, IBM1008_420, IBM1097, IBM1112, IBM1123, IBM1130, IBM1140,
7444 IBM1141, IBM1142, IBM1143, IBM1144, IBM1145, IBM1146, IBM1147, IBM1148,
7445 IBM1149, IBM1166, IBM1167, IBM4517, IBM4899, IBM4909, IBM4971,
7446 IBM5347, IBM9030, IBM9066, IBM9448, IBM12712, IBM16804.
7447 (distribute): Add ibm803.c, ibm803.h, ibm901.c, ibm901.h, ibm902.c,
7448 ibm902.h, ibm921.c, ibm921.h, ibm1008.c, ibm1008.h, ibm1008_420.c,
7449 ibm1097.c, ibm1097.h, ibm1112.c, ibm1112.h, ibm1123.c, ibm1123.h,
7450 ibm1130.c, ibm1130.h, ibm1140.c, ibm1140.h, ibm1141.c, ibm1141.h,
7451 ibm1142.c, ibm1142.h, ibm1143.c, ibm1143.h, ibm1144.c, ibm1144.h,
7452 ibm1145.c, ibm1145.h, ibm1146.c, ibm1146.h, ibm1147.c, ibm1147.h,
7453 ibm1148.c, ibm1148.h, ibm1149.c, ibm1149.h, ibm1166.c, ibm1166.h,
7454 ibm1167.c, ibm1167.h, ibm4517.c, ibm4517.h, ibm4899.c, ibm4899.h,
7455 ibm4909.c, ibm4909.h, ibm4971.c, ibm4971.h, ibm5347.c, ibm5347.h,
7456 ibm9030.c, ibm9030.h, ibm9066.c, ibm9066.h, ibm9448.c, ibm9448.h,
7457 ibm12712.c, ibm12712.h, ibm16804.c, ibm16804.h.
7458 * iconvdata/TESTS: Add entries for new modules.
7459 * iconvdata/gconv-modules: Likewise.
7460 * iconvdata/ibm803.c: New file.
7461 * iconvdata/ibm803.h: New file.
7462 * iconvdata/ibm901.c: New file.
7463 * iconvdata/ibm901.h: New file.
7464 * iconvdata/ibm902.c: New file.
7465 * iconvdata/ibm902.h: New file.
7466 * iconvdata/ibm921.c: New file.
7467 * iconvdata/ibm921.h: New file.
7468 * iconvdata/ibm1008.c: New file.
7469 * iconvdata/ibm1008.h: New file.
7470 * iconvdata/ibm1008_420.c: New file.
7471 * iconvdata/ibm1097.c: New file.
7472 * iconvdata/ibm1097.h: New file.
7473 * iconvdata/ibm1112.c: New file.
7474 * iconvdata/ibm1112.h: New file.
7475 * iconvdata/ibm1123.c: New file.
7476 * iconvdata/ibm1123.h: New file.
7477 * iconvdata/ibm1130.c: New file.
7478 * iconvdata/ibm1130.h: New file.
7479 * iconvdata/ibm1140.c: New file.
7480 * iconvdata/ibm1140.h: New file.
7481 * iconvdata/ibm1141.c: New file.
7482 * iconvdata/ibm1141.h: New file.
7483 * iconvdata/ibm1142.c: New file.
7484 * iconvdata/ibm1142.h: New file.
7485 * iconvdata/ibm1143.c: New file.
7486 * iconvdata/ibm1143.h: New file.
7487 * iconvdata/ibm1144.c: New file.
7488 * iconvdata/ibm1144.h: New file.
7489 * iconvdata/ibm1145.c: New file.
7490 * iconvdata/ibm1145.h: New file.
7491 * iconvdata/ibm1146.c: New file.
7492 * iconvdata/ibm1146.h: New file.
7493 * iconvdata/ibm1147.c: New file.
7494 * iconvdata/ibm1147.h: New file.
7495 * iconvdata/ibm1148.c: New file.
7496 * iconvdata/ibm1148.h: New file.
7497 * iconvdata/ibm1149.c: New file.
7498 * iconvdata/ibm1149.h: New file.
7499 * iconvdata/ibm1166.c: New file.
7500 * iconvdata/ibm1166.h: New file.
7501 * iconvdata/ibm1167.c: New file.
7502 * iconvdata/ibm1167.h: New file.
7503 * iconvdata/ibm4517.c: New file.
7504 * iconvdata/ibm4517.h: New file.
7505 * iconvdata/ibm4899.c: New file.
7506 * iconvdata/ibm4899.h: New file.
7507 * iconvdata/ibm4909.c: New file.
7508 * iconvdata/ibm4909.h: New file.
7509 * iconvdata/ibm4971.c: New file.
7510 * iconvdata/ibm4971.h: New file.
7511 * iconvdata/ibm5347.c: New file.
7512 * iconvdata/ibm5347.h: New file.
7513 * iconvdata/ibm9030.c: New file.
7514 * iconvdata/ibm9030.h: New file.
7515 * iconvdata/ibm9066.c: New file.
7516 * iconvdata/ibm9066.h: New file.
7517 * iconvdata/ibm9448.c: New file.
7518 * iconvdata/ibm9448.h: New file.
7519 * iconvdata/ibm12712.c: New file.
7520 * iconvdata/ibm12712.h: New file.
7521 * iconvdata/ibm16804.c: New file.
7522 * iconvdata/ibm16804.h: New file.
7523 * iconvdata/testdata/IBM803: New file.
7524 * iconvdata/testdata/IBM803..UTF8: New file.
7525 * iconvdata/testdata/IBM901: New file.
7526 * iconvdata/testdata/IBM901..UTF8: New file.
7527 * iconvdata/testdata/IBM902: New file.
7528 * iconvdata/testdata/IBM902..UTF8: New file.
7529 * iconvdata/testdata/IBM921: New file.
7530 * iconvdata/testdata/IBM921..UTF8: New file.
7531 * iconvdata/testdata/IBM1008: New file.
7532 * iconvdata/testdata/IBM1008..UTF8: New file.
7533 * iconvdata/testdata/IBM1097: New file.
7534 * iconvdata/testdata/IBM1097..UTF8: New file.
7535 * iconvdata/testdata/IBM1112: New file.
7536 * iconvdata/testdata/IBM1112..UTF8: New file.
7537 * iconvdata/testdata/IBM1123: New file.
7538 * iconvdata/testdata/IBM1123..UTF8: New file.
7539 * iconvdata/testdata/IBM1130: New file.
7540 * iconvdata/testdata/IBM1130..UTF8: New file.
7541 * iconvdata/testdata/IBM1140: New file.
7542 * iconvdata/testdata/IBM1140..UTF8: New file.
7543 * iconvdata/testdata/IBM1141: New file.
7544 * iconvdata/testdata/IBM1141..UTF8: New file.
7545 * iconvdata/testdata/IBM1142: New file.
7546 * iconvdata/testdata/IBM1142..UTF8: New file.
7547 * iconvdata/testdata/IBM1143: New file.
7548 * iconvdata/testdata/IBM1143..UTF8: New file.
7549 * iconvdata/testdata/IBM1144: New file.
7550 * iconvdata/testdata/IBM1144..UTF8: New file.
7551 * iconvdata/testdata/IBM1145: New file.
7552 * iconvdata/testdata/IBM1145..UTF8: New file.
7553 * iconvdata/testdata/IBM1146: New file.
7554 * iconvdata/testdata/IBM1146..UTF8: New file.
7555 * iconvdata/testdata/IBM1147: New file.
7556 * iconvdata/testdata/IBM1147..UTF8: New file.
7557 * iconvdata/testdata/IBM1148: New file.
7558 * iconvdata/testdata/IBM1148..UTF8: New file.
7559 * iconvdata/testdata/IBM1149: New file.
7560 * iconvdata/testdata/IBM1149..UTF8: New file.
7561 * iconvdata/testdata/IBM1166: New file.
7562 * iconvdata/testdata/IBM1166..UTF8: New file.
7563 * iconvdata/testdata/IBM1167: New file.
7564 * iconvdata/testdata/IBM1167..UTF8: New file.
7565 * iconvdata/testdata/IBM4517: New file.
7566 * iconvdata/testdata/IBM4517..UTF8: New file.
7567 * iconvdata/testdata/IBM4899: New file.
7568 * iconvdata/testdata/IBM4899..UTF8: New file.
7569 * iconvdata/testdata/IBM4909: New file.
7570 * iconvdata/testdata/IBM4909..UTF8: New file.
7571 * iconvdata/testdata/IBM4971: New file.
7572 * iconvdata/testdata/IBM4971..UTF8: New file.
7573 * iconvdata/testdata/IBM5347: New file.
7574 * iconvdata/testdata/IBM5347..UTF8: New file.
7575 * iconvdata/testdata/IBM9030: New file.
7576 * iconvdata/testdata/IBM9030..UTF8: New file.
7577 * iconvdata/testdata/IBM9066: New file.
7578 * iconvdata/testdata/IBM9066..UTF8: New file.
7579 * iconvdata/testdata/IBM9448: New file.
7580 * iconvdata/testdata/IBM9448..UTF8: New file.
7581 * iconvdata/testdata/IBM12712: New file.
7582 * iconvdata/testdata/IBM12712..UTF8: New file.
7583 * iconvdata/testdata/IBM16804: New file.
7584 * iconvdata/testdata/IBM16804..UTF8: New file.
7585 Patch by Masahide WASHIZAWA <washi@jp.ibm.com>.
7587 * iconvdata/run-iconv-test.sh: Run ASCII->encoding->ASCII suntzus
7588 test only if $subset is N.
7590 2005-09-29 Roland McGrath <roland@redhat.com>
7593 * posix/sys/wait.h [!__GNUC__ || __cplusplus] (__WAIT_INT): Use const.
7595 2005-09-29 Alfred M. Szmidt <ams@gnu.org>
7597 * elf/rtld.c [DL_ARGV_NOT_RELRO] (_dl_argc, _dl_skip_args):
7598 Don't use attribute_relro.
7600 2005-09-29 Roland McGrath <roland@redhat.com>
7603 * posix/sys/wait.h (__WAIT_INT): Rewrite using an initializer,
7604 in case __typeof yields a const-qualified type.
7606 2005-09-28 Ulrich Drepper <drepper@redhat.com>
7608 * dirent/dirent.h: Declare fdopendir.
7609 * dirent/Versions: Export fdopendir for GLIBC_2.4.
7610 * dirent/Makefile (routines): Add fdopendir.
7611 (tests): Add tst-fdopendir.
7612 * dirent/tst-fdopendir.c: New file.
7613 * include/dirent.h: Declare __alloc_dir.
7614 * sysdeps/generic/fdopendir.c: New file.
7615 * sysdeps/unix/fdopendir.c: New file.
7616 * sysdeps/unix/opendir.c: Split off back part of opendir into new
7617 function __alloc_dir.
7619 2005-09-26 Steven Munroe <sjmunroe@us.ibm.com>
7622 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected y1, y1f, yn,
7625 2005-09-06 Paul Eggert <eggert@cs.ucla.edu>
7626 Ulrich Drepper <drepper@redhat.com>
7629 Change bitset word type from unsigned int to unsigned long int,
7630 as this has better performance on typical 64-bit hosts. Change
7631 bitset type name to bitset_t.
7632 * posix/regcomp.c (build_equiv_class, build_charclass):
7633 (build_range_exp, build_collating_symbol):
7634 Prefer bitset_t to re_bitset_ptr_t in prototypes, when the actual
7635 argument is a bitset. This is merely a style issue, but it makes
7636 it clearer that an entire array is expected.
7637 (re_compile_fastmap_iter, init_dfa, init_word_char, optimize_subexps,
7638 lower_subexp): Adjust for new bitset_t definition.
7639 (lower_subexp, parse_bracket_exp, built_charclass_op): Likewise.
7640 * posix/regex_internal.h (bitset_set, bitset_clear, bitset_contain,
7641 bitset_not, bitset_merge, bitset_set_all, bitset_mask): Likewise.
7642 * posix/regexec.c (check_dst_limits_calc_pos_1,
7643 check_subexp_matching_top, build_trtable, group_nodes_into_DFAstates):
7645 * posix/regcomp.c (utf8_sb_map): Don't assume initializer
7647 * posix/regex_internal.h (BITSET_WORD_BITS): Renamed from UINT_BITS.
7649 (BITSET_WORDS): Renamed from BITSET_UINTS. All uses changed.
7650 (bitset_word_t): New type, replacing 'unsigned int' for bitset uses.
7652 (BITSET_WORD_MAX): New macro.
7653 (bitset_set, bitset_clear, bitset_contain, bitset_empty,
7654 (bitset_set_all, bitset_copy): Adjust for bitset_t change.
7655 (bitset_empty, bitset_copy):
7656 Prefer sizeof (bitset_t) to multiplying it out ourselves.
7657 (bitset_not_merge): Remove; unused.
7658 (bitset_contain): Return bool, not unsigned int with one bit on.
7659 All callers changed.
7660 * posix/regexec.c (build_trtable): Don't assume bitset_t has no
7661 stricter alignment than re_node_set; do this by defining a new
7662 internal type struct dests_alloc and using it to allocate memory.
7664 2005-09-27 Ulrich Drepper <drepper@redhat.com>
7667 * stdlib/strtod_l.c (STRNCASECMP): Always use C locale object.
7668 (TOLOWER_C): Define. Use it when recognizing inf and nan.
7669 * stdlib/Makefile (tests): Add bug-strtod2.
7670 * stdlib/bug-strtod2.c: New file.
7672 2005-09-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7675 * argp/argp-fmtstream.h [HAVE_CONFIG_H]: Do not #include <config.h>.
7676 * argp/argp-eexst.c, argp/argp-fmtstream.c, argp/argp-fs-xinl.c,
7677 argp/argp-xinl.c: Fix up whitespace.
7679 2005-09-27 Ulrich Drepper <drepper@redhat.com>
7682 * stdlib/cxa_atexit.c (__new_exitfn): Rewrite to preserve order in
7683 which the functions were registered.
7684 * dlfcn/Makefile: Add rules to build and run bug-atexit1 and
7686 * dlfcn/bug-atexit1.c: New file.
7687 * dlfcn/bug-atexit1-lib.c: New file.
7688 * dlfcn/bug-atexit2.c: New file.
7689 * dlfcn/bug-atexit2-lib.c: New file.
7692 * libio/fileops.c (_IO_new_file_xsputn): Determine amount of
7693 available space in non-line-buffered buffer correctly.
7694 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7695 * stdio-common/Makefile (tests): Add tst-fwrite.
7696 * stdio-common/tst-fwrite.c: New file.
7698 2005-09-26 Ulrich Drepper <drepper@redhat.com>
7701 * malloc/arena.c (ptmalloc_lock_all): If global lock already taken
7702 by the same thread, just bump the counter.
7703 (ptmalloc_unlock_all): If counter for recursive locks hasn't reached
7704 zero, don't do anything else.
7705 * malloc/Makefile (tests): Add tst-mallocfork.
7706 * malloc/tst-mallocfork.c: New file.
7709 * malloc/malloc.c (_int_realloc): Make error message clearer.
7712 * libio/iofgets.c: Treat N==1 correctly.
7713 * libio/iofgets_u.c: Likewise.
7714 * libio/iofgetws.c: Likewise.
7715 * libio/iofgetws_u.c: Likewise.
7716 * stdio-common/Makefile (tests): Add tst-fgets.
7717 * stdio-common/tst-fgets.c: New file.
7719 2005-01-11 Thorsten Kukuk <kukuk@suse.de>
7722 * posix/getconf.c: Add new option -a to print the names of
7723 the current system configuration variables to stdout.
7724 Based on patch from Josh Aas <josha@sgi.com>.
7726 2005-09-26 Ulrich Drepper <drepper@redhat.com>
7729 * sysdeps/posix/getaddrinfo.c (fls): New function.
7730 (gaih_inet): Don't use ffs, use fls. Convert address to native byte
7732 * posix/Makefile (tests): Add tst-rfc3484.
7733 * posix/tst-rfc3484.c: New file.
7736 * libio/iofclose.c (_IO_new_fclose): Unlock the internal lock
7737 before destroying it as part of the _IO_FINISH call.
7738 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
7741 * sysdeps/posix/getaddrinfo.c (match_prefix): Fix matching loop if
7742 number of bits is multiple of 8.
7743 Patch by Fredrik Tolf <fredrik@dolda2000.com>.
7746 * elf/dl-load.c: Report failed loading due to ELF class mismatch
7750 * manual/llio.texi (Waiting for I/O): Correct description of read
7751 conditions reported by select.
7753 2005-09-24 Jakub Jelinek <jakub@redhat.com>
7755 * inet/getnetgrent_r.c (innetgr): Call endfct even if result != 0.
7756 Return 1 only if result == 1. Patch by Benoit Capelle.
7758 2005-09-25 Ulrich Drepper <drepper@redhat.com>
7761 * manual/stdio.texi (Hook Functions): Correct type of position
7762 parameter of seeker and fix fallout of the change in the text.
7765 * iconv/loop.c [!STORE_REST] (SINGLE): Correctly record number of
7766 left-over bytes and store them correctly.
7767 * wcsmbs/tst-mbrtowc2.c: New file.
7768 * wcsmbs/Makefile (tests): Add tst-mbrtowc2.
7770 2005-09-24 Roland McGrath <roland@redhat.com>
7772 * sysdeps/unix/sysv/i386/signal.S: Removed, saved in ports repository.
7773 * sysdeps/unix/sysv/i386/sigreturn.S: Likewise.
7775 2005-09-24 Ulrich Drepper <drepper@redhat.com>
7778 * locale/iso-639.def: More updates from the current spec.
7780 * locale/programs/ld-address.c (address_finish): Produce better
7781 error messages for invalid lang_ab use.
7783 * locale/iso-639.def: Add a few updates from current spec.
7785 2005-09-23 Ulrich Drepper <drepper@redhat.com>
7788 * locale/iso-4217.def: Replace MGF with MGA.
7790 * iconvdata/jis0208.c (__jisx0208_from_ucs4_lat1): Reduce size of
7792 * iconvdata/jis0208.h (ucs4_to_jisx0208): Adjust access.
7794 2004-08-13 GOTO Masanori <gotom@debian.or.jp>
7797 * iconvdata/jis0208.c: Remove 0x005C mapping from
7798 __jisx0208_from_ucs4_lat1.
7799 Reported by Fumitoshi UKAI <ukai@debian.or.jp>
7801 2005-09-23 Ulrich Drepper <drepper@redhat.com>
7804 * libio/fmemopen.c (fmemopen_write): Return 0 instead of -1 if
7805 nothing can be written.
7806 * libio/iofopncook.c (_IO_cookie_write): If something went wrong,
7809 2005-09-22 Ulrich Drepper <drepper@redhat.com>
7812 * posix/regex.h: Define RE_TRANSLATE_TYPE as unsigned char *.
7813 * posix/regcomp.c: Remove unnecessary uses of
7814 unsigned RE_TRANSLATE_TYPE.
7815 * posix/regex_internal.h: Likewise.
7816 * posix/regex_internal.c: Likewise.
7817 * posix/regexexec.c: Likewise.
7818 Based on a patch by Stepan Kasal <kasal@ucw.cz>.
7821 * locale/iso-4217.def: Replace TRL entry with TRY for new Turkish Lira.
7824 * nscd/nscd_getpw_r.c (nscd_getpw_r): Remove incorrectly C&Ped
7825 free call in code handling detection of GC runs.
7827 2005-09-22 Roland McGrath <roland@redhat.com>
7829 * elf/dl-tsd.c (__libc_dl_error_tsd): Use attribute_tls_model_ie for
7830 static __thread variable.
7831 From Alexandre Oliva <aoliva@redhat.com>
7833 * Makefile ($(objpfx)c++-types-check.out): Use $<, not $^, in command.
7834 Reported by Alexandre Oliva <aoliva@redhat.com>.
7836 2005-09-20 Jakub Jelinek <jakub@redhat.com>
7838 * nscd/dbg_log.c (init_logfile): Use fopen64 rather than fopen.
7840 2005-09-20 Roland McGrath <roland@redhat.com>
7842 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use execv, not execl.
7845 * elf/dl-load.c (_dl_map_object_from_fd) [HAVE_Z_RELRO]: Do relro
7846 magic on __stack_prot only if [SHARED]. Skip mprotect if __stack_prot
7847 lies outside the page-rounded-down relro region.
7849 2005-09-19 Richard Henderson <rth@redhat.com>
7852 * sysdeps/unix/alpha/sysdep.h (inline_syscall1): Copy argument(s)
7853 to a temporary first.
7854 (inline_syscall2, inline_syscall3, inline_syscall4): Likewise.
7855 (inline_syscall5, inline_syscall6): Likewise.
7857 * sysdeps/alpha/ldiv.S (lldiv): Add alias.
7859 2005-09-17 Ulrich Drepper <drepper@redhat.com>
7862 * sysdeps/unix/sockatmark.c (sockatmark): Use SIOCATMARK correctly.
7865 * debug/xtrace.sh: Add missing escape character in -? match.
7866 Patch by Peter Breitenlohner <peb@mppmu.mpg.de>.
7869 * wctype/wctype.h: Remove stray __END_NAMESPACE_C99.
7870 * stdlib/stdlib.h: Use __END_NAMESPACE_STD instead of
7871 __END_NAMESPACE_C99 in one place.
7872 * scripts/begin-end-check.pl: New file.
7873 Patch by Ralph Loader <suckfish@ihug.co.nz>.
7874 * Makefile: Add rules to run scripts/begin-end-check.pl.
7876 2005-09-17 Andreas Jaeger <aj@suse.de>
7878 * timezone/zdump.c: Include ctype.h.
7880 2005-09-16 Andreas Jaeger <aj@suse.de>
7883 * sysdeps/unix/sysv/linux/mips/getpagesize.c: New file.
7885 2005-09-16 Maciej W. Rozycki <macro@linux-mips.org>
7888 * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Load the number of
7889 the syscall immediately before invocation.
7890 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Likewise.
7891 * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise.
7893 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use
7894 macros to handle GP.
7895 * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall):
7896 Likewise. Update inaccurate comments.
7898 2005-09-13 Ulrich Drepper <drepper@redhat.com>
7900 * sysdeps/posix/spawni.c (__spawni): Automatically recognize some
7901 more cases when we can use vfork.
7903 2005-08-29 Thomas Schwinge <schwinge@nic-nac-project.de>
7906 * manual/memory.texi (Hooks for Malloc): Correct prototype of
7907 my_init_hook and definition of my_free_hook.
7909 2005-09-12 Roland McGrath <roland@redhat.com>
7912 * malloc/obstack.h [!__STDC__] (obstack_int_grow_fast): Fix misnamed
7914 Reported by Matej Vela <vela@debian.org>.
7916 2005-09-12 Jakub Jelinek <jakub@redhat.com>
7918 * malloc/malloc.c (struct malloc_chunk): Fix comment typo.
7919 (public_cALLOc): For mmapped chunks and perturb_byte != 0,
7920 don't clear SIZE_SZ bytes more than should be cleared.
7922 2005-09-09 Jakub Jelinek <jakub@redhat.com>
7924 * inet/getnetgrent_r.c: Include assert.
7925 (setup): Remove FUNC_NAME and ALL arguments, assume they are always
7926 "setnetgrent" and 1.
7927 (endnetgrent_hook): New function.
7928 (internal_endnetgrent): Use it.
7929 (__internal_setnetgrent_reuse): Use it. Adjust setup caller.
7930 If status is NSS_STATUS_SUCCESS, yet action is continue, call
7932 (internal_getnetgrent_r): Use __nss_lookup_function rather than
7933 setup. Recompute getfct pointer after successful
7934 __internal_setnetgrent_reuse. Don't use __nss_next.
7935 (innetgr): Use __nss_lookup_function instead of __nss_lookup.
7936 Adjust setup caller.
7937 * nss/nss_files/files-netgrp.c (_nss_files_endnetgrent): Always clear
7938 data_size and cursor. Add libnss_files_hidden_proto and
7939 libnss_files_hidden_def.
7940 (_nss_files_setnetgrent): Call _nss_files_endnetgrent on failure.
7941 * nis/nss_nis/nis-netgrp.c (internal_endnetgrent): Always clear
7942 data_size and cursor.
7943 (_nss_nis_setnetgrent): Don't call internal_endnetgrent.
7944 (_nss_nis_getnetgrent_r): Remove result->cursor == NULL handling.
7945 * nis/nss_nisplus/nisplus-netgrp.c (internal_endnetgrent): Always clear
7946 data_size and position.
7947 (_nss_nisplus_setnetgrent): Don't call internal_endnetgrent.
7949 2005-09-09 Ulrich Drepper <drepper@redhat.com>
7951 * nss/getent.c (netgroup_keys): Call endnetgrent.
7952 (main): Call mtrace.
7954 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): We don't
7955 need locking for the stream. Use feof_unlocked.
7957 2005-09-09 Jakub Jelinek <jakub@redhat.com>
7960 * locale/loadarchive.c (_nl_load_locale_from_archive): Free
7961 normalized_codeset even if p was already normalized.
7962 Reported by Jaroslav Snajdr <jsnajdr@kerio.com>.
7964 2005-09-08 Roland McGrath <roland@redhat.com>
7966 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Decode DSOCAPS
7967 properly, first byte is bit number in mask. Skip disabled caps.
7969 2005-07-11 Derek R. Price <derek@ximbiot.com>
7972 * sysdeps/generic/glob.c (glob): Only a 0 return from
7973 getlogin_r means success, according to POSIX 1003.2.
7975 2005-06-23 Paul Eggert <eggert@cs.ucla.edu>
7978 * time/mktime.c: Import from gnulib.
7979 The following macros are now consistent with other gnulib code.
7980 This does not change mktime's behavior.
7981 (TYPE_IS_INTEGER): New macro.
7982 (time_t_is_integer): Use it.
7983 (TYPE_TWOS_COMPLEMENT): New macro.
7984 (twos_complement_arithmetic): Use it.
7985 (TYPE_ONES_COMPLEMENT): New macro.
7986 (TYPE_MINIMUM, TYPE_MAXIMUM): Now supports signed-magnitude.
7987 mktime doesn't use this, but the code now matches other gnulib code.
7988 (ranged_convert): Pacify GCC 4.0 in a different way, which
7989 generates a few bytes less code.
7990 (ranged_convert, __mktime_internal): When calling a function via a
7991 pointer P, use P () rather than (*P) (), as we now assume C89 or
7994 2005-09-07 Alexandre Oliva <aoliva@redhat.com>
7996 * timezone/test-tz.c: Update to match tzdata2005m.
7997 * timezone/tst-timezone.c: Likewise.
7999 2005-09-07 Ulrich Drepper <drepper@redhat.com>
8001 * posix/regexec.c (find_recover_state): Remove unnecessary
8003 (transit_state_bkref): Make DFA a const pointer.
8004 (get_subexp): Likewise.
8005 (check_arrival): Likewise.
8006 (update_cur_sifted_state): Likewise.
8007 (re_search_internal): Likewise.
8008 (prune_impossible_nodes): Likewise.
8009 (acquire_init_state_context): Likewise.
8010 (proceed_next_node): Likewise.
8011 (set_regs): Likewise.
8012 (free_fail_stack_return): Likewise.
8013 (check_arrival_expand_ecl): Mark DFA parameter as const.
8014 (check_arrival_expand_ecl_sub): Likewise.
8015 (check_subexp_limits): Likewise.
8016 (sub_epsilon_src_nodes): Likewise.
8017 (add_epsilon_src_nodes): Likewise.
8018 (merge_state_array): Likewise.
8019 (update_regs): Likewise.
8020 (build_trtable): Likewise.
8021 (sift_states_backward): Mark MCTX parameter as const.
8022 (build_sifted_states): Likewise.
8023 (update_cur_sifted_state): Likewise.
8024 (sift_states_mkref): Likewise.
8025 (check_arrival_expand_ecl): Mark eclosure as const.
8026 (check_dst_limits_calc_pos_1): Likewise.
8027 * posix/regex_internal.h (re_match_context_t): Make dfa a const
8030 2005-09-06 Ulrich Drepper <drepper@redhat.com>
8032 * timezone/africa: Update from tzdata2005m.
8033 * timezone/asia: Likewise.
8034 * timezone/australasia: Likewise.
8035 * timezone/backward: Likewise.
8036 * timezone/europe: Likewise.
8037 * timezone/northamerica: Likewise.
8038 * timezone/southamerica: Likewise.
8039 * timezone/zone.tab: Likewise.
8040 * timezone/zdump.c: Update from tzcode2005m.
8042 * posix/regexec.c (merge_state_with_log): Define dfa as const pointer.
8043 (transit_state_sb): Likewise.
8044 (transit_state_mb): Likewise.
8045 (sift_states_iter_mb): Likewise.
8046 (check_arrival_add_next_nodes): Likewise.
8047 (check_node_accept_bytes): Change first parameter to pointer-to-const.
8048 [_LIBC] (re_search_2_stub): Use mempcpy.
8050 * posix/regex_internal.c (re_string_reconstruct): Avoid calling
8051 mbrtowc for very simple UTF-8 case.
8053 2005-09-01 Paul Eggert <eggert@cs.ucla.edu>
8055 * posix/regex_internal.c (build_wcs_upper_buffer): Fix portability
8056 bugs in int versus size_t comparisons.
8058 2005-09-06 Ulrich Drepper <drepper@redhat.com>
8060 * posix/regex_internal.c (re_acquire_state): Make DFA pointer arg
8062 (re_acquire_state_context): Likewise.
8063 * posix/regex_internal.h: Adjust prototypes.
8065 2005-08-31 Jim Meyering <jim@meyering.net>
8067 * posix/regcomp.c (search_duplicated_node): Make first pointer arg
8069 * posix/regex_internal.c (create_ci_newstate, create_cd_newstate,
8070 register_state): Likewise.
8071 * posix/regexec.c (search_cur_bkref_entry, check_dst_limits):
8072 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos):
8073 (group_nodes_into_DFAstates): Likewise.
8075 2005-08-31 Paul Eggert <eggert@cs.ucla.edu>
8077 * posix/regexec.c (re_search_internal): Simplify update of
8078 rm_so and rm_eo by replacing "if (A == B) A += C - B;"
8079 with the equivalent of "if (A == B) A = C;".
8081 2005-09-06 Ulrich Drepper <drepper@redhat.com>
8083 * posix/regcomp.c (re_compile_internal): Change third parameter type
8085 (init_dfa): Likewise. Make sure that arithmetic on pat_len doesn't
8087 * posix/regex_internal.h (struct re_dfa_t): Change type of nodes_alloc
8088 and nodes_len to size_t.
8089 * posix/regex_internal.c (re_dfa_add_node): Use size_t as type for
8090 new_nodes_alloc. Check for overflow.
8092 2005-08-31 Paul Eggert <eggert@cs.ucla.edu>
8094 * posix/regcomp.c (re_compile_fastmap_iter, init_dfa, init_word_char):
8095 (optimize_subexps, lower_subexp):
8096 Don't assume 1<<31 has defined behavior on hosts with 32-bit int,
8097 since the signed shift might overflow. Use 1u<<31 instead.
8098 * posix/regex_internal.h (bitset_set, bitset_clear, bitset_contain):
8100 * posix/regexec.c (check_dst_limits_calc_pos_1): Likewise.
8101 (check_subexp_matching_top): Likewise.
8102 * posix/regcomp.c (optimize_subexps, lower_subexp):
8103 Use CHAR_BIT rather than 8, for clarity.
8104 * posix/regexec.c (check_dst_limits_calc_pos_1):
8105 (check_subexp_matching_top): Likewise.
8106 * posix/regcomp.c (init_dfa): Make table_size unsigned, so that we
8107 don't have to worry about portability issues when shifting it left.
8108 Remove no-longer-needed test for table_size > 0.
8109 * posix/regcomp.c (parse_sub_exp): Do not shift more bits than there
8110 are in a word, as the resulting behavior is undefined.
8111 * posix/regexec.c (check_dst_limits_calc_pos_1): Likewise;
8112 in one case, a <= should have been an <, and in another case the
8113 whole test was missing.
8114 * posix/regex_internal.h (BYTE_BITS): Remove. All uses changed to
8115 the standard name CHAR_BIT.
8117 * posix/regex_internal.h (re_sub_match_top_t): Remove unused member
8119 (struct re_dfa_t): Remove unused member states_alloc.
8120 * posix/regcomp.c (init_dfa): Don't initialize unused members.
8122 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
8124 * posix/regexec.c (set_regs): Don't alloca with an unbounded size.
8126 alloca modernization/simplification for regex.
8127 * posix/regex.c: Remove portability cruft for alloca. This no longer
8128 needs to be at the start of the file, and can be moved into
8129 regex_internal.h and simplified.
8130 * posix/regex_internal.h: Include <alloca.h>.
8131 (__libc_use_alloca) [!defined _LIBC]: New macro.
8132 * posix/regexec.c (build_trtable): Remove "#ifdef _LIBC",
8133 since the code now works outside glibc.
8135 2005-09-06 Ulrich Drepper <drepper@redhat.com>
8137 * include/regex.h: Remove use of _RE_ARGS.
8139 2005-08-25 Paul Eggert <eggert@cs.ucla.edu>
8141 * posix/regexec.c (find_recover_state): Change "err" to "*err".
8143 2005-08-24 Paul Eggert <eggert@cs.ucla.edu>
8145 * posix/regcomp.c (regerror): Pointer args are 'restrict',
8147 * posix/regex.h (regerror): Likewise.
8148 * manual/pattern.texi (POSIX Regexp Compilation): Likewise.
8149 Similarly for regcomp and regexec. Also, first 2 args of regexec
8150 and 2nd arg of regerror are const.
8152 * posix/regex.c: Do not include <sys/types.h>, as POSIX no longer
8153 requires this. (The code never needed it.)
8155 2005-08-20 Paul Eggert <eggert@cs.ucla.edu>
8157 * posix/regexec.c (sift_states_bkref): re_node_set_insert returns
8158 int, not reg_errcode_t.
8160 * posix/regex_internal.c (calc_state_hash): Put 'inline' before type,
8161 since some broken compilers warn about it otherwise.
8163 * posix/regcomp.c (create_initial_state): Remove duplicate decl.
8165 2005-08-20 Paul Eggert <eggert@cs.ucla.edu>
8167 * posix/regex.h (_RE_ARGS): Remove. No longer needed, since we assume
8168 C89 or better. All uses removed.
8170 2005-09-06 Ulrich Drepper <drepper@redhat.com>
8172 * posix/regex.c: Prevent using C++ compilers.
8174 2005-08-19 Paul Eggert <eggert@cs.ucla.edu>
8176 * posix/regcomp.c (duplicate_node): Return new index, not an error
8177 code, and let the caller return REG_ESPACE if out of space. This
8178 removes an uninitialied-variable warning with GCC 4.0.1, and also
8179 avoids taking the address of a local variable. All callers
8182 2005-09-06 Ulrich Drepper <drepper@redhat.com>
8184 * include/time.h (__strptime_internal): Rename parameter to avoid
8185 bogus compiler warning.
8187 2005-08-19 Jim Meyering <jim@meyering.net>
8189 * posix/regexec.c (proceed_next_node): Redo local variables to
8190 avoid GCC shadowing warnings.
8192 2005-09-06 Ulrich Drepper <drepper@redhat.com>
8194 * posix/regex_internal.c (re_acquire_state): Minor code rearrangement.
8195 (re_acquire_state_context): Likewise.
8197 2005-08-19 Paul Eggert <eggert@cs.ucla.edu>
8199 * posix/regex_internal.c (re_string_realloc_buffers):
8200 (re_node_set_insert, re_node_set_insert_last, re_dfa_add_node):
8201 Rename local variables to avoid GCC shadowing warnings.
8203 2005-07-08 Eric Blake <ebb9@byu.net>
8204 Paul Eggert <eggert@cs.ucla.edu>
8206 * posix/regcomp.c (init_dfa): Store __btowc value in wint_t, not
8207 wchar_t. Remove now-unnecessary cast.
8208 (build_range_exp): Likewise.
8210 2005-08-31 Bob Wilson <bob.wilson@acm.org>
8212 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Remove the
8213 exponent bias from the increment value for scaling by 2^60.
8215 2005-09-05 Alexandre Oliva <aoliva@redhat.com>
8217 * configure.in: Compile source test file with -fPIC for -shared.
8219 2005-09-04 Ulrich Drepper <drepper@redhat.com>
8221 * iconv/skeleton.c: Eliminate DEFINE_DIRECTION_OBJECTS macro use,
8222 it wasn't used. Remove use of from_object and to_object variable,
8223 replace with some constants. Adjust users.
8225 * sysdeps/i386/bits/string.h: Removed.
8227 * stdio-common/Makefile (tests): Add tst-put-error.
8228 * stdio-common/tst-put-error.c: New file.
8229 * libio/fileops.c (_IO_new_file_xsputn): If overflow fails and no more
8230 data would have to be written signal error.
8231 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8233 * libio/fileops.c (_IO_new_file_overflow): Use NULL not 0.
8235 2005-09-02 Ulrich Drepper <drepper@redhat.com>
8237 * elf/dl-load.c (_dl_map_object_from_fd): No need to change
8238 protection of memory used for the last segment.
8240 2005-08-22 Robert Millan <robertmh@gnu.org>
8242 * sysdeps/mach/hurd/nfs/nfs.h: Move to ...
8243 * sysdeps/generic/nfs/nfs.h: ... here.
8245 2005-09-01 Ulrich Drepper <drepper@redhat.com>
8247 * libio/stdio.h: Remove __wur from ungetc, sscanf, and vsscanf.
8248 Add __wur to feof{,_unlocked}, ferror{,_unlocked},
8249 fileno{,_unlocked}, and popen.
8251 2005-08-30 Ulrich Drepper <drepper@redhat.com>
8253 * sysdeps/ieee754/flt-32/e_hypotf.c [!__STDC__]: Fix function name.
8255 2005-08-01 Bob Wilson <bob.wilson@acm.org>
8256 Richard Sandiford <richard@codesourcery.com>
8258 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Add missing
8259 exponent bias to the value for 2^126.
8261 2005-08-30 Jakub Jelinek <jakub@redhat.com>
8262 Alan Modra <amodra@bigpond.net.au>
8264 * elf/dl-addr.c (_dl_addr): Use DL_ADDR_SYM_MATCH macro.
8265 * sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): Define.
8266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h: New file.
8268 2005-08-23 Ulrich Drepper <drepper@redhat.com>
8270 * nscd/nscd.c (main): Use error while process isn't running in the
8271 background, not dbg_log.
8272 * nscd/nscd_conf.c (nscd_parse_file): Likewise.
8273 Mark messages with _(). Unify testing for database name.
8275 * nscd/connection.c (DEFAULT_DATASIZE_PER_BUCKET): Move to nscd.h.
8276 (dbs): Initialize max_db_size fields.
8277 (nscd_init): When mapping the database, use max_db_size as the
8278 mapping size even if it is bigger than the file size.
8279 * nscd/mem.c (mempool_alloc): When resizing the file make sure the
8280 limit in max_db_size is not exceeded. Don't use mremap, just
8281 posix_fallocate is enough (according to Linus). Use posix_fallocate
8283 * nscd/nscd.conf: Add max-db-size parameters.
8284 * nscd/nscd.h (struct database_dyn): Add max_db_size field.
8285 Define DEFAULT_MAX_DB_SIZE and DEFAULT_DATASIZE_PER_BUCKET.
8286 Temporarily define TEMP_FAILURE_RETRY_VAL here.
8287 * nscd/nscd_conf.c (nscd_parse_file): Parse max-db-size parameter
8288 and add sanity checks for it.
8290 * nscd/aicache.c (addhstaiX): Use send with MSG_NOSIGNAL not write to
8292 * nscd/connection.c (writeall): Likewise.
8293 (handle_request): Likewise.
8294 * nscd/grpcache.c (cache_addgr): Likewise.
8295 * nscd/hstcache.c (cache_addhst): Likewise.
8296 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8297 * nscd/nscd.c (parse_opt): Likewise.
8298 * nscd/nscd_stat.c (send_stats): Likewise.
8299 (receive_print_stats): Likewise.
8300 * nscd/pwdcache.c (cache_addpw): Likewise.
8302 * sysdeps/unix/sysv/linux/Versions: Export inotify_* syscalls.
8304 2005-08-22 Jakub Jelinek <jakub@redhat.com>
8306 * stdlib/bits/stdlib.h (mbstowcs): Divide __bos (__dst) by
8307 sizeof (wchar_t) rather than multiplying __len by sizeof (wchar_t).
8308 Pass __bos (__dst) / sizeof (wchar_t) to the *_chk routine.
8309 * wcsmbs/bits/wchar2.h (mbsrtowcs, mbsnrtowcs): Likewise.
8310 * debug/mbsnrtowcs_chk.c (__mbsnrtowcs_chk): Don't multiply
8311 len by sizeof (wchar_t).
8312 * debug/mbsrtowcs_chk.c (__mbsrtowcs_chk): Likewise.
8313 * debug/mbstowcs_chk.c (__mbstowcs_chk): Likewise.
8314 Fix type of SRC argument. Pass &SRC rather than SRC to
8316 * debug/wcstombs_chk.c (__wcstombs_chk): Pass &SRC rather than SRC
8318 * debug/tst-chk1.c: Include assert.h.
8319 (do_test): Change enough array from VLA into a fixed size array.
8320 Assert that MB_CUR_MAX is <= sizeof (enough). Use FAIL () macro
8321 instead of print error details. Add several new tests.
8322 Kill some unused variable warnings.
8324 2005-08-21 Ulrich Drepper <drepper@redhat.com>
8326 * resolv/res_send.c (Aerror): Fix printing IP address.
8328 * resolv/res_send.c (send_vc): Pass correct sockaddr size to connect.
8330 2005-08-19 H.J. Lu <hongjiu.lu@intel.com>
8332 * sysdeps/ia64/fpu/libm_error.c (__libm_error_support): Don't abort.
8334 2005-08-17 Robert Love <rml@novell.com>
8336 * sysdeps/unix/sysv/linux/sys/inotify.h: Add IN_MOVE_SELF event.
8338 2005-08-19 Bruno Haible <bruno@clisp.org>
8340 * intl/localealias.c (read_alias_file): In case of failure, close the
8341 file descriptor and sort the array before returning.
8343 2005-08-19 Ulrich Drepper <drepper@redhat.com>
8345 * malloc/Makefile: Link libmemusage.so with ld.so.
8346 * malloc/memusage.c: Use atomic operations for all counter and size
8347 computations. Handle thread stacks.
8348 * sysdeps/generic/memusage.h: Define memusage_cntr_t and
8350 * sysdeps/i386/i686/memusage.h: New file.
8351 * include/atomic.h: Define atomic_max and atomic_min.
8353 * debug/tst-chk1.c: Add tests for mbstowcs and wcstombs.
8355 2005-08-17 Paul Eggert <eggert@cs.ucla.edu>
8358 * posix/regex.h: Remove spurious space-before-tab. From gnulib.
8360 2005-08-16 Ulrich Drepper <drepper@redhat.com>
8362 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8364 * sysdeps/unix/sysv/linux/sys/inotify.h: New file.
8365 * sysdeps/unix/sysv/linux/syscalls.list: Add inotify syscalls.
8367 * nscd/cache.c (prune_cache): Add more debug output. Only for
8368 debug level 3 and higher and very verbose.
8370 * nscd/cache.c (prune_cache): Use stat64 not stat.
8371 * nscd/connections.c (nscd_init): Likewise.
8373 2005-08-10 Sergio Gelato <Sergio.Gelato@astro.su.se>
8376 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Change assert check
8377 from (len > 0) to (len >= 0).
8379 2005-08-16 Ulrich Drepper <drepper@redhat.com>
8381 * nis/nis_xdr.c (_xdr_nis_result): Fix type of res variable.
8382 Reported by Thomas Schwinge.
8384 2005-08-15 Jakub Jelinek <jakub@redhat.com>
8386 * nis/nis_subr.c (nis_leaf_of_r): Handle buflen == 0 correctly.
8388 2005-08-16 Ulrich Drepper <drepper@redhat.com>
8390 * nss/getent.c (more_help): Use open_memstream instead of handling
8391 memory allocation ourselves.
8393 2005-08-16 Jay Fenlason <fenlason@redhat.com>
8395 * nss/getent.c (parse_options): change the -s option to support
8396 {database}:{search} to override /etc/resolv.conf for only the
8399 2005-08-08 Ulrich Drepper <drepper@redhat.com>
8401 * nscd/connections.c (main_loop_epoll): Pass NULL as event
8402 argument for epoll_ctl(EPOLL_CTL_DEL) calls.
8404 * nscd/nscd_stat.c (receive_print_stats): Really print values of
8405 thread number, paranoia, and restart interval the server is using.
8407 * argp/argp-help.c: Use _IO_vasprintf instead of vasprintf.
8408 * include/stdio.h: Add libc_hidden_proto for __vfprintf_chk.
8409 * debug/vfprintf_chk.c: Add libc_hidden_def.
8411 2005-08-08 Roland McGrath <roland@redhat.com>
8413 * argp/argp-help.c (__argp_error): __asprintf -> vasprintf.
8414 (__argp_failure): Likewise.
8416 2005-08-08 Ulrich Drepper <drepper@redhat.com>
8418 * nscd/cache.c (cache_add): Commit hash table and header to disk.
8420 * nscd/mem.c (mempool_alloc): Use posix_fallocate instead of ftruncate.
8421 * nscd/connections.c (nscd_init): Likewise.
8423 2005-08-08 Jakub Jelinek <jakub@redhat.com>
8425 * stdio-common/fxprintf.c: Include libioP.h.
8427 * posix/bits/unistd.h (confstr, getgroups, ttyname_r, gethostname,
8428 getdomainname): Add __NTH.
8429 * stdlib/bits/stdlib.h (ptsname_r, wctomb, mbstowcs, wcstombs):
8431 (realpath): Likewise. Use __const instead of const. Add __restrict
8433 * socket/bits/socket2.h (recvfrom): Add __restrict keyword to __buf.
8434 * wcsmbs/bits/wchar2.h (wmemcpy, wmemmove, wmempcpy, wmemset,
8435 wcscpy, wcpcpy, wcsncpy, wcpncpy, wcscat, wcsncat, vswprintf, wcrtomb,
8436 mbsrtowcs, wcsrtombs, mbsnrtowcs, wcsnrtombs): Add __NTH.
8437 * string/bits/string3.h (__memset_ichk): Likewise.
8438 (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk, __strcpy_ichk,
8439 __stpcpy_ichk, __strncpy_ichk, stpncpy, __strcat_ichk,
8440 __strncat_ichk): Likewise. Use __const instead of const.
8441 (__stpncpy_chk): Use __const instead of const.
8442 (__stpncpy_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8444 2005-08-08 Ulrich Drepper <drepper@redhat.com>
8445 Jakub Jelinek <jakub@redhat.com>
8447 * nscd/mem.c (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): Move
8449 * nscd/nscd.h (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): ...here.
8450 * nscd/connections.c (usekey): New enum.
8451 (check_use, verify_persistent_db): New functions.
8452 (nscd_init): If persistent database is corrupted, unlink it and
8453 recreate rather than falling back to non-persistent database.
8454 Call verify_persistent_db. Avoid overflows in total computation.
8456 2005-08-08 Ulrich Drepper <drepper@redhat.com>
8458 * iconvdata/utf-16.c (PREPARE_LOOP): Minor cleanups to make code
8459 better readable. Avoid passing var to loop function, it's not
8462 2005-08-07 Ulrich Drepper <drepper@redhat.com>
8464 * elf/elf.h (DT_ALPHA_PLTRO): Use symbolic name in DT_ALPHA_PLTRO
8467 2005-08-05 Ulrich Drepper <drepper@redhat.com>
8469 * timezone/checktab.awk: Update from tzcode2005k.
8470 * timezone/private.h: Likewise.
8471 * timezone/scheck.c: Likewise.
8472 * timezone/tzselect.ksh: Likewise.
8473 * timezone/zdump.c: Likewise.
8474 * timezone/zic.c: Likewise.
8475 * timezone/africa: Update from tzdata2005k.
8476 * timezone/antarctica: Likewise.
8477 * timezone/asia: Likewise.
8478 * timezone/australasia: Likewise.
8479 * timezone/europe: Likewise.
8480 * timezone/iso3166.tab: Likewise.
8481 * timezone/leapseconds: Likewise.
8482 * timezone/northamerica: Likewise.
8483 * timezone/solar87: Likewise.
8484 * timezone/solar88: Likewise.
8485 * timezone/solar89: Likewise.
8486 * timezone/southamerica: Likewise.
8487 * timezone/zone.tab: Likewise.
8489 2005-08-05 Roland McGrath <roland@frob.com>
8492 * mach/shortcut.awk: Ignore `weak_alias' lines.
8493 Reported by Alfred M. Szmidt <ams@gnu.org>.
8496 * sysdeps/mach/hurd/mig-reply.c (reply_port): Don't use ?: as lvalue.
8497 Reported by Alfred M. Szmidt <ams@gnu.org>.
8499 2005-08-03 Dwayne Grant McConnell <dgm69@us.ibm.com>
8501 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s):
8502 Use +=, not =, to append. Remove duplicate flags.
8503 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8504 Likewise. Fix comments.
8506 2005-08-01 Ulrich Drepper <drepper@redhat.com>
8508 * sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Restart system
8509 call if it returned EINTR.
8511 2005-07-31 Ulrich Drepper <drepper@redhat.com>
8513 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Move
8514 helper variable into .data.rel.ro. Simplify the code. Extend
8515 comment to explain prelinking.
8517 2005-07-31 Andreas Jaeger <aj@suse.de>
8519 * include/bits/syslog.h: New file.
8521 2005-07-30 Ulrich Drepper <drepper@redhat.com>
8523 * elf/dl-load.c [__WORDSIZE==64] (FILEBUF_SIZE): Adjust the value
8524 up. We have more program header entries now and the note section
8525 was normally not loaded.
8527 * nis/nis_subr.c: Some minor code cleanups.
8529 2005-07-29 Ulrich Drepper <drepper@redhat.com>
8531 * misc/bits/syslog.h: New file.
8532 * misc/sys/syslog.h: Include <bits/syslog.h> for fortification.
8533 * misc/Makefile (headers): Add bits/syslog.h.
8534 * include/sys/syslog.h: Add __vsyslog_chk prototype and hidden_proto.
8535 * sysdeps/generic/syslog.c: Change vsyslog function to __vsyslog_chk.
8536 Call __vfprintf_chk if necessary. Make vsyslog a wrapper. Add
8538 * misc/Versions: Export __syslog_chk and __vsyslog_chk.
8540 2005-07-28 Thomas Schwinge <schwinge@nic-nac-project.de>
8543 * misc/error.c [_LIBC]: Include <stdbool.h> and <stdint.h>.
8545 2005-07-28 Ulrich Drepper <drepper@redhat.com>
8547 * nis/nis_xdr.c: Help gcc to avoid generating unnecessary wrapper
8550 2005-07-28 Jakub Jelinek <jakub@redhat.com>
8552 * stdio-common/fxprintf.c (__fxprintf): Add INTUSE to _IO_vfprintf
8554 * gmon/gmon.c (write_gmon): Use __snprintf rather than snprintf.
8556 2005-07-28 Ulrich Drepper <drepper@redhat.com>
8558 * nis/nis_file.c: Rewrite the two pairs of functions into wrappers
8559 around a pair of new, generalized functions. 22% size reduction.
8561 2005-07-27 Ulrich Drepper <drepper@redhat.com>
8563 * nis/nis_xdr.c: Remove unnecessary cast which might hide bugs.
8564 Rearrange code. This reduces the code size 10%.
8566 2005-07-26 Jakub Jelinek <jakub@redhat.com>
8568 * misc/error.c (error_tail): Fix a comment typo.
8570 2005-07-25 Ulrich Drepper <drepper@redhat.com>
8572 * po/zh_TW.po: Update from translation team.
8574 * debug/mbstowcs_chk.c: New file.
8575 * debug/wcstombs_chk.c: New file.
8576 * debug/Makefile (routines): Add mbstowcs_chk and wcstombs_chk.
8577 * debug/Versions: Add __mbstowcs_chk and __wcstombs_chk.
8578 * stdlib/bits/stdlib.h: Add definitions for mbstowcs and wcstombs.
8580 * wcsmbs/bits/wchar2.h (mbsrtowcs): Pretty printing.
8582 2005-07-24 Ulrich Drepper <drepper@redhat.com>
8584 * string/test-memset.c (test_main): Use negative byte value in
8587 * string/test-memset.c (do_one_test): Compare effect of call, not
8589 Add a few casts to avoid warnings.
8591 2005-07-24 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
8593 * sysdeps/sh/memset.S (memset): Correct 2nd argument handling.
8595 2005-07-24 Ulrich Drepper <drepper@redhat.com>
8598 * posix/Makefile (tests): Add tst-execvp4.
8599 * posix/tst-execvp4.c: New file.
8601 2005-07-24 Jakub Jelinek <jakub@redhat.com>
8604 * posix/execvp.c (execvp): Change path_malloc to
8605 char *, free that pointer on failure.
8607 2005-07-24 Ulrich Drepper <drepper@redhat.com>
8609 * wcsmbs/bits/wchar2.h: Use __FILE not FILE.
8610 * wcsmbs/Makefile: Add rules to build and run tst-wchar-h.
8611 * wcsmbs/tst-wchar-h.c: New file.
8613 2005-07-22 Ulrich Drepper <drepper@redhat.com>
8615 * stdio-common/fxprintf.c (__fxprintf): Define variable more local.
8617 2005-07-22 Jakub Jelinek <jakub@redhat.com>
8619 * wcsmbs/bits/wchar2.h (__vfwprintf_chk, __vwprintf_chk): Use
8620 __gnuc_va_list rather than _G_va_list.
8622 2005-07-22 Roland McGrath <roland@redhat.com>
8625 * Makerules ($(objpfx)stubs): Fix last change.
8627 2005-07-21 Roland McGrath <roland@redhat.com>
8629 * nscd/Makefile ($(objpfx)nscd): Pass $(nscd-cflags) to $(LINK.o).
8631 * stdlib/Makefile (headers): Move bits/wchar.h to ...
8632 * wcsmbs/Makefile (headers): ... here. Add bits/wchar2.h too.
8634 2005-07-21 Jakub Jelinek <jakub@redhat.com>
8636 * wcsmbs/bits/wchar2.h (swprintf): Remove format argument.
8637 * debug/tst-chk1.c (do_test): Add test for swprintf with format
8638 being the last argument.
8640 2005-07-21 Thorsten Kukuk <kukuk@suse.de>
8642 * debug/getgroups_chk.c (__getgroups_chk): Fix return value.
8644 * stdio-common/fxprintf.c: Include string.h.
8646 2005-07-20 Ulrich Drepper <drepper@redhat.com>
8649 * sysdeps/x86_64/fpu/libm-test-ulps: Adjust expected atan2f results.
8650 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8651 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8653 2005-07-20 Bob Wilson <bob.wilson@acm.org>
8654 Darin Petkov <darin@tensilica.com>
8657 * sysdeps/ieee754/flt-32/e_atan2f.c (pi_lo): Correct exponent value.
8659 2005-07-20 Jakub Jelinek <jakub@redhat.com>
8661 * include/stdio.h (__fxprintf): Remove wfmt argument.
8662 * stdio-common/fxprintf.c: Include assert.h, ctype.h and wchar.h.
8663 (__fxprintf): Remove wfmt argument, create wfmt format string on
8665 * argp/argp-fmtstream.c: Adjust all __fxprintf callers.
8666 * argp/argp-help.c: Likewise.
8667 * assert/assert-perr.c: Likewise.
8668 * assert/assert.c: Likewise.
8669 * gmon/gmon.c: Likewise.
8670 * inet/rcmd.c: Likewise.
8671 * malloc/obstack.c: Likewise.
8672 * misc/error.c: Likewise.
8673 * misc/getpass.c: Likewise.
8674 * posix/getopt.c: Likewise.
8675 * resolv/res_hconf.c: Likewise.
8676 * stdio-common/perror.c: Likewise.
8677 * stdio-common/psignal.c: Likewise.
8678 * stdlib/fmtmsg.c: Likewise.
8679 * sunrpc/auth_unix.c: Likewise.
8680 * sunrpc/clnt_perr.c: Likewise.
8681 * sunrpc/clnt_tcp.c: Likewise.
8682 * sunrpc/clnt_udp.c: Likewise.
8683 * sunrpc/clnt_unix.c: Likewise.
8684 * sunrpc/svc_simple.c: Likewise.
8685 * sunrpc/svc_tcp.c: Likewise.
8686 * sunrpc/svc_udp.c: Likewise.
8687 * sunrpc/svc_unix.c: Likewise.
8688 * sunrpc/xdr.c: Likewise.
8689 * sunrpc/xdr_array.c: Likewise.
8690 * sunrpc/xdr_rec.c: Likewise.
8691 * sunrpc/xdr_ref.c: Likewise.
8692 * sysdeps/generic/wordexp.c: Likewise.
8694 2005-07-20 Ulrich Drepper <drepper@redhat.com>
8696 * wcsmbs/bits/wchar2.h: Add definitions for wcrtomb, mbsrtowcs,
8697 wcsrtombs, mbsnrtowcs, and wcsnrtombs.
8698 * debug/Makefile (routines): Add wcrtomb_chk, mbsrtowcs_chk,
8699 wcsrtombs_chk, mbsnrtowcs_chk, and wcsnrtombs_chk.
8700 * debug/Versions: Add __wcrtomb_chk, __mbsrtowcs_chk,
8701 __wcsrtombs_chk, __mbsnrtowcs_chk, and __wcsnrtombs_chk.
8702 * debug/tst-chk1.c: Add tests for new functions.
8703 * debug/mbsnrtowcs_chk.c: New file.
8704 * debug/mbsrtowcs_chk.c: New file.
8705 * debug/wcrtomb_chk.c: New file.
8706 * debug/wcsnrtombs_chk.c: New file.
8707 * debug/wcsrtombs_chk.c: New file.
8709 2005-07-19 Ulrich Drepper <drepper@redhat.com>
8711 * stdio-common/Makefile (aux): Add fxprintf.
8712 * stdio-common/fxprintf.c: New file.
8713 * include/stdio.h: Add declaration for __fxprintf.
8714 * argp/argp-fmtstream.c: Use __fxprintf instead of inline stream
8715 orientation test and two separate function calls.
8716 * argp/argp-help.c: Likewise.
8717 * assert/assert-perr.c: Likewise.
8718 * assert/assert.c: Likewise.
8719 * gmon/gmon.c: Likewise.
8720 * inet/rcmd.c: Likewise.
8721 * malloc/obstack.c: Likewise.
8722 * misc/error.c: Likewise.
8723 * misc/getpass.c: Likewise.
8724 * posix/getopt.c: Likewise.
8725 * resolv/res_hconf.c: Likewise.
8726 * stdio-common/perror.c: Likewise.
8727 * stdio-common/psignal.c: Likewise.
8728 * stdlib/fmtmsg.c: Likewise.
8729 * sunrpc/auth_unix.c: Likewise.
8730 * sunrpc/clnt_perr.c: Likewise.
8731 * sunrpc/clnt_tcp.c: Likewise.
8732 * sunrpc/clnt_udp.c: Likewise.
8733 * sunrpc/clnt_unix.c: Likewise.
8734 * sunrpc/svc_simple.c: Likewise.
8735 * sunrpc/svc_tcp.c: Likewise.
8736 * sunrpc/svc_udp.c: Likewise.
8737 * sunrpc/svc_unix.c: Likewise.
8738 * sunrpc/xdr.c: Likewise.
8739 * sunrpc/xdr_array.c: Likewise.
8740 * sunrpc/xdr_rec.c: Likewise.
8741 * sunrpc/xdr_ref.c: Likewise.
8742 * sysdeps/generic/wordexp.c: Likewise.
8745 * misc/Makefile: Add rules to build and run tst-error1.
8746 * misc/tst-error1.c: New file.
8747 * misc/error.c: Fix memory leak and possibly endless loop.
8749 * configure.in: Check for -fstack-protector gcc option.
8750 * config.make.in (have-ssp): Add template.
8751 * nscd/Makefile (nscd-cflags): Add -fstack-protector if supported.
8753 * nscd/nscd.c (main): Don't ignore result of chdir call.
8755 2005-07-18 Roland McGrath <roland@redhat.com>
8758 * Makerules ($(objpfx)stubs): Do cd into $(objdir) to reduce size of
8759 objdump command line.
8761 2005-07-18 Ulrich Drepper <drepper@redhat.com>
8763 * nscd/Makefile (nscd-cflags): Add _FORTIFY_SOURCE.
8765 * nscd/connections.c: Fix a few wur warnings.
8768 * nscd/grpcache.c (cache_addgr): Use correct maximum for group ID
8769 length. Patch by Ivan Gyurdiev <ivg2@cornell.edu>.
8771 * debug/confstr_chk.c: New file.
8772 * debug/getdomainname_chk.c: New file.
8773 * debug/getgroups_chk.c: New file.
8774 * debug/gethostname_chk.c: New file.
8775 * debug/getlogin_r_chk.c: New file.
8776 * debug/ttyname_r_chk.c: New file.
8777 * posix/bits/unistd.h: Add definitions for new debug versions.
8778 * debug/tst-chk1.c: Add tests for new functions.
8779 * debug/Versions: Export new functions.
8780 * debug/Makefile (routines): Add new files.
8782 * stdlib/bits/stdlib.h: Fix typo.
8784 2005-07-13 Thorsten Kukuk <kukuk@suse.de>
8786 * manual/Makefile (libc/index.html): Depend on dir-add.texi.
8788 2005-07-15 Ulrich Drepper <drepper@redhat.com>
8790 * stdlib/bits/stdlib.h: Use __REDIRECT_NTH instead of __REDIRECT
8792 * wcsmbs/bits/wchar2.h: Likewise.
8794 2005-07-15 Andreas Jaeger <aj@suse.de>
8796 * debug/Makefile (tst-lfschk3-ENV): New, set locale.
8797 (tst-lfschk2-ENV): New.
8798 (tst-lfschk1-ENV): New.
8799 (tst-chk3-ENV): New.
8800 (tst-chk2-ENV): New.
8801 (tst-chk1-ENV): New.
8804 * include/stdlib.h: Remove malloc attribute from __posix_memalign.
8805 * stdlib/stdlib.h: Likewise.
8807 2005-07-15 Ulrich Drepper <drepper@redhat.com>
8809 * wcsmbs/bits/wchar2.h: New file.
8810 * include/bits/wchar2.h: New file.
8811 * wcsmbs/wchar.h: Include <bits/wchar2.h> if fortification is
8813 * wcsmbs/wcsncpy.c: Add __wcsncpy alias.
8814 * string/bits/string3.h: Add fortified stpncpy definitions.
8815 * sysdeps/generic/stpncpy_chk.c: New file.
8816 * libio/vswprintf.c: Move _IO_wstrnfile definition to strfile.h.
8817 Export _IO_wstrn_jumps.
8818 * libio/strfile.h: Define _IO_wstrnfile and declare _IO_wstrn_jumps.
8819 * include/wchar.h: Declare __wcsncpy and __vswprintf_chk.
8820 * debug/fgetws_chk.c: New file.
8821 * debug/fgetws_u_chk.c: New file.
8822 * debug/fwprintf_chk.c: New file.
8823 * debug/swprintf_chk.c: New file.
8824 * debug/vfwprintf_chk.c: New file.
8825 * debug/vswprintf_chk.c: New file.
8826 * debug/vwprintf_chk.c: New file.
8827 * debug/wcpcpy_chk.c: New file.
8828 * debug/wcpncpy_chk.c: New file.
8829 * debug/wcscat_chk.c: New file.
8830 * debug/wcscpy_chk.c: New file.
8831 * debug/wcsncat_chk.c: New file.
8832 * debug/wcsncpy_chk.c: New file.
8833 * debug/wmemcpy_chk.c: New file.
8834 * debug/wmemmove_chk.c: New file.
8835 * debug/wmempcpy_chk.c: New file.
8836 * debug/wmemset_chk.c: New file.
8837 * debug/wprintf_chk.c: New file.
8838 * debug/tst-chk1.c: Add tests for new functions.
8839 * debug/Versions: Export new functions.
8840 * debug/Makefile (routines): Add new functions.
8842 2005-07-13 Ulrich Drepper <drepper@redhat.com>
8844 * nscd/nscd_helper.c: Add a few __builtin_expect.
8847 * nscd/connections.c (send_ro_fd): Make sure BUF is aligned correctly.
8848 * nscd/nscd_helper.c (wait_on_socket): New function.
8849 (get_mapping): Use wait_on_socket instead of poll. The former handles
8850 EINTR of poll correctly.
8851 (__nscd_open_socket): Likewise.
8852 (get_mapping): Make sure BUF is aligned correctly.
8853 (get_mapping): Use munmap on correct pointer.
8855 2005-07-12 Ulrich Drepper <drepper@redhat.com>
8857 * include/libc-symbols.h: Define macros for librt hidden symbols.
8858 * include/time.h: Add librt_hidden_proto definition for clock_gettime.
8859 * sysdeps/generic/clock_gettime.c: Add librt_hidden_def.
8860 * sysdeps/unix/clock_gettime.c: Likewise.
8862 * stdlib/bits/stdlib.h: New file.
8863 * stdlib/stdlib.h: Include <bits/stdlib.h> if fortification is
8865 * Makefile (headers): Add bits/stdlib.h.
8866 * include/bits/stdlib.h: New file.
8867 * debug/Depend: New file.
8868 * debug/ptsname_r_chk.c: New file.
8869 * debug/realpath_chk.c: New file.
8870 * debug/wctomb_chk.c: New file.
8871 * debug/Makefile (routines): Add ptsname_r_chk, realpath_chk, and
8873 * debug/Versions: Export __ptsname_r_chk, __realpath_chk, and
8875 * debug/tst-chk1.c: Add tests for __ptsname_r_chk, __realpath_chk, and
8878 2005-07-12 Jakub Jelinek <jakub@redhat.com>
8881 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Include not-cancel.h.
8882 (has_cpuclock): Use open_not_cancel_2 instead of open, read_not_cancel
8883 instead of read and close_not_cancel_no_status instead of close.
8886 * sysdeps/s390/s390-64/bcopy.S (__bcopy): Use
8887 HIDDEN_BUILTIN_JUMPTARGET to jump to memmove.
8889 2005-06-27 Carlos O'Donell <carlos@systemhalted.org>
8891 * posix/regcomp.c (re_compile_internal): Call __libc_lock_init
8894 2005-07-08 Ulrich Drepper <drepper@redhat.com>
8896 * sysdeps/x86_64/fpu/s_sincosl.S: Use retq not ret. Remove
8898 * sysdeps/x86_64/fpu/s_sincos.S: New file.
8900 * include/fenv.h: Add libm_hidden_proto for fesetround and
8902 * sysdeps/alpha/fpu/feholdexcpt.c: Add libm_hidden_def.
8903 * sysdeps/alpha/fpu/fesetround.c: Likewise.
8904 * sysdeps/generic/feholdexcpt.c: Likewise.
8905 * sysdeps/generic/fesetround.c: Likewise.
8906 * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
8907 * sysdeps/i386/fpu/fesetround.c: Likewise.
8908 * sysdeps/ia64/fpu/feholdexcpt.c: Likewise.
8909 * sysdeps/ia64/fpu/fesetround.c: Likewise.
8910 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8911 * sysdeps/powerpc/fpu/fesetround.c: Likewise.
8912 * sysdeps/s390/fpu/feholdexcpt.c: Likewise.
8913 * sysdeps/s390/fpu/fesetround.c: Likewise.
8914 * sysdeps/sh/sh4/fpu/feholdexcpt.c: Likewise.
8915 * sysdeps/sh/sh4/fpu/fesetround.c: Likewise.
8916 * sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
8917 * sysdeps/sparc/fpu/fesetround.c: Likewise.
8918 * sysdeps/x86_64/fpu/feholdexcpt.c: Likewise.
8919 * sysdeps/x86_64/fpu/fesetround.c: Likewise.
8920 * sysdeps/generic/s_significand.c (__significand): Use __ilogb not
8922 * sysdeps/generic/s_significandf.c (__significandf): Use __ilogbf
8924 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use __sin and
8925 __cos, not sin and cos.
8927 2005-07-07 Ulrich Drepper <drepper@redhat.com>
8929 * resolv/res_send.c (send_dg): Recognize referral results and
8930 treat them as server errors.
8931 Based on a patch by Jason Vas Dias <jvdias@redhat.com>.
8933 2005-07-08 Carlos O'Donell <carlos@systemhalted.org>
8935 * sysdeps/hppa/setjmp.S (__sigsetjmp): Use %r1 not %r19.
8937 * sysdeps/hppa/add_n.s (__mpn_add_n): Use sr0 or r0, not 0.
8938 * sysdeps/hppa/lshift.s (__mpn_lshift): Likewise.
8939 * sysdeps/hppa/rshift.s (__mpn_rshift): Likewise.
8940 * sysdeps/hppa/sub_n.s (__mpn_sub_n): Likewise.
8941 * sysdeps/hppa/udiv_qrnnd.s (__udiv_qrnnd): Likewise.
8942 * sysdeps/hppa/hppa1.1/udiv_qrnnd.s (__udiv_qrnnd): Likewise.
8944 2005-07-07 Ulrich Drepper <drepper@redhat.com>
8946 * sysdeps/generic/s_ctanh.c (__ctanh): Handle case of zero den better.
8947 * sysdeps/generic/s_ctanhf.c (__ctanhf): Likewise.
8948 * sysdeps/generic/s_ctanhl.c (__ctanhl): Likewise.
8949 * sysdeps/generic/s_ctan.c (__ctan): Likewise.
8950 * sysdeps/generic/s_ctanf.c (__ctanf): Likewise.
8951 * sysdeps/generic/s_ctanl.c (__ctanl): Likewise.
8953 2005-04-13 H.J. Lu <hongjiu.lu@intel.com>
8956 * csu/elf-init.c (__preinit_array_start): Take int, char **, char **.
8957 (__preinit_array_end): Likewise.
8958 (__init_array_start): Likewise.
8959 (__init_array_end): Likewise.
8960 (__libc_csu_init): Take int argc, char **argv, char **envp.
8961 Call preinit_array and init_array with argc, argv, envp.
8962 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Remove
8964 * sysdeps/powerpc/elf/libc-start.c (INIT_MAIN_ARGS): Removed.
8965 * elf/Makefile (distribute): Add tst-array5.c, tst-array5-static.c,
8966 tst-array5dep.c, and tst-array5.exp.
8967 (tests): Add tst-array5.
8968 (tests-static): Add tst-array5-static.
8969 ($(objpfx)tst-array5): New target.
8970 ($(objpfx)tst-array5.out): Likewise.
8971 ($(objpfx)tst-array5-static.out): Likewise.
8972 * elf/tst-array5-static.c: New file.
8973 * elf/tst-array5-static.exp: Likewise.
8974 * elf/tst-array5.c: Likewise.
8975 * elf/tst-array5.exp: Likewise.
8976 * elf/tst-array5dep.c: Likewise.
8978 2005-07-07 Ulrich Drepper <drepper@redhat.com>
8980 * sysdeps/unix/sysv/linux/bits/sched.h: Adjust clone prototype.
8982 2005-07-05 Jakub Jelinek <jakub@redhat.com>
8984 * elf/stackguard-macros.h (STACK_CHK_GUARD): Fix s390/s390x definition.
8985 Reported by Ulrich Weigand <uweigand@de.ibm.com>.
8987 * elf/stackguard-macros.h (STACK_CHK_GUARD): Add ia64 definition.
8989 2005-07-06 Ulrich Drepper <drepper@redhat.com>
8991 * elf/dl-error.c (_dl_signal_error): When testing for executable
8992 being relocated, take into account that nothing might even be loaded.
8994 * elf/dl-reloc.c [PROF] (_dl_relocate_object): Define
8995 consider_profiling always to zero. Don't count of compiler to
8996 remove unreached if block.
8997 * sysdeps/x86_64/dl-trampoline.S [PROF] (_dl_runtime_profile):
8999 * sysdeps/i386/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise.
9000 * sysdeps/ia64/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise.
9001 * sysdeps/s390/s390-64/dl-trampoline.S [PROF] (_dl_runtime_profile):
9003 * sysdeps/s390/s390-32/dl-trampoline.S [PROF] (_dl_runtime_profile):
9005 * sysdeps/powerpc/powerpc64/dl-trampoline.S [PROF]
9006 (_dl_profile_resolve): Likewise.
9007 * sysdeps/powerpc/powerpc32/dl-trampoline.S [PROF]
9008 (_dl_profile_resolve): Likewise.
9009 * gmon/Makefile: Add rules to build and run tst-profile-static.
9010 * gmon/tst-profile-static.c: New file.
9011 * Makeconfig (+link-static): Allow passing program-specific flags.
9013 2005-07-05 Thorsten Kukuk <kukuk@suse.de>
9016 * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Check if NSS
9017 module provides getgrgid_r.
9018 (getgrnam_plusgroup): Preserve original return value.
9019 * nis/nss_compat/compat-pwd.c (getpwnam_plususer): Preserve
9020 original return value.
9021 * nis/nss_compat/compat-spwd.c (getspnam_plususer): Likewise.
9023 2005-07-05 Ulrich Drepper <drepper@redhat.com>
9026 * posix/regex_internal.c (build_wcs_buffer): Use MB_LEN_MAX not
9028 (build_wcs_upper_buffer): Likewise.
9030 * csu/elf-init.c (__libc_csu_fini): Pretty printing.
9032 2005-07-02 Roland McGrath <roland@redhat.com>
9034 * NEWS: Note LinuxThreads removal.
9035 * manual/install.texi (Installation): Don't mention linuxthreads.
9036 (Configuring and compiling): Don't use linuxthreads as example.
9038 * sysdeps/unix/sysv/linux/configure.in: Check for nptl add-on only,
9040 * sysdeps/unix/sysv/linux/configure: Regenerated.
9041 * resolv/Depend: Add nptl.
9042 * rt/Depend: Likewise.
9044 * linuxthreads, linuxthreads_db: Directories removed (preserved in
9047 2005-06-27 Jakub Jelinek <jj@ultra.linux.cz>
9050 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: -mv8 is deprecated,
9053 2005-06-16 Jakub Jelinek <jakub@redhat.com>
9056 * sysdeps/ia64/strlen.S (strlen): Change l2 into a local label.
9058 2005-06-23 Thorsten Kukuk <kukuk@suse.de>
9061 * nscd/nscd_stat.c (receive_print_stats): Replace YESSTR/NOSTR
9062 with own translation.
9064 2005-06-25 Jakub Jelinek <jakub@redhat.com>
9067 * sunrpc/xdr.c (xdr_hyper, xdr_u_hyper): When decoding, cast
9068 t2 to uint32_t instead of ulong.
9069 * sunrpc/Makefile (tests): Add tst-xdrmem.
9070 * sunrpc/tst-xdrmem.c: New test.
9072 * Versions.def (ld): Add GLIBC_2.4.
9073 * configure.in: Add --enable-stackguard-randomization option.
9074 (ENABLE_STACKGUARD_RANDOMIZE): New define.
9075 * config.h.in (ENABLE_STACKGUARD_RANDOMIZE): Add.
9076 * sysdeps/unix/sysv/linux/dl-osinfo.h: Include stdint.h.
9077 (_dl_setup_stack_chk_guard): New inline function.
9078 * sysdeps/generic/dl-osinfo.h: Include stdint.h.
9079 (_dl_setup_stack_chk_guard): New inline function.
9080 * elf/rtld.c (__stack_chk_guard): New variable.
9081 (dl_main): Remove all traces of TLS_INIT_TP_EXPENSIVE.
9082 Set __stack_chk_guard to _dl_setup_stack_chk_guard (),
9083 use THREAD_SET_STACK_GUARD if defined.
9084 * elf/Versions (ld): Export __stack_chk_guard@@GLIBC_2.4.
9085 * sysdeps/generic/libc-start.c (__stack_chk_guard): New variable.
9086 (__libc_start_main): Set __stack_chk_guard to
9087 _dl_setup_stack_chk_guard (), use THREAD_SET_STACK_GUARD if defined.
9088 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Remove all
9089 traces of TLS_INIT_TP_EXPENSIVE.
9090 * debug/Versions (libc): Export __stack_chk_fail@@GLIBC_2.4.
9091 * debug/Makefile (routines): Add stack_chk_fail.
9092 (static-only-routines): Add stack_chk_fail_local.
9093 * debug/stack_chk_fail_local.c: New file.
9094 * debug/stack_chk_fail.c: New file.
9095 * elf/Makefile: Add rules to build and run tst-stackguard1{,-static}
9097 * elf/tst-stackguard1.c: New file.
9098 * elf/tst-stackguard1-static.c: New file.
9099 * elf/stackguard-macros.h: New file.
9101 2005-06-21 Ulrich Drepper <drepper@redhat.com>
9103 * resource/Makefile (tests): Add tst-getrlimit.
9104 * resource/tst-getrlimit.c: New file.
9106 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTPRIO): Fix typo.
9107 * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
9108 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9110 2005-06-20 Ulrich Drepper <drepper@redhat.com>
9112 * nscd/nscd.init: Get more in line with lsb3.
9113 * nscd/nscd.c: Adjust some error codes to fit in better with lsb3.
9114 * nscd/connections.c: Likewise.
9116 2005-06-20 Jakub Jelinek <jakub@redhat.com>
9119 * sysdeps/unix/sysv/linux/sys/quota.h: Add definitions and types for
9120 _LINUX_QUOTA_VERSION >= 2.
9121 (_LINUX_QUOTA_VERSION): Define if not yet defined.
9123 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_NICE,
9124 RLIMIT_RTPRIO): Add.
9125 (RLIMIT_NLIMITS): Adjust.
9126 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_NICE,
9127 RLIMIT_RTPRIO): Add.
9128 (RLIMIT_NLIMITS): Adjust.
9129 * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_NICE,
9130 RLIMIT_RTPRIO): Add.
9131 (RLIMIT_NLIMITS): Adjust.
9132 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_NICE,
9133 RLIMIT_RTPRIO): Add.
9134 (RLIMIT_NLIMITS): Adjust.
9136 2005-06-17 Ulrich Drepper <drepper@redhat.com>
9139 * time/mktime.c: Always include <string.h> for prototype of
9140 implicitly used memcpy.
9143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
9144 (truncate64): Use __truncate, not truncate.
9145 (__have_no_truncate64): Renamed from have_no_truncate64.
9146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
9147 (__have_no_truncate64): Renamed from have_no_truncate64.
9149 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ulps for complex
9150 float functions for gcc 4.
9152 2005-06-10 Jakub Jelinek <jakub@redhat.com>
9154 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup):
9155 Handle prelinked libraries and binaries with new style PLT.
9157 2005-06-07 Jakub Jelinek <jakub@redhat.com>
9159 * elf/elf.h (R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI,
9160 R_PPC_REL16_HA): Define.
9162 2005-06-14 Alan Modra <amodra@bigpond.net.au>
9164 * config.h.in (HAVE_ASM_PPC_REL16): Add.
9165 * elf/elf.h (DT_PPC_GOT, DT_PPC_NUM): Define.
9166 * elf/tls-macros.h (PowerPC32): Include config.h. Add variants of
9167 TLS_IE, TLS_LD and TLS_GD for new PLT/GOT layout.
9168 * sysdeps/powerpc/powerpc32/configure.in: New file,
9169 * sysdeps/powerpc/powerpc32/dl-dtprocnum.h: New file.
9170 * sysdeps/powerpc/powerpc32/dl-machine.h (DT_PPC): Define.
9171 (ppc_got): New inline function.
9172 (elf_machine_dynamic): Use ppc_got. Add attribute const.
9173 (elf_machine_load_address): Add attribute const. Don't use int vars.
9174 Use bcl rather than bl to save trashing branch target stack. Use
9175 elf_machine_dynamic rather than duplicating code here.
9176 (elf_machine_runtime_setup): New inline function replacing define.
9178 (elf_machine_fixup_plt): Handle new PLT.
9179 (elf_machine_rela): Likewise.
9180 * sysdeps/powerpc/powerpc32/sysdep.h: Include config.h.
9181 (CALL_MCOUNT): Don't set up counter vars.
9182 * sysdeps/powerpc/powerpc32/ppc-mcount.S: Correct comment.
9183 * sysdeps/powerpc/powerpc32/elf/start.S (start_addressesp): Don't
9184 define when HAVE_ASM_PPC_REL16.
9185 (_start): Add HAVE_ASM_PPC_REL16 code.
9186 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Don't bl
9187 into the GOT when HAVE_ASM_PPC_REL16.
9188 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
9189 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Ditto.
9190 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Likewise.
9191 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
9192 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
9193 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
9194 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Likewise.
9195 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
9196 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
9197 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
9198 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9199 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
9200 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
9201 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp):
9203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S (__brk): Likewise.
9204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9205 (__getcontext): Likewise.
9206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9207 (__setcontext): Likewise.
9208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9209 (__swapcontext): Likewise.
9210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (stackblock):
9212 (__socket): Bomb if NARGS >= 7. Invoke CGOTSETUP and CGOTRESTORE.
9214 2005-06-17 Ulrich Drepper <drepper@redhat.com>
9217 * sysdeps/posix/sigignore.c: Include <string.h> to tell the compiler
9219 * sysdeps/posix/signal.c: Likewise.
9220 * sysdeps/posix/sigset.c: Likewise.
9221 * sysdeps/posix/sysv_signal.c: Likewise.
9222 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9223 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
9224 * sysdeps/unix/sysv/linux/system.c: Likewise.
9226 2005-06-15 Jakub Jelinek <jakub@redhat.com>
9229 * hesiod/hesiod.c (hesiod_init): Don't check for ctx->classes[0] == 0
9230 or both classes equal here.
9231 (parse_config_file): If both classes are equal, clear the second one.
9233 2005-06-08 Karl Kelley <kekelley@iastate.edu>
9236 * hesiod/hesiod_p.h (struct hesiod_p): Add classes array.
9237 * hesiod/hesiod.c (hesiod_init): Initialize classes. Fail if no
9238 valid classes were given or if both are equal.
9239 (hesiod_resolve): Use ctx->classes instead of hardcoded C_IN
9241 (parse_config_file): Handle classes keyword.
9242 * hesiod/README.hesiod: Mention addition of the classes keyword.
9244 2005-06-14 Ulrich Drepper <drepper@redhat.com>
9247 * configure.in: Add test for availability of libaudit.
9248 * config.h.in: Define HAVE_LIBAUDIT.
9249 * config.make.in: Define have-libaudit.
9250 * nscd/Makefile: If libaudit is available, link nscd with it.
9251 * nscd/selinux.c: If HAVE_LIBAUDIT is defined, log using libaudit.
9252 Patch by Steve Grubb <sgrubb@redhat.com>.
9254 * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64.
9255 * sysdeps/posix/posix_fallocate64.c: Likewise.
9256 * include/string.h: Use libc_hidden_proto for strnlen.
9257 * sysdeps/generic/strnlen.c: Add libc_hidden_def.
9258 * include/libintl.h: Use libc_hidden_proto for __dcgettext.
9259 * intl/dcgettext.c: Add libc_hidden_def.
9260 * include/execinfo.h: Add libc_hidden_proto for __backtrace and
9261 __backtrace_symbols_fd.
9262 * sysdeps/generic/backtrace.c: Add libc_hidden_def.
9263 * sysdeps/generic/backtracesymsfd.c: Likewise.
9264 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9265 * sysdeps/i386/backtrace.c: Likewise.
9266 * sysdeps/ia64/backtrace.c: Likewise.
9267 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
9268 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
9269 * sysdeps/s390/s390-32/backtrace.c: Likewise.
9270 * sysdeps/s390/s390-64/backtrace.c: Likewise.
9272 2005-06-13 Ulrich Drepper <drepper@redhat.com>
9274 * sysdeps/unix/clock_gettime.c (clock_gettime): Implement case
9275 where HANDLED_REALTIME is not defined. [BZ #966]
9277 2005-06-13 Jakub Jelinek <jakub@redhat.com>
9280 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_sendreq,
9281 __netlink_receive): Remove prototypes.
9282 (__netlink_request): New prototype.
9283 * sysdeps/unix/sysv/linux/ifaddrs.c: Include <alloca.h> and
9285 (__netlink_sendreq): Make static.
9286 (__netlink_receive): Rename to...
9287 (__netlink_request): ... this. Add type argument, call
9288 __netlink_sendreq. If MSG_TRUNC is set after recvmsg, retry
9289 with a bigger buffer. Don't record buffers that contain no
9290 messages we are expecting.
9291 (getifaddrs): Use __netlink_request instead of __netlink_sendreq
9292 and __netlink_receive pairs. Formatting.
9293 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex_netlink): Use
9294 __netlink_request instead of __netlink_sendreq and __netlink_receive
9297 2005-06-13 Thorsten Kukuk <kukuk@suse.de>
9299 * sysdeps/unix/sysv/linux/netinet/if_tr.h: Don't include kernel
9300 headers, instead copy important structs/defines.
9302 2005-06-13 Jakub Jelinek <jakub@redhat.com>
9304 * elf/rtld.c (dl_main): Move DT_DEBUG setup before first
9305 _dl_debug_state call.
9307 2005-06-12 Ulrich Drepper <drepper@redhat.com>
9309 * elf/dl-error.c (_dl_signal_error): Store information about use of
9310 real malloc in the catch object.
9311 (_dl_catch_error): Forward information about malloc use to caller
9313 (_dl_out_of_memory): Make static.
9314 * elf/dl-deps.c: Adjust callers of _dl_catch_error.
9315 * elf/dl-libc.c: Likewise.
9316 * elf/dl-open.c: Likewise.
9317 * elf/rtld.c: Likewise.
9318 Add new --audit option.
9319 * sysdeps/generic/ldsodefs.h: Remove _dl_out_of_memory declaration.
9320 (rtld_global_ro._dl_signal_error): Add new parameter.
9321 * include/dlfcn.h (_dl_catch_error): Add new parameter.
9322 * dlfcn/dlfcn.c (_dlerror_run): Pass additional parameter to
9323 _dl_catch_error. Only free if the returned newly value says so.
9325 2005-06-01 Roland McGrath <roland@redhat.com>
9328 * posix/tst-mmap.c (main): Fill the test file with enough data for the
9331 2005-05-30 Jakub Jelinek <jakub@redhat.com>
9333 * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): If
9334 GLRO(dl_osversion) has been already set to a value smaller than
9335 _dl_discover_osversion (), don't overwrite it here.
9337 2005-05-24 Thomas Schwinge <schwinge@nic-nac-project.de>
9339 * sysdeps/mach/i386/syscall.S (syscall): Call END.
9341 2005-05-28 Richard Henderson <rth@redhat.com>
9343 * elf/elf.h (DT_ALPHA_PLTRO, DT_ALPHA_NUM): New.
9344 * sysdeps/alpha/dl-dtprocnum.h: New file.
9345 * sysdeps/alpha/dl-machine.h (DT_ALPHA): New.
9346 (elf_machine_load_address): Simplify to rely on gprel relocations.
9347 (elf_machine_runtime_setup): Handle DT_ALPHA_PLTRO plt format.
9348 Remove thread safety workaround for binutils 2.6.
9349 (elf_machine_fixup_plt): Handle DT_ALPHA_PLTRO plt format.
9350 * sysdeps/alpha/dl-trampoline.S (_dl_runtime_resolve_new): New.
9351 (_dl_runtime_profile_new): New.
9352 (_dl_runtime_resolve_old): Rename from _dl_runtime_resolve.
9353 (_dl_runtime_profile_old): Rename from _dl_runtime_profile. Fix
9354 typo in _dl_call_pltexit argument loading.
9356 * sysdeps/alpha/div_libc.h (funcnoplt): New.
9357 * sysdeps/alpha/divl.S: Use it.
9358 * sysdeps/alpha/divq.S: Likewise
9359 * sysdeps/alpha/divqu.S: Likewise.
9360 * sysdeps/alpha/reml.S: Likewise.
9361 * sysdeps/alpha/remq.S: Likewise.
9362 * sysdeps/alpha/remqu.S: Likewise.
9364 2005-05-26 Andreas Schwab <schwab@suse.de>
9366 * locale/Makefile (CFLAGS-loadlocale.c): Don't define.
9368 2005-05-26 Ulrich Drepper <drepper@redhat.com>
9370 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_DIRECT): Fix value.
9371 Reported by Colin Gibbs <colin@gibbsonline.net>. [BZ #954]
9373 2005-05-17 Alan Modra <amodra@bigpond.net.au>
9375 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Corrent
9376 _dl_hwcap access in PIC && !SHARED case.
9377 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9379 2005-05-25 Dwayne Grant McConnell <dgm69@us.ibm.com>
9381 * gmon/gmon.c: Add space in weak_alias use.
9382 * linuxthreads/sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
9383 * sysdeps/alpha/htonl.S: Likewise.
9384 * sysdeps/alpha/htons.S: Likewise.
9385 * sysdeps/alpha/elf/start.S: Likewise.
9386 * sysdeps/i386/i386-mcount.S: Likewise.
9387 * sysdeps/ia64/strchr.S: Likewise.
9388 * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
9389 * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
9390 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
9391 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
9392 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
9393 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
9394 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
9395 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
9396 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
9397 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
9398 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
9399 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
9400 * sysdeps/mach/hurd/readdir64_r.c: Likewise.
9401 * sysdeps/mach/hurd/sigaltstack.c: Likewise.
9402 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
9403 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
9404 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
9405 * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
9406 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
9407 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
9408 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
9409 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
9410 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
9411 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
9412 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
9413 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
9414 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9415 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9416 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9417 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9418 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9419 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9420 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9421 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9422 * sysdeps/sparc/sparc32/memset.S: Likewise.
9423 * sysdeps/sparc/sparc32/stpcpy.S: Likewise.
9424 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9425 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9426 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
9427 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9428 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9429 * sysdeps/sparc/sparc64/memset.S: Likewise.
9430 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
9431 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
9432 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
9433 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
9434 * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
9435 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
9436 * sysdeps/unix/sysv/linux/alpha/getcontext.S: Likewise.
9437 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
9438 * sysdeps/unix/sysv/linux/alpha/setcontext.S: Likewise.
9439 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
9440 * sysdeps/unix/sysv/linux/alpha/swapcontext.S: Likewise.
9441 * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
9442 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9443 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
9444 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
9445 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9446 * sysdeps/unix/sysv/linux/i386/makecontext.S: Likewise.
9447 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9448 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9449 * sysdeps/unix/sysv/linux/ia64/getcontext.S: Likewise.
9450 * sysdeps/unix/sysv/linux/ia64/setcontext.S: Likewise.
9451 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
9452 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
9453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9454 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9455 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9456 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9457 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9458 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9459 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9460 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
9461 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
9462 * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S: Likewise.
9463 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
9464 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
9465 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
9466 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
9467 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9468 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Likewise.
9469 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9470 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9471 * sysdeps/x86_64/_mcount.S: Likewise.
9473 2005-05-24 Roland McGrath <roland@redhat.com>
9475 * sysdeps/unix/sysv/linux/i386/sysdep.h
9476 (SETUP_PIC_REG, LOAD_PIC_REG): Move these macros ...
9477 * sysdeps/i386/sysdep.h [PIC]: ... to here.
9479 2005-05-23 Roland McGrath <roland@redhat.com>
9481 * sysdeps/arm, sysdeps/unix/arm, sysdeps/unix/sysv/linux/arm:
9482 Subdirectories moved to ports repository.
9483 * configure.in (base_machine): Remove arm* and thumb* patterns.
9484 * shlib-versions (arm.*-.*-linux.*): Remove this pattern.
9486 2005-05-23 Ulrich Drepper <drepper@redhat.com>
9489 * sunrpc/bindrsvprt.c (LOWPORT): Apparently some mountd
9490 implementations are broken and don't accept ports < 512.
9492 2005-05-22 Dmitry V. Levin <ldv@altlinux.org>
9495 * io/sys/sendfile.h: Remove __nonnull from sendfile and sendfile64
9498 2005-05-23 Ulrich Drepper <drepper@redhat.com>
9501 * sunrpc/pm_getport.c (__get_socket): New function.
9502 (pmap_getport): Use it to open a non-reserved socket to the portmapper
9504 * include/rpc/pmap_clnt.h (__get_socket): Declare.
9505 * sunrpc/pm_getmaps.c (pmap_getmaps): Use __get_socket to get an
9506 non-reserved socket for the portmapper.
9507 Based on a patch by Steve Dickson <steved@redhat.com>.
9510 * sunrpc/bindrsvprt.c (bindresvport): Try harder to find a port.
9511 If we tried looking at the usual range without success extend the
9512 range to even lower ports.
9514 * sysdeps/unix/clock_gettime.c (clock_gettime): Revert last patch.
9516 2005-05-22 Andreas Schwab <schwab@suse.de>
9518 * elf/rtld.c: Include <dl-osinfo.h>.
9520 2005-05-17 Alan Modra <amodra@bigpond.net.au>
9522 * sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_RET): Don't use
9523 JUMPTARGET. Instead append @local to __syscall_error.
9524 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Delete all occurrences
9525 of JUMPTARGET. Instead append @local to labels.
9526 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9527 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9528 * sysdeps/powerpc/powerpc32/ppc-mcount.S: Likewise.
9529 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Likewise.
9534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9538 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Use float constants.
9539 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9540 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise.
9541 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9542 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise. Use one GOT
9543 slot to access both constants.
9544 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9545 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9547 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (TWO52.0): Delete.
9548 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (TWO23.0): Delete.
9549 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (TWO52.0): Delete.
9550 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (TWO23.0): Delete.
9551 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Comment typo.
9552 (NEGZERO.0, POINTFIVE.0): Delete.
9553 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (TWO52.0): Delete.
9554 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (TWO23.0): Delete.
9555 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Code in .text.
9556 (TWO52.0, POINTFIVE.0): Delete.
9557 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Code in .text.
9558 (TWO23.0, POINTFIVE.0): Delete.
9559 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Code in .text.
9561 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Code in .text.
9563 * sysdeps/powerpc/powerpc32/memset.S (memset): Formatting.
9565 2005-05-19 Richard Henderson <rth@redhat.com>
9567 * sysdeps/unix/clock_gettime.c (clock_gettime): Fix typo around
9570 * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_bool_32_acq,
9571 __arch_compare_and_exchange_bool_64_acq,
9572 __arch_compare_and_exchange_val_32_acq,
9573 __arch_compare_and_exchange_val_64_acq, atomic_exchange_and_add):
9574 Use __sync builtin without _si or _di suffix.
9576 2005-05-19 Jakub Jelinek <jakub@redhat.com>
9579 * iconvdata/ibm939.c (BODY): Avoid segfaults with input characters
9582 2005-05-17 Andreas Schwab <schwab@suse.de>
9584 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9585 (clock_getcpuclockid): Always return a defined value.
9587 2005-05-17 Neal H. Walfield <neal@gnu.org>
9590 * sysdeps/posix/getaddrinfo.c (gaih_local): Check [_HAVE_SA_LEN]
9592 (gaih_inet): Likewise.
9594 2005-05-11 Ulrich Drepper <drepper@redhat.com>
9596 * elf/elf.h (Elf32_auxv_t): Make cross-compile safe.
9597 (Elf64_auxv_t): Likewise.
9598 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for
9599 removal of a_ptr element in ElfXX_auxv_t.
9600 * elf/dl-support.c (_dl_aux_init): Likewise.
9602 2005-05-09 Daniel Jacobowitz <dan@codesourcery.com>
9604 * sysdeps/unix/sysv/linux/clock_getres.c: Include <time.h>.
9605 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9607 2005-05-09 Alan Modra <amodra@bigpond.net.au>
9609 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
9610 .pushsection/.popsection in place of .section/.previous.
9612 2005-05-08 Ulrich Drepper <drepper@redhat.com>
9614 * MakeTAGS: Make xgettext not look into test cases.
9616 * MakeTAGS: Make sure translations in error calls are marked with
9617 c-format by xgettext.
9619 2005-05-07 Ulrich Drepper <drepper@redhat.com>
9621 * intl/libintl.h: Always use __attribute_format_arg__ for gettext
9622 functions since gcc sometimes forgets the attribute for the
9625 2005-05-06 Jakub Jelinek <jakub@redhat.com>
9628 * posix/regex_internal.h: Include bits/libc-lock.h or define dummy
9629 __libc_lock_* macros if not _LIBC.
9630 (struct re_dfa_t): Add lock.
9631 * posix/regcomp.c (re_compile_internal): Add __libc_lock_init.
9632 * posix/regexec.c (regexec, re_search_stub): Add locking.
9634 2005-05-04 Jakub Jelinek <jakub@redhat.com>
9636 * intl/Makefile (tst-gettext[45].out): Pass also $(run-program-prefix)
9637 as argument to the scripts.
9638 * intl/tst-gettext2.sh: Use mkdir -p instead of test -d + mkdir.
9639 * intl/tst-gettext4.sh: Likewise. Use run_program_prefix argument.
9640 * intl/tst-gettext5.sh: Likewise.
9642 * intl/tst-translit.sh: Add mkdir -p.
9644 * sysdeps/unix/sysv/linux/i386/sysdep.h (SETUP_PIC_REG): Use
9645 .ifndef/.endif to allow use of this macro more than once per .S
9647 (LOAD_PIC_REG): New macro.
9648 * sysdeps/unix/sysv/linux/i386/makecontext.S: Add call frame
9650 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9651 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9652 * sysdeps/i386/fpu/s_asinh.S: Use LOAD_PIC_REG macro. Add call frame
9654 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9655 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9656 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9657 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9658 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9659 * sysdeps/i386/fpu/s_lrint.S: Likewise.
9660 * sysdeps/i386/fpu/s_llrint.S: Likewise.
9661 * sysdeps/i386/fpu/s_ilogbf.S: Likewise.
9662 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9663 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9664 * sysdeps/i386/fpu/e_log.S: Likewise.
9665 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9666 * sysdeps/i386/fpu/s_lrintl.S: Likewise.
9667 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9668 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9669 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9670 * sysdeps/i386/fpu/s_nearbyintl.S: Likewise.
9671 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9672 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9673 * sysdeps/i386/fpu/s_nearbyintf.S: Likewise.
9674 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9675 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9676 * sysdeps/i386/fpu/s_lrintf.S: Likewise.
9677 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9678 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9679 * sysdeps/i386/fpu/s_ilogbl.S: Likewise.
9680 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9681 * sysdeps/i386/fpu/e_powl.S: Likewise.
9682 * sysdeps/i386/fpu/e_powf.S: Likewise.
9683 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9684 * sysdeps/i386/fpu/e_logl.S: Likewise.
9685 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9686 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9687 * sysdeps/i386/fpu/e_pow.S: Likewise.
9688 * sysdeps/i386/fpu/e_logf.S: Likewise.
9689 * sysdeps/i386/fpu/e_log2.S: Likewise.
9690 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9691 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9692 * sysdeps/i386/fpu/s_llrintf.S: Likewise.
9693 * sysdeps/i386/fpu/s_ilogb.S: Likewise.
9694 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9695 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9696 * sysdeps/i386/fpu/e_log10.S: Likewise.
9697 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9698 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9699 * sysdeps/i386/fpu/s_llrintl.S: Likewise.
9700 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9701 * sysdeps/i386/fpu/s_nearbyint.S: Likewise.
9702 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9703 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9704 * sysdeps/i386/addmul_1.S: Various fixes to cfi handling.
9705 * sysdeps/i386/mul_1.S: Likewise.
9706 * sysdeps/i386/strtok.S: Likewise.
9707 * sysdeps/i386/sub_n.S: Likewise.
9708 * sysdeps/i386/submul_1.S: Likewise.
9709 * sysdeps/i386/i586/addmul_1.S: Likewise.
9710 * sysdeps/i386/i586/memcpy.S: Likewise.
9711 * sysdeps/i386/i586/mul_1.S: Likewise.
9712 * sysdeps/i386/i586/rshift.S: Likewise.
9713 * sysdeps/i386/i586/sub_n.S: Likewise.
9714 * sysdeps/i386/i586/submul_1.S: Likewise.
9715 * sysdeps/i386/i686/memcmp.S: Likewise.
9716 * sysdeps/i386/i686/memmove.S: Likewise.
9717 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9718 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9719 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9720 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9722 2005-05-03 Ulrich Drepper <drepper@redhat.com>
9724 * sysdeps/i386/add_n.S: Add call frame information.
9725 * sysdeps/i386/addmul_1.S: Likewise.
9726 * sysdeps/i386/bsd-setjmp.S: Likewise.
9727 * sysdeps/i386/lshift.S: Likewise.
9728 * sysdeps/i386/memchr.S: Likewise.
9729 * sysdeps/i386/memcmp.S: Likewise.
9730 * sysdeps/i386/mul_1.S: Likewise.
9731 * sysdeps/i386/rawmemchr.S: Likewise.
9732 * sysdeps/i386/rshift.S: Likewise.
9733 * sysdeps/i386/stpncpy.S: Likewise.
9734 * sysdeps/i386/strchr.S: Likewise.
9735 * sysdeps/i386/strchrnul.S: Likewise.
9736 * sysdeps/i386/strcspn.S: Likewise.
9737 * sysdeps/i386/strpbrk.S: Likewise.
9738 * sysdeps/i386/strrchr.S: Likewise.
9739 * sysdeps/i386/strspn.S: Likewise.
9740 * sysdeps/i386/strtok.S: Likewise.
9741 * sysdeps/i386/sub_n.S: Likewise.
9742 * sysdeps/i386/submul_1.S: Likewise.
9743 * sysdeps/i386/elf/bsd-setjmp.S: Likewise.
9744 * sysdeps/i386/i486/strcat.S: Likewise.
9745 * sysdeps/i386/i586/add_n.S: Likewise.
9746 * sysdeps/i386/i586/addmul_1.S: Likewise.
9747 * sysdeps/i386/i586/lshift.S: Likewise.
9748 * sysdeps/i386/i586/memcpy.S: Likewise.
9749 * sysdeps/i386/i586/memset.S: Likewise.
9750 * sysdeps/i386/i586/mul_1.S: Likewise.
9751 * sysdeps/i386/i586/rshift.S: Likewise.
9752 * sysdeps/i386/i586/strchr.S: Likewise.
9753 * sysdeps/i386/i586/strcpy.S: Likewise.
9754 * sysdeps/i386/i586/sub_n.S: Likewise.
9755 * sysdeps/i386/i586/submul_1.S: Likewise.
9756 * sysdeps/i386/i686/add_n.S: Likewise.
9757 * sysdeps/i386/i686/memcmp.S: Likewise.
9758 * sysdeps/i386/i686/memmove.S: Likewise.
9759 * sysdeps/i386/i686/mempcpy.S: Likewise.
9760 * sysdeps/i386/i686/memset.S: Likewise.
9761 * sysdeps/i386/i686/strtok.S: Likewise.
9762 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9763 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9764 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9765 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
9766 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9767 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9769 * sysdeps/i386/fpu/libm-test-ulps: Adjust for gcc 4.
9771 * sysdeps/unix/sysv/linux/kernel-features.h: waitid is available
9774 2005-04-29 Jakub Jelinek <jakub@redhat.com>
9777 * sysdeps/posix/posix_fallocate.c (posix_fallocate): If len == 0,
9778 call ftruncate if offset is bigger than current size. Make sure
9779 the file is offset + len bytes long if that is more than current size.
9780 Don't overwrite previous content of the file.
9781 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
9784 2005-05-02 Roland McGrath <roland@redhat.com>
9787 * crypt/md5.c [! HAVE_MEMCPY] (memcpy): Yield proper expression value.
9789 2005-04-29 Roland McGrath <roland@redhat.com>
9791 * timezone/africa: Update from tzdata2005i.
9792 * timezone/asia: Likewise.
9793 * timezone/northamerica: Likewise.
9794 * timezone/yearistype: Likewise.
9796 * sysdeps/i386/sysdep.h (CALL_MCOUNT): Fix typo in last change.
9798 2005-04-29 Ulrich Drepper <drepper@redhat.com>
9801 * nis/nis_table.c: Fix realloc handling.
9802 * nis/nis_removemember.c: Likewise.
9804 2005-04-28 Ulrich Drepper <drepper@redhat.com>
9807 * nscd/Makefile: Help losers who use --with-headers.
9809 2005-04-28 Roland McGrath <roland@redhat.com>
9812 * sysdeps/unix/sysv/linux/dl-sysdep.h: New file.
9813 Define NEED_DL_SYSINFO_DSO for all platforms.
9815 * sysdeps/generic/dl-sysdep.h: Remove multiple inclusion protection.
9816 * sysdeps/alpha/dl-sysdep.h: Likewise.
9817 Use #include_next instead of duplicating generic file's contents.
9818 * sysdeps/ia64/dl-sysdep.h: Likewise.
9819 * sysdeps/sparc/dl-sysdep.h: Likewise.
9821 2005-03-22 Steven Munroe <sjmunroe@us.ibm.com>
9823 * sysdeps/powerpc/powerpc64/memset.S (memset): Make ___memset local.
9825 2005-03-07 Steven Munroe <sjmunroe@us.ibm.com>
9828 * sysdeps/unix/sysv/linux/kernel-features.h
9829 (__ASSUME_TGKILL): Define for powerpc32/64 starting with 2.6.1.
9830 (__ASSUME_UTIMES): Define for powerpc32/64 starting with 2.6.1.
9831 (__ASSUME_FADVISE64_64_SYSCALL): Define for powerpc32 only starting
9833 (__ASSUME_WAITID_SYSCALL): Don't define for powerpc32/64.
9835 2005-04-28 Ulrich Drepper <drepper@redhat.com>
9837 * sysdeps/i386/sysdep.h: Add cfi instrumentation to asm fragments.
9838 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9839 * sysdeps/unix/sysv/linux/i386/socket.S: Remove now duplicate
9840 cfi_startproc and cfi_endproc.
9842 * configure.in: Remove ultrasparc names.
9844 * sysdeps/i386/i686/memcmp.S: Move misplaced END.
9846 2005-03-27 Bruno Haible <bruno@clisp.org>
9848 Make it possible for multiple threads to use gettext() in different
9850 * intl/dcigettext.c (HAVE_PER_THREAD_LOCALE): New macro.
9851 (struct known_translation_t): If HAVE_PER_THREAD_LOCALE, add localename
9853 (transcmp): If HAVE_PER_THREAD_LOCALE, compare localename fields.
9854 (DCIGETTEXT): If HAVE_PER_THREAD_LOCALE, fill the localename field in
9857 * intl/tst-gettext4.c: New file.
9858 * intl/tst-gettext4.sh: New file.
9859 * intl/tst-gettext4-de.po: New file.
9860 * intl/tst-gettext4-fr.po: New file.
9861 * intl/tst-gettext5.c: New file.
9862 * intl/tst-gettext5.sh: New file.
9863 * intl/Makefile (distribute): Add tst-gettext4.sh, tst-gettext4-de.po,
9864 tst-gettext4-fr.po, tst-gettext5.sh.
9865 (multithread-test-srcs): New variable.
9866 (test-srcs): Add its contents.
9867 (tests): Depend on tst-gettext4.out, tst-gettext5.out.
9868 (tst-gettext4.out, tst-gettext5.out): New rules.
9869 (CFLAGS-tst-gettext4.c, CFLAGS-tst-gettext5.c): New variables.
9870 Add rule for linking the multithread-test-srcs with the appropriate
9873 2005-04-28 Ulrich Drepper <drepper@redhat.com>
9875 * po/rw.po: New file. From translation team.
9877 * scripts/config.guess: Update from upstream.
9878 * scripts/config.sub: Likewise.
9880 2005-04-27 Ulrich Drepper <drepper@redhat.com>
9883 * nscd/connections.c (nscd_run): Use time() value in prune_cache
9884 call, not timeout value, since the latter might be from another clock.
9886 2005-04-27 Roland McGrath <roland@redhat.com>
9889 * posix/unistd.h: Remove __nonnull from acct decl.
9891 * rt/tst-cpuclock1.c: New file.
9892 * rt/tst-cpuclock2.c: New file.
9893 * rt/tst-cputimer1.c: New file.
9894 * rt/tst-cputimer2.c: New file.
9895 * rt/tst-cputimer3.c: New file.
9896 * rt/Makefile (tests): Add them.
9898 * sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h: New file.
9899 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: New file.
9900 * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c
9901 (HAS_CPUCLOCK): New macro.
9902 (clock_getcpuclockid): Function removed.
9903 #include the new linux file to define it instead.
9904 * sysdeps/unix/clock_gettime.c [HP_TIMING_AVAIL] (hp_timing_gettime):
9905 New function, broken out of ...
9906 (clock_gettime) [HP_TIMING_AVAIL]: ... here. Call it.
9907 (realtime_gettime): New function, broken out of ...
9908 (clock_gettime) [! HANDLED_REALTIME]: ... here. Call it.
9909 (clock_gettime) [SYSDEP_GETTIME_CPU]: Use new macro in default case.
9910 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): New macro.
9911 (SYSDEP_GETTIME_CPUTIME): New macro.
9912 (SYSDEP_GETTIME): Use both.
9913 [! __ASSUME_POSIX_TIMERS] (maybe_syscall_gettime): New function, broken
9915 (SYSDEP_GETTIME): ... here. Use it.
9916 [__NR_clock_gettime] (HANDLED_CPUTIME): Define it.
9917 (SYSDEP_GETTIME_CPUTIME): New macro. Handle CPU timers by trying
9918 kernel support and falling back to hp-timing code.
9919 * sysdeps/posix/clock_getres.c
9920 [HP_TIMING_AVAIL] (hp_timing_getres): New function, broken out of ...
9921 (clock_getres) [HP_TIMING_AVAIL]: ... here. Call it.
9922 (realtime_getres): New function, broken out of ...
9923 (clock_getres) [! HANDLED_REALTIME]: ... here. Call it.
9924 (clock_getres) [SYSDEP_GETRES_CPU]: Use new macro in default case.
9925 * sysdeps/unix/sysv/linux/clock_getres.c (SYSCALL_GETRES): New macro.
9926 (SYSDEP_GETRES_CPUTIME): New macro.
9927 (SYSDEP_GETRES): Use both.
9928 [! __ASSUME_POSIX_TIMERS] (maybe_syscall_getres): New function, broken
9930 (SYSDEP_GETRES): ... here. Use it.
9931 [__NR_clock_getres] (HANDLED_CPUTIME): Define it.
9932 (SYSDEP_GETRES_CPUTIME): New macro. Handle CPU timers by trying
9933 kernel support and falling back to hp-timing code.
9934 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Handle
9935 CLOCK_PROCESS_CPUTIME_ID and CLOCK_PROCESS_THREAD_ID specially,
9936 translating to the kernel clockid_t for our own process/thread clock.
9938 2005-04-27 Ulrich Drepper <drepper@redhat.com>
9940 * stdlib/test-canon.c: Make doesExist a directory and add more tests
9941 for the new error case.
9943 2004-06-02 Dmitry V. Levin <ldv@altlinux.org>
9944 Ranjani Murthy <ranmur@gmail.com>
9946 * stdlib/canonicalize.c (__realpath): Change realpath(3) to
9947 return NULL and set errno to ENOTDIR for such pathnames like
9948 "/path/to/existing-non-directory/".
9950 2005-04-26 Ulrich Drepper <drepper@redhat.com>
9953 * time/strptime_l.c (__strptime_internal): Handle 'z' to set
9955 * time/Makefile (tests): Add tst-strptime2.
9956 * time/tst-strptime2.c: New file.
9958 2005-04-26 Jakub Jelinek <jakub@redhat.com>
9961 * elf/dl-close.c: Include stddef.h.
9962 (_dl_close): If called recursively, just remember GC needs to be rerun
9963 and decrease l_direct_opencount. Avoid GC if l_direct_opencount
9964 decreased to 1. Rerun GC at the end if any destructor unloaded some
9965 additional libraries.
9966 * elf/Makefile: Add rules to build and run unload6 test.
9967 * elf/unload6.c: New test.
9968 * elf/unload6mod1.c: New file.
9969 * elf/unload6mod2.c: New file.
9970 * elf/unload6mod3.c: New file.
9972 * malloc/hooks.c (mem2chunk_check): Add magic_p argument, set *magic_p
9973 if magic_p is not NULL.
9974 (top_check): Invoke MALLOC_FAILURE_ACTION if MORECORE failed.
9975 (malloc_check): Fail if sz == -1.
9976 (free_check): Adjust mem2chunk_check caller.
9977 (realloc_check): Likewise. Fail if bytes == -1. If bytes == 0 and
9978 oldmem != NULL, call free_check and return NULL. If reallocating
9979 and returning NULL, invert magic byte again to make oldmem valid
9980 region for further checking.
9981 (memalign_check): Fail if bytes == -1.
9982 * malloc/Makefile: Add rules to build and run tst-mcheck.
9983 * malloc/tst-mcheck.c: New test.
9985 2005-04-26 Ulrich Drepper <drepper@redhat.com>
9988 * stdio-common/vfscanf.c: Correctly account for characters of
9989 decimal points right after +-.
9991 2005-04-26 Roland McGrath <roland@redhat.com>
9993 * elf/rtld-Rules (rtld-all): Test ifndef rtld-modules instead of
9994 ifeq ($(subdir),elf) to distinguish main driver from subdir runs.
9996 2005-04-25 Roland McGrath <roland@redhat.com>
9998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9999 (INTERNAL_SYSCALL_ERROR_P): Fix typo in last change.
10001 * sunrpc/xdr.c (xdr_u_int): Use `long' for L and cast where needed.
10003 * elf/dl-load.c: Revert last change.
10005 2005-04-24 Ulrich Drepper <drepper@redhat.com>
10008 * stdio-common/vfscanf.c: Fix parsing of decimal point after +-.
10009 Patch by Hamed Malek <hamed@bamdad.org>.
10011 2005-04-21 Roland McGrath <roland@redhat.com>
10013 * elf/dl-load.c (_dl_map_object_from_fd): Don't use MAP_DENYWRITE,
10014 since Linux ignores it in user mmap calls.
10016 2005-04-17 David S. Miller <davem@davemloft.net>
10018 * sysdeps/sparc/sparc32/elf/start.S: Define __data_start.
10019 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10021 2005-04-15 Roland McGrath <roland@redhat.com>
10023 * timezone/Makefile (zic-deps): New variable.
10024 ($(testdata)/America/New_York): Use it instead of explicit deps.
10025 ($(testdata)/Etc/UTC, $(testdata)/Australia/Melbourne): Likewise.
10026 ($(testdata)/America/Sao_Paulo, $(testdata)/Asia/Tokyo): Likewise.
10027 (%/UTC %/Universal): New pattern rule, replaces ...
10028 ($(testdata)/UTC, $(testdata)/Universal): ... these removed targets.
10029 ($(testdata)/%/Berlin $(testdata)/%/London): New pattern rule.
10030 ($(testdata)/Europe/London, $(testdata)/Europe/Berlin): Removed.
10032 2005-04-14 Roland McGrath <roland@redhat.com>
10034 * MakeTAGS ($P/$(domain).pot): Depend on distinfo file as well.
10035 (extract): Filter-out distinfo file name.
10038 * MakeTAGS (text-srcs): Match %.bash.in files too.
10041 * nscd/Makefile (all-nscd-modules): New variable, include selinux
10042 module regardless of configuration.
10043 (distribute): Use that instead of $(nscd-modules).
10045 2005-04-13 David S. Miller <davem@davemloft.net>
10047 Add sparc64 TLS and NPTL support.
10048 * elf/tls-macros.h: Add Sparc64 defines.
10049 * sysdeps/sparc/sparc64/dl-machine.h (sparc64_fixup_plt): Mark as
10051 (elf_machine_fixup_plt): Likewise.
10052 (elf_machine_rela): Handle TLS relocations.
10053 (elf_machine_type_cleaa): Likewise.
10054 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10055 (SYSCALL_ERROR_HANDLER_ENTRY): Use sethi/or for GOT reloc.
10056 It does not always fit in R_SPARC_GOT13 when building -fPIC.
10057 Also, add TLS handling.
10058 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10059 Increase it to 2.4.21 for sparc64.
10060 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: NULL terminate
10061 backtrace by zero'ing out %fp. Store away flags, func_ptr,
10062 and func_arg in global registers not local registers.
10063 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Handle PTID, TLS,
10064 and CTID arguments properly. Add RESET_PID handling.
10065 * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Rework so that we
10066 do not invoke __sigprocmask(). We can always assume rt signals
10067 are present on sparc64, so just do an inline syscall.
10069 2005-04-13 Jakub Jelinek <jakub@redhat.com>
10071 * sysdeps/sparc/sparc64/dl-machine.h: Add dl_machine_h multiple
10072 inclusion guard for the first half of the header.
10073 (elf_machine_type_class, ELF_MACHINE_JMP_SLOT, ELF_MACHINE_NO_REL,
10074 ELF_MACHINE_PLTREL_OVERLAP, elf_machine_runtime_setup,
10075 elf_machine_relplt, DL_STACK_END, RTLD_START): Move into the
10076 #ifndef dl_machine_h guarded part of the header.
10078 2005-04-14 Ulrich Drepper <drepper@redhat.com>
10081 * posix/execvp.c (execvp): Use file name including path when
10082 trying to run it with shell.
10083 * posix/Makefile: Add rules to build and run tst-execvp3.
10084 * posix/tst-execvp3.c: New file.
10086 2005-04-12 Ulrich Drepper <drepper@redhat.com>
10089 * stdlib/random_r.c (__initstate_r): Don't use non-existing state.
10090 * string/tst-strfry.c: New file.
10091 * string/Makefile (tests): Add tst-strfry.
10093 2005-04-11 James A. Morrison <ja2morri@uwaterloo.ca>
10095 * manual/string.texi: Fix typo in wmemcpy decl.
10097 2005-04-10 David S. Miller <davem@davemloft.net>
10099 * sysdeps/sparc/sparc32/dl-trampoline.S: Use std not stx.
10101 2005-04-08 Carlos O'Donell <carlos@baldric.uwo.ca>
10103 * FAQ.in: Explain why `make' might fail running rpcgen.
10104 * FAQ: Regenerated.
10106 2005-04-07 Roland McGrath <roland@redhat.com>
10108 * po/libc.pot: Regenerated.
10110 2005-04-07 Roland McGrath <roland@redhat.com>
10112 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion)
10113 [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
10114 GLRO(dl_sysinfo_map) for PT_NOTE giving Linux kernel version,
10115 we can skip the uname call if it's there.
10116 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't use
10117 DL_SYSDEP_OSCHECK here.
10118 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]: Do it here instead.
10120 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro):
10121 Add _dl_sysinfo_map.
10122 * elf/rtld.c (dl_main): Don't call _dl_init_paths early in the
10123 rtld_is_main case. Call it unconditionally later.
10124 Move GLRO(dl_sysinfo_dso) handling earlier, before _dl_init_paths call.
10125 Initialize GLRO(dl_sysinfo_map).
10126 * elf/dl-load.c (open_path): Bail out if _dl_init_paths wasn't called.
10127 * sysdeps/generic/dl-sysdep.c (_DL_FIRST_EXTRA): New macro.
10128 (_dl_important_hwcaps)
10129 [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
10130 GLRO(dl_sysinfo_map) for PT_NOTE giving synthetic hwcap names
10132 * elf/ldconfig.c (_DL_FIRST_EXTRA): New macro.
10133 (hwcap_extra): New static variable.
10134 (is_hwcap_platform): Check hwcap_extra for a matching name.
10135 Remove tls special case.
10136 (path_hwcap): Likewise.
10137 (parse_conf): Parse "hwcap" directive to define synthetic hwcap bits
10138 and their names, stored in hwcap_extra.
10139 (main) [USE_TLS]: Initialize final synthetic hwcap bit as "tls".
10141 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Use uint64_t for
10142 _dl_hwcap and _dl_hwcap_mask.
10143 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Cast a_val for
10144 AT_HWCAP to unsigned long int.
10145 * elf/dl-support.c (_dl_aux_init): Likewise.
10146 (_dl_hwcap): Update defn.
10148 * elf/cache.c (print_entry): Pad hwcap value with 0s in diagnostic.
10149 * elf/ldconfig.c (search_dir): Likewise.
10151 2005-04-05 Roland McGrath <roland@redhat.com>
10153 * NEWS: Copy 2.3.5 section from 2.3 branch.
10155 * intl/tst-codeset.sh: Use mkdir -p. Put msgfmt output in temporary
10156 file and mv it into place.
10157 * intl/tst-gettext3.sh: Likewise.
10159 * Makefile (glibc-%.tar rule): Use make -q to ensure configure scripts
10160 are up to date in srcdir. Touch all configure scripts after export.
10162 * iconv/gconv_int.h: Include <ctype.h> and <string.h>.
10164 2005-04-05 H.J. Lu <hongjiu.lu@intel.com>
10167 * sysdeps/ia64/fpu/e_acosh.S: Update from Intel libm 2005-04-05
10168 (comment changes only).
10169 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
10170 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
10171 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
10172 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
10173 * sysdeps/ia64/fpu/e_exp.S: Likewise.
10174 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
10175 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
10176 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
10177 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
10178 * sysdeps/ia64/fpu/e_expf.S: Likewise.
10179 * sysdeps/ia64/fpu/e_log.S: Likewise.
10180 * sysdeps/ia64/fpu/e_logf.S: Likewise.
10181 * sysdeps/ia64/fpu/e_pow.S: Likewise.
10182 * sysdeps/ia64/fpu/e_powf.S: Likewise.
10183 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
10184 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
10185 * sysdeps/ia64/fpu/libm_error.c: Likewise.
10186 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
10187 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
10188 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
10189 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
10190 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
10191 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
10192 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
10193 * sysdeps/ia64/fpu/s_cos.S: Likewise.
10194 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
10195 * sysdeps/ia64/fpu/s_erf.S: Likewise.
10196 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
10197 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
10198 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
10199 * sysdeps/ia64/fpu/s_erff.S: Likewise.
10200 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
10201 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
10202 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
10203 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
10204 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
10205 * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
10206 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
10207 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
10208 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
10210 2005-04-05 Roland McGrath <roland@redhat.com>
10212 * scripts/config.guess: Update from master, timestamp='2005-03-24'.
10213 * scripts/config.sub: Update from master, timestamp='2005-02-10'.
10215 2005-04-04 David S. Miller <davem@davemloft.net>
10217 * sysdeps/sparc/sparc32/dl-trampoline.S: New file.
10218 * sysdeps/sparc/sparc32/dl-machine.h: Move PLT trampolines there.
10219 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
10220 (elf_machine_runtime_setup): Test for dl_profile non-null.
10221 * sysdeps/sparc/sparc64/dl-trampoline.S: New file.
10222 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
10223 * sysdeps/sparc/sparc64/dl-machine.h: Move PLT trampolines there.
10224 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
10225 (elf_machine_runtime_setup): Test for dl_profile non-null.
10226 * sysdeps/sparc/bits/link.h: New file.
10227 * sysdeps/generic/ldsodefs.h (La_sparc32_regs, La_sparc32_retval,
10228 La_sparc64_regs, La_sparc64_retval): New.
10229 (struct audit_ifaces): Add sparc entries.
10230 * elf/tst-auditmod1.c: Add sparc entries.
10232 2005-03-27 Bruno Haible <bruno@clisp.org>
10234 * intl/tst-gettext3.c: New file.
10235 * intl/tst-gettext3.sh: New file.
10236 * intl/Makefile (distribute): Add tst-gettext3.sh.
10237 (test-srcs): Add tst-gettext3.
10238 (tests): Depend on tst-gettext3.out.
10239 (tst-gettext3.out): New rule.
10240 (CFLAGS-tst-gettext3.c): New variable.
10242 Fix bug exposed by tst-gettext3.
10243 * intl/gettextP.h (struct converted_domain): New type.
10244 (struct loaded_domain): Remove the conv, conv_tab fields. Add
10245 conversions, nconversions fields.
10246 (_nl_init_domain_conv): Remove declaration.
10247 (_nl_free_domain_conv): Remove declaration.
10248 (_nl_find_msg): Add convert argument.
10249 * intl/dcigettext.c (DCIGETTEXT): Call _nl_find_msg with convert=1.
10250 (_nl_find_msg): Add convert argument. When a conversion to a different
10251 charset is needed, create a new converted_domain element, instead of
10252 throwing away the old converted translations.
10253 (get_output_charset): New function.
10254 * intl/loadmsgcat.c (_nl_init_domain_conv): Remove function.
10255 (_nl_free_domain_conv): Remove function.
10256 (_nl_load_domain): Initialize the conversions array to empty. Use
10257 _nl_find_msg instead of _nl_init_domain_conv to retrieve the header
10259 (_nl_unload_domain): Free the conversions array and its contents.
10261 * intl/gettextP.h (struct loaded_domain): Remove codeset_cntr field.
10262 (struct binding): Likewise.
10263 * intl/bindtextdom.c (set_binding_values): Drop codeset_cntr
10266 2005-04-04 Jakub Jelinek <jakub@redhat.com>
10269 * sunrpc/pmap_rmt.c (xdr_rmtcall_args): Use a dummy arglen instead
10270 of trying to encode uninitialized arglen.
10272 2005-04-04 Ulrich Drepper <drepper@redhat.com>
10275 * timezone/scheck.c: Update from tzcode2005h.
10276 * timezone/tzfile.h: Likewise.
10277 * timezone/zdump.c: Likewise.
10278 * timezone/zic.c: Likewise.
10281 * timezone/antarctica: Update from tzdata2005h.
10282 * timezone/asia: Likewise.
10283 * timezone/australasia: Likewise.
10284 * timezone/etcetera: Likewise.
10285 * timezone/europe: Likewise.
10286 * timezone/northamerica: Likewise.
10287 * timezone/southamerica: Likewise.
10288 * timezone/leapseconds: Likewise.
10289 * timezone/iso3166.tab: Likewise.
10291 2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
10294 * sysdeps/ia64/fpu/libm_cpu_defs.h: Update copyright.
10296 2005-04-01 Ulrich Drepper <drepper@redhat.com>
10298 * wcsmbs/btowc.c (__btowc): Optimize parameters in ASCII range.
10299 * wcsmbs/wctob.c (wctob): Likewise.
10300 * wcsmbs/wchar.h (btowc): Add optimized inline function.
10303 2005-03-31 Jakub Jelinek <jakub@redhat.com>
10305 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Use functionally
10306 equivalent, but shorter instructions.
10307 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10308 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10309 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10310 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10311 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10312 * sysdeps/x86_64/strchr.S: Likewise.
10313 * sysdeps/x86_64/memset.S: Likewise.
10314 * sysdeps/x86_64/strcspn.S: Likewise.
10315 * sysdeps/x86_64/strcmp.S: Likewise.
10316 * sysdeps/x86_64/elf/start.S: Likewise.
10317 * sysdeps/x86_64/strspn.S: Likewise.
10318 * sysdeps/x86_64/dl-machine.h: Likewise.
10319 * sysdeps/x86_64/bsd-_setjmp.S: Likewise.
10320 * sysdeps/x86_64/bsd-setjmp.S: Likewise.
10321 * sysdeps/x86_64/strtok.S: Likewise.
10323 2005-03-30 H.J. Lu <hongjiu.lu@intel.com>
10326 * sysdeps/ia64/fpu/e_acosf.S: Update from Intel libm 2005-03-21.
10327 * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
10328 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
10329 * sysdeps/ia64/fpu/e_acosh.S: Likewise.
10330 * sysdeps/ia64/fpu/e_acosl.S: Likewise.
10331 * sysdeps/ia64/fpu/e_acos.S: Likewise.
10332 * sysdeps/ia64/fpu/e_asinf.S: Likewise.
10333 * sysdeps/ia64/fpu/e_asinl.S: Likewise.
10334 * sysdeps/ia64/fpu/e_asin.S: Likewise.
10335 * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
10336 * sysdeps/ia64/fpu/e_atan2.S: Likewise.
10337 * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
10338 * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
10339 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
10340 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
10341 * sysdeps/ia64/fpu/e_coshl.S: Likewise.
10342 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
10343 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
10344 * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
10345 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
10346 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
10347 * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
10348 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
10349 * sysdeps/ia64/fpu/e_expf.S: Likewise.
10350 * sysdeps/ia64/fpu/e_exp.S: Likewise.
10351 * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
10352 * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
10353 * sysdeps/ia64/fpu/e_fmod.S: Likewise.
10354 * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
10355 * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
10356 * sysdeps/ia64/fpu/e_hypot.S: Likewise.
10357 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
10358 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
10359 * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
10360 * sysdeps/ia64/fpu/e_log2f.S: Likewise.
10361 * sysdeps/ia64/fpu/e_log2l.S: Likewise.
10362 * sysdeps/ia64/fpu/e_log2.S: Likewise.
10363 * sysdeps/ia64/fpu/e_logf.S: Likewise.
10364 * sysdeps/ia64/fpu/e_logl.S: Likewise.
10365 * sysdeps/ia64/fpu/e_log.S: Likewise.
10366 * sysdeps/ia64/fpu/e_powf.S: Likewise.
10367 * sysdeps/ia64/fpu/e_powl.S: Likewise.
10368 * sysdeps/ia64/fpu/e_pow.S: Likewise.
10369 * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
10370 * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
10371 * sysdeps/ia64/fpu/e_remainder.S: Likewise.
10372 * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
10373 * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
10374 * sysdeps/ia64/fpu/e_scalb.S: Likewise.
10375 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
10376 * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
10377 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
10378 * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
10379 * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
10380 * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
10381 * sysdeps/ia64/fpu/libm_error.c: Likewise.
10382 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
10383 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
10384 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
10385 * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
10386 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
10387 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
10388 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
10389 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
10390 * sysdeps/ia64/fpu/libm_support.h: Likewise.
10391 * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
10392 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
10393 * sysdeps/ia64/fpu/s_atanf.S: Likewise.
10394 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
10395 * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
10396 * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
10397 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
10398 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
10399 * sysdeps/ia64/fpu/s_cos.S: Likewise.
10400 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
10401 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
10402 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
10403 * sysdeps/ia64/fpu/s_erfl.S: Likewise.
10404 * sysdeps/ia64/fpu/s_erf.S: Likewise.
10405 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
10406 * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
10407 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
10408 * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
10409 * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
10410 * sysdeps/ia64/fpu/s_fdim.S: Likewise.
10411 * sysdeps/ia64/fpu/s_frexp.c: Likewise.
10412 * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
10413 * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
10414 * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
10415 * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
10416 * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
10417 * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
10418 * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
10419 * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
10420 * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
10421 * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
10422 * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
10423 * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
10424 * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
10425 * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
10426 * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
10427 * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
10428 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
10429 * sysdeps/ia64/fpu/s_logbf.S: Likewise.
10430 * sysdeps/ia64/fpu/s_logbl.S: Likewise.
10431 * sysdeps/ia64/fpu/s_logb.S: Likewise.
10432 * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
10433 * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
10434 * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
10435 * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
10436 * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
10437 * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
10438 * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
10439 * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
10440 * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
10441 * sysdeps/ia64/fpu/s_roundf.S: Likewise.
10442 * sysdeps/ia64/fpu/s_roundl.S: Likewise.
10443 * sysdeps/ia64/fpu/s_round.S: Likewise.
10444 * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
10445 * sysdeps/ia64/fpu/s_scalbn.c: Likewise.
10446 * sysdeps/ia64/fpu/s_scalbnf.c: Likewise.
10447 * sysdeps/ia64/fpu/s_scalbnl.c: Likewise.
10448 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
10449 * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
10450 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
10451 * sysdeps/ia64/fpu/s_tanl.S: Likewise.
10452 * sysdeps/ia64/fpu/s_tan.S: Likewise.
10453 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
10454 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
10455 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
10456 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
10457 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
10458 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
10461 * sysdeps/ia64/fpu/libm_cpu_defs.h: New file.
10462 * sysdeps/ia64/fpu/libm_error_codes.h: New file.
10465 * sysdeps/ia64/fpu/gen_import_file_list: Updated for Intel libm
10467 * sysdeps/ia64/fpu/import_file.awk: Likewise.
10468 * sysdeps/ia64/fpu/import_intel_libm: Likewise.
10469 * sysdeps/ia64/fpu/Makefile: Likewise.
10471 2005-03-29 Jakub Jelinek <jakub@redhat.com>
10474 * posix/fnmatch.c (fnmatch): For short patterns or strings attempt to
10475 avoid calling mbsrtowcs twice.
10477 2005-03-29 Roland McGrath <roland@redhat.com>
10479 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): New
10480 function, inline broken out of ...
10481 (DL_SYSDEP_OSCHECK): ... here. Use that.
10482 Do the discovery and set GLRO(dl_osversion) if successful,
10483 if __LINUX_KERNEL_VERSION <= 0.
10484 * elf/dl-load.c: Don't include dl-osinfo.h here.
10486 2005-03-29 Alfred M. Szmidt <ams@gnu.org>
10488 * manual/install.texi (Tools for Compilation): GNU binutils 2.15
10491 2005-03-19 Bruno Haible <bruno@clisp.org>
10493 * intl/dcigettext.c (struct known_translation_t): Change type of
10494 domainname field to 'const char *'.
10495 (DCIGETTEXT): Remove const-cast.
10497 2005-03-29 Thorsten Kukuk <kukuk@suse.de>
10500 * grp/initgroups.c (internal_getgrouplist): Check if we have
10501 enough space before adding the primary group to the list.
10503 * posix/tst-execle1.c (do_test): Fix execle arguments.
10504 * posix/tst-execle2.c (do_test): Likewise.
10506 2005-03-28 Roland McGrath <roland@redhat.com>
10508 * sysdeps/generic/w_exp2.c [NO_LONG_DOUBLE]: Fix typos in alias names.
10509 Reported by Mark Mitchell <mark@codesourcery.com>.
10510 * Versions.def (libm): Define GLIBC_2.4 set.
10511 * math/Versions (libm: GLIBC_2.4): Add this set, with exp2l.
10512 * sysdeps/i386/Versions (libm: GLIBC_2.1): Add this set, with exp2l.
10513 * sysdeps/ia64/Versions: Likewise.
10514 * sysdeps/m68k/Versions: Likewise.
10515 * sysdeps/sparc/sparc64/Versions: Likewise.
10516 * sysdeps/x86_64/Versions: New file.
10517 * sysdeps/mips/mips64/Versions: New file.
10519 * locale/langinfo.h (_NL_LOCALE_NAME): New macro.
10520 [__USE_GNU] (NL_LOCALE_NAME): New macro.
10521 * locale/nl_langinfo.c: Grok special item value for _NL_LOCALE_NAME,
10522 return locale name string for the category.
10524 2005-03-25 Jakub Jelinek <jakub@redhat.com>
10527 * sysdeps/generic/wcstoul_l.c: Include "wcstol_l.c" rather than
10530 2005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
10532 * sysdeps/mips/atomicity.h: Remove unused file.
10533 * sysdeps/mips/dl-machine.h (elf_machine_rel): Add TLS relocations.
10534 * sysdeps/mips/dl-tls.h: New file.
10535 * sysdeps/mips/libc-tls.c: New file.
10536 * sysdeps/mips/tls-macros.h: New file.
10537 * sysdeps/mips/bits/atomic.h: New file.
10538 * sysdeps/mips/bits/setjmp.h: Protect against multiple inclusion.
10539 * sysdeps/mips/elf/configure.in: New file.
10540 * sysdeps/mips/elf/configure: Generated.
10541 * sysdeps/mips/sys/asm.h: New file.
10542 * sysdeps/unix/sysv/linux/mips/vfork.S: New file.
10543 * sysdeps/unix/sysv/linux/mips/clone.S: Add NPTL and five-argument
10545 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
10546 (INTERNAL_SYSCALL_NCS): New.
10547 (INTERNAL_SYSCALL): Update for non-constant support.
10548 (internal_syscall0): Likewise.
10549 (internal_syscall1): Likewise.
10550 (internal_syscall2): Likewise.
10551 (internal_syscall3): Likewise.
10552 (internal_syscall4): Likewise.
10553 (internal_syscall5): Likewise.
10554 (internal_syscall6): Likewise.
10555 (internal_syscall7): Likewise.
10556 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SIGEV_THREAD):
10557 Update to match the kernel.
10558 (SIGEV_CALLBACK): Likewise.
10559 (SIGEV_THREAD_ID): Likewise.
10561 2005-03-28 Daniel Jacobowitz <dan@codesourcery.com>
10564 * elf/tst-auditmod1.c: Add MIPS support.
10565 * sysdeps/generic/ldsodefs.h (La_mips_32_regs): New.
10566 (La_mips_32_retval): New.
10567 (La_mips_64_regs): New.
10568 (La_mips_64_retval): New.
10569 (struct audit_ifaces): Add MIPS entries.
10570 * sysdeps/mips/dl-machine.h: Check RESOLVE_MAP instead of RESOLVE.
10571 (elf_machine_runtime_link_map, ELF_DL_FRAME_SIZE,
10572 ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS,
10573 ELF_MACHINE_RUNTIME_TRAMPOLINE): Move to dl-trampoline.c.
10574 (RTLD_START): Align the stack before calling _dl_init_internal.
10575 Use .ent for _dl_start_user.
10576 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): Define.
10577 (elf_machine_rel, elf_machine_rel_relative, elf_machine_lazy_rel)
10578 (elf_machine_runtime_setup): Use "auto inline".
10579 (elf_machine_rela, elf_machine_rela_relative): Provide empty versions.
10580 (elf_machine_got_rel): Likewise. Use RESOLVE_MAP.
10581 * sysdeps/mips/dl-trampoline.c: New file.
10582 * sysdeps/mips/bits/link.h: New file.
10583 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
10584 (internal_syscall5): Use register operands instead of non-lvalue
10586 (internal_syscall6): Likewise.
10587 (internal_syscall7): Likewise.
10589 2005-03-27 Andreas Jaeger <aj@suse.de>
10591 * debug/warning-nop.c (__builtin___memcpy_chk): Define away to
10592 avoid warnings with older compiler.
10593 (__builtin___memcpy_chk): Likewise.
10594 (__builtin___memmove_chk: Likewise.
10595 (__builtin___mempcpy_chk): Likewise.
10596 (__builtin___memset_chk): Likewise.
10597 (__builtin___stpcpy_chk): Likewise.
10598 (__builtin___strcat_chk): Likewise.
10599 (__builtin___strcpy_chk): Likewise.
10600 (__builtin___strncat_chk): Likewise.
10601 (__builtin___strncpy_chk): Likewise.
10602 (__builtin_object_size): Likewise.
10604 2005-03-27 Daniel Jacobowitz <dan@codesourcery.com>
10606 * elf/tls-macros.h: Correct typo.
10608 2005-03-23 Jakub Jelinek <jakub@redhat.com>
10611 * nis/ypclnt.c (yp_2_yperr): Revert 2004-11-30 patch.
10612 (ypprot_err): Use yp_2_yperr table also for YP_NODOM .. YP_NOMORE.
10614 2005-03-22 Roland McGrath <roland@redhat.com>
10616 * locale/setlocale.c: Comment typo.
10618 * scripts/versions.awk: No errors for GLIBC_PRIVATE.
10620 * Versions.def (libdl, librt): Add GLIBC_2.3.4 version.
10622 * scripts/versions.awk: Print all errors and die at the end.
10623 Use library name in versions array keys.
10625 2005-03-22 Daniel Jacobowitz <dan@codesourcery.com>
10627 * elf/elf.h (PT_ARM_EXIDX): New macro.
10629 2005-03-21 Thorsten Kukuk <kukuk@suse.de>
10632 * sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong):
10633 Convert correctly between long/int on 64bit big-endian.
10635 2005-03-21 David Mosberger <davidm@hpl.hp.com>
10637 * sysdeps/ia64/_mcount.S: Newer kernels don't like register-frames
10638 with more than 8 output registers. Fix this by passing original
10639 ar.pfs to _mcount_ret_helper via r3.
10641 2005-03-15 Jakub Jelinek <jakub@redhat.com>
10644 * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Handle
10645 GL(dl_tls_static_nelem) == GL(dl_tls_max_dtv_idx).
10646 * elf/Makefile: Add rules to build and run tst-tls15.
10647 * elf/tst-tls15.c: New test.
10648 * elf/tst-tlsmod15a.c: New file.
10649 * elf/tst-tlsmod15b.c: New file.
10651 2005-03-20 Ulrich Drepper <drepper@redhat.com>
10653 * elf/rtld.c (dl_main): Always call init_tls if we have audit modules.
10655 2005-03-20 Alfred M. Szmidt <ams@gnu.org>
10657 * elf/dl-open.c (dl_open_worker): Fix typo.
10659 2005-03-20 Ulrich Drepper <drepper@redhat.com>
10661 * malloc/malloc.c (public_cALLOc): We cannot skip the memory
10662 clearing if perturb_byte != 0.
10664 2005-03-20 Jakub Jelinek <jakub@redhat.com>
10666 * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t
10667 instead of __off_t for last argument.
10668 * debug/Makefile (tests): Add tst-lfschk{1,2,3}.
10669 * debug/tst-lfschk1.c: New test.
10670 * debug/tst-lfschk2.c: New test.
10671 * debug/tst-lfschk3.c: New test.
10673 2005-02-09 Jakub Jelinek <jakub@redhat.com>
10675 * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define.
10676 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC
10677 and __USE_XOPEN guards to match linux/bits/termios.h.
10678 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
10680 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10682 2005-02-10 H.J. Lu <hongjiu.lu@intel.com>
10685 * sysdeps/ia64/elf/initfini.c: Add local _init and _fini labels.
10687 2005-02-27 Denis Barbier <barbier@debian.org>
10690 * locale/iso-4217.def: Add CSD currency.
10692 2005-03-19 Ulrich Drepper <drepper@redhat.com>
10694 * inet/test-ifaddrs.c: Use test-skeleton.
10695 * inet/test_ifindex.c: Likewise.
10698 * elf/dl-lookup.c (add_dependency): Always search l_initfini if
10702 * elf/Makefile: Add rules to build and run order2.
10703 * elf/order2.c: New file.
10704 * elf/order2mod1.c: New file.
10705 * elf/order2mod2.c: New file.
10706 * elf/order2mod3.c: New file.
10707 * elf/order2mod4.c: New file.
10709 2005-03-19 Jakub Jelinek <jakub@redhat.com>
10712 * elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value,
10713 it has been incremented before.
10715 2005-03-18 Ulrich Drepper <drepper@redhat.com>
10718 * elf/dl-fini.c (_dl_fini): Split sorting of the maps in separate
10719 function _dl_sort_fini.
10720 (_dl_sort_fini): New function.
10721 * sysdeps/generic/ldsodefs.h: Declare _dl_sort_fini.
10722 * elf/dl-close.c (_dl_close): Call _dl_sort_fini before running
10723 destructors to call them in the right order.
10725 2005-02-07 Steven Munroe <sjmunroe@us.ibm.com>
10727 * sysdeps/powerpc/bits/link.h (La_ppc64_regs): Add lr_vrsave.
10728 (La_ppc64_retval): Correct size of lrc_fp.
10729 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_profile_resolve):
10730 Fix up ABI problems and complete function.
10732 2005-03-10 Jakub Jelinek <jakub@redhat.com>
10734 * math/test-misc.c (main): Add some more tests.
10736 2005-03-17 Jakub Jelinek <jakub@redhat.com>
10738 * posix/regcomp.c (re_compile_fastmap_iter): Fix check for failed
10739 __wcrtomb. Check return values of other __wcrtomb calls.
10740 * posix/regex_internal.c (build_wcs_buffer, re_string_skip_chars):
10741 Change mbclen type to size_t.
10742 (build_wcs_upper_buffer): Change mbclen and mbcdlen type to size_t.
10743 Handle mb chars whose upper case doesn't have multibyte representation
10744 in locale's charset.
10746 2005-03-15 Jakub Jelinek <jakub@redhat.com>
10748 * malloc/malloc.c (_int_icalloc, _int_icomalloc, iALLOc,
10749 public_iCALLOc, public_iCALLOc, public_iCOMALLOc): Protect with
10753 * malloc/malloc.c (public_mTRIm): Initialize malloc if not yet
10756 2005-03-10 Jakub Jelinek <jakub@redhat.com>
10758 * misc/sys/cdefs.h (__always_inline): Define.
10759 * posix/bits/unistd.h (read, pread, pread64, readlink, getcwd, getwd):
10760 Use __always_inline instead of __inline.
10761 * socket/bits/socket2.h (recv, recvfrom): Likewise.
10762 * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Likewise.
10763 * string/bits/string3.h (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk,
10764 __memset_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk,
10765 __strcat_ichk, __strncat_ichk): Use __always_inline instead of
10766 __inline__ __attribute__ ((__always_inline__)).
10768 2005-03-09 Jakub Jelinek <jakub@redhat.com>
10770 * debug/tst-chk1.c: Include sys/socket.h and sys/un.h.
10771 (do_test): Add new tests for recv, recvfrom, getcwd, getwd and
10772 readlink. Add some more tests for read, pread, pread64, fgets and
10775 * posix/bits/unistd.h (read, pread, pread64, readlink,
10776 getcwd, getwd): Change macros into extern inline functions.
10777 (__read_alias, __pread_alias, __pread64_alias, __readlink_alias,
10778 __getcwd_alias, __getwd_alias): New prototypes.
10779 * socket/bits/socket2.h (recv, recvfrom): Change macros into
10780 extern inline functions.
10781 (__recv_alias, __recvfrom_alias): New prototypes.
10782 * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Change macros
10783 into extern inline functions.
10784 (__gets_alias, __fgets_alias, __fgets_unlocked_alias): New prototypes.
10786 * debug/pread_chk.c (__pread_chk): Fix order of arguments passed
10788 * debug/pread64_chk.c (__pread64_chk): Fix order of arguments passed
10791 2005-03-18 Daniel Jacobowitz <dan@codesourcery.com>
10793 * configure.in: Use %function instead of @function.
10795 2005-03-18 Ulrich Drepper <drepper@redhat.com>
10798 * include/link.h (struct link_map): Remove l_opencount. Add l_removed.
10799 Change type of l_idx to int.
10800 * elf/dl-close.c: Basically rewrite. Do not use l_opencount to
10801 determine whether a DSO has to be unloaded. Instead compute this
10803 * elf/dl-deps.c: No need to manipulate l_opencount anymore.
10804 * elf/dl-lookup.c: Likewise.
10805 * elf/rtld.c: Likewise
10806 * elf/dl-open.c: Likewise. Use l_init_called to determine whether
10807 object was just loaded.
10808 * elf/dl-fini.c: Bump l_direct_opencount instead of l_opencount.
10809 * elf/dl-load.c (_dl_map_object_from_fd): Do not recognize DSO which
10810 is about to be unloaded as a match.
10811 (_dl_map_object): Likewise.
10812 * elf/do-lookup.h (do_lookup_x): Do not look into DSO which is about
10814 * elf/circleload1.c: Don't use l_opencount anymore.
10815 * elf/neededtest.c: Likewise.
10816 * elf/neededtest2.c: Likewise.
10817 * elf/neededtest3.c: Likewise.
10818 * elf/neededtest4.c: Likewise.
10819 * elf/unload.c: Likewise.
10820 * elf/unload2.c: Likewise.
10821 * elf/loadtest.c: Likewise.
10824 * elf/rtld.c: Preloading errors are now never fatal.
10826 2005-03-08 Jakub Jelinek <jakub@redhat.com>
10829 * elf/Makefile: Add rules to build and run unload5 test.
10830 * elf/unload5.c: New file.
10833 * elf/Makefile: Add rules to build and run unload4 test.
10834 * elf/unload4.c: New file.
10835 * elf/unload4mod1.c: New file.
10836 * elf/unload4mod2.c: New file.
10837 * elf/unload4mod3.c: New file.
10838 * elf/unload4mod4.c: New file.
10840 2005-03-17 Roland McGrath <roland@redhat.com>
10842 * nscd/aicache.c (addhstaiX): Tweak type to avoid warning.
10844 2005-03-16 Richard Henderson <rth@redhat.com>
10847 * include/libc-symbols.h (__hidden_proto): Remove bogus declaration
10849 (__hidden_def1, __hidden_dot_def1): Remove.
10850 (__hidden_def2, __hidden_def3): Remove.
10851 (__hidden_ver1): New.
10852 (hidden_ver, hidden_def, hidden_weak): Use it.
10853 (hidden_data_ver, hidden_data_ver, hidden_data_weak): Use non-data
10854 version of the macro.
10857 * include/wchar.h (__wcscoll): Remove.
10858 * wcsmbs/wcscoll.c: Define wcscoll directly instead of via __wcscoll.
10859 * string/strcoll.c: Don't issue libc_hidden_def STRCOLL redefined.
10861 2005-03-16 Daniel Jacobowitz <dan@codesourcery.com>
10863 * elf/elf.h: Define MIPS TLS relocations.
10865 2005-03-16 Ulrich Drepper <drepper@redhat.com>
10867 * elf/circleload1.c (main): Pretty printing.
10869 2005-03-15 Jakub Jelinek <jakub@redhat.com>
10871 * sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword.
10872 Patch by Dan Kegel <dank@kegel.com>.
10875 * elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative,
10876 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
10877 Add inline keyword.
10878 * sysdeps/alpha/dl-machine.h (elf_machine_rela,
10879 elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline
10881 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10882 elf_machine_rela_relative, elf_machine_lazy_rel): Likewise. Change
10883 static inline into auto inline.
10884 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10885 elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
10886 * sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela):
10888 * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative,
10889 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
10892 2005-03-15 Jakub Jelinek <jakub@redhat.com>
10895 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Fix asm constraints.
10896 Remove memory clobber.
10898 * sysdeps/x86_64/hp-timing.h (HP_TIMING_ACCUM): Make the addition
10899 thread-safe. Subtract GLRO(dl_hp_timing_overhead) from Diff.
10901 2005-03-14 Jakub Jelinek <jakub@redhat.com>
10903 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Don't include
10906 2005-03-10 GOTO Masanori <gotom@debian.or.jp>
10908 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and
10910 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10911 Correct MAP_GROWSDOWN value.
10913 2005-03-13 Roland McGrath <roland@redhat.com>
10915 * elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps
10916 version if there is one. Only #error if macros are then undefined.
10917 * sysdeps/generic/tls-macros.h: New file.
10919 2005-03-10 GOTO Masanori <gotom@debian.or.jp>
10921 * sysdeps/hppa/configure.in: Remove old Makefile leftovers.
10922 * sysdeps/hppa/configure: Regenerated.
10924 2005-03-08 Roland McGrath <roland@redhat.com>
10926 * sysdeps/gnu/errlist-compat.awk: Use NERR in all array decls, so
10927 array types match exactly in C alias decls.
10929 2005-03-07 Ulrich Drepper <drepper@redhat.com>
10931 * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call
10932 mallopt appropriately.
10933 * malloc/malloc.h: Define M_PERTURB.
10934 * malloc/malloc.c (perturb_byte): New variable.
10935 (alloc_perturb, free_perturb): New macros.
10936 (_int_malloc): Before returning, overwrite the memory if this is
10938 (_int_free): Overwrite freed memory if requested.
10939 (mALLOPt): Handle M_PERTURB.
10940 * test-skeleton.c: Add call to mallopt with M_PERTURB command.
10942 * elf/dl-close.c (_dl_close): Decrement l_opencount before
10943 printing debug message.
10944 * elf/dl-open.c (dl_open_worker): Always print the new opencount
10947 2005-03-06 Ulrich Drepper <drepper@redhat.com>
10949 * elf/dl-close.c (_dl_close): Unify debug message format.
10951 * elf/dl-close.c (_dl_close): Print debug message just before
10952 destroying a link map.
10954 * elf/do-lookup.h (do_lookup_x): Add namespace info to debug output.
10955 * elf/dl-version.c (match_symbol): Likewise.
10957 * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code.
10959 * debug/recv_chk.c (__recv_chk): Always fail if request could
10960 overflow the buffer.
10961 * debug/recvfrom_chk.c (__recvfrom_chk): Likewise.
10962 * socket/bits/socket2.h (recv): Avoid calls to the _chk variant if
10963 we know the call succeeds.
10964 (recvfrom): Likewise.
10966 2005-03-05 Ulrich Drepper <drepper@redhat.com>
10968 * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid
10970 * posix/regex_internal.c (re_string_reconstruct): Add cast to
10972 (build_wcs_upper_buffer): Change type of bug to plain char.
10973 * locale/weightwc.h (findidx): Add casts to avoid warnings.
10974 * time/mktime.c (ranged_convert): Initialize tm to make the
10976 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add casts to avoid warnings.
10977 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Add casts to avoid warnings.
10978 * wcsmbs/mbsnrtowcs.c: Add casts to avoid warnings.
10979 * wcsmbs/wcsrtombs.c (__wcsrtombs): Add casts to avoid warnings.
10980 * wcsmbs/wcrtomb.c (__wcrtomb): Add casts to avoid warnings.
10981 * wcsmbs/mbrtowc.c (__mbrtowc): Use unsigned char for outbuf.
10982 * wcsmbs/wctob.c (wctob): Make buf array of unsigned char.
10983 * sysdeps/generic/strchrnul.c: Add cast to avoid warning.
10984 * libio/iofwide.c: Add casts to avoid warnings.
10985 * stdio-common/printf-prs.c (parse_printf_format): Introduce new
10986 variable f to avoid warnings.
10987 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10988 Fix a few casts to avoid warnings.
10989 * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned
10993 * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using
10994 dynamically sized array.
10995 (build_wcs_upper_buffer): Likewise.
10997 2005-03-05 Jakub Jelinek <jakub@redhat.com>
10999 * include/bits/unistd.h: New file.
11000 * include/bits/socket2.h: New file.
11002 2005-03-05 Ulrich Drepper <drepper@redhat.com>
11004 * sunrpc/key_call.c: Remove doors support.
11005 * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition.
11006 * configure.in: Remove test for doors support which never existed.
11007 * config.make.in: Remove have_doors entry.
11009 * configure.in: Make sure at least gcc 3.4 is used. Undo last change.
11010 * config.make.in: Undo last change.
11012 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Unconditionally use
11015 2005-03-05 Roland McGrath <roland@redhat.com>
11017 * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl.
11018 (_dl_out_of_memory): Use rtld_hidden_proto.
11019 * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def.
11020 (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory.
11021 * elf/dl-open.c (_dl_open): Likewise.
11022 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11024 * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *.
11026 * elf/dl-addr.c (_dl_addr): Add a cast.
11029 * elf/unload3mod4.c: Declare foo.
11030 * elf/testobj2.c: Include <stdio.h>.
11032 * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal
11033 value constant, and use it in the defn.
11034 * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl.
11035 Use actual size for compat array decls.
11037 * config.make.in (cc-mtune): New substituted variable.
11038 * configure.in (libc_cv_cc_mtune): New test for -mtune= switch,
11039 done only if libc_mtune_example is defined.
11040 * sysdeps/i386/configure.in (libc_mtune_example): Set it.
11041 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune).
11043 2005-03-05 Jakub Jelinek <jakub@redhat.com>
11046 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define
11047 unconditionally to (defined RTLD_BOOTSTRAP).
11048 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise.
11050 2005-03-05 Jakub Jelinek <jakub@redhat.com>
11052 * Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of
11053 $(inst_slibdir) in AS_NEEDED directive.
11055 2005-03-03 Jakub Jelinek <jakub@redhat.com>
11057 * posix/bits/unistd.h (pread, pread64): Don't swap function arguments.
11059 2005-03-01 H.J. Lu <hongjiu.lu@intel.com>
11062 * iconv/iconvconfig.c: Fix comment for the output file.
11063 (write_output): Clear padding in header.
11065 2005-03-03 Ulrich Drepper <drepper@redhat.com>
11068 * elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the
11069 loader is closed. Fixes unload3.
11070 * elf/tst-global1.c: New file.
11071 * elf/Makefile (tests): Add tst-global1.
11072 * elf/testobj2.c (p): New function.
11074 2005-03-03 Jakub Jelinek <jakub@redhat.com>
11077 * elf/Makefile: Add rules to build and run unload3 test.
11078 * elf/unload3.c: New test.
11079 * elf/unload3mod1.c: New file.
11080 * elf/unload3mod2.c: New file.
11081 * elf/unload3mod3.c: New file.
11082 * elf/unload3mod4.c: New file.
11084 2005-02-21 Alan Modra <amodra@bigpond.net.au>
11087 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
11090 2005-03-01 Jakub Jelinek <jakub@redhat.com>
11092 * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead
11094 * socket/bits/socket2.h (recv, recvfrom): Likewise.
11096 2005-03-01 Roland McGrath <roland@redhat.com>
11099 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
11102 2005-03-01 Alfred M. Szmidt <ams@gnu.org>
11105 * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]:
11106 Add missing initializer.
11109 * malloc/arena.c: #include <stdbool.h> outside of [SHARED &&
11110 USE_TLS && !USE___THREAD].
11112 2005-02-26 GOTO Masanori <gotom@debian.or.jp>
11114 * csu/Makefile: Use printf instead of echo for some shells.
11116 2005-02-28 Roland McGrath <roland@redhat.com>
11118 * debug/warning-nop.c (__nop): Rename to nop, make it static.
11119 (__warndecl): Use alias attribute directly, instead of strong_alias
11120 macro. Add attribute_hidden.
11122 2005-02-28 Ulrich Drepper <drepper@redhat.com>
11124 * posix/bits/unistd.h: Avoid calling __*_chk variants if we can
11125 determine the call will never trigger a failure.
11126 * debug/read_chk.c (__read_chk): Always fail if the buffer is too
11128 * debug/readlink_chk.c (__readlink_chk): Likewise.
11129 * debug/pread64_chk.c (__pread64_chk): Likewise.
11130 * debug/pread_chk.c (__pread_chk): Likewise.
11132 * sysdeps/i386/i686/memset_chk.S: Remove alias and warning.
11133 * sysdeps/x86_64/memset_chk.S: Likewise.
11135 2005-02-24 Roland McGrath <roland@redhat.com>
11137 * debug/Versions (libc: GLIBC_2.4): Remove
11138 __memset_zero_constant_len_parameter.
11139 * sysdeps/generic/memset_chk.c: Remove alias and warning.
11140 * misc/sys/cdefs.h (__warndecl): New macro.
11141 * debug/warning-nop.c: New file.
11142 * string/bits/string3.h (memset): Call __warn_memset_zero_len with no
11143 arguments, instead of calling __memset_zero_constant_len_parameter.
11144 Use __warndecl for __warn_memset_zero_len.
11145 * debug/Makefile (routines): Add $(static-only-routines).
11146 (static-only-routines): New variable.
11148 2005-02-27 Ulrich Drepper <drepper@redhat.com>
11150 * po/tr.po: Update from translation team.
11152 2005-02-26 Ulrich Drepper <drepper@redhat.com>
11154 * elf/dl-addr.c: Cleanups. Move declaration next to first use.
11156 * dlfcn/dlerror.c (check_free): New function. Extract common code
11157 from fini and free_key_mem. Check whether this is libdl in the
11160 2005-02-25 Ulrich Drepper <drepper@redhat.com>
11162 * elf/dl-lookup.c (_dl_debug_bindings): Add namespace information
11165 2004-11-11 Richard Sandiford <rsandifo@redhat.com>
11168 * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
11169 preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
11170 like __NR_N32_open. Just include <asm/unistd.h> otherwise.
11171 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11172 * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
11173 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
11174 standard __NR prefix.
11175 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
11176 * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
11177 the output file is compatible with both pre-2.6 and 2.6 kernel headers.
11178 Extract separate syscall lists for each ABI.
11180 2005-02-23 Ulrich Drepper <drepper@redhat.com>
11182 * Makerules (libc.so): Add AS_NEEDED line for dynamic linker.
11185 * elf/Makefile: Run tst-tls9-static again.
11187 2005-02-22 Ulrich Drepper <drepper@redhat.com>
11190 * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the
11192 (__libc_setup_tls): Initialize length of DTV based on array length.
11193 * elf/dl-load.c: Revert last change.
11194 * sysdeps/generic/dl-tls.c: Revert last change.
11196 * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1,
11197 tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2,
11198 tst-execve1, tst-execve2, tst-execle1, and tst-execle2.
11199 * posix/tst-execl1.c: New file.
11200 * posix/tst-execl2.c: New file.
11201 * posix/tst-execle1.c: New file.
11202 * posix/tst-execle2.c: New file.
11203 * posix/tst-execlp1.c: New file.
11204 * posix/tst-execlp2.c: New file.
11205 * posix/tst-execv1.c: New file.
11206 * posix/tst-execv2.c: New file.
11207 * posix/tst-execve1.c: New file.
11208 * posix/tst-execve2.c: New file.
11209 * posix/tst-execvp1.c: New file.
11210 * posix/tst-execvp2.c: New file.
11212 2005-02-22 Roland McGrath <roland@redhat.com>
11214 * include/signal.h: Revert last change.
11215 (__sigemptyset): Use __builtin_memset instead of memset.
11217 2005-02-22 Ulrich Drepper <drepper@redhat.com>
11219 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use
11220 non-cancelable I/O functions.
11222 2005-02-22 Jakub Jelinek <jakub@redhat.com>
11225 * nscd/nscd-client.h: Include sys/uio.h.
11226 (__readall, __readvall, writeall): New prototypes.
11227 * nscd/connections.c (writeall): New function.
11228 (handle_request): Use it.
11229 * nscd/aicache.c (addhstaiX): Likewise.
11230 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11231 * nscd/hstcache.c (cache_addhst): Likewise.
11232 * nscd/grpcache.c (cache_addgr): Likewise.
11233 * nscd/pwdcache.c (cache_addpw): Likewise.
11234 * nscd/nscd_helper.c (__readall, __readvall): New functions.
11235 * nscd/nscd_getai.c (__nscd_getai): Use them.
11236 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.
11237 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
11238 * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise.
11239 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11241 2005-02-22 Roland McGrath <roland@redhat.com>
11243 * include/sys/socket.h: Declare __recv.
11244 * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias.
11245 * sysdeps/mach/hurd/recv.c: Likewise.
11247 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for
11248 __backtrace_* decls.
11250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11251 (INTERNAL_SYSCALL_ERROR_P): Evalute VAL. Parenthesize ERR.
11252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11254 * include/signal.h: Include <string.h> for memset decl.
11256 2005-02-22 Andreas Schwab <schwab@suse.de>
11258 * posix/execvp.c (execvp): Fix invalid free.
11260 2005-02-22 Jakub Jelinek <jakub@redhat.com>
11263 * malloc/Makefile (CFLAGS-mcheck-init.c): Add.
11264 * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for
11265 librpcsvc.a objects.
11267 2005-02-21 Ulrich Drepper <drepper@redhat.com>
11270 * iconvdata/ibm930.h: Correct Yen mapping.
11271 * iconvdata/ibm939.h: Likewise.
11272 * iconvdata/testdata/IBM930..UTF8: Adjust test data.
11273 * iconvdata/testdata/IBM939..UTF8: Likewise.
11274 Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
11276 * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
11277 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
11278 (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
11279 ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
11280 ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
11281 ibm1158.c, and ibm1158.h.
11282 * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
11283 IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
11284 * iconvdata/gconv-modules: Likewise.
11285 * iconvdata/ibm1025.c: New file.
11286 * iconvdata/ibm1025.h: New file.
11287 * iconvdata/ibm1122.c: New file.
11288 * iconvdata/ibm1122.h: New file.
11289 * iconvdata/ibm1137.c: New file.
11290 * iconvdata/ibm1137.h: New file.
11291 * iconvdata/ibm1153.c: New file.
11292 * iconvdata/ibm1153.h: New file.
11293 * iconvdata/ibm1154.c: New file.
11294 * iconvdata/ibm1154.h: New file.
11295 * iconvdata/ibm1155.c: New file.
11296 * iconvdata/ibm1155.h: New file.
11297 * iconvdata/ibm1156.c: New file.
11298 * iconvdata/ibm1156.h: New file.
11299 * iconvdata/ibm1157.c: New file.
11300 * iconvdata/ibm1157.h: New file.
11301 * iconvdata/ibm1158.c: New file.
11302 * iconvdata/ibm1158.h: New file.
11303 * iconvdata/testdata/IBM1025: New file.
11304 * iconvdata/testdata/IBM1025..UTF8: New file.
11305 * iconvdata/testdata/IBM1122: New file.
11306 * iconvdata/testdata/IBM1122..UTF8: New file.
11307 * iconvdata/testdata/IBM1137: New file.
11308 * iconvdata/testdata/IBM1137..UTF8: New file.
11309 * iconvdata/testdata/IBM1153: New file.
11310 * iconvdata/testdata/IBM1153..UTF8: New file.
11311 * iconvdata/testdata/IBM1154: New file.
11312 * iconvdata/testdata/IBM1154..UTF8: New file.
11313 * iconvdata/testdata/IBM1155: New file.
11314 * iconvdata/testdata/IBM1155..UTF8: New file.
11315 * iconvdata/testdata/IBM1156: New file.
11316 * iconvdata/testdata/IBM1156..UTF8: New file.
11317 * iconvdata/testdata/IBM1157: New file.
11318 * iconvdata/testdata/IBM1157..UTF8: New file.
11319 * iconvdata/testdata/IBM1158: New file.
11320 * iconvdata/testdata/IBM1158..UTF8: New file.
11321 Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
11323 2005-02-10 Paolo Bonzini <bonzini@gnu.org>
11325 * posix/regcomp.c (lower_subexp): Do not optimize empty
11326 subexpressions even with REG_NOSUB.
11327 * posix/rxspencer/tests: Add a previously failing testcase.
11329 2005-02-21 Alan Modra <amodra@bigpond.net.au>
11332 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv
11333 array index is within bounds.
11335 2005-02-21 Ulrich Drepper <drepper@redhat.com>
11338 * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically
11340 * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid.
11341 * elf/Makefile: Remove rules to build and run tst-tls9-static.
11344 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using
11345 THREAD_DTV multiple times, this minimally reduces code size on
11348 2005-02-21 Jakub Jelinek <jakub@redhat.com>
11351 * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
11352 NETDB_INTERNAL if buffer is too small.
11355 * nscd/hstcache.c (INCR): Remove.
11356 (addhstbyX): Double buflen in each iteration rather than add INCR.
11357 * nscd/grpcache.c: Likewise.
11358 * nscd/pwdcache.c: Likewise.
11360 2005-02-21 Ulrich Drepper <drepper@redhat.com>
11362 * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
11364 * debug/chk_fail.c: Request backtrace and memory map dump.
11366 * Versions.def: Add GLIBC_2.4 for libc.
11367 * debug/fgets_chk.c: New file.
11368 * debug/fgets_u_chk.c: New file.
11369 * debug/getcwd_chk.c: New file.
11370 * debug/getwd_chk.c: New file.
11371 * debug/readlink_chk.c: New file.
11372 * debug/read_chk.c: New file.
11373 * debug/pread_chk.c: New file.
11374 * debug/pread64_chk.c: New file.
11375 * debug/recv_chk.c: New file.
11376 * debug/recvfrom_chk.c: New file.
11377 * debug/Versions: Add all new functions with version GLIBC_2.4.
11378 * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
11379 pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
11380 getwd_chk, and getcwd_chk. Plus appropriate CFLAGS definitions.
11381 * debug/tst-chk1.c: Add more tests.
11382 * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
11383 * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
11384 * posix/unistd.h: Include <bits/unistd.h> for fortification.
11385 * posix/bits/unistd.h: New file.
11386 * posix/Makefile (headers): Add bits/unistd.h.
11387 * socket/sys/socket.h: Include <bits/socket2.h> for fortification.
11388 * socket/bits/socket2.h: New file.
11389 * socket/Makefile (headers): Add bits/socket2.h.
11391 * string/bits/string3.h: Extend memset macro to check for zero 3rd
11392 parameter and use __memset_zero_constant_len_parameter in that case.
11393 * sysdeps/generic/memset_chk.c: Add
11394 __memset_zero_constant_len_parameter alias and linker warning.
11395 * debug/Versions: Add __memset_zero_constant_len_parameter to libc
11396 with version GLIBC_2.4.
11398 * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
11399 in __STD_TYPE definition.
11401 2005-02-21 Jakub Jelinek <jakub@redhat.com>
11403 * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
11404 the error message rather than program name.
11406 2005-02-21 Ulrich Drepper <drepper@redhat.com>
11409 * posix/unistd.h: symlink and readlink are unconditionally
11410 available in the 2001 spec.
11412 2005-02-16 Roland McGrath <roland@redhat.com>
11414 * intl/dcigettext.c (_nl_find_msg): Add a cast.
11416 * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR.
11417 * nis/nis_clone_obj.c (nis_clone_object): Likewise.
11418 * nis/nis_clone_res.c (nis_clone_result): Likewise.
11420 * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char *
11421 for END_OF_MESSAGE and CP.
11423 * resolv/res_send.c (send_dg): Add else branch for case impossible
11424 unless `poll' is buggy.
11426 * crypt/crypt_util.c (__setkey_r): Add a cast.
11428 * locale/programs/linereader.c (get_toplvl_escape): Use size_t for
11429 NBYTES, and unsigned char * for BYTES.
11431 * locale/programs/charmap.c (charmap_new_char): Use size_t and
11432 unsighed char * for NBYTES, BYTES parameters.
11434 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument
11436 * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise.
11438 * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES.
11440 * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.
11442 * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA.
11443 (authdes_marshal): Don't use unsigned int for LEN.
11444 * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2.
11445 (xdr_u_hyper): Likewise.
11446 (xdr_u_short): Don't use u_long for L.
11447 * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2.
11449 * inet/rexec.c (rexec_af): Use socklen_t.
11450 * sunrpc/key_call.c (getkeyserv_handle): Likewise.
11451 * sunrpc/rtime.c (rtime): Likewise.
11452 * resolv/res_send.c (send_vc, send_dg): Likewise.
11453 * nis/nis_callback.c (__nis_create_callback): Likewise.
11455 * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr.
11457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
11459 * libio/libio.h (_IO_BE): Add parenthesis around EXPR.
11461 * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed.
11462 (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
11463 (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
11464 * intl/bindtextdom.c (INTUSE): Macro removed.
11465 (_nl_default_dirname): Use libc_hidden_proto.
11466 (set_binding_values): Don't use INTUSE.
11467 * include/libintl.h (_libc_intl_domainname_internal): Decl removed.
11468 (_libc_intl_domainname): Use libc_hidden_proto.
11469 * posix/regex_internal.h (gettext): Remove INTUSE on it.
11470 * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def
11471 rather than INTDEF.
11472 * include/libintl.h (_): Don't use *_internal name.
11474 * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t,
11476 * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments.
11478 * iconv/gconv_open.c (__gconv_open): Remove useless cast.
11481 * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
11483 * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.
11484 * sysdeps/powerpc/powerpc32/dl-machine.h
11485 (elf_machine_rel, elf_machine_rel_relative): Removed.
11486 * sysdeps/powerpc/powerpc64/dl-machine.h
11487 (elf_machine_rel, elf_machine_rel_relative): Removed.
11489 2005-02-03 Alexandre Oliva <aoliva@redhat.com>
11492 * elf/dynamic-link.h: Don't declare nested auto functions that are
11493 not going to be defined.
11495 2004-07-23 Jakub Jelinek <jakub@redhat.com>
11498 * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define
11499 if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined.
11501 2005-02-16 Roland McGrath <roland@redhat.com>
11503 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn
11504 inside [! SHARED] where it's used.
11506 2005-02-15 Ulrich Drepper <drepper@redhat.com>
11508 * sysdeps/generic/bits/byteswap.h: Make sure result of all the
11509 functions and macros is unsigned.
11511 2005-02-11 Barry deFrese <bddebian@comcast.net>
11514 * sysdeps/mach/hurd/setresgid.c: Use weak_alias.
11515 * sysdeps/mach/hurd/setresuid.c: Likewise.
11517 2005-02-14 GOTO Masanori <gotom@debian.or.jp>
11519 * misc/sys/syslog.h: Fix typo in comment.
11521 2005-02-14 Roland McGrath <roland@redhat.com>
11524 * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
11525 if it wasn't originally.
11527 2005-02-14 GOTO Masanori <gotom@debian.or.jp>
11529 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
11531 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
11532 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11534 2005-02-11 Jakub Jelinek <jakub@redhat.com>
11536 * scripts/soversions.awk: Only record first WORDSIZE{32,64}
11539 2005-02-14 Alan Modra <amodra@bigpond.net.au>
11542 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
11543 with auto inline, and attribute always_inline.
11544 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
11545 (elf_machine_rel, elf_machine_rel_relative): Likewise.
11546 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11547 (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
11548 (elf_machine_rel, elf_machine_rel_relative): Likewise.
11549 (elf_machine_tprel): Likewise.
11551 2005-02-14 Andreas Schwab <schwab@suse.de>
11553 * manual/filesys.texi (Random Access Directory): Fix type of file
11554 position value for telldir and seekdir.
11555 (Attribute Meanings): Fix typo.
11557 2005-02-14 H.J. Lu <hongjiu.lu@intel.com>
11559 * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
11561 * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
11562 if SHARED isn't defined.
11563 * elf/Makefile (tests-static): Add tst-array1-static.
11564 ($(objpfx)tst-array1-static.out): New target.
11565 * elf/tst-array1-static.c: New file.
11567 2005-02-11 Jakub Jelinek <jakub@redhat.com>
11570 * debug/chk_fail.c (__chk_fail): Add a while (1) loop around
11571 __libc_message to kill GCC warning about noreturn function returning.
11573 * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag
11574 before relocating ld.so again.
11576 * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
11577 for already prelinked ld.so.
11579 2005-02-11 Roland McGrath <roland@redhat.com>
11582 * Makefile (installed-stubs): New variable.
11583 Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no,
11584 or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise.
11585 [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs).
11586 ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this
11588 ($(inst_includedir)/gnu/stubs.h): New target, install from ...
11589 * include/stubs-biarch.h: New file.
11591 * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64.
11593 * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig.
11594 Emit defn for variable `biarch'.
11596 * include/stub-tag.h: Update comment.
11598 * scripts/soversions.awk: Fix default version set handling.
11600 2005-02-10 Roland McGrath <roland@redhat.com>
11603 * include/libc-symbols.h (stub_warning): Emit a marker section called
11604 .gnu.glibc-stub.NAME.
11605 * Makerules ($(objpfx)stubs): Depend on object files, not dep files.
11606 Use objdump to collect those marker section names.
11607 ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
11609 * Rules (subdir_objs, subdir_stubs): New phony targets.
11610 * Makefile (+subdir_targets): Add them.
11612 * Makerules ($(common-objpfx)Versions.all): Grok new leading column in
11615 * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
11616 Reported by H.J. Lu <hongjiu.lu@intel.com>.
11618 * scripts/lib-names.awk: Always print WORDSIZE32 section first when
11621 2005-02-10 Jakub Jelinek <jakub@redhat.com>
11623 * sysdeps/powerpc/powerpc32/bits/link.h: Removed.
11624 * sysdeps/powerpc/powerpc64/bits/link.h: Moved to...
11625 * sysdeps/powerpc/bits/link.h: ... here. New file.
11627 2005-02-09 Jakub Jelinek <jakub@redhat.com>
11630 * stdlib/random_r.c (__initstate_r): Save old state.
11631 * stdlib/Makefile (tests): Add tst-random2.
11632 * stdlib/tst-random2.c: New test.
11633 Reported by Peter Bergner <bergner@vnet.ibm.com>.
11635 2005-01-25 H.J. Lu <hongjiu.lu@intel.com>
11637 * dlfcn/dlfcn.c (init): Put it in .init_array section.
11639 2005-02-10 Roland McGrath <roland@redhat.com>
11642 * scripts/soversions.awk: Expect cpu, vendor, os as separate variables
11644 Grok shlib-versions lines with WORDSIZE* in second column.
11645 Add new leading column to output, DEFAULT for existing output lines.
11646 Also emit lines with WORDSIZE* for alternate configurations.
11647 * Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
11648 ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
11649 ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
11650 of soversions.mk; replace inline shell script with use of ...
11651 * scripts/lib-names.awk: New file. If input has non-DEFAULT lines,
11652 emit multiple sets of macros under #if.
11653 * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
11654 (s390x-.*-.*): Likewise for s390.
11655 (powerpc64-.*-.*): Likewise for powerpc.
11656 (sparc64-.*-.*): Likewise for sparc.
11657 (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries
11658 for these mapping back to the above.
11660 2005-02-08 Jakub Jelinek <jakub@redhat.com>
11662 * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo.
11664 2005-02-08 Andreas Schwab <schwab@suse.de>
11666 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of
11669 2005-02-07 Richard Henderson <rth@redhat.com>
11672 * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.
11674 2005-02-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11676 * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
11679 2005-02-07 Ulrich Drepper <drepper@redhat.com>
11681 * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are
11684 2005-01-07 Richard Henderson <rth@redhat.com>
11687 * math/math_private.h (__copysign): Define as builtin for gcc 4.
11688 (__copysignf, __copysignl): Likewise.
11689 * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
11691 (copysignf, copysignl, fabsf, fabs): Likewise.
11692 (__copysign, __copysignf, __copysignl): Remove.
11693 (__fabs, __fabsf): Remove.
11695 2005-01-07 Jakub Jelinek <jakub@redhat.com>
11698 * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
11699 avoid writing to it if none of the standard search directories exist.
11701 2005-02-07 Steven Munroe <sjmunroe@us.ibm.com>
11704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11705 (__novec_setcontext, __setcontext): Fix typo so CCR is restored.
11706 Load MSR as a doubleword.
11707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11708 (__novec_swapcontext, __swapcontext): Likewise.
11710 2005-02-07 Ulrich Drepper <drepper@redhat.com>
11712 * iconv/iconv_prog.c (main): Provide more help in case on an error.
11714 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
11716 2005-02-07 Jakub Jelinek <jakub@redhat.com>
11719 * nscd/nscd.c (termination_handler): Avoid segfault if some database
11723 * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set
11724 __nss_not_use_nscd_hosts and return -1.
11725 * nscd/nscd_initgroups.c (__nscd_getgrouplist): If
11726 initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1.
11727 Avoid leaking sockets.
11729 2005-01-28 Andreas Schwab <schwab@suse.de>
11730 H.J. Lu <hongjiu.lu@intel.com>
11733 * elf/dl-runtime.c (fixup): Change return type to
11734 DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE,
11735 DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation
11736 values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to
11737 store and retrieve relocation values.
11738 (profile_fixup): Likewise.
11739 * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for
11741 * sysdeps/generic/dl-fptr.h (link_map): Forward declaration.
11742 * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New.
11743 (DL_FIXUP_MAKE_VALUE): Likewise.
11744 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
11745 (DL_FIXUP_VALUE_ADDR): Likewise.
11746 (DL_FIXUP_ADDR_VALUE): Likewise.
11747 * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc".
11748 (DL_FIXUP_VALUE_TYPE): New.
11749 (DL_FIXUP_MAKE_VALUE): Likewise.
11750 (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
11751 (DL_FIXUP_VALUE_ADDR): Likewise.
11752 (DL_FIXUP_ADDR_VALUE): Likewise.
11753 * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed.
11754 (elf_machine_profile_plt): Removed.
11755 (elf_machine_fixup_plt): Change return type and type of value
11756 parameter to struct fdesc.
11757 (elf_machine_plt_value): Likewise.
11758 (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct
11759 argument for elf_machine_fixup_plt.
11761 2005-02-07 Jakub Jelinek <jakub@redhat.com>
11764 * nscd/nscd.init (reload): Print Reloading nscd: before and a newline
11765 after the status string printed by killproc.
11767 2004-11-18 Alexandre Oliva <aoliva@redhat.com>
11769 * manual/.cvsignore: Add dir-add.texi.
11771 2005-02-06 Richard Henderson <rth@redhat.com>
11773 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
11776 2004-11-03 Marcus Brinkmann <marcus@gnu.org>
11778 * configure.in (sysnames): Append sysdeps/generic for each add-on.
11779 * configure: Regenerated.
11781 2005-02-02 Alfred M. Szmidt <ams@gnu.org>
11783 * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
11784 (dtv_t): Change pointer type to be a struct which also contains
11785 information whether the memory pointed to is static TLS or not.
11787 * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
11789 * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
11790 (FALSEP): ... this. Updated all references.
11793 * libio/fmemopen.c: Include <stdint.h>.
11795 2005-01-30 Ulrich Drepper <drepper@redhat.com>
11798 * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
11799 * nscd/connections.c (send_ro_fd): Likewise.
11801 2005-01-28 H.J. Lu <hongjiu.lu@intel.com>
11803 * elf/tst-auditmod1.c: Add ia64 entries.
11804 * sysdeps/generic/ldsodefs.h (La_ia64_regs): New.
11805 (La_ia64_retval): New.
11806 (audit_ifaces): Add ia64 entries.
11807 * sysdeps/ia64/bits/link.h: New file.
11808 * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test
11809 for dl_profile non-null.
11810 (ARCH_LA_PLTENTER): New.
11811 (ARCH_LA_PLTEXIT): New.
11812 * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate
11813 only 2 output registers. Allocate stack to save/restore
11814 8 incoming fp registers. Call _dl_fixup instead of fixup.
11815 (_dl_runtime_profile): Rewrite.
11817 2005-01-28 Martin Schwidefsky <schwidefsky@de.ibm.com>
11819 * sysdeps/s390/bits/link.h: New file.
11820 * sysdeps/s390/s390-32/dl-trampoline.S: New file.
11821 * sysdeps/s390/s390-64/dl-trampoline.S: New file.
11822 * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to
11823 dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect
11825 (elf_machine_runtime_setup): Test for dl_profile non-null.
11826 (elf_machine_rela): Remove code using RESOLVE.
11827 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
11828 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11829 * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval,
11830 La_s390_64_regs, La_s390_64_retval): New.
11831 * elf/tst-auditmod1.c: Add s390 entries.
11834 * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat,
11835 strncat, memchr, strcmp): Add missing memory clobber.
11837 2005-01-27 Ulrich Drepper <drepper@redhat.com>
11839 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
11840 copy gl_offs. Patch by Sergey Tikhonov <tsv@solvo.ru>.
11842 2005-01-27 Paolo Bonzini <bonzini@gnu.org>
11845 * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
11846 Initialize the node sets in dfa->inveclosures.
11847 (analyze): Initialize inveclosures only if it is needed.
11848 Check errors from calc_inveclosure.
11849 * posix/regex_internal.c (re_dfa_add_node): Do not initialize
11850 the inveclosure node set.
11851 * posix/regexec.c (re_search_internal): If nmatch includes unused
11852 subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.
11854 * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
11855 Do build a SIMPLE_BRACKET token.
11857 * posix/regexec.c (transit_state_mb): Do not examine nodes
11858 where ACCEPT_MB is not set.
11860 2005-01-27 Jakub Jelinek <jakub@redhat.com>
11862 * stdlib/tst-fmtmsg.c: Include stdlib.h.
11863 * stdio-common/tst-fmemopen2.c: Include string.h.
11864 * posix/execvp.c: Include stdbool.h.
11866 2004-12-13 Paolo Bonzini <bonzini@gnu.org>
11868 Separate parsing and creation of the NFA. Avoided recursion on
11869 the (very unbalanced) parse tree.
11871 * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
11872 re_dfa_add_tree_node, mark_opt_subexp_iter): Removed.
11873 (optimize_subexps, duplicate_tree, calc_first, calc_next,
11874 mark_opt_subexp): Rewritten.
11875 (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes,
11876 create_token_tree, free_tree, free_token): New.
11877 (analyze): Accept a regex_t *. Invoke the passes via the preorder and
11878 postorder generic visitors. Do not initialize the fields in the
11879 re_dfa_t that represent the transitions.
11880 (free_dfa_content): Use free_token.
11881 (re_compile_internal): Analyze before UTF-8 optimizations. Do not
11882 include optimization of subexpressions.
11883 (create_initial_state): Fetch the DFA node index from the first node's
11885 (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION.
11886 Return on COMPLEX_BRACKET.
11887 (duplicate_node_closure): Fix comment.
11888 (duplicate_node): Do not initialize the fields in the
11889 re_dfa_t that represent the transitions.
11890 (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP.
11891 (create_tree): Remove final argument. All callers adjusted. Rewritten
11892 to use create_token_tree.
11893 (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp,
11894 build_charclass_op): Use create_tree or create_token_tree instead
11895 of re_dfa_add_tree_node.
11896 (parse_dup_op): Likewise. Also free the tree using free_tree for
11897 "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent
11898 to "a|". Adjust invocation of mark_opt_subexp.
11899 (parse_sub_exp): Create a single SUBEXP node.
11900 * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
11901 always perform as if it was 1. Do not initialize OPT_SUBEXP and
11902 DUPLICATED, and initialize the DFA fields representing the transitions.
11903 * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
11904 (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens
11905 section. Add a tree-only code SUBEXP. Remove OP_DELETED_SUBEXP.
11906 (bin_tree_t): Include a full re_token_t for TOKEN. Turn FIRST and
11907 NEXT into pointers to trees. Remove ECLOSURE.
11909 2004-12-28 Paolo Bonzini <bonzini@gnu.org >
11912 * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
11913 that were already created.
11914 * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
11915 in the token if needed.
11916 (create_ci_newstate, create_cd_newstate): Set accept_mb field
11917 from the tokens' field.
11918 * posix/regex_internal.h (re_token_t): Add accept_mb field.
11919 (ACCEPT_MB_NODE): Removed.
11920 * posix/regexec.c (proceed_next_node, transit_states_mb,
11921 build_sifted_states, check_arrival_add_next_nodes): Use
11922 accept_mb instead of ACCEPT_MB_NODE.
11924 2005-01-26 Ulrich Drepper <drepper@redhat.com>
11927 * debug/chk_fail.c (__chk_fail): Print program name in final message.
11929 * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
11930 MSG_NOSIGNAL being in 2.2 kernels.
11932 2005-01-26 Jakub Jelinek <jakub@redhat.com>
11934 * sysdeps/unix/sysv/linux/i386/sysdep.h
11935 (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm.
11938 * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
11939 (WORD_DELIM_CONSTRAINT): ...this.
11940 (NOT_WORD_DELIM_CONSTRAINT): Define.
11941 (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
11942 change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
11943 * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
11944 anchor instead of INSIDE_WORD.
11945 (parse_expression): Handle NOT_WORD_DELIM constraint.
11946 * posix/bug-regex19.c (tests): Adjust tests that relied on \B
11947 being inside word instead of not word delim.
11948 * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
11950 * posix/rxspencer/tests: Add some new tests.
11952 2005-01-14 GOTO Masanori <gotom@debian.or.jp>
11955 * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
11956 irrespective of Cflag.
11958 * manual/memory.texi (sbrk): Fix definition.
11959 * manual/string.texi (strcasestr): Fix example typo.
11961 2005-01-25 Roland McGrath <roland@redhat.com>
11963 * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
11965 2005-01-23 Roland McGrath <roland@redhat.com>
11968 * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
11969 in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
11970 * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
11971 (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
11972 from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
11973 * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
11975 2005-01-25 Jakub Jelinek <jakub@redhat.com>
11978 * stdlib/fmtmsg.c (addseverity): Remove new_string variable.
11979 (free_mem): Don't free string.
11980 * stdlib/tst-fmtmsg.c: Include string.h.
11981 (main): Add some more tests.
11983 2005-01-25 Andreas Schwab <schwab@suse.de>
11986 * timezone/asia: Update from tzdata2005c.
11987 * timezone/backward: Likewise.
11988 * timezone/europe: Likewise.
11989 * timezone/leapseconds: Likewise.
11990 * timezone/northamerica: Likewise.
11991 * timezone/southamerica: Likewise.
11994 * timezone/private.h: Update from tzcode2005c.
11995 * timezone/tzfile.h: Likewise.
11996 * timezone/zdump.c: Likewise.
11997 * timezone/zic.c: Likewise.
11999 2005-01-25 Ulrich Drepper <drepper@redhat.com>
12001 * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using
12003 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code
12005 * elf/rtld.c (_dl_start): Remove RESOLVE definition.
12007 2005-01-25 Alan Modra <amodra@bigpond.net.au>
12009 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
12010 sym_map, not sym, against zero.
12012 2005-01-24 Ulrich Drepper <drepper@redhat.com>
12015 * misc/syslog.c: Moved to...
12016 * sysdeps/generic/syslog.c: ...here.
12017 [NO_SIGIPE]: Don't install SIGPIPE handler.
12018 * sysdeps/unix/sysv/linux/syslog.c: New file.
12019 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12020 __ASSUME_MSG_NOSIGNAL.
12022 2005-01-22 Richard Henderson <rth@redhat.com>
12024 * sysdeps/alpha/dl-trampoline.S: New file.
12025 * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
12026 Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
12027 (elf_machine_runtime_setup): Test for dl_profile non-null.
12028 (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
12029 * sysdeps/alpha/bits/link.h: New file.
12030 * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
12031 (struct audit_ifaces): Add alpha entries.
12032 * elf/tst-auditmod1.c: Add alpha entries.
12034 2005-01-22 Ulrich Drepper <drepper@redhat.com>
12036 * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here.
12037 * sysdeps/ia64/dl-trampoline.S: New file.
12039 * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in
12040 La_x86_64_xmm definition.
12042 * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
12044 * stdlib/Makefile (CFLAGS-system.os): Use this instead of
12045 CFLAGS-system.c for frame pointer option.
12047 2005-01-21 Roland McGrath <roland@redhat.com>
12049 * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
12050 * sysdeps/i386/dl-machine.h: Update decl.
12052 2005-01-21 Jakub Jelinek <jakub@redhat.com>
12055 * elf/Makefile: Add rules to build and run tst-align2.
12056 * elf/tst-align2.c: New test.
12057 * elf/tst-alignmod2.c: New file.
12058 * sysdeps/powerpc/tst-stack-align.h: New file.
12059 * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame
12060 pointer before calling _dl_init.
12061 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12063 2005-01-20 Ulrich Drepper <drepper@redhat.com>
12065 * posix/execl.c: Do not allocate potentially large buffers on the
12067 * posix/execle.c: Likewise.
12068 * posix/execlp.c: Likewise.
12069 * posix/execvp.c: Likewise.
12070 (script_execute): Removed.
12071 (allocate_scripts_argv): New function. Called at most once to
12072 allocate memory, not every time a script is run. Adjust caller.
12074 * sysdeps/generic/wordexp.c (exec_comm): Add a few
12075 TEMP_FAILURE_RETRY. Reorganize code to avoid multiple calls to
12077 (exec_comm_child): Can now be inlined.
12079 * posix/Makefile: Add -fomit-frame-pointer for a few more files.
12080 * stdlib/Makefile: Likewise.
12082 2005-01-19 Roland McGrath <roland@redhat.com>
12085 * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
12086 argument to execlp.
12087 Reported by Marcus Meissner <meissner@suse.de>.
12089 2005-01-19 Jakub Jelinek <jakub@redhat.com>
12091 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
12093 * iconv/strtab.c (strtabfinalize): Likewise.
12095 * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
12097 2005-01-17 Roland McGrath <roland@redhat.com>
12100 * nscd/Makefile (LDLIBS-nscd): New variable.
12101 ($(objpfx)nscd): Use that instead of selinux-LIBS.
12103 * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)).
12104 (link-extra-libs-static): Define to $(link-extra-libs).
12105 (link-extra-libs-bounded): Likewise.
12107 2005-01-17 Ulrich Drepper <drepper@redhat.com>
12109 * include/link.h: Remove stray definition of pltenter.
12111 2005-01-16 GOTO Masanori <gotom@debian.or.jp>
12114 * sysdeps/unix/rewinddir.c: Reset filepos.
12115 * dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
12117 2005-01-15 Ulrich Drepper <drepper@redhat.com>
12119 * elf/tst-auditmod1.c: Reduce duplication.
12121 2005-01-16 Andreas Schwab <schwab@suse.de>
12123 * sysdeps/m68k/dl-machine.h: Remove trampoline code. Define
12124 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
12125 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
12126 GLRO(dl_profile) != NULL.
12127 * sysdeps/m68k/dl-trampoline.S: New file.
12128 * sysdeps/m68k/bits/link.h: New file.
12129 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
12131 * elf/tst-auditmod1.c: Add m68k support.
12133 2005-01-14 Ulrich Drepper <drepper@redhat.com>
12135 * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
12136 LC_* variable. Patch by Aharon Robbins <arnold@skeeve.com>.
12139 * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
12140 * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
12142 2005-01-12 Ulrich Drepper <drepper@redhat.com>
12144 * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
12145 callers from libc anymore.
12147 * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller
12148 to _dl_map_object_deps.
12149 * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory
12150 protections when loading auditing modules.
12152 * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail.
12154 * posix/getconf.c: Update copyright year.
12155 * nss/getent.c: Likewise.
12156 * nscd/nscd_nischeck.c: Likewise.
12157 * iconv/iconvconfig.c: Likewise.
12158 * iconv/iconv_prog.c: Likewise.
12159 * elf/ldconfig.c: Likewise.
12160 * catgets/gencat.c: Likewise.
12161 * csu/version.c: Likewise.
12162 * elf/ldd.bash.in: Likewise.
12163 * elf/sprof.c (print_version): Likewise.
12164 * locale/programs/locale.c: Likewise.
12165 * locale/programs/localedef.c: Likewise.
12166 * nscd/nscd.c (print_version): Likewise.
12167 * debug/xtrace.sh: Likewise.
12168 * malloc/memusage.sh: Likewise.
12169 * malloc/mtrace.pl: Likewise.
12170 * debug/catchsegv.sh: Likewise.
12172 2005-01-11 Thorsten Kukuk <kukuk@suse.de>
12175 * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN
12177 * sunrpc/svc_unix.c (svcunix_create): Likewise.
12180 * grp/putgrent.c (putgrent): Don't write 0 as group
12181 ID if groupname starts with + or -.
12182 * pwd/putpwent.c (putpwent): Don't write 0 as user or
12183 group ID if user name starts with + or -.
12185 2005-01-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12187 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants.
12188 * sysdeps/elf/tst-auditmod1.c: Add sh support.
12189 * sysdeps/sh/bits/link.h: New.
12190 * sysdeps/sh/dl-machine.h: Remove trampoline code here. Define
12191 ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT. Remove obsolete comments.
12192 (RTLD_START): Define __fpscr_values.
12193 * sysdeps/sh/dl-trampoline.S: New file.
12194 * sysdeps/sh/sh4/dl-trampoline.S: New file.
12195 * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values.
12196 * sysdeps/sh/sh4/dl-machine.h: Remove.
12198 2005-01-10 Jakub Jelinek <jakub@redhat.com>
12201 * time/tst-strptime.c (day_tests): Add 2 new tests.
12202 (test_tm, main): Issue an error instead of segfaulting if
12203 strptime returns NULL.
12205 2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
12207 * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union.
12208 * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise.
12210 2005-01-11 Ulrich Drepper <drepper@redhat.com>
12212 * malloc/malloc.h: Remove no-glibc support.
12214 2005-01-12 GOTO Masanori <gotom@debian.or.jp>
12217 * malloc/malloc.h: Always include features.h.
12219 2005-01-10 Roland McGrath <roland@redhat.com>
12221 * sysdeps/ia64/fpu/e_logl.c: File removed.
12223 * dlfcn/dlfcn.c (init): Fix typo in attribute decl.
12225 2005-01-10 Ulrich Drepper <drepper@redhat.com>
12227 * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and
12228 recognition of last entry.
12230 2005-01-09 Ulrich Drepper <drepper@redhat.com>
12232 * elf/dl-runtime.c: Include <sys/param.h>.
12234 * elf/Makefile (headers): Add bits/link.h.
12236 2005-01-09 Andreas Schwab <schwab@suse.de>
12238 * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC.
12240 2005-01-09 Andreas Jaeger <aj@suse.de>
12243 * time/strptime_l.c (__strptime_internal): Add braces to avoid
12246 * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0.
12248 * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
12250 2005-01-08 Jakub Jelinek <jakub@redhat.com>
12252 * elf/Makefile (generated): Add tst-pie1{,.out,.o}.
12254 2005-01-09 Ulrich Drepper <drepper@redhat.com>
12256 * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after
12257 those of all the regular objects.
12259 * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and
12260 use it to select the r_debug structure for that namespace.
12261 * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize.
12262 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12263 * elf/dl-open.c (_dl_open): Likewise.
12264 * elf/rtld.c (dl_main): Likewise.
12265 * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug
12267 (_dl_debug_initialize): Add new parameter in declaration.
12269 * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not
12270 called for the auditing objects themselves.
12271 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12273 2005-01-07 Ulrich Drepper <drepper@redhat.com>
12275 * sysdeps/powerpc/powerpc64/dl-machine.h
12276 (elf_machine_runtime_setup): If profile != 0 does not anymore mean
12277 GLRO(dl_profile) != NULL.
12278 * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add
12280 * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve):
12281 Extend _dl_prof_resolve to add pass extra parameters to
12282 _dl_profile_fixup and set up structure with register content.
12284 * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
12285 If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
12286 * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
12287 Extend _dl_prof_resolve to add pass extra parameters to
12288 _dl_profile_fixup and set up structure with register content.
12289 * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
12290 the register and result structures.
12291 * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
12292 in the 32-bit register and result structures.
12294 * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
12296 * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file.
12297 * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here.
12298 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
12299 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants.
12300 * elf/tst-auditmod1.c: Add ppc32 support.
12301 * sysdeps/powerpc/powerpc32/bits/link.h: New file.
12302 * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions.
12304 * malloc/malloc.c (malloc_printerr): Print program name as part of
12307 * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define.
12308 * stdlib/stdlib.h: Make realloc with
12309 __attribute_warn_unused_result__ instead of __wur.
12310 * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__
12311 markers as in <stdlib.h>.
12313 * libio/stdio.h: Remove __wur from rename and remove.
12314 * posix/unistd.h: Remove __wur from dup2.
12316 2005-01-03 Andreas Jaeger <aj@suse.de>
12318 * elf/Makefile (tests): Revert patch from 2005-01-03.
12320 2005-01-07 Ulrich Drepper <drepper@redhat.com>
12322 * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't
12323 make __libc_init_first hidden.
12325 * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize
12326 l_relocated of rtld map.
12327 * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file.
12328 * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here.
12329 Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
12330 * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants.
12331 * elf/tst-auditmod1.c: Add ppc64 support.
12332 * sysdeps/powerpc/powerpc64/bits/link.h: New file.
12334 2005-01-06 Roland McGrath <roland@redhat.com>
12337 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
12338 indicating file-name lookup errors, and return ENOSYS or EBADF instead.
12340 2005-01-06 Ulrich Drepper <drepper@redhat.com>
12342 * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
12343 * sysdeps/generic/libc-start.c: Don't register program destructor here.
12345 * dlfcn/Makefile: Add rules to build dlfcn.c.
12346 (LDFLAGS-dl.so): Removed.
12347 * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
12349 * dlfcn/dlmopen.c: Likewise for _dl_open.
12350 * dlfcn/dlopen.c: Likewise.
12351 * dlfcn/dlopenold.c: Likewise.
12352 * elf/dl-libc.c: Likewise for _dl_open and _dl_close.
12353 * elf/Makefile (routines): Remove dl-open and dl-close.
12354 (dl-routines): Add dl-open, dl-close, and dl-trampoline.
12355 Add rules to build and run tst-audit1.
12356 * elf/tst-audit1.c: New file.
12357 * elf/tst-auditmod1.c: New file.
12358 * elf/Versions [libc]: Remove _dl_open and _dl_close.
12359 * elf/dl-close.c: Change for use inside ld.so instead of libc.so.
12360 * elf/dl-open.c: Likewise.
12361 * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
12362 signaled by nonzero parameter.
12363 * elf/dl-init.c: Fix use of r_state.
12364 * elf/dl-load.c: Likewise.
12366 * elf/dl-close.c: Add auditing checkpoints.
12367 * elf/dl-open.c: Likewise.
12368 * elf/dl-fini.c: Likewise.
12369 * elf/dl-load.c: Likewise.
12370 * elf/dl-sym.c: Likewise.
12371 * sysdeps/generic/libc-start.c: Likewise.
12372 * elf/dl-object.c: Allocate memory for auditing information.
12373 * elf/dl-reloc.c: Remove RESOLV. We now always need the map.
12374 Correctly initialize slotinfo.
12375 * elf/dynamic-link.h: Adjust after removal of RESOLV.
12376 * sysdeps/hppa/dl-lookupcfg.h: Likewise.
12377 * sysdeps/ia64/dl-lookupcfg.h: Likewise.
12378 * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
12379 * elf/dl-runtime.c (_dl_fixup): Little cleanup.
12380 (_dl_profile_fixup): New parameters to point to register struct and
12381 variable for frame size.
12382 Add auditing checkpoints.
12383 (_dl_call_pltexit): New function.
12384 Don't define trampoline code here.
12385 * elf/rtld.c: Recognize LD_AUDIT. Load modules on startup.
12386 Remove all the functions from _rtld_global_ro which only _dl_open
12387 and _dl_close needed.
12388 Add auditing checkpoints.
12389 * elf/link.h: Define symbols for auditing interfaces.
12390 * include/link.h: Likewise.
12391 * include/dlfcn.h: Define __RTLD_AUDIT.
12392 Remove prototypes for _dl_open and _dl_close.
12393 Adjust access to argc and argv in libdl.
12394 * dlfcn/dlfcn.c: New file.
12395 * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
12397 * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
12398 * sysdeps/generic/unsecvars.h: Add LD_AUDIT.
12399 * sysdeps/i386/dl-machine.h: Remove trampoline code here.
12400 Adjust for removal of RESOLVE.
12401 * sysdeps/x86_64/dl-machine.h: Likewise.
12402 * sysdeps/generic/dl-trampoline.c: New file.
12403 * sysdeps/i386/dl-trampoline.c: New file.
12404 * sysdeps/x86_64/dl-trampoline.c: New file.
12406 * sysdeps/generic/dl-tls.c: Cleanups. Fixup for dtv_t change.
12407 Fix updating of DTV.
12408 * sysdeps/generic/libc-tls.c: Likewise.
12410 * sysdeps/arm/bits/link.h: Renamed to ...
12411 * sysdeps/arm/bits/linkmap.h: ...this.
12412 * sysdeps/generic/bits/link.h: Renamed to...
12413 * sysdeps/generic/bits/linkmap.h: ...this.
12414 * sysdeps/hppa/bits/link.h: Renamed to...
12415 * sysdeps/hppa/bits/linkmap.h: ...this.
12416 * sysdeps/i386/bits/link.h: Renamed to...
12417 * sysdeps/i386/bits/linkmap.h: ...this.
12418 * sysdeps/ia64/bits/link.h: Renamed to...
12419 * sysdeps/ia64/bits/linkmap.h: ...this.
12420 * sysdeps/s390/bits/link.h: Renamed to...
12421 * sysdeps/s390/bits/linkmap.h: ...this.
12422 * sysdeps/sh/bits/link.h: Renamed to...
12423 * sysdeps/sh/bits/linkmap.h: ...this.
12424 * sysdeps/x86_64/bits/link.h: Renamed to...
12425 * sysdeps/x86_64/bits/linkmap.h: ...this.
12427 * posix/unistd.h: Declare ftruncate for POSIX 2003. [BZ #640]
12429 2004-12-22 Steven Munroe <sjmunroe@us.ibm.com>
12432 * math/libm-test.inc (rint_test_tonearest): New test.
12433 (rint_test_towardzero): New test.
12434 (rint_test_downward): New test.
12435 (rint_test_upward): New test.
12436 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case.
12437 Remove redundant const values.
12438 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case.
12439 Remove redundant const values. Use float const.
12440 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case.
12441 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case.
12443 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case.
12444 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case.
12446 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case.
12447 Remove redundant const values.
12448 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case.
12449 Remove redundant const values. Use float const.
12450 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case.
12451 Remove redundant const values.
12452 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case.
12453 Remove redundant const values. Use float const.
12454 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword
12455 alignment. Fix -0.0 case. Remove redundant const values.
12456 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword
12457 alignment. Fix -0.0 case. Remove redundant const values.
12459 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword
12460 alignment. Fix -0.0 case.
12461 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword
12462 alignment. Fix -0.0 case. Use float const.
12463 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword
12464 alignment. Fix -0.0 case.
12465 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword
12466 alignment. Fix -0.0 case. Use float const.
12467 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword
12468 alignment. Fix -0.0 case. Remove redundant const values.
12469 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword
12470 alignment. Fix -0.0 case. Remove redundant const values.
12472 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword
12473 alignment. Fix -0.0 case.
12474 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword
12475 alignment. Fix -0.0 case. Remove redundant const values.
12478 2005-01-06 Ulrich Drepper <drepper@redhat.com>
12480 * misc/sys/cdefs.h: Define __wur.
12481 * libio/stdio.h: Use __wur for a number of interfaces.
12482 * posix/unistd.h: Likewise.
12483 * stdlib/stdlib.h: Likewise.
12485 2004-12-29 Jakub Jelinek <jakub@redhat.com>
12488 * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use
12489 libc_hidden_proto instead of HIDDEN_PROTO.
12490 * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove.
12491 (__libm_error_support): If ASSEMBLER and in libc, define to
12492 HIDDEN_JUMPTARGET(__libm_error_support).
12494 2004-12-28 David Mosberger <davidm@hpl.hp.com>
12497 * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro.
12498 (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l}
12499 with $(duplicated-routines).
12500 (libm-sysdep_routines): Likewise, but substitute "s_" prefix for
12503 2004-12-27 David Mosberger <davidm@hpl.hp.com>
12506 * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and
12507 undefine "ret" macro. Add __libm_error_support hidden definitions.
12510 * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment. Add
12511 missing portion of copyright statement.
12512 * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
12513 * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
12516 * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment. Add
12517 missing portion of copyright statement.
12518 (__ieee754_lgamma): Rename from lgamma(). Make lgamma() a weak alias.
12519 (__ieee754_gamma): Likewise.
12520 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
12521 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
12523 2004-12-09 H.J. Lu <hjl@lucon.org>
12526 * sysdeps/ia64/fpu/s_nextafterl.c: Remove.
12527 * sysdeps/ia64/fpu/s_nexttoward.c: Likewise.
12528 * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise.
12529 * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c).
12530 * sysdeps/ia64/fpu/e_expl.S: Likewise.
12531 * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S).
12533 2004-11-18 David Mosberger <davidm@hpl.hp.com>
12536 * sysdeps/ia64/fpu/README: New file.
12537 * sysdeps/ia64/fpu/gen_import_file_list: New file.
12538 * sysdeps/ia64/fpu/import_check: Likewise.
12539 * sysdeps/ia64/fpu/import_diffs: Likewise.
12540 * sysdeps/ia64/fpu/import_file.awk: Likewise.
12541 * sysdeps/ia64/fpu/import_intel_libm: Likewise.
12542 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
12545 * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+.
12546 * sysdeps/ia64/fpu/e_acosf.S: Likewise.
12547 * sysdeps/ia64/fpu/e_acosl.S: Likewise.
12548 * sysdeps/ia64/fpu/e_asin.S: Likewise.
12549 * sysdeps/ia64/fpu/e_asinf.S: Likewise.
12550 * sysdeps/ia64/fpu/e_asinl.S: Likewise.
12551 * sysdeps/ia64/fpu/e_atan2.S: Likewise.
12552 * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
12553 * sysdeps/ia64/fpu/e_cosh.S: Likewise.
12554 * sysdeps/ia64/fpu/e_coshf.S: Likewise.
12555 * sysdeps/ia64/fpu/e_coshl.S: Likewise.
12556 * sysdeps/ia64/fpu/e_exp.S: Likewise.
12557 * sysdeps/ia64/fpu/e_expf.S: Likewise.
12558 * sysdeps/ia64/fpu/e_fmod.S: Likewise.
12559 * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
12560 * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
12561 * sysdeps/ia64/fpu/e_hypot.S: Likewise.
12562 * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
12563 * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
12564 * sysdeps/ia64/fpu/e_log.S: Likewise.
12565 * sysdeps/ia64/fpu/e_log2.S: Likewise.
12566 * sysdeps/ia64/fpu/e_log2f.S: Likewise.
12567 * sysdeps/ia64/fpu/e_log2l.S: Likewise.
12568 * sysdeps/ia64/fpu/e_logf.S: Likewise.
12569 * sysdeps/ia64/fpu/e_pow.S: Likewise.
12570 * sysdeps/ia64/fpu/e_powf.S: Likewise.
12571 * sysdeps/ia64/fpu/e_powl.S: Likewise.
12572 * sysdeps/ia64/fpu/e_remainder.S: Likewise.
12573 * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
12574 * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
12575 * sysdeps/ia64/fpu/e_scalb.S: Likewise.
12576 * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
12577 * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
12578 * sysdeps/ia64/fpu/e_sinh.S: Likewise.
12579 * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
12580 * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
12581 * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
12582 * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
12583 * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
12584 * sysdeps/ia64/fpu/libm_error.c: Likewise.
12585 * sysdeps/ia64/fpu/libm_reduce.c: Likewise.
12586 * sysdeps/ia64/fpu/libm_support.h: Likewise.
12587 * sysdeps/ia64/fpu/s_atan.S: Likewise.
12588 * sysdeps/ia64/fpu/s_atanf.S: Likewise.
12589 * sysdeps/ia64/fpu/s_atanl.S: Likewise.
12590 * sysdeps/ia64/fpu/s_cbrt.S: Likewise.
12591 * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
12592 * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
12593 * sysdeps/ia64/fpu/s_ceil.S: Likewise.
12594 * sysdeps/ia64/fpu/s_ceilf.S: Likewise.
12595 * sysdeps/ia64/fpu/s_ceill.S: Likewise.
12596 * sysdeps/ia64/fpu/s_cos.S: Likewise.
12597 * sysdeps/ia64/fpu/s_cosf.S: Likewise.
12598 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
12599 * sysdeps/ia64/fpu/s_expm1.S: Likewise.
12600 * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
12601 * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
12602 * sysdeps/ia64/fpu/s_fabs.S: Likewise.
12603 * sysdeps/ia64/fpu/s_fabsf.S: Likewise.
12604 * sysdeps/ia64/fpu/s_fabsl.S: Likewise.
12605 * sysdeps/ia64/fpu/s_floor.S: Likewise.
12606 * sysdeps/ia64/fpu/s_floorf.S: Likewise.
12607 * sysdeps/ia64/fpu/s_floorl.S: Likewise.
12608 * sysdeps/ia64/fpu/s_frexp.c: Likewise.
12609 * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
12610 * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
12611 * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
12612 * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
12613 * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
12614 * sysdeps/ia64/fpu/s_log1p.S: Likewise.
12615 * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
12616 * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
12617 * sysdeps/ia64/fpu/s_logb.S: Likewise.
12618 * sysdeps/ia64/fpu/s_logbf.S: Likewise.
12619 * sysdeps/ia64/fpu/s_logbl.S: Likewise.
12620 * sysdeps/ia64/fpu/s_modf.S: Likewise.
12621 * sysdeps/ia64/fpu/s_modff.S: Likewise.
12622 * sysdeps/ia64/fpu/s_modfl.S: Likewise.
12623 * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
12624 * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
12625 * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
12626 * sysdeps/ia64/fpu/s_rint.S: Likewise.
12627 * sysdeps/ia64/fpu/s_rintf.S: Likewise.
12628 * sysdeps/ia64/fpu/s_rintl.S: Likewise.
12629 * sysdeps/ia64/fpu/s_round.S: Likewise.
12630 * sysdeps/ia64/fpu/s_roundf.S: Likewise.
12631 * sysdeps/ia64/fpu/s_roundl.S: Likewise.
12632 * sysdeps/ia64/fpu/s_significand.S: Likewise.
12633 * sysdeps/ia64/fpu/s_significandf.S: Likewise.
12634 * sysdeps/ia64/fpu/s_significandl.S: Likewise.
12635 * sysdeps/ia64/fpu/s_tan.S: Likewise.
12636 * sysdeps/ia64/fpu/s_tanf.S: Likewise.
12637 * sysdeps/ia64/fpu/s_tanl.S: Likewise.
12638 * sysdeps/ia64/fpu/s_trunc.S: Likewise.
12639 * sysdeps/ia64/fpu/s_truncf.S: Likewise.
12640 * sysdeps/ia64/fpu/s_truncl.S: Likewise.
12643 * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+.
12644 * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
12645 * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
12646 * sysdeps/ia64/fpu/e_atanh.S: Likewise.
12647 * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
12648 * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
12649 * sysdeps/ia64/fpu/e_exp10.S: Likewise.
12650 * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
12651 * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
12652 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
12653 * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
12654 * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
12655 * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise.
12656 * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise.
12657 * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise.
12658 * sysdeps/ia64/fpu/e_logl.S: Likewise.
12659 * sysdeps/ia64/fpu/libm_frexp.S: Likewise.
12660 * sysdeps/ia64/fpu/libm_frexpf.S: Likewise.
12661 * sysdeps/ia64/fpu/libm_frexpl.S: Likewise.
12662 * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
12663 * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
12664 * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
12665 * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
12666 * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
12667 * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
12668 * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
12669 * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
12670 * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
12671 * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
12672 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
12673 * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
12674 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
12675 * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
12676 * sysdeps/ia64/fpu/s_asinh.S: Likewise.
12677 * sysdeps/ia64/fpu/s_asinhf.S: Likewise.
12678 * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
12679 * sysdeps/ia64/fpu/s_erf.S: Likewise.
12680 * sysdeps/ia64/fpu/s_erfc.S: Likewise.
12681 * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
12682 * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
12683 * sysdeps/ia64/fpu/s_erff.S: Likewise.
12684 * sysdeps/ia64/fpu/s_erfl.S: Likewise.
12685 * sysdeps/ia64/fpu/s_fdim.S: Likewise.
12686 * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
12687 * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
12688 * sysdeps/ia64/fpu/s_fma.S: Likewise.
12689 * sysdeps/ia64/fpu/s_fmaf.S: Likewise.
12690 * sysdeps/ia64/fpu/s_fmal.S: Likewise.
12691 * sysdeps/ia64/fpu/s_fmax.S: Likewise.
12692 * sysdeps/ia64/fpu/s_fmaxf.S: Likewise.
12693 * sysdeps/ia64/fpu/s_fmaxl.S: Likewise.
12694 * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
12695 * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
12696 * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
12697 * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
12698 * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
12699 * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
12700 * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
12701 * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
12702 * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
12703 * sysdeps/ia64/fpu/s_tanh.S: Likewise.
12704 * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
12705 * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
12706 * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
12707 * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
12708 * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
12709 * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
12710 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
12711 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
12712 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
12715 * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file.
12716 * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise.
12717 * sysdeps/ia64/fpu/e_gammal_r.c: Likewise.
12718 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
12719 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
12720 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
12721 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
12722 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
12723 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
12724 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
12725 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
12726 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
12727 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
12728 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
12729 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
12730 * sysdeps/ia64/fpu/w_expl.c: Likewise.
12731 * sysdeps/ia64/fpu/e_expl.S: Likewise.
12732 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
12733 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
12734 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
12735 * sysdeps/ia64/fpu/w_log2.c: Likewise.
12736 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
12737 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
12738 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
12739 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
12740 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
12743 * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove.
12744 * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
12745 * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
12746 * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
12747 * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
12748 * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
12749 * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
12752 * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file.
12753 * sysdeps/ia64/fpu/s_sincosf.c: Likewise.
12754 * sysdeps/ia64/fpu/s_sincosl.c: Likewise.
12757 * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment.
12760 * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l}
12761 alias for use by libm_error.c
12764 * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove
12765 libm_atan2_reg, libm_tan, libm_frexp4{f,l}.
12766 Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l},
12767 libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l},
12768 libm_scalbn{,f,l}, libm_scalblnf.
12769 (sysdep_routines): Remove libm_frexp4{,f,l}.
12770 Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}.
12771 (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__,
12772 _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and
12773 -DSIZE_LONG_LONG_INT_64.
12775 2005-01-05 Steven Munroe <sjmunroe@us.ibm.com>
12778 * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and
12779 l_text_end are set for a VDSO with a single PT_LOAD entry.
12781 2005-01-05 Ulrich Drepper <drepper@redhat.com>
12784 * libio/iofopncook.c (_IO_cookie_seekoff): Define. Mark offset as
12785 invalid to disable optimizations in fileops which won't work here.
12786 (_IO_cookie_jumps): Use it.
12787 (_IO_old_cookie_jumps): Likewise.
12788 * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P,
12789 not the return value.
12790 * stdio-common/Makefile (tests): Add tst-fmemopen2.
12791 * stdio-common/tst-fmemopen2.c: New file.
12793 * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD.
12795 2005-01-05 Roland McGrath <roland@redhat.com>
12797 * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ...
12798 * sysdeps/i386/configure.in: ... here. New file.
12800 2005-01-03 Ulrich Drepper <drepper@redhat.com>
12803 * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
12804 initialize __environ again.
12805 * stdlib/Makefile: Add rules to build and run tst-putenv.
12806 * stdlib/tst-putenv.c: New file.
12807 * stdlib/tst-putenvmod.c: New file.
12809 * sysdeps/unix/sysv/linux/init-first.c: Clean file up. Don't
12810 define unnecessary wrappers or aliases of static functions.
12812 2005-01-03 Andreas Jaeger <aj@suse.de>
12814 * csu/Makefile (generated): Add start.os and start.ob.
12816 * elf/Makefile (tests): Change rule for tst-pie1 so that make
12819 2004-12-29 Roland McGrath <roland@redhat.com>
12822 * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
12823 than always up; when nearest is zero, round up to one.
12825 2004-12-28 Ulrich Drepper <drepper@redhat.com>
12827 * po/es.po: Update from translation team.
12830 * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
12832 2004-12-27 Ulrich Drepper <drepper@redhat.com>
12835 * include/signal.h: Define __sigemptyset.
12837 2004-04-27 Paolo Bonzini <bonzini@gnu.org>
12839 * posix/regex_internal.h (struct re_dfastate_t): Make
12840 word_trtable a pointer to the 512-item transition table.
12841 * posix/regexec.c (build_trtable): Fill in either state->trtable
12842 or state->word_trtable. Return a boolean indicating success.
12843 (transit_state): Expect state->trtable to be a 256-item
12844 transition table. Reorganize code to have less tests in
12845 the common case, and to save an indentation level.
12846 * posix/regex_internal.c (free_state): Free word_trtable.
12848 2004-12-21 Jakub Jelinek <jakub@redhat.com>
12851 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when
12852 calling fn is 16 byte aligned.
12853 * sysdeps/i386/tst-stack-align.h: New file.
12856 * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
12857 (ecvt_r): Special case denormals.
12858 * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
12859 * misc/tst-efgcvt.c: Include float.h.
12860 (ecvt_tests): Add 2 new tests.
12862 2004-12-20 Roland McGrath <roland@frob.com>
12864 * version.h (RELEASE, VERSION): development, 2.3.90
12865 * include/features.h (__GLIBC_MINOR__): Now 4.
12868 See ChangeLog.15 for earlier changes.