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