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