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