Also remove.
[glibc.git] / ChangeLog
blob66ad07ce8476f611ea4bbcb63c61ec0fdac9665b
1 2005-07-07  Ulrich Drepper  <drepper@redhat.com>
3         * resolv/res_send.c (send_dg): Recognize referral results and
4         treat them as server errors.
5         Based on a patch by Jason Vas Dias <jvdias@redhat.com>.
7 2005-07-08  Carlos O'Donell  <carlos@systemhalted.org>
9         * sysdeps/hppa/setjmp.S (__sigsetjmp): Use %r1 not %r19.
11         * sysdeps/hppa/add_n.s (__mpn_add_n): Use sr0 or r0, not 0.
12         * sysdeps/hppa/lshift.s (__mpn_lshift): Likewise.
13         * sysdeps/hppa/rshift.s (__mpn_rshift): Likewise.
14         * sysdeps/hppa/sub_n.s (__mpn_sub_n): Likewise.
15         * sysdeps/hppa/udiv_qrnnd.s (__udiv_qrnnd): Likewise.
16         * sysdeps/hppa/hppa1.1/udiv_qrnnd.s (__udiv_qrnnd): Likewise.
18 2005-07-07  Ulrich Drepper  <drepper@redhat.com>
20         * sysdeps/generic/s_ctanh.c (__ctanh): Handle case of zero den better.
21         * sysdeps/generic/s_ctanhf.c (__ctanhf): Likewise.
22         * sysdeps/generic/s_ctanhl.c (__ctanhl): Likewise.
23         * sysdeps/generic/s_ctan.c (__ctan): Likewise.
24         * sysdeps/generic/s_ctanf.c (__ctanf): Likewise.
25         * sysdeps/generic/s_ctanl.c (__ctanl): Likewise.
27 2005-04-13  H.J. Lu  <hongjiu.lu@intel.com>
29         [BZ #974]
30         * csu/elf-init.c (__preinit_array_start): Take int, char **, char **.
31         (__preinit_array_end): Likewise.
32         (__init_array_start): Likewise.
33         (__init_array_end): Likewise.
34         (__libc_csu_init): Take int argc, char **argv, char **envp.
35         Call preinit_array and init_array with argc, argv, envp.
36         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Remove
37         INIT_MAIN_ARGS.
38         * sysdeps/powerpc/elf/libc-start.c (INIT_MAIN_ARGS): Removed.
39         * elf/Makefile (distribute): Add tst-array5.c, tst-array5-static.c,
40         tst-array5dep.c, and tst-array5.exp.
41         (tests): Add tst-array5.
42         (tests-static): Add tst-array5-static.
43         ($(objpfx)tst-array5): New target.
44         ($(objpfx)tst-array5.out): Likewise.
45         ($(objpfx)tst-array5-static.out): Likewise.
46         * elf/tst-array5-static.c: New file.
47         * elf/tst-array5-static.exp: Likewise.
48         * elf/tst-array5.c: Likewise.
49         * elf/tst-array5.exp: Likewise.
50         * elf/tst-array5dep.c: Likewise.
52 2005-07-07  Ulrich Drepper  <drepper@redhat.com>
54         * sysdeps/unix/sysv/linux/bits/sched.h: Adjust clone prototype.
56 2005-07-05  Jakub Jelinek  <jakub@redhat.com>
58         * elf/stackguard-macros.h (STACK_CHK_GUARD): Fix s390/s390x definition.
59         Reported by Ulrich Weigand <uweigand@de.ibm.com>.
61         * elf/stackguard-macros.h (STACK_CHK_GUARD): Add ia64 definition.
63 2005-07-06  Ulrich Drepper  <drepper@redhat.com>
65         * elf/dl-error.c (_dl_signal_error): When testing for executable
66         being relocated, take into account that nothing might even be loaded.
68         * elf/dl-reloc.c [PROF] (_dl_relocate_object): Define
69         consider_profiling always to zero.  Don't count of compiler to
70         remove unreached if block.
71         * sysdeps/x86_64/dl-trampoline.S [PROF] (_dl_runtime_profile):
72         Don't compile.
73         * sysdeps/i386/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise.
74         * sysdeps/ia64/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise.
75         * sysdeps/s390/s390-64/dl-trampoline.S [PROF] (_dl_runtime_profile):
76         Likewise.
77         * sysdeps/s390/s390-32/dl-trampoline.S [PROF] (_dl_runtime_profile):
78         Likewise.
79         * sysdeps/powerpc/powerpc64/dl-trampoline.S [PROF]
80         (_dl_profile_resolve): Likewise.
81         * sysdeps/powerpc/powerpc32/dl-trampoline.S [PROF]
82         (_dl_profile_resolve): Likewise.
83         * gmon/Makefile: Add rules to build and run tst-profile-static.
84         * gmon/tst-profile-static.c: New file.
85         * Makeconfig (+link-static): Allow passing program-specific flags.
87 2005-07-05  Thorsten Kukuk  <kukuk@suse.de>
89         * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Check if NSS
90         module provides getgrgid_r.
91         (getgrnam_plusgroup): Preserve original return value.
92         * nis/nss_compat/compat-pwd.c (getpwnam_plususer): Preserve
93         original return value.
94         * nis/nss_compat/compat-spwd.c (getspnam_plususer): Likewise.
96 2005-07-05  Ulrich Drepper  <drepper@redhat.com>
98         * posix/regex_internal.c (build_wcs_buffer): Use MB_LEN_MAX not
99         MB_CUR_MAX.
100         (build_wcs_upper_buffer): Likewise.
102         * csu/elf-init.c (__libc_csu_fini): Pretty printing.
104 2005-07-02  Roland McGrath  <roland@redhat.com>
106         * NEWS: Note LinuxThreads removal.
107         * manual/install.texi (Installation): Don't mention linuxthreads.
108         (Configuring and compiling): Don't use linuxthreads as example.
110         * sysdeps/unix/sysv/linux/configure.in: Check for nptl add-on only,
111         not linuxthreads.
112         * sysdeps/unix/sysv/linux/configure: Regenerated.
113         * resolv/Depend: Add nptl.
114         * rt/Depend: Likewise.
116         * linuxthreads, linuxthreads_db: Directories removed (preserved in
117         ports repository).
119 2005-06-27  Jakub Jelinek  <jj@ultra.linux.cz>
121         [BZ #1037]
122         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: -mv8 is deprecated,
123         use -mcpu=v8.
125 2005-06-16  Jakub Jelinek  <jakub@redhat.com>
127         [BZ #1016]
128         * sysdeps/ia64/strlen.S (strlen): Change l2 into a local label.
130 2005-06-23  Thorsten Kukuk  <kukuk@suse.de>
132         * nscd/nscd_stat.c (receive_print_stats): Replace YESSTR/NOSTR
133         with own translation.
135 2005-06-25  Jakub Jelinek  <jakub@redhat.com>
137         * sunrpc/xdr.c (xdr_hyper, xdr_u_hyper): When decoding, cast
138         t2 to uint32_t instead of ulong.
139         * sunrpc/Makefile (tests): Add tst-xdrmem.
140         * sunrpc/tst-xdrmem.c: New test.
142         * Versions.def (ld): Add GLIBC_2.4.
143         * configure.in: Add --enable-stackguard-randomization option.
144         (ENABLE_STACKGUARD_RANDOMIZE): New define.
145         * config.h.in (ENABLE_STACKGUARD_RANDOMIZE): Add.
146         * sysdeps/unix/sysv/linux/dl-osinfo.h: Include stdint.h.
147         (_dl_setup_stack_chk_guard): New inline function.
148         * sysdeps/generic/dl-osinfo.h: Include stdint.h.
149         (_dl_setup_stack_chk_guard): New inline function.
150         * elf/rtld.c (__stack_chk_guard): New variable.
151         (dl_main): Remove all traces of TLS_INIT_TP_EXPENSIVE.
152         Set __stack_chk_guard to _dl_setup_stack_chk_guard (),
153         use THREAD_SET_STACK_GUARD if defined.
154         * elf/Versions (ld): Export __stack_chk_guard@@GLIBC_2.4.
155         * sysdeps/generic/libc-start.c (__stack_chk_guard): New variable.
156         (__libc_start_main): Set __stack_chk_guard to
157         _dl_setup_stack_chk_guard (), use THREAD_SET_STACK_GUARD if defined.
158         * sysdeps/generic/libc-tls.c (__libc_setup_tls): Remove all
159         traces of TLS_INIT_TP_EXPENSIVE.
160         * debug/Versions (libc): Export __stack_chk_fail@@GLIBC_2.4.
161         * debug/Makefile (routines): Add stack_chk_fail.
162         (static-only-routines): Add stack_chk_fail_local.
163         * debug/stack_chk_fail_local.c: New file.
164         * debug/stack_chk_fail.c: New file.
165         * elf/Makefile: Add rules to build and run tst-stackguard1{,-static}
166         tests.
167         * elf/tst-stackguard1.c: New file.
168         * elf/tst-stackguard1-static.c: New file.
169         * elf/stackguard-macros.h: New file.
171 2005-06-21  Ulrich Drepper  <drepper@redhat.com>
173         * resource/Makefile (tests): Add tst-getrlimit.
174         * resource/tst-getrlimit.c: New file.
176         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTPRIO): Fix typo.
177         * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
178         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
180 2005-06-20  Ulrich Drepper  <drepper@redhat.com>
182         * nscd/nscd.init: Get more in line with lsb3.
183         * nscd/nscd.c: Adjust some error codes to fit in better with lsb3.
184         * nscd/connections.c: Likewise.
186 2005-06-20  Jakub Jelinek  <jakub@redhat.com>
188         * sysdeps/unix/sysv/linux/sys/quota.h: Add definitions and types for
189         _LINUX_QUOTA_VERSION >= 2.
190         (_LINUX_QUOTA_VERSION): Define if not yet defined.
192         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_NICE,
193         RLIMIT_RTPRIO): Add.
194         (RLIMIT_NLIMITS): Adjust.
195         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_NICE,
196         RLIMIT_RTPRIO): Add.
197         (RLIMIT_NLIMITS): Adjust.
198         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_NICE,
199         RLIMIT_RTPRIO): Add.
200         (RLIMIT_NLIMITS): Adjust.
201         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_NICE,
202         RLIMIT_RTPRIO): Add.
203         (RLIMIT_NLIMITS): Adjust.
205 2005-06-17  Ulrich Drepper  <drepper@redhat.com>
207         * time/mktime.c: Always include <string.h> for prototype of
208         implicitly used memcpy.
210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
211         (truncate64): Use __truncate, not truncate.
212         (__have_no_truncate64): Renamed from have_no_truncate64.
213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
214         (__have_no_truncate64): Renamed from have_no_truncate64.
216         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ulps for complex
217         float functions for gcc 4.
219 2005-06-10  Jakub Jelinek  <jakub@redhat.com>
221         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup):
222         Handle prelinked libraries and binaries with new style PLT.
224 2005-06-07  Jakub Jelinek  <jakub@redhat.com>
226         * elf/elf.h (R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI,
227         R_PPC_REL16_HA): Define.
229 2005-06-14  Alan Modra  <amodra@bigpond.net.au>
231         * config.h.in (HAVE_ASM_PPC_REL16): Add.
232         * elf/elf.h (DT_PPC_GOT, DT_PPC_NUM): Define.
233         * elf/tls-macros.h (PowerPC32): Include config.h.  Add variants of
234         TLS_IE, TLS_LD and TLS_GD for new PLT/GOT layout.
235         * sysdeps/powerpc/powerpc32/configure.in: New file,
236         * sysdeps/powerpc/powerpc32/dl-dtprocnum.h: New file.
237         * sysdeps/powerpc/powerpc32/dl-machine.h (DT_PPC): Define.
238         (ppc_got): New inline function.
239         (elf_machine_dynamic): Use ppc_got.  Add attribute const.
240         (elf_machine_load_address): Add attribute const.  Don't use int vars.
241         Use bcl rather than bl to save trashing branch target stack.  Use
242         elf_machine_dynamic rather than duplicating code here.
243         (elf_machine_runtime_setup): New inline function replacing define.
244         Handle new PLT.
245         (elf_machine_fixup_plt): Handle new PLT.
246         (elf_machine_rela): Likewise.
247         * sysdeps/powerpc/powerpc32/sysdep.h: Include config.h.
248         (CALL_MCOUNT): Don't set up counter vars.
249         * sysdeps/powerpc/powerpc32/ppc-mcount.S: Correct comment.
250         * sysdeps/powerpc/powerpc32/elf/start.S (start_addressesp): Don't
251         define when HAVE_ASM_PPC_REL16.
252         (_start): Add HAVE_ASM_PPC_REL16 code.
253         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Don't bl
254         into the GOT when HAVE_ASM_PPC_REL16.
255         * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
256         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Ditto.
257         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Likewise.
258         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
259         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
260         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
261         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Likewise.
262         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
263         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
264         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
265         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
266         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
267         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
268         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp):
269         Likewise.
270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S (__brk): Likewise.
271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
272         (__getcontext): Likewise.
273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
274         (__setcontext): Likewise.
275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
276         (__swapcontext): Likewise.
277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (stackblock):
278         Comment.
279         (__socket): Bomb if NARGS >= 7.  Invoke CGOTSETUP and CGOTRESTORE.
281 2005-06-17  Ulrich Drepper  <drepper@redhat.com>
283         * sysdeps/posix/sigignore.c: Include <string.h> to tell the compiler
284         to use __GI_memset.
285         * sysdeps/posix/signal.c: Likewise.
286         * sysdeps/posix/sigset.c: Likewise.
287         * sysdeps/posix/sysv_signal.c: Likewise.
288         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
289         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
290         * sysdeps/unix/sysv/linux/system.c: Likewise.
292 2005-06-15  Jakub Jelinek  <jakub@redhat.com>
294         * hesiod/hesiod.c (hesiod_init): Don't check for ctx->classes[0] == 0
295         or both classes equal here.
296         (parse_config_file): If both classes are equal, clear the second one.
298 2005-06-08  Karl Kelley  <kekelley@iastate.edu>
300         * hesiod/hesiod_p.h (struct hesiod_p): Add classes array.
301         * hesiod/hesiod.c (hesiod_init): Initialize classes.  Fail if no
302         valid classes were given or if both are equal.
303         (hesiod_resolve): Use ctx->classes instead of hardcoded C_IN
304         and C_HS order.
305         (parse_config_file): Handle classes keyword.
306         * hesiod/README.hesiod: Mention addition of the classes keyword.
308 2005-06-14  Ulrich Drepper  <drepper@redhat.com>
310         * configure.in: Add test for availability of libaudit.
311         * config.h.in: Define HAVE_LIBAUDIT.
312         * config.make.in: Define have-libaudit.
313         * nscd/Makefile: If libaudit is available, link nscd with it.
314         * nscd/selinux.c: If HAVE_LIBAUDIT is defined, log using libaudit.
315         Patch by Steve Grubb <sgrubb@redhat.com>.
317         * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64.
318         * sysdeps/posix/posix_fallocate64.c: Likewise.
319         * include/string.h: Use libc_hidden_proto for strnlen.
320         * sysdeps/generic/strnlen.c: Add libc_hidden_def.
321         * include/libintl.h: Use libc_hidden_proto for __dcgettext.
322         * intl/dcgettext.c: Add libc_hidden_def.
323         * include/execinfo.h: Add libc_hidden_proto for __backtrace and
324         __backtrace_symbols_fd.
325         * sysdeps/generic/backtrace.c: Add libc_hidden_def.
326         * sysdeps/generic/backtracesymsfd.c: Likewise.
327         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
328         * sysdeps/i386/backtrace.c: Likewise.
329         * sysdeps/ia64/backtrace.c: Likewise.
330         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
331         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
332         * sysdeps/s390/s390-32/backtrace.c: Likewise.
333         * sysdeps/s390/s390-64/backtrace.c: Likewise.
335 2005-06-13  Ulrich Drepper  <drepper@redhat.com>
337         * sysdeps/unix/clock_gettime.c (clock_gettime): Implement case
338         where HANDLED_REALTIME is not defined.  [BZ #966]
340 2005-06-13  Jakub Jelinek  <jakub@redhat.com>
342         * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_sendreq,
343         __netlink_receive): Remove prototypes.
344         (__netlink_request): New prototype.
345         * sysdeps/unix/sysv/linux/ifaddrs.c: Include <alloca.h> and
346         <stdint.h>.
347         (__netlink_sendreq): Make static.
348         (__netlink_receive): Rename to...
349         (__netlink_request): ... this.  Add type argument, call
350         __netlink_sendreq.  If MSG_TRUNC is set after recvmsg, retry
351         with a bigger buffer.  Don't record buffers that contain no
352         messages we are expecting.
353         (getifaddrs): Use __netlink_request instead of __netlink_sendreq
354         and __netlink_receive pairs.  Formatting.
355         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex_netlink): Use
356         __netlink_request instead of __netlink_sendreq and __netlink_receive
357         pair.
359 2005-06-13  Thorsten Kukuk  <kukuk@suse.de>
361         * sysdeps/unix/sysv/linux/netinet/if_tr.h: Don't include kernel
362         headers, instead copy important structs/defines.
364 2005-06-13  Jakub Jelinek  <jakub@redhat.com>
366         * elf/rtld.c (dl_main): Move DT_DEBUG setup before first
367         _dl_debug_state call.
369 2005-06-12  Ulrich Drepper  <drepper@redhat.com>
371         * elf/dl-error.c (_dl_signal_error): Store information about use of
372         real malloc in the catch object.
373         (_dl_catch_error): Forward information about malloc use to caller
374         in new parameter.
375         (_dl_out_of_memory): Make static.
376         * elf/dl-deps.c: Adjust callers of _dl_catch_error.
377         * elf/dl-libc.c: Likewise.
378         * elf/dl-open.c: Likewise.
379         * elf/rtld.c: Likewise.
380         Add new --audit option.
381         * sysdeps/generic/ldsodefs.h: Remove _dl_out_of_memory declaration.
382         (rtld_global_ro._dl_signal_error): Add new parameter.
383         * include/dlfcn.h (_dl_catch_error): Add new parameter.
384         * dlfcn/dlfcn.c (_dlerror_run): Pass additional parameter to
385         _dl_catch_error.  Only free if the returned newly value says so.
387 2005-06-01  Roland McGrath  <roland@redhat.com>
389         [BZ #959]
390         * posix/tst-mmap.c (main): Fill the test file with enough data for the
391         page size.
393 2005-05-30  Jakub Jelinek  <jakub@redhat.com>
395         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): If
396         GLRO(dl_osversion) has been already set to a value smaller than
397         _dl_discover_osversion (), don't overwrite it here.
399 2005-05-24  Thomas Schwinge  <schwinge@nic-nac-project.de>
401         * sysdeps/mach/i386/syscall.S (syscall): Call END.
403 2005-05-28  Richard Henderson  <rth@redhat.com>
405         * elf/elf.h (DT_ALPHA_PLTRO, DT_ALPHA_NUM): New.
406         * sysdeps/alpha/dl-dtprocnum.h: New file.
407         * sysdeps/alpha/dl-machine.h (DT_ALPHA): New.
408         (elf_machine_load_address): Simplify to rely on gprel relocations.
409         (elf_machine_runtime_setup): Handle DT_ALPHA_PLTRO plt format.
410         Remove thread safety workaround for binutils 2.6.
411         (elf_machine_fixup_plt): Handle DT_ALPHA_PLTRO plt format.
412         * sysdeps/alpha/dl-trampoline.S (_dl_runtime_resolve_new): New.
413         (_dl_runtime_profile_new): New.
414         (_dl_runtime_resolve_old): Rename from _dl_runtime_resolve.
415         (_dl_runtime_profile_old): Rename from _dl_runtime_profile.  Fix
416         typo in _dl_call_pltexit argument loading.
418         * sysdeps/alpha/div_libc.h (funcnoplt): New.
419         * sysdeps/alpha/divl.S: Use it.
420         * sysdeps/alpha/divq.S: Likewise
421         * sysdeps/alpha/divqu.S: Likewise.
422         * sysdeps/alpha/reml.S: Likewise.
423         * sysdeps/alpha/remq.S: Likewise.
424         * sysdeps/alpha/remqu.S: Likewise.
426 2005-05-26  Andreas Schwab  <schwab@suse.de>
428         * locale/Makefile (CFLAGS-loadlocale.c): Don't define.
430 2005-05-26  Ulrich Drepper  <drepper@redhat.com>
432         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_DIRECT): Fix value.
433         Reported by Colin Gibbs <colin@gibbsonline.net>.  [BZ #954]
435 2005-05-17  Alan Modra  <amodra@bigpond.net.au>
437         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Corrent
438         _dl_hwcap access in PIC && !SHARED case.
439         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
441 2005-05-25  Dwayne Grant McConnell  <dgm69@us.ibm.com>
443         * gmon/gmon.c: Add space in weak_alias use.
444         * linuxthreads/sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
445         * sysdeps/alpha/htonl.S: Likewise.
446         * sysdeps/alpha/htons.S: Likewise.
447         * sysdeps/alpha/elf/start.S: Likewise.
448         * sysdeps/i386/i386-mcount.S: Likewise.
449         * sysdeps/ia64/strchr.S: Likewise.
450         * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
451         * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
452         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
453         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
454         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
455         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
456         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
457         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
458         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
459         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
460         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
461         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
462         * sysdeps/mach/hurd/readdir64_r.c: Likewise.
463         * sysdeps/mach/hurd/sigaltstack.c: Likewise.
464         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
465         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
466         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
467         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
468         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
469         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
470         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
471         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
472         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
473         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
474         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
475         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
476         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
477         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
478         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
479         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
480         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
481         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
482         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
483         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
484         * sysdeps/sparc/sparc32/memset.S: Likewise.
485         * sysdeps/sparc/sparc32/stpcpy.S: Likewise.
486         * sysdeps/sparc/sparc32/strchr.S: Likewise.
487         * sysdeps/sparc/sparc32/strchr.S: Likewise.
488         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
489         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
490         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
491         * sysdeps/sparc/sparc64/memset.S: Likewise.
492         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
493         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
494         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
495         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
496         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
497         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
498         * sysdeps/unix/sysv/linux/alpha/getcontext.S: Likewise.
499         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
500         * sysdeps/unix/sysv/linux/alpha/setcontext.S: Likewise.
501         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
502         * sysdeps/unix/sysv/linux/alpha/swapcontext.S: Likewise.
503         * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
504         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
505         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
506         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
507         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
508         * sysdeps/unix/sysv/linux/i386/makecontext.S: Likewise.
509         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
510         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
511         * sysdeps/unix/sysv/linux/ia64/getcontext.S: Likewise.
512         * sysdeps/unix/sysv/linux/ia64/setcontext.S: Likewise.
513         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
514         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
516         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
517         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
518         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
519         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
520         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
521         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
522         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
523         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
524         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S: Likewise.
525         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
526         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
527         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
528         * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
529         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
530         * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Likewise.
531         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
532         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
533         * sysdeps/x86_64/_mcount.S: Likewise.
535 2005-05-24  Roland McGrath  <roland@redhat.com>
537         * sysdeps/unix/sysv/linux/i386/sysdep.h
538         (SETUP_PIC_REG, LOAD_PIC_REG): Move these macros ...
539         * sysdeps/i386/sysdep.h [PIC]: ... to here.
541 2005-05-23  Roland McGrath  <roland@redhat.com>
543         * sysdeps/arm, sysdeps/unix/arm, sysdeps/unix/sysv/linux/arm:
544         Subdirectories moved to ports repository.
545         * configure.in (base_machine): Remove arm* and thumb* patterns.
546         * shlib-versions (arm.*-.*-linux.*): Remove this pattern.
548 2005-05-23  Ulrich Drepper  <drepper@redhat.com>
550         * sunrpc/bindrsvprt.c (LOWPORT): Apparently some mountd
551         implementations are broken and don't accept ports < 512.
553 2005-05-22  Dmitry V. Levin  <ldv@altlinux.org>
555         [BZ #961]
556         * io/sys/sendfile.h: Remove __nonnull from sendfile and sendfile64
557         declarations.
559 2005-05-23  Ulrich Drepper  <drepper@redhat.com>
561         * sunrpc/pm_getport.c (__get_socket): New function.
562         (pmap_getport): Use it to open a non-reserved socket to the portmapper
563         for TCP.
564         * include/rpc/pmap_clnt.h (__get_socket): Declare.
565         * sunrpc/pm_getmaps.c (pmap_getmaps): Use __get_socket to get an
566         non-reserved socket for the portmapper.
567         Based on a patch by Steve Dickson <steved@redhat.com>.
569         * sunrpc/bindrsvprt.c (bindresvport): Try harder to find a port.
570         If we tried looking at the usual range without success extend the
571         range to even lower ports.
573         * sysdeps/unix/clock_gettime.c (clock_gettime): Revert last patch.
575 2005-05-22  Andreas Schwab  <schwab@suse.de>
577         * elf/rtld.c: Include <dl-osinfo.h>.
579 2005-05-17  Alan Modra  <amodra@bigpond.net.au>
581         * sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_RET): Don't use
582         JUMPTARGET.  Instead append @local to __syscall_error.
583         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Delete all occurrences
584         of JUMPTARGET.  Instead append @local to labels.
585         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
586         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
587         * sysdeps/powerpc/powerpc32/ppc-mcount.S: Likewise.
588         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Likewise.
593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
597         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Use float constants.
598         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
599         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise.
600         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
601         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.  Use one GOT
602         slot to access both constants.
603         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
604         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
606         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (TWO52.0): Delete.
607         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (TWO23.0): Delete.
608         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (TWO52.0): Delete.
609         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (TWO23.0): Delete.
610         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Comment typo.
611         (NEGZERO.0, POINTFIVE.0): Delete.
612         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (TWO52.0): Delete.
613         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (TWO23.0): Delete.
614         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Code in .text.
615         (TWO52.0, POINTFIVE.0): Delete.
616         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Code in .text.
617         (TWO23.0, POINTFIVE.0): Delete.
618         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Code in .text.
619         (TWO52.0): Delete.
620         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Code in .text.
621         (TWO23.0): Delete.
622         * sysdeps/powerpc/powerpc32/memset.S (memset): Formatting.
624 2005-05-19  Richard Henderson  <rth@redhat.com>
626         * sysdeps/unix/clock_gettime.c (clock_gettime): Fix typo around
627         CLOCK_REALTIME.
629         * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_bool_32_acq,
630         __arch_compare_and_exchange_bool_64_acq,
631         __arch_compare_and_exchange_val_32_acq,
632         __arch_compare_and_exchange_val_64_acq, atomic_exchange_and_add):
633         Use __sync builtin without _si or _di suffix.
635 2005-05-19  Jakub Jelinek  <jakub@redhat.com>
637         [BZ #955]
638         * iconvdata/ibm939.c (BODY): Avoid segfaults with input characters
639         <UFFFF> and above.
641 2005-05-17  Andreas Schwab  <schwab@suse.de>
643         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
644         (clock_getcpuclockid): Always return a defined value.
646 2005-05-17  Neal H. Walfield  <neal@gnu.org>
648         * sysdeps/posix/getaddrinfo.c (gaih_local): Check [_HAVE_SA_LEN]
649         instead of [SALEN].
650         (gaih_inet): Likewise.
652 2005-05-11  Ulrich Drepper  <drepper@redhat.com>
654         * elf/elf.h (Elf32_auxv_t): Make cross-compile safe.
655         (Elf64_auxv_t): Likewise.
656         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for
657         removal of a_ptr element in ElfXX_auxv_t.
658         * elf/dl-support.c (_dl_aux_init): Likewise.
660 2005-05-09  Daniel Jacobowitz  <dan@codesourcery.com>
662         * sysdeps/unix/sysv/linux/clock_getres.c: Include <time.h>.
663         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
665 2005-05-09  Alan Modra  <amodra@bigpond.net.au>
667         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
668         .pushsection/.popsection in place of .section/.previous.
670 2005-05-08  Ulrich Drepper  <drepper@redhat.com>
672         * MakeTAGS: Make xgettext not look into test cases.
674         * MakeTAGS: Make sure translations in error calls are marked with
675         c-format by xgettext.
677 2005-05-07  Ulrich Drepper  <drepper@redhat.com>
679         * intl/libintl.h: Always use __attribute_format_arg__ for gettext
680         functions since gcc sometimes forgets the attribute for the
681         standard functions.
683 2005-05-06  Jakub Jelinek  <jakub@redhat.com>
685         [BZ #934]
686         * posix/regex_internal.h: Include bits/libc-lock.h or define dummy
687         __libc_lock_* macros if not _LIBC.
688         (struct re_dfa_t): Add lock.
689         * posix/regcomp.c (re_compile_internal): Add __libc_lock_init.
690         * posix/regexec.c (regexec, re_search_stub): Add locking.
692 2005-05-04  Jakub Jelinek  <jakub@redhat.com>
694         * intl/Makefile (tst-gettext[45].out): Pass also $(run-program-prefix)
695         as argument to the scripts.
696         * intl/tst-gettext2.sh: Use mkdir -p instead of test -d + mkdir.
697         * intl/tst-gettext4.sh: Likewise.  Use run_program_prefix argument.
698         * intl/tst-gettext5.sh: Likewise.
700         * intl/tst-translit.sh: Add mkdir -p.
702         * sysdeps/unix/sysv/linux/i386/sysdep.h (SETUP_PIC_REG): Use
703         .ifndef/.endif to allow use of this macro more than once per .S
704         file.
705         (LOAD_PIC_REG): New macro.
706         * sysdeps/unix/sysv/linux/i386/makecontext.S: Add call frame
707         information.
708         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
709         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
710         * sysdeps/i386/fpu/s_asinh.S: Use LOAD_PIC_REG macro.  Add call frame
711         information.
712         * sysdeps/i386/fpu/e_log10f.S: Likewise.
713         * sysdeps/i386/fpu/s_expm1.S: Likewise.
714         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
715         * sysdeps/i386/fpu/e_log2l.S: Likewise.
716         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
717         * sysdeps/i386/fpu/s_lrint.S: Likewise.
718         * sysdeps/i386/fpu/s_llrint.S: Likewise.
719         * sysdeps/i386/fpu/s_ilogbf.S: Likewise.
720         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
721         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
722         * sysdeps/i386/fpu/e_log.S: Likewise.
723         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
724         * sysdeps/i386/fpu/s_lrintl.S: Likewise.
725         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
726         * sysdeps/i386/fpu/e_scalb.S: Likewise.
727         * sysdeps/i386/fpu/s_log1p.S: Likewise.
728         * sysdeps/i386/fpu/s_nearbyintl.S: Likewise.
729         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
730         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
731         * sysdeps/i386/fpu/s_nearbyintf.S: Likewise.
732         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
733         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
734         * sysdeps/i386/fpu/s_lrintf.S: Likewise.
735         * sysdeps/i386/fpu/e_acosh.S: Likewise.
736         * sysdeps/i386/fpu/s_cexp.S: Likewise.
737         * sysdeps/i386/fpu/s_ilogbl.S: Likewise.
738         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
739         * sysdeps/i386/fpu/e_powl.S: Likewise.
740         * sysdeps/i386/fpu/e_powf.S: Likewise.
741         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
742         * sysdeps/i386/fpu/e_logl.S: Likewise.
743         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
744         * sysdeps/i386/fpu/s_frexp.S: Likewise.
745         * sysdeps/i386/fpu/e_pow.S: Likewise.
746         * sysdeps/i386/fpu/e_logf.S: Likewise.
747         * sysdeps/i386/fpu/e_log2.S: Likewise.
748         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
749         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
750         * sysdeps/i386/fpu/s_llrintf.S: Likewise.
751         * sysdeps/i386/fpu/s_ilogb.S: Likewise.
752         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
753         * sysdeps/i386/fpu/e_atanh.S: Likewise.
754         * sysdeps/i386/fpu/e_log10.S: Likewise.
755         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
756         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
757         * sysdeps/i386/fpu/s_llrintl.S: Likewise.
758         * sysdeps/i386/fpu/e_log10l.S: Likewise.
759         * sysdeps/i386/fpu/s_nearbyint.S: Likewise.
760         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
761         * sysdeps/i386/fpu/e_log2f.S: Likewise.
762         * sysdeps/i386/addmul_1.S: Various fixes to cfi handling.
763         * sysdeps/i386/mul_1.S: Likewise.
764         * sysdeps/i386/strtok.S: Likewise.
765         * sysdeps/i386/sub_n.S: Likewise.
766         * sysdeps/i386/submul_1.S: Likewise.
767         * sysdeps/i386/i586/addmul_1.S: Likewise.
768         * sysdeps/i386/i586/memcpy.S: Likewise.
769         * sysdeps/i386/i586/mul_1.S: Likewise.
770         * sysdeps/i386/i586/rshift.S: Likewise.
771         * sysdeps/i386/i586/sub_n.S: Likewise.
772         * sysdeps/i386/i586/submul_1.S: Likewise.
773         * sysdeps/i386/i686/memcmp.S: Likewise.
774         * sysdeps/i386/i686/memmove.S: Likewise.
775         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
776         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
777         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
778         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
780 2005-05-03  Ulrich Drepper  <drepper@redhat.com>
782         * sysdeps/i386/add_n.S: Add call frame information.
783         * sysdeps/i386/addmul_1.S: Likewise.
784         * sysdeps/i386/bsd-setjmp.S: Likewise.
785         * sysdeps/i386/lshift.S: Likewise.
786         * sysdeps/i386/memchr.S: Likewise.
787         * sysdeps/i386/memcmp.S: Likewise.
788         * sysdeps/i386/mul_1.S: Likewise.
789         * sysdeps/i386/rawmemchr.S: Likewise.
790         * sysdeps/i386/rshift.S: Likewise.
791         * sysdeps/i386/stpncpy.S: Likewise.
792         * sysdeps/i386/strchr.S: Likewise.
793         * sysdeps/i386/strchrnul.S: Likewise.
794         * sysdeps/i386/strcspn.S: Likewise.
795         * sysdeps/i386/strpbrk.S: Likewise.
796         * sysdeps/i386/strrchr.S: Likewise.
797         * sysdeps/i386/strspn.S: Likewise.
798         * sysdeps/i386/strtok.S: Likewise.
799         * sysdeps/i386/sub_n.S: Likewise.
800         * sysdeps/i386/submul_1.S: Likewise.
801         * sysdeps/i386/elf/bsd-setjmp.S: Likewise.
802         * sysdeps/i386/i486/strcat.S: Likewise.
803         * sysdeps/i386/i586/add_n.S: Likewise.
804         * sysdeps/i386/i586/addmul_1.S: Likewise.
805         * sysdeps/i386/i586/lshift.S: Likewise.
806         * sysdeps/i386/i586/memcpy.S: Likewise.
807         * sysdeps/i386/i586/memset.S: Likewise.
808         * sysdeps/i386/i586/mul_1.S: Likewise.
809         * sysdeps/i386/i586/rshift.S: Likewise.
810         * sysdeps/i386/i586/strchr.S: Likewise.
811         * sysdeps/i386/i586/strcpy.S: Likewise.
812         * sysdeps/i386/i586/sub_n.S: Likewise.
813         * sysdeps/i386/i586/submul_1.S: Likewise.
814         * sysdeps/i386/i686/add_n.S: Likewise.
815         * sysdeps/i386/i686/memcmp.S: Likewise.
816         * sysdeps/i386/i686/memmove.S: Likewise.
817         * sysdeps/i386/i686/mempcpy.S: Likewise.
818         * sysdeps/i386/i686/memset.S: Likewise.
819         * sysdeps/i386/i686/strtok.S: Likewise.
820         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
821         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
822         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
823         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
824         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
825         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
827         * sysdeps/i386/fpu/libm-test-ulps: Adjust for gcc 4.
829         * sysdeps/unix/sysv/linux/kernel-features.h: waitid is available
830         on ppc in 2.6.12.
832 2005-04-29  Jakub Jelinek  <jakub@redhat.com>
834         * sysdeps/posix/posix_fallocate.c (posix_fallocate): If len == 0,
835         call ftruncate if offset is bigger than current size.  Make sure
836         the file is offset + len bytes long if that is more than current size.
837         Don't overwrite previous content of the file.
838         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
839         Likewise.
841 2005-05-02  Roland McGrath  <roland@redhat.com>
843         [BZ #924]
844         * crypt/md5.c [! HAVE_MEMCPY] (memcpy): Yield proper expression value.
846 2005-04-29  Roland McGrath  <roland@redhat.com>
848         * timezone/africa: Update from tzdata2005i.
849         * timezone/asia: Likewise.
850         * timezone/northamerica: Likewise.
851         * timezone/yearistype: Likewise.
853         * sysdeps/i386/sysdep.h (CALL_MCOUNT): Fix typo in last change.
855 2005-04-29  Ulrich Drepper  <drepper@redhat.com>
857         * nis/nis_table.c: Fix realloc handling.
858         * nis/nis_removemember.c: Likewise.
860 2005-04-28  Ulrich Drepper  <drepper@redhat.com>
862         [BZ #798]
863         * nscd/Makefile: Help losers who use --with-headers.
865 2005-04-28  Roland McGrath  <roland@redhat.com>
867         [BZ #796]
868         * sysdeps/unix/sysv/linux/dl-sysdep.h: New file.
869         Define NEED_DL_SYSINFO_DSO for all platforms.
871         * sysdeps/generic/dl-sysdep.h: Remove multiple inclusion protection.
872         * sysdeps/alpha/dl-sysdep.h: Likewise.
873         Use #include_next instead of duplicating generic file's contents.
874         * sysdeps/ia64/dl-sysdep.h: Likewise.
875         * sysdeps/sparc/dl-sysdep.h: Likewise.
877 2005-03-22  Steven Munroe  <sjmunroe@us.ibm.com>
879         * sysdeps/powerpc/powerpc64/memset.S (memset): Make ___memset local.
881 2005-03-07  Steven Munroe  <sjmunroe@us.ibm.com>
883         [BZ #781]
884         * sysdeps/unix/sysv/linux/kernel-features.h
885         (__ASSUME_TGKILL): Define for powerpc32/64 starting with 2.6.1.
886         (__ASSUME_UTIMES): Define for powerpc32/64 starting with 2.6.1.
887         (__ASSUME_FADVISE64_64_SYSCALL): Define for powerpc32 only starting
888         with 2.6.1.
889         (__ASSUME_WAITID_SYSCALL): Don't define for powerpc32/64.
891 2005-04-28  Ulrich Drepper  <drepper@redhat.com>
893         * sysdeps/i386/sysdep.h: Add cfi instrumentation to asm fragments.
894         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
895         * sysdeps/unix/sysv/linux/i386/socket.S: Remove now duplicate
896         cfi_startproc and cfi_endproc.
898         * configure.in: Remove ultrasparc names.
900         * sysdeps/i386/i686/memcmp.S: Move misplaced END.
902 2005-03-27  Bruno Haible  <bruno@clisp.org>
904         Make it possible for multiple threads to use gettext() in different
905         locales.
906         * intl/dcigettext.c (HAVE_PER_THREAD_LOCALE): New macro.
907         (struct known_translation_t): If HAVE_PER_THREAD_LOCALE, add localename
908         field.
909         (transcmp): If HAVE_PER_THREAD_LOCALE, compare localename fields.
910         (DCIGETTEXT): If HAVE_PER_THREAD_LOCALE, fill the localename field in
911         search and newp.
913         * intl/tst-gettext4.c: New file.
914         * intl/tst-gettext4.sh: New file.
915         * intl/tst-gettext4-de.po: New file.
916         * intl/tst-gettext4-fr.po: New file.
917         * intl/tst-gettext5.c: New file.
918         * intl/tst-gettext5.sh: New file.
919         * intl/Makefile (distribute): Add tst-gettext4.sh, tst-gettext4-de.po,
920         tst-gettext4-fr.po, tst-gettext5.sh.
921         (multithread-test-srcs): New variable.
922         (test-srcs): Add its contents.
923         (tests): Depend on tst-gettext4.out, tst-gettext5.out.
924         (tst-gettext4.out, tst-gettext5.out): New rules.
925         (CFLAGS-tst-gettext4.c, CFLAGS-tst-gettext5.c): New variables.
926         Add rule for linking the multithread-test-srcs with the appropriate
927         thread-library.
929 2005-04-28  Ulrich Drepper  <drepper@redhat.com>
931         * po/rw.po: New file.  From translation team.
933         * scripts/config.guess: Update from upstream.
934         * scripts/config.sub: Likewise.
936 2005-04-27  Ulrich Drepper  <drepper@redhat.com>
938         * nscd/connections.c (nscd_run): Use time() value in prune_cache
939         call, not timeout value, since the latter might be from another clock.
941 2005-04-27  Roland McGrath  <roland@redhat.com>
943         [BZ #877]
944         * posix/unistd.h: Remove __nonnull from acct decl.
946         * rt/tst-cpuclock1.c: New file.
947         * rt/tst-cpuclock2.c: New file.
948         * rt/tst-cputimer1.c: New file.
949         * rt/tst-cputimer2.c: New file.
950         * rt/tst-cputimer3.c: New file.
951         * rt/Makefile (tests): Add them.
953         * sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h: New file.
954         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: New file.
955         * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c
956         (HAS_CPUCLOCK): New macro.
957         (clock_getcpuclockid): Function removed.
958         #include the new linux file to define it instead.
959         * sysdeps/unix/clock_gettime.c [HP_TIMING_AVAIL] (hp_timing_gettime):
960         New function, broken out of ...
961         (clock_gettime) [HP_TIMING_AVAIL]: ... here.  Call it.
962         (realtime_gettime): New function, broken out of ...
963         (clock_gettime) [! HANDLED_REALTIME]: ... here.  Call it.
964         (clock_gettime) [SYSDEP_GETTIME_CPU]: Use new macro in default case.
965         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): New macro.
966         (SYSDEP_GETTIME_CPUTIME): New macro.
967         (SYSDEP_GETTIME): Use both.
968         [! __ASSUME_POSIX_TIMERS] (maybe_syscall_gettime): New function, broken
969         out of ...
970         (SYSDEP_GETTIME): ... here.  Use it.
971         [__NR_clock_gettime] (HANDLED_CPUTIME): Define it.
972         (SYSDEP_GETTIME_CPUTIME): New macro.  Handle CPU timers by trying
973         kernel support and falling back to hp-timing code.
974         * sysdeps/posix/clock_getres.c
975         [HP_TIMING_AVAIL] (hp_timing_getres): New function, broken out of ...
976         (clock_getres) [HP_TIMING_AVAIL]: ... here.  Call it.
977         (realtime_getres): New function, broken out of ...
978         (clock_getres) [! HANDLED_REALTIME]: ... here.  Call it.
979         (clock_getres) [SYSDEP_GETRES_CPU]: Use new macro in default case.
980         * sysdeps/unix/sysv/linux/clock_getres.c (SYSCALL_GETRES): New macro.
981         (SYSDEP_GETRES_CPUTIME): New macro.
982         (SYSDEP_GETRES): Use both.
983         [! __ASSUME_POSIX_TIMERS] (maybe_syscall_getres): New function, broken
984         out of ...
985         (SYSDEP_GETRES): ... here.  Use it.
986         [__NR_clock_getres] (HANDLED_CPUTIME): Define it.
987         (SYSDEP_GETRES_CPUTIME): New macro.  Handle CPU timers by trying
988         kernel support and falling back to hp-timing code.
989         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Handle
990         CLOCK_PROCESS_CPUTIME_ID and CLOCK_PROCESS_THREAD_ID specially,
991         translating to the kernel clockid_t for our own process/thread clock.
993 2005-04-27  Ulrich Drepper  <drepper@redhat.com>
995         * stdlib/test-canon.c: Make doesExist a directory and add more tests
996         for the new error case.
998 2004-06-02  Dmitry V. Levin  <ldv@altlinux.org>
999             Ranjani Murthy <ranmur@gmail.com>
1001         * stdlib/canonicalize.c (__realpath): Change realpath(3) to
1002         return NULL and set errno to ENOTDIR for such pathnames like
1003         "/path/to/existing-non-directory/".
1005 2005-04-26  Ulrich Drepper  <drepper@redhat.com>
1007         * time/strptime_l.c (__strptime_internal): Handle 'z' to set
1008         tm_gmtoff.
1009         * time/Makefile (tests): Add tst-strptime2.
1010         * time/tst-strptime2.c: New file.
1012 2005-04-26  Jakub Jelinek  <jakub@redhat.com>
1014         * elf/dl-close.c: Include stddef.h.
1015         (_dl_close): If called recursively, just remember GC needs to be rerun
1016         and decrease l_direct_opencount.  Avoid GC if l_direct_opencount
1017         decreased to 1.  Rerun GC at the end if any destructor unloaded some
1018         additional libraries.
1019         * elf/Makefile: Add rules to build and run unload6 test.
1020         * elf/unload6.c: New test.
1021         * elf/unload6mod1.c: New file.
1022         * elf/unload6mod2.c: New file.
1023         * elf/unload6mod3.c: New file.
1025         * malloc/hooks.c (mem2chunk_check): Add magic_p argument, set *magic_p
1026         if magic_p is not NULL.
1027         (top_check): Invoke MALLOC_FAILURE_ACTION if MORECORE failed.
1028         (malloc_check): Fail if sz == -1.
1029         (free_check): Adjust mem2chunk_check caller.
1030         (realloc_check): Likewise.  Fail if bytes == -1.  If bytes == 0 and
1031         oldmem != NULL, call free_check and return NULL.  If reallocating
1032         and returning NULL, invert magic byte again to make oldmem valid
1033         region for further checking.
1034         (memalign_check): Fail if bytes == -1.
1035         * malloc/Makefile: Add rules to build and run tst-mcheck.
1036         * malloc/tst-mcheck.c: New test.
1038 2005-04-26  Ulrich Drepper  <drepper@redhat.com>
1040         * stdio-common/vfscanf.c: Correctly account for characters of
1041         decimal points right after +-.
1043 2005-04-26  Roland McGrath  <roland@redhat.com>
1045         * elf/rtld-Rules (rtld-all): Test ifndef rtld-modules instead of
1046         ifeq ($(subdir),elf) to distinguish main driver from subdir runs.
1048 2005-04-25  Roland McGrath  <roland@redhat.com>
1050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1051         (INTERNAL_SYSCALL_ERROR_P): Fix typo in last change.
1053         * sunrpc/xdr.c (xdr_u_int): Use `long' for L and cast where needed.
1055         * elf/dl-load.c: Revert last change.
1057 2005-04-24  Ulrich Drepper  <drepper@redhat.com>
1059         * stdio-common/vfscanf.c: Fix parsing of decimal point after +-.
1060         Patch by Hamed Malek <hamed@bamdad.org>.
1062 2005-04-21  Roland McGrath  <roland@redhat.com>
1064         * elf/dl-load.c (_dl_map_object_from_fd): Don't use MAP_DENYWRITE,
1065         since Linux ignores it in user mmap calls.
1067 2005-04-17  David S. Miller  <davem@davemloft.net>
1069         * sysdeps/sparc/sparc32/elf/start.S: Define __data_start.
1070         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1072 2005-04-15  Roland McGrath  <roland@redhat.com>
1074         * timezone/Makefile (zic-deps): New variable.
1075         ($(testdata)/America/New_York): Use it instead of explicit deps.
1076         ($(testdata)/Etc/UTC, $(testdata)/Australia/Melbourne): Likewise.
1077         ($(testdata)/America/Sao_Paulo, $(testdata)/Asia/Tokyo): Likewise.
1078         (%/UTC %/Universal): New pattern rule, replaces ...
1079         ($(testdata)/UTC, $(testdata)/Universal): ... these removed targets.
1080         ($(testdata)/%/Berlin $(testdata)/%/London): New pattern rule.
1081         ($(testdata)/Europe/London, $(testdata)/Europe/Berlin): Removed.
1083 2005-04-14  Roland McGrath  <roland@redhat.com>
1085         * MakeTAGS ($P/$(domain).pot): Depend on distinfo file as well.
1086         (extract): Filter-out distinfo file name.
1088         [BZ #253]
1089         * MakeTAGS (text-srcs): Match %.bash.in files too.
1091         [BZ #253]
1092         * nscd/Makefile (all-nscd-modules): New variable, include selinux
1093         module regardless of configuration.
1094         (distribute): Use that instead of $(nscd-modules).
1096 2005-04-13  David S. Miller  <davem@davemloft.net>
1098         Add sparc64 TLS and NPTL support.
1099         * elf/tls-macros.h: Add Sparc64 defines.
1100         * sysdeps/sparc/sparc64/dl-machine.h (sparc64_fixup_plt): Mark as
1101         always_inline.
1102         (elf_machine_fixup_plt): Likewise.
1103         (elf_machine_rela): Handle TLS relocations.
1104         (elf_machine_type_cleaa): Likewise.
1105         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
1106         (SYSCALL_ERROR_HANDLER_ENTRY): Use sethi/or for GOT reloc.
1107         It does not always fit in R_SPARC_GOT13 when building -fPIC.
1108         Also, add TLS handling.
1109         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1110         Increase it to 2.4.21 for sparc64.
1111         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: NULL terminate
1112         backtrace by zero'ing out %fp.  Store away flags, func_ptr,
1113         and func_arg in global registers not local registers.
1114         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Handle PTID, TLS,
1115         and CTID arguments properly.  Add RESET_PID handling.
1116         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Rework so that we
1117         do not invoke __sigprocmask().  We can always assume rt signals
1118         are present on sparc64, so just do an inline syscall.
1120 2005-04-13  Jakub Jelinek  <jakub@redhat.com>
1122         * sysdeps/sparc/sparc64/dl-machine.h: Add dl_machine_h multiple
1123         inclusion guard for the first half of the header.
1124         (elf_machine_type_class, ELF_MACHINE_JMP_SLOT, ELF_MACHINE_NO_REL,
1125         ELF_MACHINE_PLTREL_OVERLAP, elf_machine_runtime_setup,
1126         elf_machine_relplt, DL_STACK_END, RTLD_START): Move into the
1127         #ifndef dl_machine_h guarded part of the header.
1129 2005-04-14  Ulrich Drepper  <drepper@redhat.com>
1131         [BZ #851]
1132         * posix/execvp.c (execvp): Use file name including path when
1133         trying to run it with shell.
1134         * posix/Makefile: Add rules to build and run tst-execvp3.
1135         * posix/tst-execvp3.c: New file.
1137 2005-04-12  Ulrich Drepper  <drepper@redhat.com>
1139         * stdlib/random_r.c (__initstate_r): Don't use non-existing state.
1140         * string/tst-strfry.c: New file.
1141         * string/Makefile (tests): Add tst-strfry.
1143 2005-04-11  James A. Morrison  <ja2morri@uwaterloo.ca>
1145         * manual/string.texi: Fix typo in wmemcpy decl.
1147 2005-04-10  David S. Miller  <davem@davemloft.net>
1149         * sysdeps/sparc/sparc32/dl-trampoline.S: Use std not stx.
1151 2005-04-08  Carlos O'Donell <carlos@baldric.uwo.ca>
1153         * FAQ.in: Explain why `make' might fail running rpcgen.
1154         * FAQ: Regenerated.
1156 2005-04-07  Roland McGrath  <roland@redhat.com>
1158         * po/libc.pot: Regenerated.
1160 2005-04-07  Roland McGrath  <roland@redhat.com>
1162         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion)
1163         [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
1164         GLRO(dl_sysinfo_map) for PT_NOTE giving Linux kernel version,
1165         we can skip the uname call if it's there.
1166         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't use
1167         DL_SYSDEP_OSCHECK here.
1168         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]: Do it here instead.
1170         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro):
1171         Add _dl_sysinfo_map.
1172         * elf/rtld.c (dl_main): Don't call _dl_init_paths early in the
1173         rtld_is_main case.  Call it unconditionally later.
1174         Move GLRO(dl_sysinfo_dso) handling earlier, before _dl_init_paths call.
1175         Initialize GLRO(dl_sysinfo_map).
1176         * elf/dl-load.c (open_path): Bail out if _dl_init_paths wasn't called.
1177         * sysdeps/generic/dl-sysdep.c (_DL_FIRST_EXTRA): New macro.
1178         (_dl_important_hwcaps)
1179         [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
1180         GLRO(dl_sysinfo_map) for PT_NOTE giving synthetic hwcap names
1181         and bit values.
1182         * elf/ldconfig.c (_DL_FIRST_EXTRA): New macro.
1183         (hwcap_extra): New static variable.
1184         (is_hwcap_platform): Check hwcap_extra for a matching name.
1185         Remove tls special case.
1186         (path_hwcap): Likewise.
1187         (parse_conf): Parse "hwcap" directive to define synthetic hwcap bits
1188         and their names, stored in hwcap_extra.
1189         (main) [USE_TLS]: Initialize final synthetic hwcap bit as "tls".
1191         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Use uint64_t for
1192         _dl_hwcap and _dl_hwcap_mask.
1193         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Cast a_val for
1194         AT_HWCAP to unsigned long int.
1195         * elf/dl-support.c (_dl_aux_init): Likewise.
1196         (_dl_hwcap): Update defn.
1198         * elf/cache.c (print_entry): Pad hwcap value with 0s in diagnostic.
1199         * elf/ldconfig.c (search_dir): Likewise.
1201 2005-04-05  Roland McGrath  <roland@redhat.com>
1203         * NEWS: Copy 2.3.5 section from 2.3 branch.
1205         * intl/tst-codeset.sh: Use mkdir -p.  Put msgfmt output in temporary
1206         file and mv it into place.
1207         * intl/tst-gettext3.sh: Likewise.
1209         * Makefile (glibc-%.tar rule): Use make -q to ensure configure scripts
1210         are up to date in srcdir.  Touch all configure scripts after export.
1212         * iconv/gconv_int.h: Include <ctype.h> and <string.h>.
1214 2005-04-05  H.J. Lu  <hongjiu.lu@intel.com>
1216         [BZ #592]
1217         * sysdeps/ia64/fpu/e_acosh.S: Update from Intel libm 2005-04-05
1218         (comment changes only).
1219         * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
1220         * sysdeps/ia64/fpu/e_atanh.S: Likewise.
1221         * sysdeps/ia64/fpu/e_cosh.S: Likewise.
1222         * sysdeps/ia64/fpu/e_coshf.S: Likewise.
1223         * sysdeps/ia64/fpu/e_exp.S: Likewise.
1224         * sysdeps/ia64/fpu/e_exp10.S: Likewise.
1225         * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
1226         * sysdeps/ia64/fpu/e_exp2.S: Likewise.
1227         * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
1228         * sysdeps/ia64/fpu/e_expf.S: Likewise.
1229         * sysdeps/ia64/fpu/e_log.S: Likewise.
1230         * sysdeps/ia64/fpu/e_logf.S: Likewise.
1231         * sysdeps/ia64/fpu/e_pow.S: Likewise.
1232         * sysdeps/ia64/fpu/e_powf.S: Likewise.
1233         * sysdeps/ia64/fpu/e_sinh.S: Likewise.
1234         * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
1235         * sysdeps/ia64/fpu/libm_error.c: Likewise.
1236         * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
1237         * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
1238         * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
1239         * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
1240         * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
1241         * sysdeps/ia64/fpu/s_asinh.S: Likewise.
1242         * sysdeps/ia64/fpu/s_atanl.S: Likewise.
1243         * sysdeps/ia64/fpu/s_cos.S: Likewise.
1244         * sysdeps/ia64/fpu/s_cosf.S: Likewise.
1245         * sysdeps/ia64/fpu/s_erf.S: Likewise.
1246         * sysdeps/ia64/fpu/s_erfc.S: Likewise.
1247         * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
1248         * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
1249         * sysdeps/ia64/fpu/s_erff.S: Likewise.
1250         * sysdeps/ia64/fpu/s_expm1.S: Likewise.
1251         * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
1252         * sysdeps/ia64/fpu/s_log1p.S: Likewise.
1253         * sysdeps/ia64/fpu/s_tanf.S: Likewise.
1254         * sysdeps/ia64/fpu/s_tanh.S: Likewise.
1255         * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
1256         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
1257         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
1258         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
1260 2005-04-05  Roland McGrath  <roland@redhat.com>
1262         * scripts/config.guess: Update from master, timestamp='2005-03-24'.
1263         * scripts/config.sub: Update from master, timestamp='2005-02-10'.
1265 2005-04-04  David S. Miller  <davem@davemloft.net>
1267         * sysdeps/sparc/sparc32/dl-trampoline.S: New file.
1268         * sysdeps/sparc/sparc32/dl-machine.h: Move PLT trampolines there.
1269         Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
1270         (elf_machine_runtime_setup): Test for dl_profile non-null.
1271         * sysdeps/sparc/sparc64/dl-trampoline.S: New file.
1272         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
1273         * sysdeps/sparc/sparc64/dl-machine.h: Move PLT trampolines there.
1274         Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
1275         (elf_machine_runtime_setup): Test for dl_profile non-null.
1276         * sysdeps/sparc/bits/link.h: New file.
1277         * sysdeps/generic/ldsodefs.h (La_sparc32_regs, La_sparc32_retval,
1278         La_sparc64_regs, La_sparc64_retval): New.
1279         (struct audit_ifaces): Add sparc entries.
1280         * elf/tst-auditmod1.c: Add sparc entries.
1282 2005-03-27  Bruno Haible  <bruno@clisp.org>
1284         * intl/tst-gettext3.c: New file.
1285         * intl/tst-gettext3.sh: New file.
1286         * intl/Makefile (distribute): Add tst-gettext3.sh.
1287         (test-srcs): Add tst-gettext3.
1288         (tests): Depend on tst-gettext3.out.
1289         (tst-gettext3.out): New rule.
1290         (CFLAGS-tst-gettext3.c): New variable.
1292         Fix bug exposed by tst-gettext3.
1293         * intl/gettextP.h (struct converted_domain): New type.
1294         (struct loaded_domain): Remove the conv, conv_tab fields. Add
1295         conversions, nconversions fields.
1296         (_nl_init_domain_conv): Remove declaration.
1297         (_nl_free_domain_conv): Remove declaration.
1298         (_nl_find_msg): Add convert argument.
1299         * intl/dcigettext.c (DCIGETTEXT): Call _nl_find_msg with convert=1.
1300         (_nl_find_msg): Add convert argument. When a conversion to a different
1301         charset is needed, create a new converted_domain element, instead of
1302         throwing away the old converted translations.
1303         (get_output_charset): New function.
1304         * intl/loadmsgcat.c (_nl_init_domain_conv): Remove function.
1305         (_nl_free_domain_conv): Remove function.
1306         (_nl_load_domain): Initialize the conversions array to empty. Use
1307         _nl_find_msg instead of _nl_init_domain_conv to retrieve the header
1308         entry.
1309         (_nl_unload_domain): Free the conversions array and its contents.
1311         * intl/gettextP.h (struct loaded_domain): Remove codeset_cntr field.
1312         (struct binding): Likewise.
1313         * intl/bindtextdom.c (set_binding_values): Drop codeset_cntr
1314         modifications.
1316 2005-04-04  Jakub Jelinek  <jakub@redhat.com>
1318         * sunrpc/pmap_rmt.c (xdr_rmtcall_args): Use a dummy arglen instead
1319         of trying to encode uninitialized arglen.
1321 2005-04-04  Ulrich Drepper  <drepper@redhat.com>
1323         [BZ #825]
1324         * timezone/scheck.c: Update from tzcode2005h.
1325         * timezone/tzfile.h: Likewise.
1326         * timezone/zdump.c: Likewise.
1327         * timezone/zic.c: Likewise.
1329         [BZ #825]
1330         * timezone/antarctica: Update from tzdata2005h.
1331         * timezone/asia: Likewise.
1332         * timezone/australasia: Likewise.
1333         * timezone/etcetera: Likewise.
1334         * timezone/europe: Likewise.
1335         * timezone/northamerica: Likewise.
1336         * timezone/southamerica: Likewise.
1337         * timezone/leapseconds: Likewise.
1338         * timezone/iso3166.tab: Likewise.
1340 2005-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1342         [BZ #592]
1343         * sysdeps/ia64/fpu/libm_cpu_defs.h: Update copyright.
1345 2005-04-01  Ulrich Drepper  <drepper@redhat.com>
1347         * wcsmbs/btowc.c (__btowc): Optimize parameters in ASCII range.
1348         * wcsmbs/wctob.c (wctob): Likewise.
1349         * wcsmbs/wchar.h (btowc): Add optimized inline function.
1350         (wctob): Likewise.
1352 2005-03-31  Jakub Jelinek  <jakub@redhat.com>
1354         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Use functionally
1355         equivalent, but shorter instructions.
1356         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1357         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1358         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1359         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1360         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1361         * sysdeps/x86_64/strchr.S: Likewise.
1362         * sysdeps/x86_64/memset.S: Likewise.
1363         * sysdeps/x86_64/strcspn.S: Likewise.
1364         * sysdeps/x86_64/strcmp.S: Likewise.
1365         * sysdeps/x86_64/elf/start.S: Likewise.
1366         * sysdeps/x86_64/strspn.S: Likewise.
1367         * sysdeps/x86_64/dl-machine.h: Likewise.
1368         * sysdeps/x86_64/bsd-_setjmp.S: Likewise.
1369         * sysdeps/x86_64/bsd-setjmp.S: Likewise.
1370         * sysdeps/x86_64/strtok.S: Likewise.
1372 2005-03-30  H.J. Lu  <hongjiu.lu@intel.com>
1374         [BZ #592]
1375         * sysdeps/ia64/fpu/e_acosf.S: Update from Intel libm 2005-03-21.
1376         * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
1377         * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
1378         * sysdeps/ia64/fpu/e_acosh.S: Likewise.
1379         * sysdeps/ia64/fpu/e_acosl.S: Likewise.
1380         * sysdeps/ia64/fpu/e_acos.S: Likewise.
1381         * sysdeps/ia64/fpu/e_asinf.S: Likewise.
1382         * sysdeps/ia64/fpu/e_asinl.S: Likewise.
1383         * sysdeps/ia64/fpu/e_asin.S: Likewise.
1384         * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
1385         * sysdeps/ia64/fpu/e_atan2.S: Likewise.
1386         * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
1387         * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
1388         * sysdeps/ia64/fpu/e_atanh.S: Likewise.
1389         * sysdeps/ia64/fpu/e_coshf.S: Likewise.
1390         * sysdeps/ia64/fpu/e_coshl.S: Likewise.
1391         * sysdeps/ia64/fpu/e_cosh.S: Likewise.
1392         * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
1393         * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
1394         * sysdeps/ia64/fpu/e_exp10.S: Likewise.
1395         * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
1396         * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
1397         * sysdeps/ia64/fpu/e_exp2.S: Likewise.
1398         * sysdeps/ia64/fpu/e_expf.S: Likewise.
1399         * sysdeps/ia64/fpu/e_exp.S: Likewise.
1400         * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
1401         * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
1402         * sysdeps/ia64/fpu/e_fmod.S: Likewise.
1403         * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
1404         * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
1405         * sysdeps/ia64/fpu/e_hypot.S: Likewise.
1406         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
1407         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
1408         * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
1409         * sysdeps/ia64/fpu/e_log2f.S: Likewise.
1410         * sysdeps/ia64/fpu/e_log2l.S: Likewise.
1411         * sysdeps/ia64/fpu/e_log2.S: Likewise.
1412         * sysdeps/ia64/fpu/e_logf.S: Likewise.
1413         * sysdeps/ia64/fpu/e_logl.S: Likewise.
1414         * sysdeps/ia64/fpu/e_log.S: Likewise.
1415         * sysdeps/ia64/fpu/e_powf.S: Likewise.
1416         * sysdeps/ia64/fpu/e_powl.S: Likewise.
1417         * sysdeps/ia64/fpu/e_pow.S: Likewise.
1418         * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
1419         * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
1420         * sysdeps/ia64/fpu/e_remainder.S: Likewise.
1421         * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
1422         * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
1423         * sysdeps/ia64/fpu/e_scalb.S: Likewise.
1424         * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
1425         * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
1426         * sysdeps/ia64/fpu/e_sinh.S: Likewise.
1427         * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
1428         * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
1429         * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
1430         * sysdeps/ia64/fpu/libm_error.c: Likewise.
1431         * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
1432         * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
1433         * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
1434         * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
1435         * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
1436         * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1437         * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1438         * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
1439         * sysdeps/ia64/fpu/libm_support.h: Likewise.
1440         * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
1441         * sysdeps/ia64/fpu/s_asinh.S: Likewise.
1442         * sysdeps/ia64/fpu/s_atanf.S: Likewise.
1443         * sysdeps/ia64/fpu/s_atanl.S: Likewise.
1444         * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
1445         * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
1446         * sysdeps/ia64/fpu/s_cosf.S: Likewise.
1447         * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1448         * sysdeps/ia64/fpu/s_cos.S: Likewise.
1449         * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
1450         * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
1451         * sysdeps/ia64/fpu/s_erfc.S: Likewise.
1452         * sysdeps/ia64/fpu/s_erfl.S: Likewise.
1453         * sysdeps/ia64/fpu/s_erf.S: Likewise.
1454         * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
1455         * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
1456         * sysdeps/ia64/fpu/s_expm1.S: Likewise.
1457         * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
1458         * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
1459         * sysdeps/ia64/fpu/s_fdim.S: Likewise.
1460         * sysdeps/ia64/fpu/s_frexp.c: Likewise.
1461         * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
1462         * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
1463         * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
1464         * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
1465         * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
1466         * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
1467         * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
1468         * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
1469         * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
1470         * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
1471         * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
1472         * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
1473         * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
1474         * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
1475         * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
1476         * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
1477         * sysdeps/ia64/fpu/s_log1p.S: Likewise.
1478         * sysdeps/ia64/fpu/s_logbf.S: Likewise.
1479         * sysdeps/ia64/fpu/s_logbl.S: Likewise.
1480         * sysdeps/ia64/fpu/s_logb.S: Likewise.
1481         * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
1482         * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
1483         * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
1484         * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
1485         * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
1486         * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
1487         * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
1488         * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
1489         * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
1490         * sysdeps/ia64/fpu/s_roundf.S: Likewise.
1491         * sysdeps/ia64/fpu/s_roundl.S: Likewise.
1492         * sysdeps/ia64/fpu/s_round.S: Likewise.
1493         * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
1494         * sysdeps/ia64/fpu/s_scalbn.c: Likewise.
1495         * sysdeps/ia64/fpu/s_scalbnf.c: Likewise.
1496         * sysdeps/ia64/fpu/s_scalbnl.c: Likewise.
1497         * sysdeps/ia64/fpu/s_tanf.S: Likewise.
1498         * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
1499         * sysdeps/ia64/fpu/s_tanh.S: Likewise.
1500         * sysdeps/ia64/fpu/s_tanl.S: Likewise.
1501         * sysdeps/ia64/fpu/s_tan.S: Likewise.
1502         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
1503         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
1504         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
1505         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
1506         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
1507         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
1509         [BZ #592]
1510         * sysdeps/ia64/fpu/libm_cpu_defs.h: New file.
1511         * sysdeps/ia64/fpu/libm_error_codes.h: New file.
1513         [BZ #592]
1514         * sysdeps/ia64/fpu/gen_import_file_list: Updated for Intel libm
1515         2005-03-21.
1516         * sysdeps/ia64/fpu/import_file.awk: Likewise.
1517         * sysdeps/ia64/fpu/import_intel_libm: Likewise.
1518         * sysdeps/ia64/fpu/Makefile: Likewise.
1520 2005-03-29  Jakub Jelinek  <jakub@redhat.com>
1522         * posix/fnmatch.c (fnmatch): For short patterns or strings attempt to
1523         avoid calling mbsrtowcs twice.
1525 2005-03-29  Roland McGrath  <roland@redhat.com>
1527         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): New
1528         function, inline broken out of ...
1529         (DL_SYSDEP_OSCHECK): ... here.  Use that.
1530         Do the discovery and set GLRO(dl_osversion) if successful,
1531         if __LINUX_KERNEL_VERSION <= 0.
1532         * elf/dl-load.c: Don't include dl-osinfo.h here.
1534 2005-03-29  Alfred M. Szmidt  <ams@gnu.org>
1536         * manual/install.texi (Tools for Compilation): GNU binutils 2.15
1537         is now needed.
1539 2005-03-19  Bruno Haible  <bruno@clisp.org>
1541         * intl/dcigettext.c (struct known_translation_t): Change type of
1542         domainname field to 'const char *'.
1543         (DCIGETTEXT): Remove const-cast.
1545 2005-03-29  Thorsten Kukuk  <kukuk@suse.de>
1547         [BZ #661]
1548         * grp/initgroups.c (internal_getgrouplist): Check if we have
1549         enough space before adding the primary group to the list.
1551         * posix/tst-execle1.c (do_test): Fix execle arguments.
1552         * posix/tst-execle2.c (do_test): Likewise.
1554 2005-03-28  Roland McGrath  <roland@redhat.com>
1556         * sysdeps/generic/w_exp2.c [NO_LONG_DOUBLE]: Fix typos in alias names.
1557         Reported by Mark Mitchell <mark@codesourcery.com>.
1558         * Versions.def (libm): Define GLIBC_2.4 set.
1559         * math/Versions (libm: GLIBC_2.4): Add this set, with exp2l.
1560         * sysdeps/i386/Versions (libm: GLIBC_2.1): Add this set, with exp2l.
1561         * sysdeps/ia64/Versions: Likewise.
1562         * sysdeps/m68k/Versions: Likewise.
1563         * sysdeps/sparc/sparc64/Versions: Likewise.
1564         * sysdeps/x86_64/Versions: New file.
1565         * sysdeps/mips/mips64/Versions: New file.
1567         * locale/langinfo.h (_NL_LOCALE_NAME): New macro.
1568         [__USE_GNU] (NL_LOCALE_NAME): New macro.
1569         * locale/nl_langinfo.c: Grok special item value for _NL_LOCALE_NAME,
1570         return locale name string for the category.
1572 2005-03-25  Jakub Jelinek  <jakub@redhat.com>
1574         * sysdeps/generic/wcstoul_l.c: Include "wcstol_l.c" rather than
1575         <wcstol_l.c>.
1577 2005-03-28  Daniel Jacobowitz  <dan@codesourcery.com>
1579         * sysdeps/mips/atomicity.h: Remove unused file.
1580         * sysdeps/mips/dl-machine.h (elf_machine_rel): Add TLS relocations.
1581         * sysdeps/mips/dl-tls.h: New file.
1582         * sysdeps/mips/libc-tls.c: New file.
1583         * sysdeps/mips/tls-macros.h: New file.
1584         * sysdeps/mips/bits/atomic.h: New file.
1585         * sysdeps/mips/bits/setjmp.h: Protect against multiple inclusion.
1586         * sysdeps/mips/elf/configure.in: New file.
1587         * sysdeps/mips/elf/configure: Generated.
1588         * sysdeps/mips/sys/asm.h: New file.
1589         * sysdeps/unix/sysv/linux/mips/vfork.S: New file.
1590         * sysdeps/unix/sysv/linux/mips/clone.S: Add NPTL and five-argument
1591         clone support.
1592         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1593         (INTERNAL_SYSCALL_NCS): New.
1594         (INTERNAL_SYSCALL): Update for non-constant support.
1595         (internal_syscall0): Likewise.
1596         (internal_syscall1): Likewise.
1597         (internal_syscall2): Likewise.
1598         (internal_syscall3): Likewise.
1599         (internal_syscall4): Likewise.
1600         (internal_syscall5): Likewise.
1601         (internal_syscall6): Likewise.
1602         (internal_syscall7): Likewise.
1603         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SIGEV_THREAD):
1604         Update to match the kernel.
1605         (SIGEV_CALLBACK): Likewise.
1606         (SIGEV_THREAD_ID): Likewise.
1608 2005-03-28  Daniel Jacobowitz  <dan@codesourcery.com>
1610         [BZ #783]
1611         * elf/tst-auditmod1.c: Add MIPS support.
1612         * sysdeps/generic/ldsodefs.h (La_mips_32_regs): New.
1613         (La_mips_32_retval): New.
1614         (La_mips_64_regs): New.
1615         (La_mips_64_retval): New.
1616         (struct audit_ifaces): Add MIPS entries.
1617         * sysdeps/mips/dl-machine.h: Check RESOLVE_MAP instead of RESOLVE.
1618         (elf_machine_runtime_link_map, ELF_DL_FRAME_SIZE,
1619         ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS,
1620         ELF_MACHINE_RUNTIME_TRAMPOLINE): Move to dl-trampoline.c.
1621         (RTLD_START): Align the stack before calling _dl_init_internal.
1622         Use .ent for _dl_start_user.
1623         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): Define.
1624         (elf_machine_rel, elf_machine_rel_relative, elf_machine_lazy_rel)
1625         (elf_machine_runtime_setup): Use "auto inline".
1626         (elf_machine_rela, elf_machine_rela_relative): Provide empty versions.
1627         (elf_machine_got_rel): Likewise.  Use RESOLVE_MAP.
1628         * sysdeps/mips/dl-trampoline.c: New file.
1629         * sysdeps/mips/bits/link.h: New file.
1630         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1631         (internal_syscall5): Use register operands instead of non-lvalue
1632         memory operands.
1633         (internal_syscall6): Likewise.
1634         (internal_syscall7): Likewise.
1636 2005-03-27  Andreas Jaeger  <aj@suse.de>
1638         * debug/warning-nop.c (__builtin___memcpy_chk): Define away to
1639         avoid warnings with older compiler.
1640         (__builtin___memcpy_chk): Likewise.
1641         (__builtin___memmove_chk: Likewise.
1642         (__builtin___mempcpy_chk): Likewise.
1643         (__builtin___memset_chk): Likewise.
1644         (__builtin___stpcpy_chk): Likewise.
1645         (__builtin___strcat_chk): Likewise.
1646         (__builtin___strcpy_chk): Likewise.
1647         (__builtin___strncat_chk): Likewise.
1648         (__builtin___strncpy_chk): Likewise.
1649         (__builtin_object_size): Likewise.
1651 2005-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
1653         * elf/tls-macros.h: Correct typo.
1655 2005-03-23  Jakub Jelinek  <jakub@redhat.com>
1657         [BZ #822]
1658         * nis/ypclnt.c (yp_2_yperr): Revert 2004-11-30 patch.
1659         (ypprot_err): Use yp_2_yperr table also for YP_NODOM .. YP_NOMORE.
1661 2005-03-22  Roland McGrath  <roland@redhat.com>
1663         * locale/setlocale.c: Comment typo.
1665         * scripts/versions.awk: No errors for GLIBC_PRIVATE.
1667         * Versions.def (libdl, librt): Add GLIBC_2.3.4 version.
1669         * scripts/versions.awk: Print all errors and die at the end.
1670         Use library name in versions array keys.
1672 2005-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
1674         * elf/elf.h (PT_ARM_EXIDX): New macro.
1676 2005-03-21  Thorsten Kukuk  <kukuk@suse.de>
1678         * sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong):
1679         Convert correctly between long/int on 64bit big-endian.
1681 2005-03-21  David Mosberger  <davidm@hpl.hp.com>
1683         * sysdeps/ia64/_mcount.S: Newer kernels don't like register-frames
1684         with more than 8 output registers.  Fix this by passing original
1685         ar.pfs to _mcount_ret_helper via r3.
1687 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
1689         [BZ #786]
1690         * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Handle
1691         GL(dl_tls_static_nelem) == GL(dl_tls_max_dtv_idx).
1692         * elf/Makefile: Add rules to build and run tst-tls15.
1693         * elf/tst-tls15.c: New test.
1694         * elf/tst-tlsmod15a.c: New file.
1695         * elf/tst-tlsmod15b.c: New file.
1697 2005-03-20  Ulrich Drepper  <drepper@redhat.com>
1699         * elf/rtld.c (dl_main): Always call init_tls if we have audit modules.
1701 2005-03-20  Alfred M. Szmidt  <ams@gnu.org>
1703         * elf/dl-open.c (dl_open_worker): Fix typo.
1705 2005-03-20  Ulrich Drepper  <drepper@redhat.com>
1707         * malloc/malloc.c (public_cALLOc): We cannot skip the memory
1708         clearing if perturb_byte != 0.
1710 2005-03-20  Jakub Jelinek  <jakub@redhat.com>
1712         * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t
1713         instead of __off_t for last argument.
1714         * debug/Makefile (tests): Add tst-lfschk{1,2,3}.
1715         * debug/tst-lfschk1.c: New test.
1716         * debug/tst-lfschk2.c: New test.
1717         * debug/tst-lfschk3.c: New test.
1719 2005-02-09  Jakub Jelinek  <jakub@redhat.com>
1721         * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define.
1722         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC
1723         and __USE_XOPEN guards to match linux/bits/termios.h.
1724         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
1725         (CMSPAR): Define.
1726         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
1728 2005-02-10  H.J. Lu  <hongjiu.lu@intel.com>
1730         * sysdeps/ia64/elf/initfini.c: Add local _init and _fini labels.
1732 2005-02-27  Denis Barbier  <barbier@debian.org>
1734         [BZ #38]
1735         * locale/iso-4217.def: Add CSD currency.
1737 2005-03-19  Ulrich Drepper  <drepper@redhat.com>
1739         * inet/test-ifaddrs.c: Use test-skeleton.
1740         * inet/test_ifindex.c: Likewise.
1742         [BZ #821]
1743         * elf/dl-lookup.c (add_dependency): Always search l_initfini if
1744         the list exists.
1746         [BZ #821]
1747         * elf/Makefile: Add rules to build and run order2.
1748         * elf/order2.c: New file.
1749         * elf/order2mod1.c: New file.
1750         * elf/order2mod2.c: New file.
1751         * elf/order2mod3.c: New file.
1752         * elf/order2mod4.c: New file.
1754 2005-03-19  Jakub Jelinek  <jakub@redhat.com>
1756         [BZ #821]
1757         * elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value,
1758         it has been incremented before.
1760 2005-03-18  Ulrich Drepper  <drepper@redhat.com>
1762         [BZ #821]
1763         * elf/dl-fini.c (_dl_fini): Split sorting of the maps in separate
1764         function _dl_sort_fini.
1765         (_dl_sort_fini): New function.
1766         * sysdeps/generic/ldsodefs.h: Declare _dl_sort_fini.
1767         * elf/dl-close.c (_dl_close): Call _dl_sort_fini before running
1768         destructors to call them in the right order.
1770 2005-02-07  Steven Munroe  <sjmunroe@us.ibm.com>
1772         * sysdeps/powerpc/bits/link.h (La_ppc64_regs): Add lr_vrsave.
1773         (La_ppc64_retval): Correct size of lrc_fp.
1774         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_profile_resolve):
1775         Fix up ABI problems and complete function.
1777 2005-03-10  Jakub Jelinek  <jakub@redhat.com>
1779         * math/test-misc.c (main): Add some more tests.
1781 2005-03-17  Jakub Jelinek  <jakub@redhat.com>
1783         * posix/regcomp.c (re_compile_fastmap_iter): Fix check for failed
1784         __wcrtomb.  Check return values of other __wcrtomb calls.
1785         * posix/regex_internal.c (build_wcs_buffer, re_string_skip_chars):
1786         Change mbclen type to size_t.
1787         (build_wcs_upper_buffer): Change mbclen and mbcdlen type to size_t.
1788         Handle mb chars whose upper case doesn't have multibyte representation
1789         in locale's charset.
1791 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
1793         * malloc/malloc.c (_int_icalloc, _int_icomalloc, iALLOc,
1794         public_iCALLOc, public_iCALLOc, public_iCOMALLOc): Protect with
1795         #ifndef _LIBC.
1797         [BZ #779]
1798         * malloc/malloc.c (public_mTRIm): Initialize malloc if not yet
1799         initialized.
1801 2005-03-10  Jakub Jelinek  <jakub@redhat.com>
1803         * misc/sys/cdefs.h (__always_inline): Define.
1804         * posix/bits/unistd.h (read, pread, pread64, readlink, getcwd, getwd):
1805         Use __always_inline instead of __inline.
1806         * socket/bits/socket2.h (recv, recvfrom): Likewise.
1807         * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Likewise.
1808         * string/bits/string3.h (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk,
1809         __memset_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk,
1810         __strcat_ichk, __strncat_ichk): Use __always_inline instead of
1811         __inline__ __attribute__ ((__always_inline__)).
1813 2005-03-09  Jakub Jelinek  <jakub@redhat.com>
1815         * debug/tst-chk1.c: Include sys/socket.h and sys/un.h.
1816         (do_test): Add new tests for recv, recvfrom, getcwd, getwd and
1817         readlink.  Add some more tests for read, pread, pread64, fgets and
1818         fgets_unlocked.
1820         * posix/bits/unistd.h (read, pread, pread64, readlink,
1821         getcwd, getwd): Change macros into extern inline functions.
1822         (__read_alias, __pread_alias, __pread64_alias, __readlink_alias,
1823         __getcwd_alias, __getwd_alias): New prototypes.
1824         * socket/bits/socket2.h (recv, recvfrom): Change macros into
1825         extern inline functions.
1826         (__recv_alias, __recvfrom_alias): New prototypes.
1827         * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Change macros
1828         into extern inline functions.
1829         (__gets_alias, __fgets_alias, __fgets_unlocked_alias): New prototypes.
1831         * debug/pread_chk.c (__pread_chk): Fix order of arguments passed
1832         to __pread.
1833         * debug/pread64_chk.c (__pread64_chk): Fix order of arguments passed
1834         to __pread64.
1836 2005-03-18  Daniel Jacobowitz  <dan@codesourcery.com>
1838         * configure.in: Use %function instead of @function.
1840 2005-03-18  Ulrich Drepper  <drepper@redhat.com>
1842         [BZ #821]
1843         * include/link.h (struct link_map): Remove l_opencount.  Add l_removed.
1844         Change type of l_idx to int.
1845         * elf/dl-close.c: Basically rewrite.  Do not use l_opencount to
1846         determine whether a DSO has to be unloaded.  Instead compute this
1847         in this function.
1848         * elf/dl-deps.c: No need to manipulate l_opencount anymore.
1849         * elf/dl-lookup.c: Likewise.
1850         * elf/rtld.c: Likewise
1851         * elf/dl-open.c: Likewise.  Use l_init_called to determine whether
1852         object was just loaded.
1853         * elf/dl-fini.c: Bump l_direct_opencount instead of l_opencount.
1854         * elf/dl-load.c (_dl_map_object_from_fd): Do not recognize DSO which
1855         is about to be unloaded as a match.
1856         (_dl_map_object): Likewise.
1857         * elf/do-lookup.h (do_lookup_x): Do not look into DSO which is about
1858         to be unloaded.
1859         * elf/circleload1.c: Don't use l_opencount anymore.
1860         * elf/neededtest.c: Likewise.
1861         * elf/neededtest2.c: Likewise.
1862         * elf/neededtest3.c: Likewise.
1863         * elf/neededtest4.c: Likewise.
1864         * elf/unload.c: Likewise.
1865         * elf/unload2.c: Likewise.
1866         * elf/loadtest.c: Likewise.
1868         [BZ #821]
1869         * elf/rtld.c: Preloading errors are now never fatal.
1871 2005-03-08  Jakub Jelinek  <jakub@redhat.com>
1873         [BZ #821]
1874         * elf/Makefile: Add rules to build and run unload5 test.
1875         * elf/unload5.c: New file.
1877         [BZ #821]
1878         * elf/Makefile: Add rules to build and run unload4 test.
1879         * elf/unload4.c: New file.
1880         * elf/unload4mod1.c: New file.
1881         * elf/unload4mod2.c: New file.
1882         * elf/unload4mod3.c: New file.
1883         * elf/unload4mod4.c: New file.
1885 2005-03-17  Roland McGrath  <roland@redhat.com>
1887         * nscd/aicache.c (addhstaiX): Tweak type to avoid warning.
1889 2005-03-16  Richard Henderson  <rth@redhat.com>
1891         * include/libc-symbols.h (__hidden_proto): Remove bogus declaration
1892         of internal.
1893         (__hidden_def1, __hidden_dot_def1): Remove.
1894         (__hidden_def2, __hidden_def3): Remove.
1895         (__hidden_ver1): New.
1896         (hidden_ver, hidden_def, hidden_weak): Use it.
1897         (hidden_data_ver, hidden_data_ver, hidden_data_weak): Use non-data
1898         version of the macro.
1900         * include/wchar.h (__wcscoll): Remove.
1901         * wcsmbs/wcscoll.c: Define wcscoll directly instead of via __wcscoll.
1902         * string/strcoll.c: Don't issue libc_hidden_def STRCOLL redefined.
1904 2005-03-16  Daniel Jacobowitz  <dan@codesourcery.com>
1906         * elf/elf.h: Define MIPS TLS relocations.
1908 2005-03-16  Ulrich Drepper  <drepper@redhat.com>
1910         * elf/circleload1.c (main): Pretty printing.
1912 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
1914         * sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword.
1915         Patch by Dan Kegel <dank@kegel.com>.
1917         * elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative,
1918         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1919         Add inline keyword.
1920         * sysdeps/alpha/dl-machine.h (elf_machine_rela,
1921         elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline
1922         attribute.
1923         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1924         elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.  Change
1925         static inline into auto inline.
1926         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1927         elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
1928         * sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela):
1929         Likewise.
1930         * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative,
1931         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1932         Likewise.
1934 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
1936         [BZ #789]
1937         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Fix asm constraints.
1938         Remove memory clobber.
1940         * sysdeps/x86_64/hp-timing.h (HP_TIMING_ACCUM): Make the addition
1941         thread-safe.  Subtract GLRO(dl_hp_timing_overhead) from Diff.
1943 2005-03-14  Jakub Jelinek  <jakub@redhat.com>
1945         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Don't include
1946         asm/types.h.
1948 2005-03-10  GOTO Masanori  <gotom@debian.or.jp>
1950         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and
1951         MAP_NONBLOCK.
1952         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1953         Correct MAP_GROWSDOWN value.
1955 2005-03-13  Roland McGrath  <roland@redhat.com>
1957         * elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps
1958         version if there is one.  Only #error if macros are then undefined.
1959         * sysdeps/generic/tls-macros.h: New file.
1961 2005-03-10  GOTO Masanori  <gotom@debian.or.jp>
1963         * sysdeps/hppa/configure.in: Remove old Makefile leftovers.
1964         * sysdeps/hppa/configure: Regenerated.
1966 2005-03-08  Roland McGrath  <roland@redhat.com>
1968         * sysdeps/gnu/errlist-compat.awk: Use NERR in all array decls, so
1969         array types match exactly in C alias decls.
1971 2005-03-07  Ulrich Drepper  <drepper@redhat.com>
1973         * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call
1974         mallopt appropriately.
1975         * malloc/malloc.h: Define M_PERTURB.
1976         * malloc/malloc.c (perturb_byte): New variable.
1977         (alloc_perturb, free_perturb): New macros.
1978         (_int_malloc): Before returning, overwrite the memory if this is
1979         requested.
1980         (_int_free): Overwrite freed memory if requested.
1981         (mALLOPt): Handle M_PERTURB.
1982         * test-skeleton.c: Add call to mallopt with M_PERTURB command.
1984         * elf/dl-close.c (_dl_close): Decrement l_opencount before
1985         printing debug message.
1986         * elf/dl-open.c (dl_open_worker): Always print the new opencount
1987         in debug messages.
1989 2005-03-06  Ulrich Drepper  <drepper@redhat.com>
1991         * elf/dl-close.c (_dl_close): Unify debug message format.
1993         * elf/dl-close.c (_dl_close): Print debug message just before
1994         destroying a link map.
1996         * elf/do-lookup.h (do_lookup_x): Add namespace info to debug output.
1997         * elf/dl-version.c (match_symbol): Likewise.
1999         * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code.
2001         * debug/recv_chk.c (__recv_chk): Always fail if request could
2002         overflow the buffer.
2003         * debug/recvfrom_chk.c (__recvfrom_chk): Likewise.
2004         * socket/bits/socket2.h (recv): Avoid calls to the _chk variant if
2005         we know the call succeeds.
2006         (recvfrom): Likewise.
2008 2005-03-05  Ulrich Drepper  <drepper@redhat.com>
2010         * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid
2011         warning.
2012         * posix/regex_internal.c (re_string_reconstruct): Add cast to
2013         avoid warning.
2014         (build_wcs_upper_buffer): Change type of bug to plain char.
2015         * locale/weightwc.h (findidx): Add casts to avoid warnings.
2016         * time/mktime.c (ranged_convert): Initialize tm to make the
2017         compiler happy.
2018         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add casts to avoid warnings.
2019         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Add casts to avoid warnings.
2020         * wcsmbs/mbsnrtowcs.c: Add casts to avoid warnings.
2021         * wcsmbs/wcsrtombs.c (__wcsrtombs): Add casts to avoid warnings.
2022         * wcsmbs/wcrtomb.c (__wcrtomb): Add casts to avoid warnings.
2023         * wcsmbs/mbrtowc.c (__mbrtowc): Use unsigned char for outbuf.
2024         * wcsmbs/wctob.c (wctob): Make buf array of unsigned char.
2025         * sysdeps/generic/strchrnul.c: Add cast to avoid warning.
2026         * libio/iofwide.c: Add casts to avoid warnings.
2027         * stdio-common/printf-prs.c (parse_printf_format): Introduce new
2028         variable f to avoid warnings.
2029         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2030         Fix a few casts to avoid warnings.
2031         * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned
2032         to avoid warning.
2034         * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using
2035         dynamically sized array.
2036         (build_wcs_upper_buffer): Likewise.
2038 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
2040         * include/bits/unistd.h: New file.
2041         * include/bits/socket2.h: New file.
2043 2005-03-05  Ulrich Drepper  <drepper@redhat.com>
2045         * sunrpc/key_call.c: Remove doors support.
2046         * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition.
2047         * configure.in: Remove test for doors support which never existed.
2048         * config.make.in: Remove have_doors entry.
2050         * configure.in: Make sure at least gcc 3.4 is used.  Undo last change.
2051         * config.make.in: Undo last change.
2053         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Unconditionally use
2054         -mtune.
2056 2005-03-05  Roland McGrath  <roland@redhat.com>
2058         * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl.
2059         (_dl_out_of_memory): Use rtld_hidden_proto.
2060         * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def.
2061         (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory.
2062         * elf/dl-open.c (_dl_open): Likewise.
2063         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2065         * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *.
2067         * elf/dl-addr.c (_dl_addr): Add a cast.
2069         [BZ #821]
2070         * elf/unload3mod4.c: Declare foo.
2071         * elf/testobj2.c: Include <stdio.h>.
2073         * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal
2074         value constant, and use it in the defn.
2075         * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl.
2076         Use actual size for compat array decls.
2078         * config.make.in (cc-mtune): New substituted variable.
2079         * configure.in (libc_cv_cc_mtune): New test for -mtune= switch,
2080         done only if libc_mtune_example is defined.
2081         * sysdeps/i386/configure.in (libc_mtune_example): Set it.
2082         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune).
2084 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
2086         * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define
2087         unconditionally to (defined RTLD_BOOTSTRAP).
2088         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise.
2090 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
2092         * Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of
2093         $(inst_slibdir) in AS_NEEDED directive.
2095 2005-03-03  Jakub Jelinek  <jakub@redhat.com>
2097         * posix/bits/unistd.h (pread, pread64): Don't swap function arguments.
2099 2005-03-01  H.J. Lu  <hongjiu.lu@intel.com>
2101         [BZ #776]
2102         * iconv/iconvconfig.c: Fix comment for the output file.
2103         (write_output): Clear padding in header.
2105 2005-03-03  Ulrich Drepper  <drepper@redhat.com>
2107         [BZ #821]
2108         * elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the
2109         loader is closed.  Fixes unload3.
2110         * elf/tst-global1.c: New file.
2111         * elf/Makefile (tests): Add tst-global1.
2112         * elf/testobj2.c (p): New function.
2114 2005-03-03  Jakub Jelinek  <jakub@redhat.com>
2116         [BZ #821]
2117         * elf/Makefile: Add rules to build and run unload3 test.
2118         * elf/unload3.c: New test.
2119         * elf/unload3mod1.c: New file.
2120         * elf/unload3mod2.c: New file.
2121         * elf/unload3mod3.c: New file.
2122         * elf/unload3mod4.c: New file.
2124 2005-02-21  Alan Modra <amodra@bigpond.net.au>
2126         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
2127         use __uint128_t.
2129 2005-03-01  Jakub Jelinek  <jakub@redhat.com>
2131         * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead
2132         of __bos.
2133         * socket/bits/socket2.h (recv, recvfrom): Likewise.
2135 2005-03-01  Roland McGrath  <roland@redhat.com>
2137         [BZ #721]
2138         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
2139         of [RESOLVE_MAP].
2141 2005-03-01  Alfred M. Szmidt  <ams@gnu.org>
2143         [BZ #777]
2144         * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]:
2145         Add missing initializer.
2147         [BZ #777]
2148         * malloc/arena.c: #include <stdbool.h> outside of [SHARED &&
2149         USE_TLS && !USE___THREAD].
2151 2005-02-26  GOTO Masanori  <gotom@debian.or.jp>
2153         * csu/Makefile: Use printf instead of echo for some shells.
2155 2005-02-28  Roland McGrath  <roland@redhat.com>
2157         * debug/warning-nop.c (__nop): Rename to nop, make it static.
2158         (__warndecl): Use alias attribute directly, instead of strong_alias
2159         macro.  Add attribute_hidden.
2161 2005-02-28  Ulrich Drepper  <drepper@redhat.com>
2163         * posix/bits/unistd.h: Avoid calling __*_chk variants if we can
2164         determine the call will never trigger a failure.
2165         * debug/read_chk.c (__read_chk): Always fail if the buffer is too
2166         small.
2167         * debug/readlink_chk.c (__readlink_chk): Likewise.
2168         * debug/pread64_chk.c (__pread64_chk): Likewise.
2169         * debug/pread_chk.c (__pread_chk): Likewise.
2171         * sysdeps/i386/i686/memset_chk.S: Remove alias and warning.
2172         * sysdeps/x86_64/memset_chk.S: Likewise.
2174 2005-02-24  Roland McGrath  <roland@redhat.com>
2176         * debug/Versions (libc: GLIBC_2.4): Remove
2177         __memset_zero_constant_len_parameter.
2178         * sysdeps/generic/memset_chk.c: Remove alias and warning.
2179         * misc/sys/cdefs.h (__warndecl): New macro.
2180         * debug/warning-nop.c: New file.
2181         * string/bits/string3.h (memset): Call __warn_memset_zero_len with no
2182         arguments, instead of calling __memset_zero_constant_len_parameter.
2183         Use __warndecl for __warn_memset_zero_len.
2184         * debug/Makefile (routines): Add $(static-only-routines).
2185         (static-only-routines): New variable.
2187 2005-02-27  Ulrich Drepper  <drepper@redhat.com>
2189         * po/tr.po: Update from translation team.
2191 2005-02-26  Ulrich Drepper  <drepper@redhat.com>
2193         * elf/dl-addr.c: Cleanups.  Move declaration next to first use.
2195         * dlfcn/dlerror.c (check_free): New function.  Extract common code
2196         from fini and free_key_mem.  Check whether this is libdl in the
2197         base namespace.
2199 2005-02-25  Ulrich Drepper  <drepper@redhat.com>
2201         * elf/dl-lookup.c (_dl_debug_bindings): Add namespace information
2202         to debug output.
2204 2004-11-11  Richard Sandiford  <rsandifo@redhat.com>
2206         [BZ #758]
2207         * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
2208         preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
2209         like __NR_N32_open.  Just include <asm/unistd.h> otherwise.
2210         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2211         * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
2212         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
2213         standard __NR prefix.
2214         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
2215         * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
2216         the output file is compatible with both pre-2.6 and 2.6 kernel headers.
2217         Extract separate syscall lists for each ABI.
2219 2005-02-23  Ulrich Drepper  <drepper@redhat.com>
2221         * Makerules (libc.so): Add AS_NEEDED line for dynamic linker.
2223         [BZ #719]
2224         * elf/Makefile: Run tst-tls9-static again.
2226 2005-02-22  Ulrich Drepper  <drepper@redhat.com>
2228         [BZ #719]
2229         * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the
2230         slotinfo array.
2231         (__libc_setup_tls): Initialize length of DTV based on array length.
2232         * elf/dl-load.c: Revert last change.
2233         * sysdeps/generic/dl-tls.c: Revert last change.
2235         * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1,
2236         tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2,
2237         tst-execve1, tst-execve2, tst-execle1, and tst-execle2.
2238         * posix/tst-execl1.c: New file.
2239         * posix/tst-execl2.c: New file.
2240         * posix/tst-execle1.c: New file.
2241         * posix/tst-execle2.c: New file.
2242         * posix/tst-execlp1.c: New file.
2243         * posix/tst-execlp2.c: New file.
2244         * posix/tst-execv1.c: New file.
2245         * posix/tst-execv2.c: New file.
2246         * posix/tst-execve1.c: New file.
2247         * posix/tst-execve2.c: New file.
2248         * posix/tst-execvp1.c: New file.
2249         * posix/tst-execvp2.c: New file.
2251 2005-02-22  Roland McGrath  <roland@redhat.com>
2253         * include/signal.h: Revert last change.
2254         (__sigemptyset): Use __builtin_memset instead of memset.
2256 2005-02-22  Ulrich Drepper  <drepper@redhat.com>
2258         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use
2259         non-cancelable I/O functions.
2261 2005-02-22  Jakub Jelinek  <jakub@redhat.com>
2263         [BZ #769]
2264         * nscd/nscd-client.h: Include sys/uio.h.
2265         (__readall, __readvall, writeall): New prototypes.
2266         * nscd/connections.c (writeall): New function.
2267         (handle_request): Use it.
2268         * nscd/aicache.c (addhstaiX): Likewise.
2269         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2270         * nscd/hstcache.c (cache_addhst): Likewise.
2271         * nscd/grpcache.c (cache_addgr): Likewise.
2272         * nscd/pwdcache.c (cache_addpw): Likewise.
2273         * nscd/nscd_helper.c (__readall, __readvall): New functions.
2274         * nscd/nscd_getai.c (__nscd_getai): Use them.
2275         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.
2276         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
2277         * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise.
2278         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2280 2005-02-22  Roland McGrath  <roland@redhat.com>
2282         * include/sys/socket.h: Declare __recv.
2283         * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias.
2284         * sysdeps/mach/hurd/recv.c: Likewise.
2286         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for
2287         __backtrace_* decls.
2289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2290         (INTERNAL_SYSCALL_ERROR_P): Evalute VAL.  Parenthesize ERR.
2291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2293         * include/signal.h: Include <string.h> for memset decl.
2295 2005-02-22  Andreas Schwab  <schwab@suse.de>
2297         * posix/execvp.c (execvp): Fix invalid free.
2299 2005-02-22  Jakub Jelinek  <jakub@redhat.com>
2301         * malloc/Makefile (CFLAGS-mcheck-init.c): Add.
2302         * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for
2303         librpcsvc.a objects.
2305 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
2307         * iconvdata/ibm930.h: Correct Yen mapping.
2308         * iconvdata/ibm939.h: Likewise.
2309         * iconvdata/testdata/IBM930..UTF8: Adjust test data.
2310         * iconvdata/testdata/IBM939..UTF8: Likewise.
2311         Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
2313         * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
2314         IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
2315         (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
2316         ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
2317         ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
2318         ibm1158.c, and ibm1158.h.
2319         * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
2320         IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
2321         * iconvdata/gconv-modules: Likewise.
2322         * iconvdata/ibm1025.c: New file.
2323         * iconvdata/ibm1025.h: New file.
2324         * iconvdata/ibm1122.c: New file.
2325         * iconvdata/ibm1122.h: New file.
2326         * iconvdata/ibm1137.c: New file.
2327         * iconvdata/ibm1137.h: New file.
2328         * iconvdata/ibm1153.c: New file.
2329         * iconvdata/ibm1153.h: New file.
2330         * iconvdata/ibm1154.c: New file.
2331         * iconvdata/ibm1154.h: New file.
2332         * iconvdata/ibm1155.c: New file.
2333         * iconvdata/ibm1155.h: New file.
2334         * iconvdata/ibm1156.c: New file.
2335         * iconvdata/ibm1156.h: New file.
2336         * iconvdata/ibm1157.c: New file.
2337         * iconvdata/ibm1157.h: New file.
2338         * iconvdata/ibm1158.c: New file.
2339         * iconvdata/ibm1158.h: New file.
2340         * iconvdata/testdata/IBM1025: New file.
2341         * iconvdata/testdata/IBM1025..UTF8: New file.
2342         * iconvdata/testdata/IBM1122: New file.
2343         * iconvdata/testdata/IBM1122..UTF8: New file.
2344         * iconvdata/testdata/IBM1137: New file.
2345         * iconvdata/testdata/IBM1137..UTF8: New file.
2346         * iconvdata/testdata/IBM1153: New file.
2347         * iconvdata/testdata/IBM1153..UTF8: New file.
2348         * iconvdata/testdata/IBM1154: New file.
2349         * iconvdata/testdata/IBM1154..UTF8: New file.
2350         * iconvdata/testdata/IBM1155: New file.
2351         * iconvdata/testdata/IBM1155..UTF8: New file.
2352         * iconvdata/testdata/IBM1156: New file.
2353         * iconvdata/testdata/IBM1156..UTF8: New file.
2354         * iconvdata/testdata/IBM1157: New file.
2355         * iconvdata/testdata/IBM1157..UTF8: New file.
2356         * iconvdata/testdata/IBM1158: New file.
2357         * iconvdata/testdata/IBM1158..UTF8: New file.
2358         Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
2360 2005-02-10  Paolo Bonzini  <bonzini@gnu.org>
2362         * posix/regcomp.c (lower_subexp): Do not optimize empty
2363         subexpressions even with REG_NOSUB.
2364         * posix/rxspencer/tests: Add a previously failing testcase.
2366 2005-02-21  Alan Modra <amodra@bigpond.net.au>
2368         [BZ #719]
2369         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv
2370         array index is within bounds.
2372 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
2374         [BZ #719]
2375         * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically
2376         linked code.
2377         * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid.
2378         * elf/Makefile: Remove rules to build and run tst-tls9-static.
2380         [BZ #719]
2381         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using
2382         THREAD_DTV multiple times, this minimally reduces code size on
2383         some archs.
2385 2005-02-21  Jakub Jelinek  <jakub@redhat.com>
2387         [BZ #768]
2388         * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
2389         NETDB_INTERNAL if buffer is too small.
2391         [BZ #768]
2392         * nscd/hstcache.c (INCR): Remove.
2393         (addhstbyX): Double buflen in each iteration rather than add INCR.
2394         * nscd/grpcache.c: Likewise.
2395         * nscd/pwdcache.c: Likewise.
2397 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
2399         * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
2400         map if requested.
2401         * debug/chk_fail.c: Request backtrace and memory map dump.
2403         * Versions.def: Add GLIBC_2.4 for libc.
2404         * debug/fgets_chk.c: New file.
2405         * debug/fgets_u_chk.c: New file.
2406         * debug/getcwd_chk.c: New file.
2407         * debug/getwd_chk.c: New file.
2408         * debug/readlink_chk.c: New file.
2409         * debug/read_chk.c: New file.
2410         * debug/pread_chk.c: New file.
2411         * debug/pread64_chk.c: New file.
2412         * debug/recv_chk.c: New file.
2413         * debug/recvfrom_chk.c: New file.
2414         * debug/Versions: Add all new functions with version GLIBC_2.4.
2415         * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
2416         pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
2417         getwd_chk, and getcwd_chk.  Plus appropriate CFLAGS definitions.
2418         * debug/tst-chk1.c: Add more tests.
2419         * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
2420         * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
2421         * posix/unistd.h: Include <bits/unistd.h> for fortification.
2422         * posix/bits/unistd.h: New file.
2423         * posix/Makefile (headers): Add bits/unistd.h.
2424         * socket/sys/socket.h: Include <bits/socket2.h> for fortification.
2425         * socket/bits/socket2.h: New file.
2426         * socket/Makefile (headers): Add bits/socket2.h.
2428         * string/bits/string3.h: Extend memset macro to check for zero 3rd
2429         parameter and use __memset_zero_constant_len_parameter in that case.
2430         * sysdeps/generic/memset_chk.c: Add
2431         __memset_zero_constant_len_parameter alias and linker warning.
2432         * debug/Versions: Add __memset_zero_constant_len_parameter to libc
2433         with version GLIBC_2.4.
2435         * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
2436         in __STD_TYPE definition.
2438 2005-02-21  Jakub Jelinek  <jakub@redhat.com>
2440         * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
2441         the error message rather than program name.
2443 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
2445         [BZ #767]
2446         * posix/unistd.h: symlink and readlink are unconditionally
2447         available in the 2001 spec.
2449 2005-02-16  Roland McGrath  <roland@redhat.com>
2451         * intl/dcigettext.c (_nl_find_msg): Add a cast.
2453         * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR.
2454         * nis/nis_clone_obj.c (nis_clone_object): Likewise.
2455         * nis/nis_clone_res.c (nis_clone_result): Likewise.
2457         * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char *
2458         for END_OF_MESSAGE and CP.
2460         * resolv/res_send.c (send_dg): Add else branch for case impossible
2461         unless `poll' is buggy.
2463         * crypt/crypt_util.c (__setkey_r): Add a cast.
2465         * locale/programs/linereader.c (get_toplvl_escape): Use size_t for
2466         NBYTES, and unsigned char * for BYTES.
2468         * locale/programs/charmap.c (charmap_new_char): Use size_t and
2469         unsighed char * for NBYTES, BYTES parameters.
2471         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument
2472         and cast it.
2473         * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise.
2475         * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES.
2477         * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.
2479         * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA.
2480         (authdes_marshal): Don't use unsigned int for LEN.
2481         * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2.
2482         (xdr_u_hyper): Likewise.
2483         (xdr_u_short): Don't use u_long for L.
2484         * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2.
2486         * inet/rexec.c (rexec_af): Use socklen_t.
2487         * sunrpc/key_call.c (getkeyserv_handle): Likewise.
2488         * sunrpc/rtime.c (rtime): Likewise.
2489         * resolv/res_send.c (send_vc, send_dg): Likewise.
2490         * nis/nis_callback.c (__nis_create_callback): Likewise.
2492         * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr.
2494         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
2496         * libio/libio.h (_IO_BE): Add parenthesis around EXPR.
2498         * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed.
2499         (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
2500         (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
2501         * intl/bindtextdom.c (INTUSE): Macro removed.
2502         (_nl_default_dirname): Use libc_hidden_proto.
2503         (set_binding_values): Don't use INTUSE.
2504         * include/libintl.h (_libc_intl_domainname_internal): Decl removed.
2505         (_libc_intl_domainname): Use libc_hidden_proto.
2506         * posix/regex_internal.h (gettext): Remove INTUSE on it.
2507         * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def
2508         rather than INTDEF.
2509         * include/libintl.h (_): Don't use *_internal name.
2511         * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t,
2512         not uint32_t.
2513         * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments.
2515         * iconv/gconv_open.c (__gconv_open): Remove useless cast.
2517         [BZ #721]
2518         * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
2519         of [RESOLVE_MAP].
2520         * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.
2521         * sysdeps/powerpc/powerpc32/dl-machine.h
2522         (elf_machine_rel, elf_machine_rel_relative): Removed.
2523         * sysdeps/powerpc/powerpc64/dl-machine.h
2524         (elf_machine_rel, elf_machine_rel_relative): Removed.
2526 2005-02-03  Alexandre Oliva  <aoliva@redhat.com>
2528         [BZ #721]
2529         * elf/dynamic-link.h: Don't declare nested auto functions that are
2530         not going to be defined.
2532 2004-07-23  Jakub Jelinek  <jakub@redhat.com>
2534         [BZ #284]
2535         * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define
2536         if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined.
2538 2005-02-16  Roland McGrath  <roland@redhat.com>
2540         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn
2541         inside [! SHARED] where it's used.
2543 2005-02-15  Ulrich Drepper  <drepper@redhat.com>
2545         * sysdeps/generic/bits/byteswap.h: Make sure result of all the
2546         functions and macros is unsigned.
2548 2005-02-11  Barry deFrese  <bddebian@comcast.net>
2550         [BZ #722]
2551         * sysdeps/mach/hurd/setresgid.c: Use weak_alias.
2552         * sysdeps/mach/hurd/setresuid.c: Likewise.
2554 2005-02-14  GOTO Masanori  <gotom@debian.or.jp>
2556         * misc/sys/syslog.h: Fix typo in comment.
2558 2005-02-14  Roland McGrath  <roland@redhat.com>
2560         [BZ #720]
2561         * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
2562         if it wasn't originally.
2564 2005-02-14  GOTO Masanori  <gotom@debian.or.jp>
2566         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
2567         getpeername entry.
2568         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2569         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2571 2005-02-11  Jakub Jelinek  <jakub@redhat.com>
2573         * scripts/soversions.awk: Only record first WORDSIZE{32,64}
2574         matching line.
2576 2005-02-14  Alan Modra  <amodra@bigpond.net.au>
2578         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
2579         with auto inline, and attribute always_inline.
2580         (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
2581         (elf_machine_rel, elf_machine_rel_relative): Likewise.
2582         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2583         (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
2584         (elf_machine_rel, elf_machine_rel_relative): Likewise.
2585         (elf_machine_tprel): Likewise.
2587 2005-02-14  Andreas Schwab  <schwab@suse.de>
2589         * manual/filesys.texi (Random Access Directory): Fix type of file
2590         position value for telldir and seekdir.
2591         (Attribute Meanings): Fix typo.
2593 2005-02-14  H.J. Lu  <hongjiu.lu@intel.com>
2595         * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
2596         isn't defined.
2597         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
2598         if SHARED isn't defined.
2599         * elf/Makefile (tests-static): Add tst-array1-static.
2600         ($(objpfx)tst-array1-static.out): New target.
2601         * elf/tst-array1-static.c: New file.
2603 2005-02-11  Jakub Jelinek  <jakub@redhat.com>
2605         * debug/chk_fail.c (__chk_fail): Add a while (1) loop around
2606         __libc_message to kill GCC warning about noreturn function returning.
2608         * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag
2609         before relocating ld.so again.
2611         * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
2612         for already prelinked ld.so.
2614 2005-02-11  Roland McGrath  <roland@redhat.com>
2616         [BZ #715]
2617         * Makefile (installed-stubs): New variable.
2618         Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no,
2619         or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise.
2620         [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs).
2621         ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this
2622         rule's target.
2623         ($(inst_includedir)/gnu/stubs.h): New target, install from ...
2624         * include/stubs-biarch.h: New file.
2626         * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64.
2628         * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig.
2629         Emit defn for variable `biarch'.
2631         * include/stub-tag.h: Update comment.
2633         * scripts/soversions.awk: Fix default version set handling.
2635 2005-02-09  Jakub Jelinek  <jakub@redhat.com>
2637         * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define.
2638         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Add __USE_MISC
2639         and __USE_XOPEN guards to match linux/bits/termios.h.
2640         (CMSPAR): Define.
2641         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Add __USE_MISC
2642         and __USE_XOPEN guards to match linux/bits/termios.h.
2643         (CMSPAR): Define.
2644         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC
2645         and __USE_XOPEN guards to match linux/bits/termios.h.
2647 2005-02-10  Roland McGrath  <roland@redhat.com>
2649         [BZ #157]
2650         * include/libc-symbols.h (stub_warning): Emit a marker section called
2651         .gnu.glibc-stub.NAME.
2652         * Makerules ($(objpfx)stubs): Depend on object files, not dep files.
2653         Use objdump to collect those marker section names.
2654         ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
2656         * Rules (subdir_objs, subdir_stubs): New phony targets.
2657         * Makefile (+subdir_targets): Add them.
2659         * Makerules ($(common-objpfx)Versions.all): Grok new leading column in
2660         soversions.i.
2662         * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
2663         Reported by H.J. Lu <hongjiu.lu@intel.com>.
2665         * scripts/lib-names.awk: Always print WORDSIZE32 section first when
2666         doing two.
2668 2005-02-10  Jakub Jelinek  <jakub@redhat.com>
2670         * sysdeps/powerpc/powerpc32/bits/link.h: Removed.
2671         * sysdeps/powerpc/powerpc64/bits/link.h: Moved to...
2672         * sysdeps/powerpc/bits/link.h: ... here.  New file.
2674 2005-02-09  Jakub Jelinek  <jakub@redhat.com>
2676         [BZ #710]
2677         * stdlib/random_r.c (__initstate_r): Save old state.
2678         * stdlib/Makefile (tests): Add tst-random2.
2679         * stdlib/tst-random2.c: New test.
2680         Reported by Peter Bergner <bergner@vnet.ibm.com>.
2682 2005-01-25  H.J. Lu  <hongjiu.lu@intel.com>
2684         * dlfcn/dlfcn.c (init): Put it in .init_array section.
2686 2005-02-10  Roland McGrath  <roland@redhat.com>
2688         [BZ #632]
2689         * scripts/soversions.awk: Expect cpu, vendor, os as separate variables
2690         from command line.
2691         Grok shlib-versions lines with WORDSIZE* in second column.
2692         Add new leading column to output, DEFAULT for existing output lines.
2693         Also emit lines with WORDSIZE* for alternate configurations.
2694         * Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
2695         ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
2696         ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
2697         of soversions.mk; replace inline shell script with use of ...
2698         * scripts/lib-names.awk: New file.  If input has non-DEFAULT lines,
2699         emit multiple sets of macros under #if.
2700         * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
2701         (s390x-.*-.*): Likewise for s390.
2702         (powerpc64-.*-.*): Likewise for powerpc.
2703         (sparc64-.*-.*): Likewise for sparc.
2704         (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries
2705         for these mapping back to the above.
2707 2005-02-08  Jakub Jelinek  <jakub@redhat.com>
2709         * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo.
2711 2005-02-08  Andreas Schwab  <schwab@suse.de>
2713         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of
2714         RESOLVE.
2716 2005-02-07  Richard Henderson  <rth@redhat.com>
2718         * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.
2720 2005-02-08  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2722         * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
2723         RESOLVE.
2725 2005-02-07  Ulrich Drepper  <drepper@redhat.com>
2727         * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are
2728         set correctly.
2730 2005-01-07  Richard Henderson  <rth@redhat.com>
2732         * math/math_private.h (__copysign): Define as builtin for gcc 4.
2733         (__copysignf, __copysignl): Likewise.
2734         * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
2735         for gcc 4.0.
2736         (copysignf, copysignl, fabsf, fabs): Likewise.
2737         (__copysign, __copysignf, __copysignl): Remove.
2738         (__fabs, __fabsf): Remove.
2740 2005-01-07  Jakub Jelinek  <jakub@redhat.com>
2742         [BZ #738]
2743         * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
2744         avoid writing to it if none of the standard search directories exist.
2746 2005-02-07  Steven Munroe  <sjmunroe@us.ibm.com>
2748         [BZ #700]
2749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2750         (__novec_setcontext, __setcontext): Fix typo so CCR is restored.
2751         Load MSR as a doubleword.
2752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2753         (__novec_swapcontext, __swapcontext): Likewise.
2755 2005-02-07  Ulrich Drepper  <drepper@redhat.com>
2757         * iconv/iconv_prog.c (main): Provide more help in case on an error.
2759         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
2761 2005-02-07  Jakub Jelinek  <jakub@redhat.com>
2763         [BZ #741]
2764         * nscd/nscd.c (termination_handler): Avoid segfault if some database
2765         is not enabled.
2767         [BZ #741]
2768         * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set
2769         __nss_not_use_nscd_hosts and return -1.
2770         * nscd/nscd_initgroups.c (__nscd_getgrouplist): If
2771         initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1.
2772         Avoid leaking sockets.
2774 2005-01-28  Andreas Schwab  <schwab@suse.de>
2775             H.J. Lu  <hongjiu.lu@intel.com>
2777         [BZ #677]
2778         * elf/dl-runtime.c (fixup): Change return type to
2779         DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE,
2780         DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation
2781         values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to
2782         store and retrieve relocation values.
2783         (profile_fixup): Likewise.
2784         * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for
2785         l_reloc_result.
2786         * sysdeps/generic/dl-fptr.h (link_map): Forward declaration.
2787         * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New.
2788         (DL_FIXUP_MAKE_VALUE): Likewise.
2789         (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
2790         (DL_FIXUP_VALUE_ADDR): Likewise.
2791         (DL_FIXUP_ADDR_VALUE): Likewise.
2792         * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc".
2793         (DL_FIXUP_VALUE_TYPE): New.
2794         (DL_FIXUP_MAKE_VALUE): Likewise.
2795         (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
2796         (DL_FIXUP_VALUE_ADDR): Likewise.
2797         (DL_FIXUP_ADDR_VALUE): Likewise.
2798         * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed.
2799         (elf_machine_profile_plt): Removed.
2800         (elf_machine_fixup_plt): Change return type and type of value
2801         parameter to struct fdesc.
2802         (elf_machine_plt_value): Likewise.
2803         (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct
2804         argument for elf_machine_fixup_plt.
2806 2005-02-07  Jakub Jelinek  <jakub@redhat.com>
2808         [BZ #742]
2809         * nscd/nscd.init (reload): Print Reloading nscd: before and a newline
2810         after the status string printed by killproc.
2812 2004-11-18  Alexandre Oliva  <aoliva@redhat.com>
2814         * manual/.cvsignore: Add dir-add.texi.
2816 2005-02-06  Richard Henderson  <rth@redhat.com>
2818         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
2819         all the time.
2821 2004-11-03  Marcus Brinkmann  <marcus@gnu.org>
2823         * configure.in (sysnames): Append sysdeps/generic for each add-on.
2824         * configure: Regenerated.
2826 2005-02-02  Alfred M. Szmidt  <ams@gnu.org>
2828         * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
2829         (dtv_t): Change pointer type to be a struct which also contains
2830         information whether the memory pointed to is static TLS or not.
2832         * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
2834         * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
2835         (FALSEP): ... this.  Updated all references.
2837         [BZ #765]
2838         * libio/fmemopen.c: Include <stdint.h>.
2840 2005-01-30  Ulrich Drepper  <drepper@redhat.com>
2842         * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
2843         * nscd/connections.c (send_ro_fd): Likewise.
2845 2005-01-28  H.J. Lu  <hongjiu.lu@intel.com>
2847         * elf/tst-auditmod1.c: Add ia64 entries.
2848         * sysdeps/generic/ldsodefs.h (La_ia64_regs): New.
2849         (La_ia64_retval): New.
2850         (audit_ifaces): Add ia64 entries.
2851         * sysdeps/ia64/bits/link.h: New file.
2852         * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test
2853         for dl_profile non-null.
2854         (ARCH_LA_PLTENTER): New.
2855         (ARCH_LA_PLTEXIT): New.
2856         * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate
2857         only 2 output registers. Allocate stack to save/restore
2858         8 incoming fp registers. Call _dl_fixup instead of fixup.
2859         (_dl_runtime_profile): Rewrite.
2861 2005-01-28  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2863         * sysdeps/s390/bits/link.h: New file.
2864         * sysdeps/s390/s390-32/dl-trampoline.S: New file.
2865         * sysdeps/s390/s390-64/dl-trampoline.S: New file.
2866         * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to
2867         dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect
2868         relocation code.
2869         (elf_machine_runtime_setup): Test for dl_profile non-null.
2870         (elf_machine_rela): Remove code using RESOLVE.
2871         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
2872         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2873         * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval,
2874         La_s390_64_regs, La_s390_64_retval): New.
2875         * elf/tst-auditmod1.c: Add s390 entries.
2877         [BZ #743]
2878         * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat,
2879         strncat, memchr, strcmp): Add missing memory clobber.
2881 2005-01-27  Ulrich Drepper  <drepper@redhat.com>
2883         * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
2884         copy gl_offs.  Patch by Sergey Tikhonov <tsv@solvo.ru>.
2886 2005-01-27  Paolo Bonzini  <bonzini@gnu.org>
2888         [BZ #558]
2889         * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
2890         Initialize the node sets in dfa->inveclosures.
2891         (analyze): Initialize inveclosures only if it is needed.
2892         Check errors from calc_inveclosure.
2893         * posix/regex_internal.c (re_dfa_add_node): Do not initialize
2894         the inveclosure node set.
2895         * posix/regexec.c (re_search_internal): If nmatch includes unused
2896         subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.
2898         * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
2899         Do build a SIMPLE_BRACKET token.
2901         * posix/regexec.c (transit_state_mb): Do not examine nodes
2902         where ACCEPT_MB is not set.
2904 2005-01-27  Jakub Jelinek  <jakub@redhat.com>
2906         * stdlib/tst-fmtmsg.c: Include stdlib.h.
2907         * stdio-common/tst-fmemopen2.c: Include string.h.
2908         * posix/execvp.c: Include stdbool.h.
2910 2004-12-13  Paolo Bonzini  <bonzini@gnu.org>
2912         Separate parsing and creation of the NFA.  Avoided recursion on
2913         the (very unbalanced) parse tree.
2914         [BZ #611]
2915         * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
2916         re_dfa_add_tree_node, mark_opt_subexp_iter): Removed.
2917         (optimize_subexps, duplicate_tree, calc_first, calc_next,
2918         mark_opt_subexp): Rewritten.
2919         (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes,
2920         create_token_tree, free_tree, free_token): New.
2921         (analyze): Accept a regex_t *.  Invoke the passes via the preorder and
2922         postorder generic visitors.  Do not initialize the fields in the
2923         re_dfa_t that represent the transitions.
2924         (free_dfa_content): Use free_token.
2925         (re_compile_internal): Analyze before UTF-8 optimizations.  Do not
2926         include optimization of subexpressions.
2927         (create_initial_state): Fetch the DFA node index from the first node's
2928         bin_tree_t *.
2929         (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION.
2930         Return on COMPLEX_BRACKET.
2931         (duplicate_node_closure): Fix comment.
2932         (duplicate_node): Do not initialize the fields in the
2933         re_dfa_t that represent the transitions.
2934         (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP.
2935         (create_tree): Remove final argument.  All callers adjusted.  Rewritten
2936         to use create_token_tree.
2937         (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp,
2938         build_charclass_op): Use create_tree or create_token_tree instead
2939         of re_dfa_add_tree_node.
2940         (parse_dup_op): Likewise.  Also free the tree using free_tree for
2941         "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent
2942         to "a|".  Adjust invocation of mark_opt_subexp.
2943         (parse_sub_exp): Create a single SUBEXP node.
2944         * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
2945         always perform as if it was 1.  Do not initialize OPT_SUBEXP and
2946         DUPLICATED, and initialize the DFA fields representing the transitions.
2947         * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
2948         (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens
2949         section.  Add a tree-only code SUBEXP.  Remove OP_DELETED_SUBEXP.
2950         (bin_tree_t): Include a full re_token_t for TOKEN.  Turn FIRST and
2951         NEXT into pointers to trees.  Remove ECLOSURE.
2953 2004-12-28  Paolo Bonzini  <bonzini@gnu.org >
2955         [BZ #605]
2956         * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
2957         that were already created.
2958         * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
2959         in the token if needed.
2960         (create_ci_newstate, create_cd_newstate): Set accept_mb field
2961         from the tokens' field.
2962         * posix/regex_internal.h (re_token_t): Add accept_mb field.
2963         (ACCEPT_MB_NODE): Removed.
2964         * posix/regexec.c (proceed_next_node, transit_states_mb,
2965         build_sifted_states, check_arrival_add_next_nodes): Use
2966         accept_mb instead of ACCEPT_MB_NODE.
2968 2005-01-26  Ulrich Drepper  <drepper@redhat.com>
2970         * debug/chk_fail.c (__chk_fail): Print program name in final message.
2972         * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
2973         MSG_NOSIGNAL being in 2.2 kernels.
2975 2005-01-26  Jakub Jelinek  <jakub@redhat.com>
2977         * sysdeps/unix/sysv/linux/i386/sysdep.h
2978         (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm.
2980         [BZ #693]
2981         * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
2982         (WORD_DELIM_CONSTRAINT): ...this.
2983         (NOT_WORD_DELIM_CONSTRAINT): Define.
2984         (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
2985         change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
2986         * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
2987         anchor instead of INSIDE_WORD.
2988         (parse_expression): Handle NOT_WORD_DELIM constraint.
2989         * posix/bug-regex19.c (tests): Adjust tests that relied on \B
2990         being inside word instead of not word delim.
2991         * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
2992         characters.
2993         * posix/rxspencer/tests: Add some new tests.
2995 2005-01-14  GOTO Masanori  <gotom@debian.or.jp>
2997         * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
2998         irrespective of Cflag.
3000         * manual/memory.texi (sbrk): Fix definition.
3001         * manual/string.texi (strcasestr): Fix example typo.
3003 2005-01-25  Roland McGrath  <roland@redhat.com>
3005         * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
3007 2005-01-23  Roland McGrath  <roland@redhat.com>
3009         [BZ #737]
3010         * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
3011         in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
3012         * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
3013         (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
3014         from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
3015         * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
3017 2005-01-25  Jakub Jelinek  <jakub@redhat.com>
3019         [BZ #731]
3020         * stdlib/fmtmsg.c (addseverity): Remove new_string variable.
3021         (free_mem): Don't free string.
3022         * stdlib/tst-fmtmsg.c: Include string.h.
3023         (main): Add some more tests.
3025 2005-01-25  Andreas Schwab  <schwab@suse.de>
3027         [BZ #736]
3028         * timezone/asia: Update from tzdata2005c.
3029         * timezone/backward: Likewise.
3030         * timezone/europe: Likewise.
3031         * timezone/leapseconds: Likewise.
3032         * timezone/northamerica: Likewise.
3033         * timezone/southamerica: Likewise.
3035         [BZ #736]
3036         * timezone/private.h: Update from tzcode2005c.
3037         * timezone/tzfile.h: Likewise.
3038         * timezone/zdump.c: Likewise.
3039         * timezone/zic.c: Likewise.
3041 2005-01-25  Ulrich Drepper  <drepper@redhat.com>
3043         * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using
3044         RESOLVE.
3045         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code
3046         using RESOLVE.
3047         * elf/rtld.c (_dl_start): Remove RESOLVE definition.
3049 2005-01-25  Alan Modra  <amodra@bigpond.net.au>
3051         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
3052         sym_map, not sym, against zero.
3054 2005-01-24  Ulrich Drepper  <drepper@redhat.com>
3056         [BZ #671]
3057         * misc/syslog.c: Moved to...
3058         * sysdeps/generic/syslog.c: ...here.
3059         [NO_SIGIPE]: Don't install SIGPIPE handler.
3060         * sysdeps/unix/sysv/linux/syslog.c: New file.
3061         * sysdeps/unix/sysv/linux/kernel-features.h: Define
3062         __ASSUME_MSG_NOSIGNAL.
3064 2005-01-22  Richard Henderson  <rth@redhat.com>
3066         * sysdeps/alpha/dl-trampoline.S: New file.
3067         * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
3068         Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
3069         (elf_machine_runtime_setup): Test for dl_profile non-null.
3070         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
3071         * sysdeps/alpha/bits/link.h: New file.
3072         * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
3073         (struct audit_ifaces): Add alpha entries.
3074         * elf/tst-auditmod1.c: Add alpha entries.
3076 2005-01-22  Ulrich Drepper  <drepper@redhat.com>
3078         * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here.
3079         * sysdeps/ia64/dl-trampoline.S: New file.
3081         * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in
3082         La_x86_64_xmm definition.
3084         * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
3085         pointer option.
3086         * stdlib/Makefile (CFLAGS-system.os): Use this instead of
3087         CFLAGS-system.c for frame pointer option.
3089 2005-01-21  Roland McGrath  <roland@redhat.com>
3091         * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
3092         * sysdeps/i386/dl-machine.h: Update decl.
3094 2005-01-21  Jakub Jelinek  <jakub@redhat.com>
3096         [BZ #735]
3097         * elf/Makefile: Add rules to build and run tst-align2.
3098         * elf/tst-align2.c: New test.
3099         * elf/tst-alignmod2.c: New file.
3100         * sysdeps/powerpc/tst-stack-align.h: New file.
3101         * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame
3102         pointer before calling _dl_init.
3103         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3105 2005-01-20  Ulrich Drepper  <drepper@redhat.com>
3107         * posix/execl.c: Do not allocate potentially large buffers on the
3108         stack.
3109         * posix/execle.c: Likewise.
3110         * posix/execlp.c: Likewise.
3111         * posix/execvp.c: Likewise.
3112         (script_execute): Removed.
3113         (allocate_scripts_argv): New function.  Called at most once to
3114         allocate memory, not every time a script is run.  Adjust caller.
3116         * sysdeps/generic/wordexp.c (exec_comm): Add a few
3117         TEMP_FAILURE_RETRY.  Reorganize code to avoid multiple calls to
3118         exec_comm_child.
3119         (exec_comm_child): Can now be inlined.
3121         * posix/Makefile: Add -fomit-frame-pointer for a few more files.
3122         * stdlib/Makefile: Likewise.
3124 2005-01-19  Roland McGrath  <roland@redhat.com>
3126         [BZ #681]
3127         * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
3128         argument to execlp.
3129         Reported by Marcus Meissner <meissner@suse.de>.
3131 2005-01-19  Jakub Jelinek  <jakub@redhat.com>
3133         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
3134         in assert.
3135         * iconv/strtab.c (strtabfinalize): Likewise.
3137         * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
3139 2005-01-17  Roland McGrath  <roland@redhat.com>
3141         [BZ #745]
3142         * nscd/Makefile (LDLIBS-nscd): New variable.
3143         ($(objpfx)nscd): Use that instead of selinux-LIBS.
3145         * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)).
3146         (link-extra-libs-static): Define to $(link-extra-libs).
3147         (link-extra-libs-bounded): Likewise.
3149 2005-01-17  Ulrich Drepper  <drepper@redhat.com>
3151         * include/link.h: Remove stray definition of pltenter.
3153 2005-01-16  GOTO Masanori  <gotom@debian.or.jp>
3155         [BZ #734]
3156         * sysdeps/unix/rewinddir.c: Reset filepos.
3157         * dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
3159 2005-01-15  Ulrich Drepper  <drepper@redhat.com>
3161         * elf/tst-auditmod1.c: Reduce duplication.
3163 2005-01-16  Andreas Schwab  <schwab@suse.de>
3165         * sysdeps/m68k/dl-machine.h: Remove trampoline code.  Define
3166         ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
3167         (elf_machine_runtime_setup): If profile != 0 does not anymore mean
3168         GLRO(dl_profile) != NULL.
3169         * sysdeps/m68k/dl-trampoline.S: New file.
3170         * sysdeps/m68k/bits/link.h: New file.
3171         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
3172         variants.
3173         * elf/tst-auditmod1.c: Add m68k support.
3175 2005-01-14  Ulrich Drepper  <drepper@redhat.com>
3177         * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
3178         LC_* variable.  Patch by Aharon Robbins <arnold@skeeve.com>.
3180         [BZ #731]
3181         * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
3182         * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
3184 2005-01-12  Ulrich Drepper  <drepper@redhat.com>
3186         * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
3187         callers from libc anymore.
3189         * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller
3190         to _dl_map_object_deps.
3191         * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory
3192         protections when loading auditing modules.
3194         * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail.
3196         * posix/getconf.c: Update copyright year.
3197         * nss/getent.c: Likewise.
3198         * nscd/nscd_nischeck.c: Likewise.
3199         * iconv/iconvconfig.c: Likewise.
3200         * iconv/iconv_prog.c: Likewise.
3201         * elf/ldconfig.c: Likewise.
3202         * catgets/gencat.c: Likewise.
3203         * csu/version.c: Likewise.
3204         * elf/ldd.bash.in: Likewise.
3205         * elf/sprof.c (print_version): Likewise.
3206         * locale/programs/locale.c: Likewise.
3207         * locale/programs/localedef.c: Likewise.
3208         * nscd/nscd.c (print_version): Likewise.
3209         * debug/xtrace.sh: Likewise.
3210         * malloc/memusage.sh: Likewise.
3211         * malloc/mtrace.pl: Likewise.
3212         * debug/catchsegv.sh: Likewise.
3214 2005-01-11  Thorsten Kukuk  <kukuk@suse.de>
3216         [BZ #733]
3217         * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN
3218         as backlog.
3219         * sunrpc/svc_unix.c (svcunix_create): Likewise.
3221         * grp/putgrent.c (putgrent): Don't write 0 as group
3222         ID if groupname starts with + or -.
3223         * pwd/putpwent.c (putpwent): Don't write 0 as user or
3224         group ID if user name starts with + or -.
3226 2005-01-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3228         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants.
3229         * sysdeps/elf/tst-auditmod1.c: Add sh support.
3230         * sysdeps/sh/bits/link.h: New.
3231         * sysdeps/sh/dl-machine.h: Remove trampoline code here.  Define
3232         ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.  Remove obsolete comments.
3233         (RTLD_START): Define __fpscr_values.
3234         * sysdeps/sh/dl-trampoline.S: New file.
3235         * sysdeps/sh/sh4/dl-trampoline.S: New file.
3236         * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values.
3237         * sysdeps/sh/sh4/dl-machine.h: Remove.
3239 2005-01-10  Jakub Jelinek  <jakub@redhat.com>
3241         [BZ #732]
3242         * time/tst-strptime.c (day_tests): Add 2 new tests.
3243         (test_tm, main): Issue an error instead of segfaulting if
3244         strptime returns NULL.
3246 2005-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3248         * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union.
3249         * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise.
3251 2005-01-11  Ulrich Drepper  <drepper@redhat.com>
3253         * malloc/malloc.h: Remove no-glibc support.
3255 2005-01-12  GOTO Masanori  <gotom@debian.or.jp>
3257         [BZ #650]
3258         * malloc/malloc.h: Always include features.h.
3260 2005-01-10  Roland McGrath  <roland@redhat.com>
3262         * sysdeps/ia64/fpu/e_logl.c: File removed.
3264         * dlfcn/dlfcn.c (init): Fix typo in attribute decl.
3266 2005-01-10  Ulrich Drepper  <drepper@redhat.com>
3268         * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and
3269         recognition of last entry.
3271 2005-01-09  Ulrich Drepper  <drepper@redhat.com>
3273         * elf/dl-runtime.c: Include <sys/param.h>.
3275         * elf/Makefile (headers): Add bits/link.h.
3277 2005-01-09  Andreas Schwab  <schwab@suse.de>
3279         * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC.
3281 2005-01-09  Andreas Jaeger  <aj@suse.de>
3283         [BZ #732]
3284         * time/strptime_l.c (__strptime_internal): Add braces to avoid
3285         warning.
3287         * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0.
3289         * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
3291 2005-01-08  Jakub Jelinek  <jakub@redhat.com>
3293         * elf/Makefile (generated): Add tst-pie1{,.out,.o}.
3295 2005-01-09  Ulrich Drepper  <drepper@redhat.com>
3297         * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after
3298         those of all the regular objects.
3300         * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and
3301         use it to select the r_debug structure for that namespace.
3302         * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize.
3303         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3304         * elf/dl-open.c (_dl_open): Likewise.
3305         * elf/rtld.c (dl_main): Likewise.
3306         * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug
3307         member.
3308         (_dl_debug_initialize): Add new parameter in declaration.
3310         * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not
3311         called for the auditing objects themselves.
3312         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3314 2005-01-07  Ulrich Drepper  <drepper@redhat.com>
3316         * sysdeps/powerpc/powerpc64/dl-machine.h
3317         (elf_machine_runtime_setup): If profile != 0 does not anymore mean
3318         GLRO(dl_profile) != NULL.
3319         * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add
3320         padding.
3321         * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve):
3322         Extend _dl_prof_resolve to add pass extra parameters to
3323         _dl_profile_fixup and set up structure with register content.
3325         * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
3326         If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
3327         * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
3328         Extend _dl_prof_resolve to add pass extra parameters to
3329         _dl_profile_fixup and set up structure with register content.
3330         * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
3331         the register and result structures.
3332         * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
3333         in the 32-bit register and result structures.
3335         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
3337         * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file.
3338         * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here.
3339         Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
3340         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants.
3341         * elf/tst-auditmod1.c: Add ppc32 support.
3342         * sysdeps/powerpc/powerpc32/bits/link.h: New file.
3343         * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions.
3345         * malloc/malloc.c (malloc_printerr): Print program name as part of
3346         error message.
3348         * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define.
3349         * stdlib/stdlib.h: Make realloc with
3350         __attribute_warn_unused_result__ instead of __wur.
3351         * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__
3352         markers as in <stdlib.h>.
3354         * libio/stdio.h: Remove __wur from rename and remove.
3355         * posix/unistd.h: Remove __wur from dup2.
3357 2005-01-03  Andreas Jaeger  <aj@suse.de>
3359         * elf/Makefile (tests): Revert patch from 2005-01-03.
3361 2005-01-07  Ulrich Drepper  <drepper@redhat.com>
3363         * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't
3364         make __libc_init_first hidden.
3366         * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize
3367         l_relocated of rtld map.
3368         * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file.
3369         * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here.
3370         Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
3371         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants.
3372         * elf/tst-auditmod1.c: Add ppc64 support.
3373         * sysdeps/powerpc/powerpc64/bits/link.h: New file.
3375 2005-01-06  Roland McGrath  <roland@redhat.com>
3377         [BZ #633]
3378         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
3379         indicating file-name lookup errors, and return ENOSYS or EBADF instead.
3381 2005-01-06  Ulrich Drepper  <drepper@redhat.com>
3383         * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
3384         * sysdeps/generic/libc-start.c: Don't register program destructor here.
3386         * dlfcn/Makefile: Add rules to build dlfcn.c.
3387         (LDFLAGS-dl.so): Removed.
3388         * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
3389         table.
3390         * dlfcn/dlmopen.c: Likewise for _dl_open.
3391         * dlfcn/dlopen.c: Likewise.
3392         * dlfcn/dlopenold.c: Likewise.
3393         * elf/dl-libc.c: Likewise for _dl_open and _dl_close.
3394         * elf/Makefile (routines): Remove dl-open and dl-close.
3395         (dl-routines): Add dl-open, dl-close, and dl-trampoline.
3396         Add rules to build and run tst-audit1.
3397         * elf/tst-audit1.c: New file.
3398         * elf/tst-auditmod1.c: New file.
3399         * elf/Versions [libc]: Remove _dl_open and _dl_close.
3400         * elf/dl-close.c: Change for use inside ld.so instead of libc.so.
3401         * elf/dl-open.c: Likewise.
3402         * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
3403         signaled by nonzero parameter.
3404         * elf/dl-init.c: Fix use of r_state.
3405         * elf/dl-load.c: Likewise.
3407         * elf/dl-close.c: Add auditing checkpoints.
3408         * elf/dl-open.c: Likewise.
3409         * elf/dl-fini.c: Likewise.
3410         * elf/dl-load.c: Likewise.
3411         * elf/dl-sym.c: Likewise.
3412         * sysdeps/generic/libc-start.c: Likewise.
3413         * elf/dl-object.c: Allocate memory for auditing information.
3414         * elf/dl-reloc.c: Remove RESOLV.  We now always need the map.
3415         Correctly initialize slotinfo.
3416         * elf/dynamic-link.h: Adjust after removal of RESOLV.
3417         * sysdeps/hppa/dl-lookupcfg.h: Likewise.
3418         * sysdeps/ia64/dl-lookupcfg.h: Likewise.
3419         * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
3420         * elf/dl-runtime.c (_dl_fixup): Little cleanup.
3421         (_dl_profile_fixup): New parameters to point to register struct and
3422         variable for frame size.
3423         Add auditing checkpoints.
3424         (_dl_call_pltexit): New function.
3425         Don't define trampoline code here.
3426         * elf/rtld.c: Recognize LD_AUDIT.  Load modules on startup.
3427         Remove all the functions from _rtld_global_ro which only _dl_open
3428         and _dl_close needed.
3429         Add auditing checkpoints.
3430         * elf/link.h: Define symbols for auditing interfaces.
3431         * include/link.h: Likewise.
3432         * include/dlfcn.h: Define __RTLD_AUDIT.
3433         Remove prototypes for _dl_open and _dl_close.
3434         Adjust access to argc and argv in libdl.
3435         * dlfcn/dlfcn.c: New file.
3436         * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
3437         is gone.
3438         * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
3439         * sysdeps/generic/unsecvars.h: Add LD_AUDIT.
3440         * sysdeps/i386/dl-machine.h: Remove trampoline code here.
3441         Adjust for removal of RESOLVE.
3442         * sysdeps/x86_64/dl-machine.h: Likewise.
3443         * sysdeps/generic/dl-trampoline.c: New file.
3444         * sysdeps/i386/dl-trampoline.c: New file.
3445         * sysdeps/x86_64/dl-trampoline.c: New file.
3447         * sysdeps/generic/dl-tls.c: Cleanups.  Fixup for dtv_t change.
3448         Fix updating of DTV.
3449         * sysdeps/generic/libc-tls.c: Likewise.
3451         * sysdeps/arm/bits/link.h: Renamed to ...
3452         * sysdeps/arm/bits/linkmap.h: ...this.
3453         * sysdeps/generic/bits/link.h: Renamed to...
3454         * sysdeps/generic/bits/linkmap.h: ...this.
3455         * sysdeps/hppa/bits/link.h: Renamed to...
3456         * sysdeps/hppa/bits/linkmap.h: ...this.
3457         * sysdeps/i386/bits/link.h: Renamed to...
3458         * sysdeps/i386/bits/linkmap.h: ...this.
3459         * sysdeps/ia64/bits/link.h: Renamed to...
3460         * sysdeps/ia64/bits/linkmap.h: ...this.
3461         * sysdeps/s390/bits/link.h: Renamed to...
3462         * sysdeps/s390/bits/linkmap.h: ...this.
3463         * sysdeps/sh/bits/link.h: Renamed to...
3464         * sysdeps/sh/bits/linkmap.h: ...this.
3465         * sysdeps/x86_64/bits/link.h: Renamed to...
3466         * sysdeps/x86_64/bits/linkmap.h: ...this.
3468         * posix/unistd.h: Declare ftruncate for POSIX 2003.  [BZ #640]
3470 2004-12-22  Steven Munroe  <sjmunroe@us.ibm.com>
3472         [BZ #602]
3473         * math/libm-test.inc (rint_test_tonearest): New test.
3474         (rint_test_towardzero): New test.
3475         (rint_test_downward): New test.
3476         (rint_test_upward): New test.
3477         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case.
3478         Remove redundant const values.
3479         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case.
3480         Remove redundant const values.  Use float const.
3481         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case.
3482         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case.
3483         Use float const.
3484         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case.
3485         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case.
3486         Use float const.
3487         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case.
3488         Remove redundant const values.
3489         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case.
3490         Remove redundant const values.  Use float const.
3491         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case.
3492         Remove redundant const values.
3493         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case.
3494         Remove redundant const values.  Use float const.
3495         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword
3496         alignment.  Fix -0.0 case.  Remove redundant const values.
3497         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword
3498         alignment.  Fix -0.0 case.  Remove redundant const values.
3499         Use float const.
3500         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword
3501         alignment.  Fix -0.0 case.
3502         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword
3503         alignment.  Fix -0.0 case.  Use float const.
3504         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword
3505         alignment.  Fix -0.0 case.
3506         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword
3507         alignment.  Fix -0.0 case.  Use float const.
3508         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword
3509         alignment.  Fix -0.0 case.  Remove redundant const values.
3510         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword
3511         alignment.  Fix -0.0 case.  Remove redundant const values.
3512         Use float const.
3513         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword
3514         alignment.  Fix -0.0 case.
3515         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword
3516         alignment.  Fix -0.0 case.  Remove redundant const values.
3517         Use float const.
3519 2005-01-06  Ulrich Drepper  <drepper@redhat.com>
3521         * misc/sys/cdefs.h: Define __wur.
3522         * libio/stdio.h: Use __wur for a number of interfaces.
3523         * posix/unistd.h: Likewise.
3524         * stdlib/stdlib.h: Likewise.
3526 2004-12-29  Jakub Jelinek  <jakub@redhat.com>
3528         [BZ #592]
3529         * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use
3530         libc_hidden_proto instead of HIDDEN_PROTO.
3531         * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove.
3532         (__libm_error_support): If ASSEMBLER and in libc, define to
3533         HIDDEN_JUMPTARGET(__libm_error_support).
3535 2004-12-28  David Mosberger  <davidm@hpl.hp.com>
3537         [BZ #592]
3538         * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro.
3539         (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l}
3540         with $(duplicated-routines).
3541         (libm-sysdep_routines): Likewise, but substitute "s_" prefix for
3542         "m_" prefix.
3544 2004-12-27  David Mosberger  <davidm@hpl.hp.com>
3546         [BZ #592]
3547         * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and
3548         undefine "ret" macro.  Add __libm_error_support hidden definitions.
3550         [BZ #592]
3551         * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment.  Add
3552         missing portion of copyright statement.
3553         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
3554         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
3556         [BZ #592]
3557         * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment.  Add
3558         missing portion of copyright statement.
3559         (__ieee754_lgamma): Rename from lgamma().  Make lgamma() a weak alias.
3560         (__ieee754_gamma): Likewise.
3561         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
3562         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
3564 2004-12-09  H.J. Lu <hjl@lucon.org>
3566         [BZ #592]
3567         * sysdeps/ia64/fpu/s_nextafterl.c: Remove.
3568         * sysdeps/ia64/fpu/s_nexttoward.c: Likewise.
3569         * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise.
3570         * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c).
3571         * sysdeps/ia64/fpu/e_expl.S: Likewise.
3572         * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S).
3574 2004-11-18  David Mosberger  <davidm@hpl.hp.com>
3576         [BZ #592]
3577         * sysdeps/ia64/fpu/README: New file.
3578         * sysdeps/ia64/fpu/gen_import_file_list: New file.
3579         * sysdeps/ia64/fpu/import_check: Likewise.
3580         * sysdeps/ia64/fpu/import_diffs: Likewise.
3581         * sysdeps/ia64/fpu/import_file.awk: Likewise.
3582         * sysdeps/ia64/fpu/import_intel_libm: Likewise.
3583         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3585         [BZ #592]
3586         * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+.
3587         * sysdeps/ia64/fpu/e_acosf.S: Likewise.
3588         * sysdeps/ia64/fpu/e_acosl.S: Likewise.
3589         * sysdeps/ia64/fpu/e_asin.S: Likewise.
3590         * sysdeps/ia64/fpu/e_asinf.S: Likewise.
3591         * sysdeps/ia64/fpu/e_asinl.S: Likewise.
3592         * sysdeps/ia64/fpu/e_atan2.S: Likewise.
3593         * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
3594         * sysdeps/ia64/fpu/e_cosh.S: Likewise.
3595         * sysdeps/ia64/fpu/e_coshf.S: Likewise.
3596         * sysdeps/ia64/fpu/e_coshl.S: Likewise.
3597         * sysdeps/ia64/fpu/e_exp.S: Likewise.
3598         * sysdeps/ia64/fpu/e_expf.S: Likewise.
3599         * sysdeps/ia64/fpu/e_fmod.S: Likewise.
3600         * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
3601         * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
3602         * sysdeps/ia64/fpu/e_hypot.S: Likewise.
3603         * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
3604         * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
3605         * sysdeps/ia64/fpu/e_log.S: Likewise.
3606         * sysdeps/ia64/fpu/e_log2.S: Likewise.
3607         * sysdeps/ia64/fpu/e_log2f.S: Likewise.
3608         * sysdeps/ia64/fpu/e_log2l.S: Likewise.
3609         * sysdeps/ia64/fpu/e_logf.S: Likewise.
3610         * sysdeps/ia64/fpu/e_pow.S: Likewise.
3611         * sysdeps/ia64/fpu/e_powf.S: Likewise.
3612         * sysdeps/ia64/fpu/e_powl.S: Likewise.
3613         * sysdeps/ia64/fpu/e_remainder.S: Likewise.
3614         * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
3615         * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
3616         * sysdeps/ia64/fpu/e_scalb.S: Likewise.
3617         * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
3618         * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
3619         * sysdeps/ia64/fpu/e_sinh.S: Likewise.
3620         * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
3621         * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
3622         * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
3623         * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
3624         * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
3625         * sysdeps/ia64/fpu/libm_error.c: Likewise.
3626         * sysdeps/ia64/fpu/libm_reduce.c: Likewise.
3627         * sysdeps/ia64/fpu/libm_support.h: Likewise.
3628         * sysdeps/ia64/fpu/s_atan.S: Likewise.
3629         * sysdeps/ia64/fpu/s_atanf.S: Likewise.
3630         * sysdeps/ia64/fpu/s_atanl.S: Likewise.
3631         * sysdeps/ia64/fpu/s_cbrt.S: Likewise.
3632         * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
3633         * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
3634         * sysdeps/ia64/fpu/s_ceil.S: Likewise.
3635         * sysdeps/ia64/fpu/s_ceilf.S: Likewise.
3636         * sysdeps/ia64/fpu/s_ceill.S: Likewise.
3637         * sysdeps/ia64/fpu/s_cos.S: Likewise.
3638         * sysdeps/ia64/fpu/s_cosf.S: Likewise.
3639         * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3640         * sysdeps/ia64/fpu/s_expm1.S: Likewise.
3641         * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
3642         * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
3643         * sysdeps/ia64/fpu/s_fabs.S: Likewise.
3644         * sysdeps/ia64/fpu/s_fabsf.S: Likewise.
3645         * sysdeps/ia64/fpu/s_fabsl.S: Likewise.
3646         * sysdeps/ia64/fpu/s_floor.S: Likewise.
3647         * sysdeps/ia64/fpu/s_floorf.S: Likewise.
3648         * sysdeps/ia64/fpu/s_floorl.S: Likewise.
3649         * sysdeps/ia64/fpu/s_frexp.c: Likewise.
3650         * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
3651         * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
3652         * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
3653         * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
3654         * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
3655         * sysdeps/ia64/fpu/s_log1p.S: Likewise.
3656         * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
3657         * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
3658         * sysdeps/ia64/fpu/s_logb.S: Likewise.
3659         * sysdeps/ia64/fpu/s_logbf.S: Likewise.
3660         * sysdeps/ia64/fpu/s_logbl.S: Likewise.
3661         * sysdeps/ia64/fpu/s_modf.S: Likewise.
3662         * sysdeps/ia64/fpu/s_modff.S: Likewise.
3663         * sysdeps/ia64/fpu/s_modfl.S: Likewise.
3664         * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
3665         * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
3666         * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
3667         * sysdeps/ia64/fpu/s_rint.S: Likewise.
3668         * sysdeps/ia64/fpu/s_rintf.S: Likewise.
3669         * sysdeps/ia64/fpu/s_rintl.S: Likewise.
3670         * sysdeps/ia64/fpu/s_round.S: Likewise.
3671         * sysdeps/ia64/fpu/s_roundf.S: Likewise.
3672         * sysdeps/ia64/fpu/s_roundl.S: Likewise.
3673         * sysdeps/ia64/fpu/s_significand.S: Likewise.
3674         * sysdeps/ia64/fpu/s_significandf.S: Likewise.
3675         * sysdeps/ia64/fpu/s_significandl.S: Likewise.
3676         * sysdeps/ia64/fpu/s_tan.S: Likewise.
3677         * sysdeps/ia64/fpu/s_tanf.S: Likewise.
3678         * sysdeps/ia64/fpu/s_tanl.S: Likewise.
3679         * sysdeps/ia64/fpu/s_trunc.S: Likewise.
3680         * sysdeps/ia64/fpu/s_truncf.S: Likewise.
3681         * sysdeps/ia64/fpu/s_truncl.S: Likewise.
3683         [BZ #592]
3684         * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+.
3685         * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
3686         * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
3687         * sysdeps/ia64/fpu/e_atanh.S: Likewise.
3688         * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
3689         * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
3690         * sysdeps/ia64/fpu/e_exp10.S: Likewise.
3691         * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
3692         * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
3693         * sysdeps/ia64/fpu/e_exp2.S: Likewise.
3694         * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
3695         * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
3696         * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise.
3697         * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise.
3698         * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise.
3699         * sysdeps/ia64/fpu/e_logl.S: Likewise.
3700         * sysdeps/ia64/fpu/libm_frexp.S: Likewise.
3701         * sysdeps/ia64/fpu/libm_frexpf.S: Likewise.
3702         * sysdeps/ia64/fpu/libm_frexpl.S: Likewise.
3703         * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
3704         * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
3705         * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
3706         * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
3707         * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
3708         * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
3709         * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
3710         * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
3711         * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
3712         * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
3713         * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3714         * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
3715         * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3716         * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
3717         * sysdeps/ia64/fpu/s_asinh.S: Likewise.
3718         * sysdeps/ia64/fpu/s_asinhf.S: Likewise.
3719         * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
3720         * sysdeps/ia64/fpu/s_erf.S: Likewise.
3721         * sysdeps/ia64/fpu/s_erfc.S: Likewise.
3722         * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
3723         * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
3724         * sysdeps/ia64/fpu/s_erff.S: Likewise.
3725         * sysdeps/ia64/fpu/s_erfl.S: Likewise.
3726         * sysdeps/ia64/fpu/s_fdim.S: Likewise.
3727         * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
3728         * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
3729         * sysdeps/ia64/fpu/s_fma.S: Likewise.
3730         * sysdeps/ia64/fpu/s_fmaf.S: Likewise.
3731         * sysdeps/ia64/fpu/s_fmal.S: Likewise.
3732         * sysdeps/ia64/fpu/s_fmax.S: Likewise.
3733         * sysdeps/ia64/fpu/s_fmaxf.S: Likewise.
3734         * sysdeps/ia64/fpu/s_fmaxl.S: Likewise.
3735         * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
3736         * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
3737         * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
3738         * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
3739         * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
3740         * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
3741         * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
3742         * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
3743         * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
3744         * sysdeps/ia64/fpu/s_tanh.S: Likewise.
3745         * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
3746         * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
3747         * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
3748         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
3749         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
3750         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
3751         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
3752         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
3753         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
3755         [BZ #592]
3756         * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file.
3757         * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise.
3758         * sysdeps/ia64/fpu/e_gammal_r.c: Likewise.
3759         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
3760         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
3761         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
3762         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
3763         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
3764         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
3765         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
3766         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
3767         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
3768         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
3769         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
3770         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
3771         * sysdeps/ia64/fpu/w_expl.c: Likewise.
3772         * sysdeps/ia64/fpu/e_expl.S: Likewise.
3773         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
3774         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
3775         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
3776         * sysdeps/ia64/fpu/w_log2.c: Likewise.
3777         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
3778         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
3779         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
3780         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
3781         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
3783         [BZ #592]
3784         * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove.
3785         * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
3786         * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
3787         * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
3788         * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
3789         * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
3790         * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
3792         [BZ #592]
3793         * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file.
3794         * sysdeps/ia64/fpu/s_sincosf.c: Likewise.
3795         * sysdeps/ia64/fpu/s_sincosl.c: Likewise.
3797         [BZ #592]
3798         * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment.
3800         [BZ #592]
3801         * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l}
3802         alias for use by libm_error.c
3804         [BZ #592]
3805         * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove
3806         libm_atan2_reg, libm_tan, libm_frexp4{f,l}.
3807         Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l},
3808         libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l},
3809         libm_scalbn{,f,l}, libm_scalblnf.
3810         (sysdep_routines): Remove libm_frexp4{,f,l}.
3811         Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}.
3812         (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__,
3813         _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and
3814         -DSIZE_LONG_LONG_INT_64.
3816 2005-01-05  Steven Munroe  <sjmunroe@us.ibm.com>
3818         [BZ #729]
3819         * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and
3820         l_text_end are set for a VDSO with a single PT_LOAD entry.
3822 2005-01-05  Ulrich Drepper  <drepper@redhat.com>
3824         [BZ #730]
3825         * libio/iofopncook.c (_IO_cookie_seekoff): Define.  Mark offset as
3826         invalid to disable optimizations in fileops which won't work here.
3827         (_IO_cookie_jumps): Use it.
3828         (_IO_old_cookie_jumps): Likewise.
3829         * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P,
3830         not the return value.
3831         * stdio-common/Makefile (tests): Add tst-fmemopen2.
3832         * stdio-common/tst-fmemopen2.c: New file.
3834         * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD.
3836 2005-01-05  Roland McGrath  <roland@redhat.com>
3838         * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ...
3839         * sysdeps/i386/configure.in: ... here.  New file.
3841 2005-01-03  Ulrich Drepper  <drepper@redhat.com>
3843         [BZ #727]
3844         * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
3845         initialize __environ again.
3846         * stdlib/Makefile: Add rules to build and run tst-putenv.
3847         * stdlib/tst-putenv.c: New file.
3848         * stdlib/tst-putenvmod.c: New file.
3850         * sysdeps/unix/sysv/linux/init-first.c: Clean file up.  Don't
3851         define unnecessary wrappers or aliases of static functions.
3853 2005-01-03  Andreas Jaeger  <aj@suse.de>
3855         * csu/Makefile (generated): Add start.os and start.ob.
3857         * elf/Makefile (tests): Change rule for tst-pie1 so that make
3858         clean works.
3860 2004-12-29  Roland McGrath  <roland@redhat.com>
3862         [BZ #626]
3863         * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
3864         than always up; when nearest is zero, round up to one.
3866 2004-12-28  Ulrich Drepper  <drepper@redhat.com>
3868         * po/es.po: Update from translation team.
3870         [BZ #726]
3871         * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
3873 2004-12-27  Ulrich Drepper  <drepper@redhat.com>
3875         [BZ #744]
3876         * include/signal.h: Define __sigemptyset.
3878 2004-04-27  Paolo Bonzini  <bonzini@gnu.org>
3880         * posix/regex_internal.h (struct re_dfastate_t): Make
3881         word_trtable a pointer to the 512-item transition table.
3882         * posix/regexec.c (build_trtable): Fill in either state->trtable
3883         or state->word_trtable.  Return a boolean indicating success.
3884         (transit_state): Expect state->trtable to be a 256-item
3885         transition table.  Reorganize code to have less tests in
3886         the common case, and to save an indentation level.
3887         * posix/regex_internal.c (free_state): Free word_trtable.
3889 2004-12-21  Jakub Jelinek  <jakub@redhat.com>
3891         [BZ #723]
3892         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when
3893         calling fn is 16 byte aligned.
3894         * sysdeps/i386/tst-stack-align.h: New file.
3896         [BZ #725]
3897         * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
3898         (ecvt_r): Special case denormals.
3899         * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
3900         * misc/tst-efgcvt.c: Include float.h.
3901         (ecvt_tests): Add 2 new tests.
3903 2004-12-20  Roland McGrath  <roland@frob.com>
3905         * version.h (RELEASE, VERSION): development, 2.3.90
3906         * include/features.h (__GLIBC_MINOR__): Now 4.
3909 See ChangeLog.15 for earlier changes.