.
[glibc/history.git] / ChangeLog
blobdc9e0741c04c7647eb64a028663a75b2caee024e
1 2005-03-27  Bruno Haible  <bruno@clisp.org>
3         * intl/tst-gettext3.c: New file.
4         * intl/tst-gettext3.sh: New file.
5         * intl/Makefile (distribute): Add tst-gettext3.sh.
6         (test-srcs): Add tst-gettext3.
7         (tests): Depend on tst-gettext3.out.
8         (tst-gettext3.out): New rule.
9         (CFLAGS-tst-gettext3.c): New variable.
11         Fix bug exposed by tst-gettext3.
12         * intl/gettextP.h (struct converted_domain): New type.
13         (struct loaded_domain): Remove the conv, conv_tab fields. Add
14         conversions, nconversions fields.
15         (_nl_init_domain_conv): Remove declaration.
16         (_nl_free_domain_conv): Remove declaration.
17         (_nl_find_msg): Add convert argument.
18         * intl/dcigettext.c (DCIGETTEXT): Call _nl_find_msg with convert=1.
19         (_nl_find_msg): Add convert argument. When a conversion to a different
20         charset is needed, create a new converted_domain element, instead of
21         throwing away the old converted translations.
22         (get_output_charset): New function.
23         * intl/loadmsgcat.c (_nl_init_domain_conv): Remove function.
24         (_nl_free_domain_conv): Remove function.
25         (_nl_load_domain): Initialize the conversions array to empty. Use
26         _nl_find_msg instead of _nl_init_domain_conv to retrieve the header
27         entry.
28         (_nl_unload_domain): Free the conversions array and its contents.
30         * intl/gettextP.h (struct loaded_domain): Remove codeset_cntr field.
31         (struct binding): Likewise.
32         * intl/bindtextdom.c (set_binding_values): Drop codeset_cntr
33         modifications.
35 2005-04-04  Jakub Jelinek  <jakub@redhat.com>
37         * sunrpc/pmap_rmt.c (xdr_rmtcall_args): Use a dummy arglen instead
38         of trying to encode uninitialized arglen.
40 2005-04-04  Ulrich Drepper  <drepper@redhat.com>
42         * timezone/scheck.c: Update from tzcode2005h.
43         * timezone/tzfile.h: Likewise.
44         * timezone/zdump.c: Likewise.
45         * timezone/zic.c: Likewise.
47         * timezone/antarctica: Update from tzdata2005h.
48         * timezone/asia: Likewise.
49         * timezone/australasia: Likewise.
50         * timezone/etcetera: Likewise.
51         * timezone/europe: Likewise.
52         * timezone/northamerica: Likewise.
53         * timezone/southamerica: Likewise.
54         * timezone/leapseconds: Likewise.
55         * timezone/iso3166.tab: Likewise.
57 2005-03-31  H.J. Lu  <hongjiu.lu@intel.com>
59         * sysdeps/ia64/fpu/libm_cpu_defs.h: Update copyright.
61 2005-04-01  Ulrich Drepper  <drepper@redhat.com>
63         * wcsmbs/btowc.c (__btowc): Optimize parameters in ASCII range.
64         * wcsmbs/wctob.c (wctob): Likewise.
65         * wcsmbs/wchar.h (btowc): Add optimized inline function.
66         (wctob): Likewise.
68 2005-03-31  Jakub Jelinek  <jakub@redhat.com>
70         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Use functionally
71         equivalent, but shorter instructions.
72         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
73         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
74         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
75         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
76         * sysdeps/unix/x86_64/sysdep.S: Likewise.
77         * sysdeps/x86_64/strchr.S: Likewise.
78         * sysdeps/x86_64/memset.S: Likewise.
79         * sysdeps/x86_64/strcspn.S: Likewise.
80         * sysdeps/x86_64/strcmp.S: Likewise.
81         * sysdeps/x86_64/elf/start.S: Likewise.
82         * sysdeps/x86_64/strspn.S: Likewise.
83         * sysdeps/x86_64/dl-machine.h: Likewise.
84         * sysdeps/x86_64/bsd-_setjmp.S: Likewise.
85         * sysdeps/x86_64/bsd-setjmp.S: Likewise.
86         * sysdeps/x86_64/strtok.S: Likewise.
88 2005-03-30  H.J. Lu  <hongjiu.lu@intel.com>
90         * sysdeps/ia64/fpu/e_acosf.S: Update from Intel libm 2005-03-21.
91         * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
92         * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
93         * sysdeps/ia64/fpu/e_acosh.S: Likewise.
94         * sysdeps/ia64/fpu/e_acosl.S: Likewise.
95         * sysdeps/ia64/fpu/e_acos.S: Likewise.
96         * sysdeps/ia64/fpu/e_asinf.S: Likewise.
97         * sysdeps/ia64/fpu/e_asinl.S: Likewise.
98         * sysdeps/ia64/fpu/e_asin.S: Likewise.
99         * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
100         * sysdeps/ia64/fpu/e_atan2.S: Likewise.
101         * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
102         * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
103         * sysdeps/ia64/fpu/e_atanh.S: Likewise.
104         * sysdeps/ia64/fpu/e_coshf.S: Likewise.
105         * sysdeps/ia64/fpu/e_coshl.S: Likewise.
106         * sysdeps/ia64/fpu/e_cosh.S: Likewise.
107         * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
108         * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
109         * sysdeps/ia64/fpu/e_exp10.S: Likewise.
110         * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
111         * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
112         * sysdeps/ia64/fpu/e_exp2.S: Likewise.
113         * sysdeps/ia64/fpu/e_expf.S: Likewise.
114         * sysdeps/ia64/fpu/e_exp.S: Likewise.
115         * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
116         * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
117         * sysdeps/ia64/fpu/e_fmod.S: Likewise.
118         * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
119         * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
120         * sysdeps/ia64/fpu/e_hypot.S: Likewise.
121         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
122         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
123         * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
124         * sysdeps/ia64/fpu/e_log2f.S: Likewise.
125         * sysdeps/ia64/fpu/e_log2l.S: Likewise.
126         * sysdeps/ia64/fpu/e_log2.S: Likewise.
127         * sysdeps/ia64/fpu/e_logf.S: Likewise.
128         * sysdeps/ia64/fpu/e_logl.S: Likewise.
129         * sysdeps/ia64/fpu/e_log.S: Likewise.
130         * sysdeps/ia64/fpu/e_powf.S: Likewise.
131         * sysdeps/ia64/fpu/e_powl.S: Likewise.
132         * sysdeps/ia64/fpu/e_pow.S: Likewise.
133         * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
134         * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
135         * sysdeps/ia64/fpu/e_remainder.S: Likewise.
136         * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
137         * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
138         * sysdeps/ia64/fpu/e_scalb.S: Likewise.
139         * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
140         * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
141         * sysdeps/ia64/fpu/e_sinh.S: Likewise.
142         * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
143         * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
144         * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
145         * sysdeps/ia64/fpu/libm_error.c: Likewise.
146         * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
147         * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
148         * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
149         * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
150         * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
151         * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
152         * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
153         * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
154         * sysdeps/ia64/fpu/libm_support.h: Likewise.
155         * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
156         * sysdeps/ia64/fpu/s_asinh.S: Likewise.
157         * sysdeps/ia64/fpu/s_atanf.S: Likewise.
158         * sysdeps/ia64/fpu/s_atanl.S: Likewise.
159         * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
160         * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
161         * sysdeps/ia64/fpu/s_cosf.S: Likewise.
162         * sysdeps/ia64/fpu/s_cosl.S: Likewise.
163         * sysdeps/ia64/fpu/s_cos.S: Likewise.
164         * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
165         * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
166         * sysdeps/ia64/fpu/s_erfc.S: Likewise.
167         * sysdeps/ia64/fpu/s_erfl.S: Likewise.
168         * sysdeps/ia64/fpu/s_erf.S: Likewise.
169         * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
170         * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
171         * sysdeps/ia64/fpu/s_expm1.S: Likewise.
172         * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
173         * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
174         * sysdeps/ia64/fpu/s_fdim.S: Likewise.
175         * sysdeps/ia64/fpu/s_frexp.c: Likewise.
176         * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
177         * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
178         * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
179         * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
180         * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
181         * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
182         * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
183         * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
184         * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
185         * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
186         * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
187         * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
188         * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
189         * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
190         * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
191         * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
192         * sysdeps/ia64/fpu/s_log1p.S: Likewise.
193         * sysdeps/ia64/fpu/s_logbf.S: Likewise.
194         * sysdeps/ia64/fpu/s_logbl.S: Likewise.
195         * sysdeps/ia64/fpu/s_logb.S: Likewise.
196         * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
197         * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
198         * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
199         * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
200         * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
201         * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
202         * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
203         * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
204         * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
205         * sysdeps/ia64/fpu/s_roundf.S: Likewise.
206         * sysdeps/ia64/fpu/s_roundl.S: Likewise.
207         * sysdeps/ia64/fpu/s_round.S: Likewise.
208         * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
209         * sysdeps/ia64/fpu/s_scalbn.c: Likewise.
210         * sysdeps/ia64/fpu/s_scalbnf.c: Likewise.
211         * sysdeps/ia64/fpu/s_scalbnl.c: Likewise.
212         * sysdeps/ia64/fpu/s_tanf.S: Likewise.
213         * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
214         * sysdeps/ia64/fpu/s_tanh.S: Likewise.
215         * sysdeps/ia64/fpu/s_tanl.S: Likewise.
216         * sysdeps/ia64/fpu/s_tan.S: Likewise.
217         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
218         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
219         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
220         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
221         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
222         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
224         * sysdeps/ia64/fpu/libm_cpu_defs.h: New file.
225         * sysdeps/ia64/fpu/libm_error_codes.h: New file.
227         * sysdeps/ia64/fpu/gen_import_file_list: Updated for Intel libm
228         2005-03-21.
229         * sysdeps/ia64/fpu/import_file.awk: Likewise.
230         * sysdeps/ia64/fpu/import_intel_libm: Likewise.
231         * sysdeps/ia64/fpu/Makefile: Likewise.
233 2005-03-29  Jakub Jelinek  <jakub@redhat.com>
235         * posix/fnmatch.c (fnmatch): For short patterns or strings attempt to
236         avoid calling mbsrtowcs twice.
238 2005-03-29  Roland McGrath  <roland@redhat.com>
240         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): New
241         function, inline broken out of ...
242         (DL_SYSDEP_OSCHECK): ... here.  Use that.
243         Do the discovery and set GLRO(dl_osversion) if successful,
244         if __LINUX_KERNEL_VERSION <= 0.
245         * elf/dl-load.c: Don't include dl-osinfo.h here.
247 2005-03-29  Alfred M. Szmidt  <ams@gnu.org>
249         * manual/install.texi (Tools for Compilation): GNU binutils 2.15
250         is now needed.
252 2005-03-19  Bruno Haible  <bruno@clisp.org>
254         * intl/dcigettext.c (struct known_translation_t): Change type of
255         domainname field to 'const char *'.
256         (DCIGETTEXT): Remove const-cast.
258 2005-03-29  Thorsten Kukuk  <kukuk@suse.de>
260         [BZ #661]
261         * grp/initgroups.c (internal_getgrouplist): Check if we have
262         enough space before adding the primary group to the list.
264         * posix/tst-execle1.c (do_test): Fix execle arguments.
265         * posix/tst-execle2.c (do_test): Likewise.
267 2005-03-28  Roland McGrath  <roland@redhat.com>
269         * sysdeps/generic/w_exp2.c [NO_LONG_DOUBLE]: Fix typos in alias names.
270         Reported by Mark Mitchell <mark@codesourcery.com>.
271         * Versions.def (libm): Define GLIBC_2.4 set.
272         * math/Versions (libm: GLIBC_2.4): Add this set, with exp2l.
273         * sysdeps/i386/Versions (libm: GLIBC_2.1): Add this set, with exp2l.
274         * sysdeps/ia64/Versions: Likewise.
275         * sysdeps/m68k/Versions: Likewise.
276         * sysdeps/sparc/sparc64/Versions: Likewise.
277         * sysdeps/x86_64/Versions: New file.
278         * sysdeps/mips/mips64/Versions: New file.
280         * locale/langinfo.h (_NL_LOCALE_NAME): New macro.
281         [__USE_GNU] (NL_LOCALE_NAME): New macro.
282         * locale/nl_langinfo.c: Grok special item value for _NL_LOCALE_NAME,
283         return locale name string for the category.
285 2005-03-25  Jakub Jelinek  <jakub@redhat.com>
287         * sysdeps/generic/wcstoul_l.c: Include "wcstol_l.c" rather than
288         <wcstol_l.c>.
290 2005-03-28  Daniel Jacobowitz  <dan@codesourcery.com>
292         * sysdeps/mips/atomicity.h: Remove unused file.
293         * sysdeps/mips/dl-machine.h (elf_machine_rel): Add TLS relocations.
294         * sysdeps/mips/dl-tls.h: New file.
295         * sysdeps/mips/libc-tls.c: New file.
296         * sysdeps/mips/tls-macros.h: New file.
297         * sysdeps/mips/bits/atomic.h: New file.
298         * sysdeps/mips/bits/setjmp.h: Protect against multiple inclusion.
299         * sysdeps/mips/elf/configure.in: New file.
300         * sysdeps/mips/elf/configure: Generated.
301         * sysdeps/mips/sys/asm.h: New file.
302         * sysdeps/unix/sysv/linux/mips/vfork.S: New file.
303         * sysdeps/unix/sysv/linux/mips/clone.S: Add NPTL and five-argument
304         clone support.
305         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
306         (INTERNAL_SYSCALL_NCS): New.
307         (INTERNAL_SYSCALL): Update for non-constant support.
308         (internal_syscall0): Likewise.
309         (internal_syscall1): Likewise.
310         (internal_syscall2): Likewise.
311         (internal_syscall3): Likewise.
312         (internal_syscall4): Likewise.
313         (internal_syscall5): Likewise.
314         (internal_syscall6): Likewise.
315         (internal_syscall7): Likewise.
316         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SIGEV_THREAD):
317         Update to match the kernel.
318         (SIGEV_CALLBACK): Likewise.
319         (SIGEV_THREAD_ID): Likewise.
321 2005-03-28  Daniel Jacobowitz  <dan@codesourcery.com>
323         [BZ #783]
324         * elf/tst-auditmod1.c: Add MIPS support.
325         * sysdeps/generic/ldsodefs.h (La_mips_32_regs): New.
326         (La_mips_32_retval): New.
327         (La_mips_64_regs): New.
328         (La_mips_64_retval): New.
329         (struct audit_ifaces): Add MIPS entries.
330         * sysdeps/mips/dl-machine.h: Check RESOLVE_MAP instead of RESOLVE.
331         (elf_machine_runtime_link_map, ELF_DL_FRAME_SIZE,
332         ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS,
333         ELF_MACHINE_RUNTIME_TRAMPOLINE): Move to dl-trampoline.c.
334         (RTLD_START): Align the stack before calling _dl_init_internal.
335         Use .ent for _dl_start_user.
336         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): Define.
337         (elf_machine_rel, elf_machine_rel_relative, elf_machine_lazy_rel)
338         (elf_machine_runtime_setup): Use "auto inline".
339         (elf_machine_rela, elf_machine_rela_relative): Provide empty versions.
340         (elf_machine_got_rel): Likewise.  Use RESOLVE_MAP.
341         * sysdeps/mips/dl-trampoline.c: New file.
342         * sysdeps/mips/bits/link.h: New file.
343         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
344         (internal_syscall5): Use register operands instead of non-lvalue
345         memory operands.
346         (internal_syscall6): Likewise.
347         (internal_syscall7): Likewise.
349 2005-03-27  Andreas Jaeger  <aj@suse.de>
351         * debug/warning-nop.c (__builtin___memcpy_chk): Define away to
352         avoid warnings with older compiler.
353         (__builtin___memcpy_chk): Likewise.
354         (__builtin___memmove_chk: Likewise.
355         (__builtin___mempcpy_chk): Likewise.
356         (__builtin___memset_chk): Likewise.
357         (__builtin___stpcpy_chk): Likewise.
358         (__builtin___strcat_chk): Likewise.
359         (__builtin___strcpy_chk): Likewise.
360         (__builtin___strncat_chk): Likewise.
361         (__builtin___strncpy_chk): Likewise.
362         (__builtin_object_size): Likewise.
364 2005-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
366         * elf/tls-macros.h: Correct typo.
368 2005-03-23  Jakub Jelinek  <jakub@redhat.com>
370         * nis/ypclnt.c (yp_2_yperr): Revert 2004-11-30 patch.
371         (ypprot_err): Use yp_2_yperr table also for YP_NODOM .. YP_NOMORE.
373 2005-03-22  Roland McGrath  <roland@redhat.com>
375         * locale/setlocale.c: Comment typo.
377         * scripts/versions.awk: No errors for GLIBC_PRIVATE.
379         * Versions.def (libdl, librt): Add GLIBC_2.3.4 version.
381         * scripts/versions.awk: Print all errors and die at the end.
382         Use library name in versions array keys.
384 2005-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
386         * elf/elf.h (PT_ARM_EXIDX): New macro.
388 2005-03-21  Thorsten Kukuk  <kukuk@suse.de>
390         * sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong):
391         Convert correctly between long/int on 64bit big-endian.
393 2005-03-21  David Mosberger  <davidm@hpl.hp.com>
395         * sysdeps/ia64/_mcount.S: Newer kernels don't like register-frames
396         with more than 8 output registers.  Fix this by passing original
397         ar.pfs to _mcount_ret_helper via r3.
399 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
401         [BZ #786]
402         * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Handle
403         GL(dl_tls_static_nelem) == GL(dl_tls_max_dtv_idx).
404         * elf/Makefile: Add rules to build and run tst-tls15.
405         * elf/tst-tls15.c: New test.
406         * elf/tst-tlsmod15a.c: New file.
407         * elf/tst-tlsmod15b.c: New file.
409 2005-03-20  Ulrich Drepper  <drepper@redhat.com>
411         * elf/rtld.c (dl_main): Always call init_tls if we have audit modules.
413 2005-03-20  Alfred M. Szmidt  <ams@gnu.org>
415         * elf/dl-open.c (dl_open_worker): Fix typo.
417 2005-03-20  Ulrich Drepper  <drepper@redhat.com>
419         * malloc/malloc.c (public_cALLOc): We cannot skip the memory
420         clearing if perturb_byte != 0.
422 2005-03-20  Jakub Jelinek  <jakub@redhat.com>
424         * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t
425         instead of __off_t for last argument.
426         * debug/Makefile (tests): Add tst-lfschk{1,2,3}.
427         * debug/tst-lfschk1.c: New test.
428         * debug/tst-lfschk2.c: New test.
429         * debug/tst-lfschk3.c: New test.
431 2005-02-09  Jakub Jelinek  <jakub@redhat.com>
433         * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define.
434         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC
435         and __USE_XOPEN guards to match linux/bits/termios.h.
436         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
437         (CMSPAR): Define.
438         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
440 2005-02-10  H.J. Lu  <hongjiu.lu@intel.com>
442         * sysdeps/ia64/elf/initfini.c: Add local _init and _fini labels.
444 2005-02-27  Denis Barbier  <barbier@debian.org>
446         [BZ #38]
447         * locale/iso-4217.def: Add CSD currency.
449 2005-03-19  Ulrich Drepper  <drepper@redhat.com>
451         * inet/test-ifaddrs.c: Use test-skeleton.
452         * inet/test_ifindex.c: Likewise.
454         * elf/dl-lookup.c (add_dependency): Always search l_initfini if
455         the list exists.
457         * elf/Makefile: Add rules to build and run order2.
458         * elf/order2.c: New file.
459         * elf/order2mod1.c: New file.
460         * elf/order2mod2.c: New file.
461         * elf/order2mod3.c: New file.
462         * elf/order2mod4.c: New file.
464 2005-03-19  Jakub Jelinek  <jakub@redhat.com>
466         * elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value,
467         it has been incremented before.
469 2005-03-18  Ulrich Drepper  <drepper@redhat.com>
471         * elf/dl-fini.c (_dl_fini): Split sorting of the maps in separate
472         function _dl_sort_fini.
473         (_dl_sort_fini): New function.
474         * sysdeps/generic/ldsodefs.h: Declare _dl_sort_fini.
475         * elf/dl-close.c (_dl_close): Call _dl_sort_fini before running
476         destructors to call them in the right order.
478 2005-02-07  Steven Munroe  <sjmunroe@us.ibm.com>
480         * sysdeps/powerpc/bits/link.h (La_ppc64_regs): Add lr_vrsave.
481         (La_ppc64_retval): Correct size of lrc_fp.
482         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_profile_resolve):
483         Fix up ABI problems and complete function.
485 2005-03-10  Jakub Jelinek  <jakub@redhat.com>
487         * math/test-misc.c (main): Add some more tests.
489 2005-03-17  Jakub Jelinek  <jakub@redhat.com>
491         * posix/regcomp.c (re_compile_fastmap_iter): Fix check for failed
492         __wcrtomb.  Check return values of other __wcrtomb calls.
493         * posix/regex_internal.c (build_wcs_buffer, re_string_skip_chars):
494         Change mbclen type to size_t.
495         (build_wcs_upper_buffer): Change mbclen and mbcdlen type to size_t.
496         Handle mb chars whose upper case doesn't have multibyte representation
497         in locale's charset.
499 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
501         * malloc/malloc.c (_int_icalloc, _int_icomalloc, iALLOc,
502         public_iCALLOc, public_iCALLOc, public_iCOMALLOc): Protect with
503         #ifndef _LIBC.
505         [BZ #779]
506         * malloc/malloc.c (public_mTRIm): Initialize malloc if not yet
507         initialized.
509 2005-03-10  Jakub Jelinek  <jakub@redhat.com>
511         * misc/sys/cdefs.h (__always_inline): Define.
512         * posix/bits/unistd.h (read, pread, pread64, readlink, getcwd, getwd):
513         Use __always_inline instead of __inline.
514         * socket/bits/socket2.h (recv, recvfrom): Likewise.
515         * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Likewise.
516         * string/bits/string3.h (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk,
517         __memset_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk,
518         __strcat_ichk, __strncat_ichk): Use __always_inline instead of
519         __inline__ __attribute__ ((__always_inline__)).
521 2005-03-09  Jakub Jelinek  <jakub@redhat.com>
523         * debug/tst-chk1.c: Include sys/socket.h and sys/un.h.
524         (do_test): Add new tests for recv, recvfrom, getcwd, getwd and
525         readlink.  Add some more tests for read, pread, pread64, fgets and
526         fgets_unlocked.
528         * posix/bits/unistd.h (read, pread, pread64, readlink,
529         getcwd, getwd): Change macros into extern inline functions.
530         (__read_alias, __pread_alias, __pread64_alias, __readlink_alias,
531         __getcwd_alias, __getwd_alias): New prototypes.
532         * socket/bits/socket2.h (recv, recvfrom): Change macros into
533         extern inline functions.
534         (__recv_alias, __recvfrom_alias): New prototypes.
535         * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Change macros
536         into extern inline functions.
537         (__gets_alias, __fgets_alias, __fgets_unlocked_alias): New prototypes.
539         * debug/pread_chk.c (__pread_chk): Fix order of arguments passed
540         to __pread.
541         * debug/pread64_chk.c (__pread64_chk): Fix order of arguments passed
542         to __pread64.
544 2005-03-18  Daniel Jacobowitz  <dan@codesourcery.com>
546         * configure.in: Use %function instead of @function.
548 2005-03-18  Ulrich Drepper  <drepper@redhat.com>
550         * include/link.h (struct link_map): Remove l_opencount.  Add l_removed.
551         Change type of l_idx to int.
552         * elf/dl-close.c: Basically rewrite.  Do not use l_opencount to
553         determine whether a DSO has to be unloaded.  Instead compute this
554         in this function.
555         * elf/dl-deps.c: No need to manipulate l_opencount anymore.
556         * elf/dl-lookup.c: Likewise.
557         * elf/rtld.c: Likewise
558         * elf/dl-open.c: Likewise.  Use l_init_called to determine whether
559         object was just loaded.
560         * elf/dl-fini.c: Bump l_direct_opencount instead of l_opencount.
561         * elf/dl-load.c (_dl_map_object_from_fd): Do not recognize DSO which
562         is about to be unloaded as a match.
563         (_dl_map_object): Likewise.
564         * elf/do-lookup.h (do_lookup_x): Do not look into DSO which is about
565         to be unloaded.
566         * elf/circleload1.c: Don't use l_opencount anymore.
567         * elf/neededtest.c: Likewise.
568         * elf/neededtest2.c: Likewise.
569         * elf/neededtest3.c: Likewise.
570         * elf/neededtest4.c: Likewise.
571         * elf/unload.c: Likewise.
572         * elf/unload2.c: Likewise.
573         * elf/loadtest.c: Likewise.
575         * elf/rtld.c: Preloading errors are now never fatal.
577 2005-03-08  Jakub Jelinek  <jakub@redhat.com>
579         * elf/Makefile: Add rules to build and run unload5 test.
580         * elf/unload5.c: New file.
582 2005-03-08  Jakub Jelinek  <jakub@redhat.com>
584         * elf/Makefile: Add rules to build and run unload4 test.
585         * elf/unload4.c: New file.
586         * elf/unload4mod1.c: New file.
587         * elf/unload4mod2.c: New file.
588         * elf/unload4mod3.c: New file.
589         * elf/unload4mod4.c: New file.
591 2005-03-17  Roland McGrath  <roland@redhat.com>
593         * nscd/aicache.c (addhstaiX): Tweak type to avoid warning.
595 2005-03-16  Richard Henderson  <rth@redhat.com>
597         * include/libc-symbols.h (__hidden_proto): Remove bogus declaration
598         of internal.
599         (__hidden_def1, __hidden_dot_def1): Remove.
600         (__hidden_def2, __hidden_def3): Remove.
601         (__hidden_ver1): New.
602         (hidden_ver, hidden_def, hidden_weak): Use it.
603         (hidden_data_ver, hidden_data_ver, hidden_data_weak): Use non-data
604         version of the macro.
606         * include/wchar.h (__wcscoll): Remove.
607         * wcsmbs/wcscoll.c: Define wcscoll directly instead of via __wcscoll.
608         * string/strcoll.c: Don't issue libc_hidden_def STRCOLL redefined.
610 2005-03-16  Daniel Jacobowitz  <dan@codesourcery.com>
612         * elf/elf.h: Define MIPS TLS relocations.
614 2005-03-16  Ulrich Drepper  <drepper@redhat.com>
616         * elf/circleload1.c (main): Pretty printing.
618 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
620         * sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword.
621         Patch by Dan Kegel <dank@kegel.com>.
623         * elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative,
624         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
625         Add inline keyword.
626         * sysdeps/alpha/dl-machine.h (elf_machine_rela,
627         elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline
628         attribute.
629         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
630         elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.  Change
631         static inline into auto inline.
632         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
633         elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
634         * sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela):
635         Likewise.
636         * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative,
637         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
638         Likewise.
640 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
642         [BZ #789]
643         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Fix asm constraints.
644         Remove memory clobber.
646         * sysdeps/x86_64/hp-timing.h (HP_TIMING_ACCUM): Make the addition
647         thread-safe.  Subtract GLRO(dl_hp_timing_overhead) from Diff.
649 2005-03-14  Jakub Jelinek  <jakub@redhat.com>
651         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Don't include
652         asm/types.h.
654 2005-03-10  GOTO Masanori  <gotom@debian.or.jp>
656         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and
657         MAP_NONBLOCK.
658         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
659         Correct MAP_GROWSDOWN value.
661 2005-03-13  Roland McGrath  <roland@redhat.com>
663         * elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps
664         version if there is one.  Only #error if macros are then undefined.
665         * sysdeps/generic/tls-macros.h: New file.
667 2005-03-10  GOTO Masanori  <gotom@debian.or.jp>
669         * sysdeps/hppa/configure.in: Remove old Makefile leftovers.
670         * sysdeps/hppa/configure: Regenerated.
672 2005-03-08  Roland McGrath  <roland@redhat.com>
674         * sysdeps/gnu/errlist-compat.awk: Use NERR in all array decls, so
675         array types match exactly in C alias decls.
677 2005-03-07  Ulrich Drepper  <drepper@redhat.com>
679         * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call
680         mallopt appropriately.
681         * malloc/malloc.h: Define M_PERTURB.
682         * malloc/malloc.c (perturb_byte): New variable.
683         (alloc_perturb, free_perturb): New macros.
684         (_int_malloc): Before returning, overwrite the memory if this is
685         requested.
686         (_int_free): Overwrite freed memory if requested.
687         (mALLOPt): Handle M_PERTURB.
688         * test-skeleton.c: Add call to mallopt with M_PERTURB command.
690         * elf/dl-close.c (_dl_close): Decrement l_opencount before
691         printing debug message.
692         * elf/dl-open.c (dl_open_worker): Always print the new opencount
693         in debug messages.
695 2005-03-06  Ulrich Drepper  <drepper@redhat.com>
697         * elf/dl-close.c (_dl_close): Unify debug message format.
699         * elf/dl-close.c (_dl_close): Print debug message just before
700         destroying a link map.
702         * elf/do-lookup.h (do_lookup_x): Add namespace info to debug output.
703         * elf/dl-version.c (match_symbol): Likewise.
705         * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code.
707         * debug/recv_chk.c (__recv_chk): Always fail if request could
708         overflow the buffer.
709         * debug/recvfrom_chk.c (__recvfrom_chk): Likewise.
710         * socket/bits/socket2.h (recv): Avoid calls to the _chk variant if
711         we know the call succeeds.
712         (recvfrom): Likewise.
714 2005-03-05  Ulrich Drepper  <drepper@redhat.com>
716         * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid
717         warning.
718         * posix/regex_internal.c (re_string_reconstruct): Add cast to
719         avoid warning.
720         (build_wcs_upper_buffer): Change type of bug to plain char.
721         * locale/weightwc.h (findidx): Add casts to avoid warnings.
722         * time/mktime.c (ranged_convert): Initialize tm to make the
723         compiler happy.
724         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add casts to avoid warnings.
725         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Add casts to avoid warnings.
726         * wcsmbs/mbsnrtowcs.c: Add casts to avoid warnings.
727         * wcsmbs/wcsrtombs.c (__wcsrtombs): Add casts to avoid warnings.
728         * wcsmbs/wcrtomb.c (__wcrtomb): Add casts to avoid warnings.
729         * wcsmbs/mbrtowc.c (__mbrtowc): Use unsigned char for outbuf.
730         * wcsmbs/wctob.c (wctob): Make buf array of unsigned char.
731         * sysdeps/generic/strchrnul.c: Add cast to avoid warning.
732         * libio/iofwide.c: Add casts to avoid warnings.
733         * stdio-common/printf-prs.c (parse_printf_format): Introduce new
734         variable f to avoid warnings.
735         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
736         Fix a few casts to avoid warnings.
737         * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned
738         to avoid warning.
740         * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using
741         dynamically sized array.
742         (build_wcs_upper_buffer): Likewise.
744 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
746         * include/bits/unistd.h: New file.
747         * include/bits/socket2.h: New file.
749 2005-03-05  Ulrich Drepper  <drepper@redhat.com>
751         * sunrpc/key_call.c: Remove doors support.
752         * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition.
753         * configure.in: Remove test for doors support which never existed.
754         * config.make.in: Remove have_doors entry.
756         * configure.in: Make sure at least gcc 3.4 is used.  Undo last change.
757         * config.make.in: Undo last change.
759         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Unconditionally use
760         -mtune.
762 2005-03-05  Roland McGrath  <roland@redhat.com>
764         * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl.
765         (_dl_out_of_memory): Use rtld_hidden_proto.
766         * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def.
767         (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory.
768         * elf/dl-open.c (_dl_open): Likewise.
769         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
771         * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *.
773         * elf/dl-addr.c (_dl_addr): Add a cast.
775         * elf/unload3mod4.c: Declare foo.
776         * elf/testobj2.c: Include <stdio.h>.
778         * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal
779         value constant, and use it in the defn.
780         * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl.
781         Use actual size for compat array decls.
783         * config.make.in (cc-mtune): New substituted variable.
784         * configure.in (libc_cv_cc_mtune): New test for -mtune= switch,
785         done only if libc_mtune_example is defined.
786         * sysdeps/i386/configure.in (libc_mtune_example): Set it.
787         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune).
789 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
791         * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define
792         unconditionally to (defined RTLD_BOOTSTRAP).
793         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise.
795 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
797         * Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of
798         $(inst_slibdir) in AS_NEEDED directive.
800 2005-03-03  Jakub Jelinek  <jakub@redhat.com>
802         * posix/bits/unistd.h (pread, pread64): Don't swap function arguments.
804 2005-03-01  H.J. Lu  <hongjiu.lu@intel.com>
806         [BZ #776]
807         * iconv/iconvconfig.c: Fix comment for the output file.
808         (write_output): Clear padding in header.
810 2005-03-03  Ulrich Drepper  <drepper@redhat.com>
812         * elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the
813         loader is closed.  Fixes unload3.
814         * elf/tst-global1.c: New file.
815         * elf/Makefile (tests): Add tst-global1.
816         * elf/testobj2.c (p): New function.
818 2005-03-03  Jakub Jelinek  <jakub@redhat.com>
820         * elf/Makefile: Add rules to build and run unload3 test.
821         * elf/unload3.c: New test.
822         * elf/unload3mod1.c: New file.
823         * elf/unload3mod2.c: New file.
824         * elf/unload3mod3.c: New file.
825         * elf/unload3mod4.c: New file.
827 2005-02-21  Alan Modra <amodra@bigpond.net.au>
829         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
830         use __uint128_t.
832 2005-03-01  Jakub Jelinek  <jakub@redhat.com>
834         * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead
835         of __bos.
836         * socket/bits/socket2.h (recv, recvfrom): Likewise.
838 2005-03-01  Roland McGrath  <roland@redhat.com>
840         [BZ #721]
841         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
842         of [RESOLVE_MAP].
844 2005-03-01  Alfred M. Szmidt  <ams@gnu.org>
846         [BZ #777]
847         * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]:
848         Add missing initializer.
850         [BZ #777]
851         * malloc/arena.c: #include <stdbool.h> outside of [SHARED &&
852         USE_TLS && !USE___THREAD].
854 2005-02-26  GOTO Masanori  <gotom@debian.or.jp>
856         * csu/Makefile: Use printf instead of echo for some shells.
858 2005-02-28  Roland McGrath  <roland@redhat.com>
860         * debug/warning-nop.c (__nop): Rename to nop, make it static.
861         (__warndecl): Use alias attribute directly, instead of strong_alias
862         macro.  Add attribute_hidden.
864 2005-02-28  Ulrich Drepper  <drepper@redhat.com>
866         * posix/bits/unistd.h: Avoid calling __*_chk variants if we can
867         determine the call will never trigger a failure.
868         * debug/read_chk.c (__read_chk): Always fail if the buffer is too
869         small.
870         * debug/readlink_chk.c (__readlink_chk): Likewise.
871         * debug/pread64_chk.c (__pread64_chk): Likewise.
872         * debug/pread_chk.c (__pread_chk): Likewise.
874         * sysdeps/i386/i686/memset_chk.S: Remove alias and warning.
875         * sysdeps/x86_64/memset_chk.S: Likewise.
877 2005-02-24  Roland McGrath  <roland@redhat.com>
879         * debug/Versions (libc: GLIBC_2.4): Remove
880         __memset_zero_constant_len_parameter.
881         * sysdeps/generic/memset_chk.c: Remove alias and warning.
882         * misc/sys/cdefs.h (__warndecl): New macro.
883         * debug/warning-nop.c: New file.
884         * string/bits/string3.h (memset): Call __warn_memset_zero_len with no
885         arguments, instead of calling __memset_zero_constant_len_parameter.
886         Use __warndecl for __warn_memset_zero_len.
887         * debug/Makefile (routines): Add $(static-only-routines).
888         (static-only-routines): New variable.
890 2005-02-27  Ulrich Drepper  <drepper@redhat.com>
892         * po/tr.po: Update from translation team.
894 2005-02-26  Ulrich Drepper  <drepper@redhat.com>
896         * elf/dl-addr.c: Cleanups.  Move declaration next to first use.
898         * dlfcn/dlerror.c (check_free): New function.  Extract common code
899         from fini and free_key_mem.  Check whether this is libdl in the
900         base namespace.
902 2005-02-25  Ulrich Drepper  <drepper@redhat.com>
904         * elf/dl-lookup.c (_dl_debug_bindings): Add namespace information
905         to debug output.
907 2004-11-11  Richard Sandiford  <rsandifo@redhat.com>
909         [BZ #758]
910         * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
911         preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
912         like __NR_N32_open.  Just include <asm/unistd.h> otherwise.
913         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
914         * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
915         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
916         standard __NR prefix.
917         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
918         * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
919         the output file is compatible with both pre-2.6 and 2.6 kernel headers.
920         Extract separate syscall lists for each ABI.
922 2005-02-23  Ulrich Drepper  <drepper@redhat.com>
924         * Makerules (libc.so): Add AS_NEEDED line for dynamic linker.
926         [BZ #719]
927         * elf/Makefile: Run tst-tls9-static again.
929 2005-02-22  Ulrich Drepper  <drepper@redhat.com>
931         [BZ #719]
932         * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the
933         slotinfo array.
934         (__libc_setup_tls): Initialize length of DTV based on array length.
935         * elf/dl-load.c: Revert last change.
936         * sysdeps/generic/dl-tls.c: Revert last change.
938         * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1,
939         tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2,
940         tst-execve1, tst-execve2, tst-execle1, and tst-execle2.
941         * posix/tst-execl1.c: New file.
942         * posix/tst-execl2.c: New file.
943         * posix/tst-execle1.c: New file.
944         * posix/tst-execle2.c: New file.
945         * posix/tst-execlp1.c: New file.
946         * posix/tst-execlp2.c: New file.
947         * posix/tst-execv1.c: New file.
948         * posix/tst-execv2.c: New file.
949         * posix/tst-execve1.c: New file.
950         * posix/tst-execve2.c: New file.
951         * posix/tst-execvp1.c: New file.
952         * posix/tst-execvp2.c: New file.
954 2005-02-22  Roland McGrath  <roland@redhat.com>
956         * include/signal.h: Revert last change.
957         (__sigemptyset): Use __builtin_memset instead of memset.
959 2005-02-22  Ulrich Drepper  <drepper@redhat.com>
961         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use
962         non-cancelable I/O functions.
964 2005-02-22  Jakub Jelinek  <jakub@redhat.com>
966         [BZ #769]
967         * nscd/nscd-client.h: Include sys/uio.h.
968         (__readall, __readvall, writeall): New prototypes.
969         * nscd/connections.c (writeall): New function.
970         (handle_request): Use it.
971         * nscd/aicache.c (addhstaiX): Likewise.
972         * nscd/initgrcache.c (addinitgroupsX): Likewise.
973         * nscd/hstcache.c (cache_addhst): Likewise.
974         * nscd/grpcache.c (cache_addgr): Likewise.
975         * nscd/pwdcache.c (cache_addpw): Likewise.
976         * nscd/nscd_helper.c (__readall, __readvall): New functions.
977         * nscd/nscd_getai.c (__nscd_getai): Use them.
978         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.
979         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
980         * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise.
981         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
983 2005-02-22  Roland McGrath  <roland@redhat.com>
985         * include/sys/socket.h: Declare __recv.
986         * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias.
987         * sysdeps/mach/hurd/recv.c: Likewise.
989         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for
990         __backtrace_* decls.
992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
993         (INTERNAL_SYSCALL_ERROR_P): Evalute VAL.  Parenthesize ERR.
994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
996         * include/signal.h: Include <string.h> for memset decl.
998 2005-02-22  Andreas Schwab  <schwab@suse.de>
1000         * posix/execvp.c (execvp): Fix invalid free.
1002 2005-02-22  Jakub Jelinek  <jakub@redhat.com>
1004         * malloc/Makefile (CFLAGS-mcheck-init.c): Add.
1005         * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for
1006         librpcsvc.a objects.
1008 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
1010         * iconvdata/ibm930.h: Correct Yen mapping.
1011         * iconvdata/ibm939.h: Likewise.
1012         * iconvdata/testdata/IBM930..UTF8: Adjust test data.
1013         * iconvdata/testdata/IBM939..UTF8: Likewise.
1014         Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
1016         * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
1017         IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
1018         (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
1019         ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
1020         ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
1021         ibm1158.c, and ibm1158.h.
1022         * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
1023         IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
1024         * iconvdata/gconv-modules: Likewise.
1025         * iconvdata/ibm1025.c: New file.
1026         * iconvdata/ibm1025.h: New file.
1027         * iconvdata/ibm1122.c: New file.
1028         * iconvdata/ibm1122.h: New file.
1029         * iconvdata/ibm1137.c: New file.
1030         * iconvdata/ibm1137.h: New file.
1031         * iconvdata/ibm1153.c: New file.
1032         * iconvdata/ibm1153.h: New file.
1033         * iconvdata/ibm1154.c: New file.
1034         * iconvdata/ibm1154.h: New file.
1035         * iconvdata/ibm1155.c: New file.
1036         * iconvdata/ibm1155.h: New file.
1037         * iconvdata/ibm1156.c: New file.
1038         * iconvdata/ibm1156.h: New file.
1039         * iconvdata/ibm1157.c: New file.
1040         * iconvdata/ibm1157.h: New file.
1041         * iconvdata/ibm1158.c: New file.
1042         * iconvdata/ibm1158.h: New file.
1043         * iconvdata/testdata/IBM1025: New file.
1044         * iconvdata/testdata/IBM1025..UTF8: New file.
1045         * iconvdata/testdata/IBM1122: New file.
1046         * iconvdata/testdata/IBM1122..UTF8: New file.
1047         * iconvdata/testdata/IBM1137: New file.
1048         * iconvdata/testdata/IBM1137..UTF8: New file.
1049         * iconvdata/testdata/IBM1153: New file.
1050         * iconvdata/testdata/IBM1153..UTF8: New file.
1051         * iconvdata/testdata/IBM1154: New file.
1052         * iconvdata/testdata/IBM1154..UTF8: New file.
1053         * iconvdata/testdata/IBM1155: New file.
1054         * iconvdata/testdata/IBM1155..UTF8: New file.
1055         * iconvdata/testdata/IBM1156: New file.
1056         * iconvdata/testdata/IBM1156..UTF8: New file.
1057         * iconvdata/testdata/IBM1157: New file.
1058         * iconvdata/testdata/IBM1157..UTF8: New file.
1059         * iconvdata/testdata/IBM1158: New file.
1060         * iconvdata/testdata/IBM1158..UTF8: New file.
1061         Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
1063 2005-02-10  Paolo Bonzini  <bonzini@gnu.org>
1065         * posix/regcomp.c (lower_subexp): Do not optimize empty
1066         subexpressions even with REG_NOSUB.
1067         * posix/rxspencer/tests: Add a previously failing testcase.
1069 2005-02-21  Alan Modra <amodra@bigpond.net.au>
1071         [BZ #719]
1072         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv
1073         array index is within bounds.
1075 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
1077         [BZ #719]
1078         * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically
1079         linked code.
1080         * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid.
1081         * elf/Makefile: Remove rules to build and run tst-tls9-static.
1083         [BZ #719]
1084         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using
1085         THREAD_DTV multiple times, this minimally reduces code size on
1086         some archs.
1088 2005-02-21  Jakub Jelinek  <jakub@redhat.com>
1090         [BZ #768]
1091         * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
1092         NETDB_INTERNAL if buffer is too small.
1094         [BZ #768]
1095         * nscd/hstcache.c (INCR): Remove.
1096         (addhstbyX): Double buflen in each iteration rather than add INCR.
1097         * nscd/grpcache.c: Likewise.
1098         * nscd/pwdcache.c: Likewise.
1100 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
1102         * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
1103         map if requested.
1104         * debug/chk_fail.c: Request backtrace and memory map dump.
1106         * Versions.def: Add GLIBC_2.4 for libc.
1107         * debug/fgets_chk.c: New file.
1108         * debug/fgets_u_chk.c: New file.
1109         * debug/getcwd_chk.c: New file.
1110         * debug/getwd_chk.c: New file.
1111         * debug/readlink_chk.c: New file.
1112         * debug/read_chk.c: New file.
1113         * debug/pread_chk.c: New file.
1114         * debug/pread64_chk.c: New file.
1115         * debug/recv_chk.c: New file.
1116         * debug/recvfrom_chk.c: New file.
1117         * debug/Versions: Add all new functions with version GLIBC_2.4.
1118         * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
1119         pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
1120         getwd_chk, and getcwd_chk.  Plus appropriate CFLAGS definitions.
1121         * debug/tst-chk1.c: Add more tests.
1122         * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
1123         * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
1124         * posix/unistd.h: Include <bits/unistd.h> for fortification.
1125         * posix/bits/unistd.h: New file.
1126         * posix/Makefile (headers): Add bits/unistd.h.
1127         * socket/sys/socket.h: Include <bits/socket2.h> for fortification.
1128         * socket/bits/socket2.h: New file.
1129         * socket/Makefile (headers): Add bits/socket2.h.
1131         * string/bits/string3.h: Extend memset macro to check for zero 3rd
1132         parameter and use __memset_zero_constant_len_parameter in that case.
1133         * sysdeps/generic/memset_chk.c: Add
1134         __memset_zero_constant_len_parameter alias and linker warning.
1135         * debug/Versions: Add __memset_zero_constant_len_parameter to libc
1136         with version GLIBC_2.4.
1138         * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
1139         in __STD_TYPE definition.
1141 2005-02-21  Jakub Jelinek  <jakub@redhat.com>
1143         * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
1144         the error message rather than program name.
1146 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
1148         [BZ #767]
1149         * posix/unistd.h: symlink and readlink are unconditionally
1150         available in the 2001 spec.
1152 2005-02-16  Roland McGrath  <roland@redhat.com>
1154         * intl/dcigettext.c (_nl_find_msg): Add a cast.
1156         * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR.
1157         * nis/nis_clone_obj.c (nis_clone_object): Likewise.
1158         * nis/nis_clone_res.c (nis_clone_result): Likewise.
1160         * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char *
1161         for END_OF_MESSAGE and CP.
1163         * resolv/res_send.c (send_dg): Add else branch for case impossible
1164         unless `poll' is buggy.
1166         * crypt/crypt_util.c (__setkey_r): Add a cast.
1168         * locale/programs/linereader.c (get_toplvl_escape): Use size_t for
1169         NBYTES, and unsigned char * for BYTES.
1171         * locale/programs/charmap.c (charmap_new_char): Use size_t and
1172         unsighed char * for NBYTES, BYTES parameters.
1174         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument
1175         and cast it.
1176         * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise.
1178         * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES.
1180         * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.
1182         * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA.
1183         (authdes_marshal): Don't use unsigned int for LEN.
1184         * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2.
1185         (xdr_u_hyper): Likewise.
1186         (xdr_u_short): Don't use u_long for L.
1187         * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2.
1189         * inet/rexec.c (rexec_af): Use socklen_t.
1190         * sunrpc/key_call.c (getkeyserv_handle): Likewise.
1191         * sunrpc/rtime.c (rtime): Likewise.
1192         * resolv/res_send.c (send_vc, send_dg): Likewise.
1193         * nis/nis_callback.c (__nis_create_callback): Likewise.
1195         * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr.
1197         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
1199         * libio/libio.h (_IO_BE): Add parenthesis around EXPR.
1201         * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed.
1202         (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
1203         (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
1204         * intl/bindtextdom.c (INTUSE): Macro removed.
1205         (_nl_default_dirname): Use libc_hidden_proto.
1206         (set_binding_values): Don't use INTUSE.
1207         * include/libintl.h (_libc_intl_domainname_internal): Decl removed.
1208         (_libc_intl_domainname): Use libc_hidden_proto.
1209         * posix/regex_internal.h (gettext): Remove INTUSE on it.
1210         * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def
1211         rather than INTDEF.
1212         * include/libintl.h (_): Don't use *_internal name.
1214         * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t,
1215         not uint32_t.
1216         * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments.
1218         * iconv/gconv_open.c (__gconv_open): Remove useless cast.
1220         [BZ #721]
1221         * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
1222         of [RESOLVE_MAP].
1223         * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.
1224         * sysdeps/powerpc/powerpc32/dl-machine.h
1225         (elf_machine_rel, elf_machine_rel_relative): Removed.
1226         * sysdeps/powerpc/powerpc64/dl-machine.h
1227         (elf_machine_rel, elf_machine_rel_relative): Removed.
1229 2005-02-03  Alexandre Oliva  <aoliva@redhat.com>
1231         [BZ #721]
1232         * elf/dynamic-link.h: Don't declare nested auto functions that are
1233         not going to be defined.
1235 2004-07-23  Jakub Jelinek  <jakub@redhat.com>
1237         [BZ #284]
1238         * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define
1239         if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined.
1241 2005-02-16  Roland McGrath  <roland@redhat.com>
1243         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn
1244         inside [! SHARED] where it's used.
1246 2005-02-15  Ulrich Drepper  <drepper@redhat.com>
1248         * sysdeps/generic/bits/byteswap.h: Make sure result of all the
1249         functions and macros is unsigned.
1251 2005-02-11  Barry deFrese  <bddebian@comcast.net>
1253         [BZ #722]
1254         * sysdeps/mach/hurd/setresgid.c: Use weak_alias.
1255         * sysdeps/mach/hurd/setresuid.c: Likewise.
1257 2005-02-14  GOTO Masanori  <gotom@debian.or.jp>
1259         * misc/sys/syslog.h: Fix typo in comment.
1261 2005-02-14  Roland McGrath  <roland@redhat.com>
1263         [BZ #720]
1264         * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
1265         if it wasn't originally.
1267 2005-02-14  GOTO Masanori  <gotom@debian.or.jp>
1269         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
1270         getpeername entry.
1271         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1272         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1274 2005-02-11  Jakub Jelinek  <jakub@redhat.com>
1276         * scripts/soversions.awk: Only record first WORDSIZE{32,64}
1277         matching line.
1279 2005-02-14  Alan Modra  <amodra@bigpond.net.au>
1281         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
1282         with auto inline, and attribute always_inline.
1283         (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
1284         (elf_machine_rel, elf_machine_rel_relative): Likewise.
1285         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1286         (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
1287         (elf_machine_rel, elf_machine_rel_relative): Likewise.
1288         (elf_machine_tprel): Likewise.
1290 2005-02-14  Andreas Schwab  <schwab@suse.de>
1292         * manual/filesys.texi (Random Access Directory): Fix type of file
1293         position value for telldir and seekdir.
1294         (Attribute Meanings): Fix typo.
1296 2005-02-14  H.J. Lu  <hongjiu.lu@intel.com>
1298         * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
1299         isn't defined.
1300         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
1301         if SHARED isn't defined.
1302         * elf/Makefile (tests-static): Add tst-array1-static.
1303         ($(objpfx)tst-array1-static.out): New target.
1304         * elf/tst-array1-static.c: New file.
1306 2005-02-11  Jakub Jelinek  <jakub@redhat.com>
1308         * debug/chk_fail.c (__chk_fail): Add a while (1) loop around
1309         __libc_message to kill GCC warning about noreturn function returning.
1311         * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag
1312         before relocating ld.so again.
1314         * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
1315         for already prelinked ld.so.
1317 2005-02-11  Roland McGrath  <roland@redhat.com>
1319         [BZ #715]
1320         * Makefile (installed-stubs): New variable.
1321         Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no,
1322         or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise.
1323         [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs).
1324         ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this
1325         rule's target.
1326         ($(inst_includedir)/gnu/stubs.h): New target, install from ...
1327         * include/stubs-biarch.h: New file.
1329         * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64.
1331         * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig.
1332         Emit defn for variable `biarch'.
1334         * include/stub-tag.h: Update comment.
1336         * scripts/soversions.awk: Fix default version set handling.
1338 2005-02-10  Roland McGrath  <roland@redhat.com>
1340         [BZ #157]
1341         * include/libc-symbols.h (stub_warning): Emit a marker section called
1342         .gnu.glibc-stub.NAME.
1343         * Makerules ($(objpfx)stubs): Depend on object files, not dep files.
1344         Use objdump to collect those marker section names.
1345         ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
1347         * Rules (subdir_objs, subdir_stubs): New phony targets.
1348         * Makefile (+subdir_targets): Add them.
1350         * Makerules ($(common-objpfx)Versions.all): Grok new leading column in
1351         soversions.i.
1353         * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
1354         Reported by H.J. Lu <hongjiu.lu@intel.com>.
1356         * scripts/lib-names.awk: Always print WORDSIZE32 section first when
1357         doing two.
1359 2005-02-10  Jakub Jelinek  <jakub@redhat.com>
1361         * sysdeps/powerpc/powerpc32/bits/link.h: Removed.
1362         * sysdeps/powerpc/powerpc64/bits/link.h: Moved to...
1363         * sysdeps/powerpc/bits/link.h: ... here.  New file.
1365 2005-02-09  Jakub Jelinek  <jakub@redhat.com>
1367         [BZ #710]
1368         * stdlib/random_r.c (__initstate_r): Save old state.
1369         * stdlib/Makefile (tests): Add tst-random2.
1370         * stdlib/tst-random2.c: New test.
1371         Reported by Peter Bergner <bergner@vnet.ibm.com>.
1373 2005-01-25  H.J. Lu  <hongjiu.lu@intel.com>
1375         * dlfcn/dlfcn.c (init): Put it in .init_array section.
1377 2005-02-10  Roland McGrath  <roland@redhat.com>
1379         [BZ #632]
1380         * scripts/soversions.awk: Expect cpu, vendor, os as separate variables
1381         from command line.
1382         Grok shlib-versions lines with WORDSIZE* in second column.
1383         Add new leading column to output, DEFAULT for existing output lines.
1384         Also emit lines with WORDSIZE* for alternate configurations.
1385         * Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
1386         ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
1387         ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
1388         of soversions.mk; replace inline shell script with use of ...
1389         * scripts/lib-names.awk: New file.  If input has non-DEFAULT lines,
1390         emit multiple sets of macros under #if.
1391         * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
1392         (s390x-.*-.*): Likewise for s390.
1393         (powerpc64-.*-.*): Likewise for powerpc.
1394         (sparc64-.*-.*): Likewise for sparc.
1395         (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries
1396         for these mapping back to the above.
1398 2005-02-08  Jakub Jelinek  <jakub@redhat.com>
1400         * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo.
1402 2005-02-08  Andreas Schwab  <schwab@suse.de>
1404         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of
1405         RESOLVE.
1407 2005-02-07  Richard Henderson  <rth@redhat.com>
1409         * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.
1411 2005-02-08  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1413         * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
1414         RESOLVE.
1416 2005-02-07  Ulrich Drepper  <drepper@redhat.com>
1418         * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are
1419         set correctly.
1421 2005-01-07  Richard Henderson  <rth@redhat.com>
1423         * math/math_private.h (__copysign): Define as builtin for gcc 4.
1424         (__copysignf, __copysignl): Likewise.
1425         * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
1426         for gcc 4.0.
1427         (copysignf, copysignl, fabsf, fabs): Likewise.
1428         (__copysign, __copysignf, __copysignl): Remove.
1429         (__fabs, __fabsf): Remove.
1431 2005-01-07  Jakub Jelinek  <jakub@redhat.com>
1433         [BZ #738]
1434         * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
1435         avoid writing to it if none of the standard search directories exist.
1437 2005-02-07  Steven Munroe  <sjmunroe@us.ibm.com>
1439         [BZ #700]
1440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1441         (__novec_setcontext, __setcontext): Fix typo so CCR is restored.
1442         Load MSR as a doubleword.
1443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1444         (__novec_swapcontext, __swapcontext): Likewise.
1446 2005-02-07  Ulrich Drepper  <drepper@redhat.com>
1448         * iconv/iconv_prog.c (main): Provide more help in case on an error.
1450         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
1452 2005-02-07  Jakub Jelinek  <jakub@redhat.com>
1454         [BZ #741]
1455         * nscd/nscd.c (termination_handler): Avoid segfault if some database
1456         is not enabled.
1458         [BZ #741]
1459         * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set
1460         __nss_not_use_nscd_hosts and return -1.
1461         * nscd/nscd_initgroups.c (__nscd_getgrouplist): If
1462         initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1.
1463         Avoid leaking sockets.
1465 2005-01-28  Andreas Schwab  <schwab@suse.de>
1466             H.J. Lu  <hongjiu.lu@intel.com>
1468         [BZ #677]
1469         * elf/dl-runtime.c (fixup): Change return type to
1470         DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE,
1471         DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation
1472         values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to
1473         store and retrieve relocation values.
1474         (profile_fixup): Likewise.
1475         * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for
1476         l_reloc_result.
1477         * sysdeps/generic/dl-fptr.h (link_map): Forward declaration.
1478         * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New.
1479         (DL_FIXUP_MAKE_VALUE): Likewise.
1480         (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
1481         (DL_FIXUP_VALUE_ADDR): Likewise.
1482         (DL_FIXUP_ADDR_VALUE): Likewise.
1483         * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc".
1484         (DL_FIXUP_VALUE_TYPE): New.
1485         (DL_FIXUP_MAKE_VALUE): Likewise.
1486         (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
1487         (DL_FIXUP_VALUE_ADDR): Likewise.
1488         (DL_FIXUP_ADDR_VALUE): Likewise.
1489         * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed.
1490         (elf_machine_profile_plt): Removed.
1491         (elf_machine_fixup_plt): Change return type and type of value
1492         parameter to struct fdesc.
1493         (elf_machine_plt_value): Likewise.
1494         (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct
1495         argument for elf_machine_fixup_plt.
1497 2005-02-07  Jakub Jelinek  <jakub@redhat.com>
1499         [BZ #742]
1500         * nscd/nscd.init (reload): Print Reloading nscd: before and a newline
1501         after the status string printed by killproc.
1503 2004-11-18  Alexandre Oliva  <aoliva@redhat.com>
1505         * manual/.cvsignore: Add dir-add.texi.
1507 2005-02-06  Richard Henderson  <rth@redhat.com>
1509         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
1510         all the time.
1512 2004-11-03  Marcus Brinkmann  <marcus@gnu.org>
1514         * configure.in (sysnames): Append sysdeps/generic for each add-on.
1515         * configure: Regenerated.
1517 2005-02-02  Alfred M. Szmidt  <ams@gnu.org>
1519         * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
1520         (dtv_t): Change pointer type to be a struct which also contains
1521         information whether the memory pointed to is static TLS or not.
1523         * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
1525         * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
1526         (FALSEP): ... this.  Updated all references.
1528         [BZ #765]
1529         * libio/fmemopen.c: Include <stdint.h>.
1531 2005-01-30  Ulrich Drepper  <drepper@redhat.com>
1533         * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
1534         * nscd/connections.c (send_ro_fd): Likewise.
1536 2005-01-28  H.J. Lu  <hongjiu.lu@intel.com>
1538         * elf/tst-auditmod1.c: Add ia64 entries.
1539         * sysdeps/generic/ldsodefs.h (La_ia64_regs): New.
1540         (La_ia64_retval): New.
1541         (audit_ifaces): Add ia64 entries.
1542         * sysdeps/ia64/bits/link.h: New file.
1543         * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test
1544         for dl_profile non-null.
1545         (ARCH_LA_PLTENTER): New.
1546         (ARCH_LA_PLTEXIT): New.
1547         * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate
1548         only 2 output registers. Allocate stack to save/restore
1549         8 incoming fp registers. Call _dl_fixup instead of fixup.
1550         (_dl_runtime_profile): Rewrite.
1552 2005-01-28  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1554         * sysdeps/s390/bits/link.h: New file.
1555         * sysdeps/s390/s390-32/dl-trampoline.S: New file.
1556         * sysdeps/s390/s390-64/dl-trampoline.S: New file.
1557         * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to
1558         dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect
1559         relocation code.
1560         (elf_machine_runtime_setup): Test for dl_profile non-null.
1561         (elf_machine_rela): Remove code using RESOLVE.
1562         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
1563         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1564         * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval,
1565         La_s390_64_regs, La_s390_64_retval): New.
1566         * elf/tst-auditmod1.c: Add s390 entries.
1568         [BZ #743]
1569         * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat,
1570         strncat, memchr, strcmp): Add missing memory clobber.
1572 2005-01-27  Ulrich Drepper  <drepper@redhat.com>
1574         * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
1575         copy gl_offs.  Patch by Sergey Tikhonov <tsv@solvo.ru>.
1577 2005-01-27  Paolo Bonzini  <bonzini@gnu.org>
1579         [BZ #558]
1580         * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
1581         Initialize the node sets in dfa->inveclosures.
1582         (analyze): Initialize inveclosures only if it is needed.
1583         Check errors from calc_inveclosure.
1584         * posix/regex_internal.c (re_dfa_add_node): Do not initialize
1585         the inveclosure node set.
1586         * posix/regexec.c (re_search_internal): If nmatch includes unused
1587         subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.
1589         * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
1590         Do build a SIMPLE_BRACKET token.
1592         * posix/regexec.c (transit_state_mb): Do not examine nodes
1593         where ACCEPT_MB is not set.
1595 2005-01-27  Jakub Jelinek  <jakub@redhat.com>
1597         * stdlib/tst-fmtmsg.c: Include stdlib.h.
1598         * stdio-common/tst-fmemopen2.c: Include string.h.
1599         * posix/execvp.c: Include stdbool.h.
1601 2004-12-13  Paolo Bonzini  <bonzini@gnu.org>
1603         Separate parsing and creation of the NFA.  Avoided recursion on
1604         the (very unbalanced) parse tree.
1605         [BZ #611]
1606         * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
1607         re_dfa_add_tree_node, mark_opt_subexp_iter): Removed.
1608         (optimize_subexps, duplicate_tree, calc_first, calc_next,
1609         mark_opt_subexp): Rewritten.
1610         (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes,
1611         create_token_tree, free_tree, free_token): New.
1612         (analyze): Accept a regex_t *.  Invoke the passes via the preorder and
1613         postorder generic visitors.  Do not initialize the fields in the
1614         re_dfa_t that represent the transitions.
1615         (free_dfa_content): Use free_token.
1616         (re_compile_internal): Analyze before UTF-8 optimizations.  Do not
1617         include optimization of subexpressions.
1618         (create_initial_state): Fetch the DFA node index from the first node's
1619         bin_tree_t *.
1620         (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION.
1621         Return on COMPLEX_BRACKET.
1622         (duplicate_node_closure): Fix comment.
1623         (duplicate_node): Do not initialize the fields in the
1624         re_dfa_t that represent the transitions.
1625         (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP.
1626         (create_tree): Remove final argument.  All callers adjusted.  Rewritten
1627         to use create_token_tree.
1628         (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp,
1629         build_charclass_op): Use create_tree or create_token_tree instead
1630         of re_dfa_add_tree_node.
1631         (parse_dup_op): Likewise.  Also free the tree using free_tree for
1632         "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent
1633         to "a|".  Adjust invocation of mark_opt_subexp.
1634         (parse_sub_exp): Create a single SUBEXP node.
1635         * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
1636         always perform as if it was 1.  Do not initialize OPT_SUBEXP and
1637         DUPLICATED, and initialize the DFA fields representing the transitions.
1638         * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
1639         (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens
1640         section.  Add a tree-only code SUBEXP.  Remove OP_DELETED_SUBEXP.
1641         (bin_tree_t): Include a full re_token_t for TOKEN.  Turn FIRST and
1642         NEXT into pointers to trees.  Remove ECLOSURE.
1644 2004-12-28  Paolo Bonzini  <bonzini@gnu.org >
1646         [BZ #605]
1647         * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
1648         that were already created.
1649         * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
1650         in the token if needed.
1651         (create_ci_newstate, create_cd_newstate): Set accept_mb field
1652         from the tokens' field.
1653         * posix/regex_internal.h (re_token_t): Add accept_mb field.
1654         (ACCEPT_MB_NODE): Removed.
1655         * posix/regexec.c (proceed_next_node, transit_states_mb,
1656         build_sifted_states, check_arrival_add_next_nodes): Use
1657         accept_mb instead of ACCEPT_MB_NODE.
1659 2005-01-26  Ulrich Drepper  <drepper@redhat.com>
1661         * debug/chk_fail.c (__chk_fail): Print program name in final message.
1663         * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
1664         MSG_NOSIGNAL being in 2.2 kernels.
1666 2005-01-26  Jakub Jelinek  <jakub@redhat.com>
1668         * sysdeps/unix/sysv/linux/i386/sysdep.h
1669         (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm.
1671         [BZ #693]
1672         * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
1673         (WORD_DELIM_CONSTRAINT): ...this.
1674         (NOT_WORD_DELIM_CONSTRAINT): Define.
1675         (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
1676         change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
1677         * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
1678         anchor instead of INSIDE_WORD.
1679         (parse_expression): Handle NOT_WORD_DELIM constraint.
1680         * posix/bug-regex19.c (tests): Adjust tests that relied on \B
1681         being inside word instead of not word delim.
1682         * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
1683         characters.
1684         * posix/rxspencer/tests: Add some new tests.
1686 2005-01-14  GOTO Masanori  <gotom@debian.or.jp>
1688         * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
1689         irrespective of Cflag.
1691         * manual/memory.texi (sbrk): Fix definition.
1692         * manual/string.texi (strcasestr): Fix example typo.
1694 2005-01-25  Roland McGrath  <roland@redhat.com>
1696         * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
1698 2005-01-23  Roland McGrath  <roland@redhat.com>
1700         [BZ #737]
1701         * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
1702         in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
1703         * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
1704         (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
1705         from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
1706         * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
1708 2005-01-25  Jakub Jelinek  <jakub@redhat.com>
1710         [BZ #731]
1711         * stdlib/fmtmsg.c (addseverity): Remove new_string variable.
1712         (free_mem): Don't free string.
1713         * stdlib/tst-fmtmsg.c: Include string.h.
1714         (main): Add some more tests.
1716 2005-01-25  Andreas Schwab  <schwab@suse.de>
1718         [BZ #736]
1719         * timezone/asia: Update from tzdata2005c.
1720         * timezone/backward: Likewise.
1721         * timezone/europe: Likewise.
1722         * timezone/leapseconds: Likewise.
1723         * timezone/northamerica: Likewise.
1724         * timezone/southamerica: Likewise.
1726         [BZ #736]
1727         * timezone/private.h: Update from tzcode2005c.
1728         * timezone/tzfile.h: Likewise.
1729         * timezone/zdump.c: Likewise.
1730         * timezone/zic.c: Likewise.
1732 2005-01-25  Ulrich Drepper  <drepper@redhat.com>
1734         * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using
1735         RESOLVE.
1736         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code
1737         using RESOLVE.
1738         * elf/rtld.c (_dl_start): Remove RESOLVE definition.
1740 2005-01-25  Alan Modra  <amodra@bigpond.net.au>
1742         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
1743         sym_map, not sym, against zero.
1745 2005-01-24  Ulrich Drepper  <drepper@redhat.com>
1747         [BZ #671]
1748         * misc/syslog.c: Moved to...
1749         * sysdeps/generic/syslog.c: ...here.
1750         [NO_SIGIPE]: Don't install SIGPIPE handler.
1751         * sysdeps/unix/sysv/linux/syslog.c: New file.
1752         * sysdeps/unix/sysv/linux/kernel-features.h: Define
1753         __ASSUME_MSG_NOSIGNAL.
1755 2005-01-22  Richard Henderson  <rth@redhat.com>
1757         * sysdeps/alpha/dl-trampoline.S: New file.
1758         * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
1759         Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
1760         (elf_machine_runtime_setup): Test for dl_profile non-null.
1761         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
1762         * sysdeps/alpha/bits/link.h: New file.
1763         * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
1764         (struct audit_ifaces): Add alpha entries.
1765         * elf/tst-auditmod1.c: Add alpha entries.
1767 2005-01-22  Ulrich Drepper  <drepper@redhat.com>
1769         * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here.
1770         * sysdeps/ia64/dl-trampoline.S: New file.
1772         * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in
1773         La_x86_64_xmm definition.
1775         * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
1776         pointer option.
1777         * stdlib/Makefile (CFLAGS-system.os): Use this instead of
1778         CFLAGS-system.c for frame pointer option.
1780 2005-01-21  Roland McGrath  <roland@redhat.com>
1782         * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
1783         * sysdeps/i386/dl-machine.h: Update decl.
1785 2005-01-21  Jakub Jelinek  <jakub@redhat.com>
1787         [BZ #735]
1788         * elf/Makefile: Add rules to build and run tst-align2.
1789         * elf/tst-align2.c: New test.
1790         * elf/tst-alignmod2.c: New file.
1791         * sysdeps/powerpc/tst-stack-align.h: New file.
1792         * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame
1793         pointer before calling _dl_init.
1794         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1796 2005-01-20  Ulrich Drepper  <drepper@redhat.com>
1798         * posix/execl.c: Do not allocate potentially large buffers on the
1799         stack.
1800         * posix/execle.c: Likewise.
1801         * posix/execlp.c: Likewise.
1802         * posix/execvp.c: Likewise.
1803         (script_execute): Removed.
1804         (allocate_scripts_argv): New function.  Called at most once to
1805         allocate memory, not every time a script is run.  Adjust caller.
1807         * sysdeps/generic/wordexp.c (exec_comm): Add a few
1808         TEMP_FAILURE_RETRY.  Reorganize code to avoid multiple calls to
1809         exec_comm_child.
1810         (exec_comm_child): Can now be inlined.
1812         * posix/Makefile: Add -fomit-frame-pointer for a few more files.
1813         * stdlib/Makefile: Likewise.
1815 2005-01-19  Roland McGrath  <roland@redhat.com>
1817         [BZ #681]
1818         * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
1819         argument to execlp.
1820         Reported by Marcus Meissner <meissner@suse.de>.
1822 2005-01-19  Jakub Jelinek  <jakub@redhat.com>
1824         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
1825         in assert.
1826         * iconv/strtab.c (strtabfinalize): Likewise.
1828         * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
1830 2005-01-17  Roland McGrath  <roland@redhat.com>
1832         [BZ #745]
1833         * nscd/Makefile (LDLIBS-nscd): New variable.
1834         ($(objpfx)nscd): Use that instead of selinux-LIBS.
1836         * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)).
1837         (link-extra-libs-static): Define to $(link-extra-libs).
1838         (link-extra-libs-bounded): Likewise.
1840 2005-01-17  Ulrich Drepper  <drepper@redhat.com>
1842         * include/link.h: Remove stray definition of pltenter.
1844 2005-01-16  GOTO Masanori  <gotom@debian.or.jp>
1846         [BZ #734]
1847         * sysdeps/unix/rewinddir.c: Reset filepos.
1848         * dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
1850 2005-01-15  Ulrich Drepper  <drepper@redhat.com>
1852         * elf/tst-auditmod1.c: Reduce duplication.
1854 2005-01-16  Andreas Schwab  <schwab@suse.de>
1856         * sysdeps/m68k/dl-machine.h: Remove trampoline code.  Define
1857         ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
1858         (elf_machine_runtime_setup): If profile != 0 does not anymore mean
1859         GLRO(dl_profile) != NULL.
1860         * sysdeps/m68k/dl-trampoline.S: New file.
1861         * sysdeps/m68k/bits/link.h: New file.
1862         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
1863         variants.
1864         * elf/tst-auditmod1.c: Add m68k support.
1866 2005-01-14  Ulrich Drepper  <drepper@redhat.com>
1868         * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
1869         LC_* variable.  Patch by Aharon Robbins <arnold@skeeve.com>.
1871         [BZ #731]
1872         * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
1873         * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
1875 2005-01-12  Ulrich Drepper  <drepper@redhat.com>
1877         * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
1878         callers from libc anymore.
1880         * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller
1881         to _dl_map_object_deps.
1882         * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory
1883         protections when loading auditing modules.
1885         * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail.
1887         * posix/getconf.c: Update copyright year.
1888         * nss/getent.c: Likewise.
1889         * nscd/nscd_nischeck.c: Likewise.
1890         * iconv/iconvconfig.c: Likewise.
1891         * iconv/iconv_prog.c: Likewise.
1892         * elf/ldconfig.c: Likewise.
1893         * catgets/gencat.c: Likewise.
1894         * csu/version.c: Likewise.
1895         * elf/ldd.bash.in: Likewise.
1896         * elf/sprof.c (print_version): Likewise.
1897         * locale/programs/locale.c: Likewise.
1898         * locale/programs/localedef.c: Likewise.
1899         * nscd/nscd.c (print_version): Likewise.
1900         * debug/xtrace.sh: Likewise.
1901         * malloc/memusage.sh: Likewise.
1902         * malloc/mtrace.pl: Likewise.
1903         * debug/catchsegv.sh: Likewise.
1905 2005-01-11  Thorsten Kukuk  <kukuk@suse.de>
1907         [BZ #733]
1908         * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN
1909         as backlog.
1910         * sunrpc/svc_unix.c (svcunix_create): Likewise.
1912         * grp/putgrent.c (putgrent): Don't write 0 as group
1913         ID if groupname starts with + or -.
1914         * pwd/putpwent.c (putpwent): Don't write 0 as user or
1915         group ID if user name starts with + or -.
1917 2005-01-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1919         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants.
1920         * sysdeps/elf/tst-auditmod1.c: Add sh support.
1921         * sysdeps/sh/bits/link.h: New.
1922         * sysdeps/sh/dl-machine.h: Remove trampoline code here.  Define
1923         ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.  Remove obsolete comments.
1924         (RTLD_START): Define __fpscr_values.
1925         * sysdeps/sh/dl-trampoline.S: New file.
1926         * sysdeps/sh/sh4/dl-trampoline.S: New file.
1927         * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values.
1928         * sysdeps/sh/sh4/dl-machine.h: Remove.
1930 2005-01-10  Jakub Jelinek  <jakub@redhat.com>
1932         [BZ #732]
1933         * time/tst-strptime.c (day_tests): Add 2 new tests.
1934         (test_tm, main): Issue an error instead of segfaulting if
1935         strptime returns NULL.
1937 2005-01-10  H.J. Lu  <hongjiu.lu@intel.com>
1939         * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union.
1940         * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise.
1942 2005-01-11  Ulrich Drepper  <drepper@redhat.com>
1944         * malloc/malloc.h: Remove no-glibc support.
1946 2005-01-12  GOTO Masanori  <gotom@debian.or.jp>
1948         [BZ #650]
1949         * malloc/malloc.h: Always include features.h.
1951 2005-01-10  Roland McGrath  <roland@redhat.com>
1953         * sysdeps/ia64/fpu/e_logl.c: File removed.
1955         * dlfcn/dlfcn.c (init): Fix typo in attribute decl.
1957 2005-01-10  Ulrich Drepper  <drepper@redhat.com>
1959         * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and
1960         recognition of last entry.
1962 2005-01-09  Ulrich Drepper  <drepper@redhat.com>
1964         * elf/dl-runtime.c: Include <sys/param.h>.
1966         * elf/Makefile (headers): Add bits/link.h.
1968 2005-01-09  Andreas Schwab  <schwab@suse.de>
1970         * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC.
1972 2005-01-09  Andreas Jaeger  <aj@suse.de>
1974         [BZ #732]
1975         * time/strptime_l.c (__strptime_internal): Add braces to avoid
1976         warning.
1978         * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0.
1980         * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
1982 2005-01-08  Jakub Jelinek  <jakub@redhat.com>
1984         * elf/Makefile (generated): Add tst-pie1{,.out,.o}.
1986 2005-01-09  Ulrich Drepper  <drepper@redhat.com>
1988         * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after
1989         those of all the regular objects.
1991         * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and
1992         use it to select the r_debug structure for that namespace.
1993         * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize.
1994         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1995         * elf/dl-open.c (_dl_open): Likewise.
1996         * elf/rtld.c (dl_main): Likewise.
1997         * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug
1998         member.
1999         (_dl_debug_initialize): Add new parameter in declaration.
2001         * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not
2002         called for the auditing objects themselves.
2003         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2005 2005-01-07  Ulrich Drepper  <drepper@redhat.com>
2007         * sysdeps/powerpc/powerpc64/dl-machine.h
2008         (elf_machine_runtime_setup): If profile != 0 does not anymore mean
2009         GLRO(dl_profile) != NULL.
2010         * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add
2011         padding.
2012         * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve):
2013         Extend _dl_prof_resolve to add pass extra parameters to
2014         _dl_profile_fixup and set up structure with register content.
2016         * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
2017         If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
2018         * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
2019         Extend _dl_prof_resolve to add pass extra parameters to
2020         _dl_profile_fixup and set up structure with register content.
2021         * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
2022         the register and result structures.
2023         * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
2024         in the 32-bit register and result structures.
2026         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
2028         * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file.
2029         * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here.
2030         Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
2031         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants.
2032         * elf/tst-auditmod1.c: Add ppc32 support.
2033         * sysdeps/powerpc/powerpc32/bits/link.h: New file.
2034         * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions.
2036         * malloc/malloc.c (malloc_printerr): Print program name as part of
2037         error message.
2039         * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define.
2040         * stdlib/stdlib.h: Make realloc with
2041         __attribute_warn_unused_result__ instead of __wur.
2042         * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__
2043         markers as in <stdlib.h>.
2045         * libio/stdio.h: Remove __wur from rename and remove.
2046         * posix/unistd.h: Remove __wur from dup2.
2048 2005-01-03  Andreas Jaeger  <aj@suse.de>
2050         * elf/Makefile (tests): Revert patch from 2005-01-03.
2052 2005-01-07  Ulrich Drepper  <drepper@redhat.com>
2054         * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't
2055         make __libc_init_first hidden.
2057         * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize
2058         l_relocated of rtld map.
2059         * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file.
2060         * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here.
2061         Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
2062         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants.
2063         * elf/tst-auditmod1.c: Add ppc64 support.
2064         * sysdeps/powerpc/powerpc64/bits/link.h: New file.
2066 2005-01-06  Roland McGrath  <roland@redhat.com>
2068         [BZ #633]
2069         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
2070         indicating file-name lookup errors, and return ENOSYS or EBADF instead.
2072 2005-01-06  Ulrich Drepper  <drepper@redhat.com>
2074         * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
2075         * sysdeps/generic/libc-start.c: Don't register program destructor here.
2077         * dlfcn/Makefile: Add rules to build dlfcn.c.
2078         (LDFLAGS-dl.so): Removed.
2079         * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
2080         table.
2081         * dlfcn/dlmopen.c: Likewise for _dl_open.
2082         * dlfcn/dlopen.c: Likewise.
2083         * dlfcn/dlopenold.c: Likewise.
2084         * elf/dl-libc.c: Likewise for _dl_open and _dl_close.
2085         * elf/Makefile (routines): Remove dl-open and dl-close.
2086         (dl-routines): Add dl-open, dl-close, and dl-trampoline.
2087         Add rules to build and run tst-audit1.
2088         * elf/tst-audit1.c: New file.
2089         * elf/tst-auditmod1.c: New file.
2090         * elf/Versions [libc]: Remove _dl_open and _dl_close.
2091         * elf/dl-close.c: Change for use inside ld.so instead of libc.so.
2092         * elf/dl-open.c: Likewise.
2093         * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
2094         signaled by nonzero parameter.
2095         * elf/dl-init.c: Fix use of r_state.
2096         * elf/dl-load.c: Likewise.
2098         * elf/dl-close.c: Add auditing checkpoints.
2099         * elf/dl-open.c: Likewise.
2100         * elf/dl-fini.c: Likewise.
2101         * elf/dl-load.c: Likewise.
2102         * elf/dl-sym.c: Likewise.
2103         * sysdeps/generic/libc-start.c: Likewise.
2104         * elf/dl-object.c: Allocate memory for auditing information.
2105         * elf/dl-reloc.c: Remove RESOLV.  We now always need the map.
2106         Correctly initialize slotinfo.
2107         * elf/dynamic-link.h: Adjust after removal of RESOLV.
2108         * sysdeps/hppa/dl-lookupcfg.h: Likewise.
2109         * sysdeps/ia64/dl-lookupcfg.h: Likewise.
2110         * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
2111         * elf/dl-runtime.c (_dl_fixup): Little cleanup.
2112         (_dl_profile_fixup): New parameters to point to register struct and
2113         variable for frame size.
2114         Add auditing checkpoints.
2115         (_dl_call_pltexit): New function.
2116         Don't define trampoline code here.
2117         * elf/rtld.c: Recognize LD_AUDIT.  Load modules on startup.
2118         Remove all the functions from _rtld_global_ro which only _dl_open
2119         and _dl_close needed.
2120         Add auditing checkpoints.
2121         * elf/link.h: Define symbols for auditing interfaces.
2122         * include/link.h: Likewise.
2123         * include/dlfcn.h: Define __RTLD_AUDIT.
2124         Remove prototypes for _dl_open and _dl_close.
2125         Adjust access to argc and argv in libdl.
2126         * dlfcn/dlfcn.c: New file.
2127         * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
2128         is gone.
2129         * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
2130         * sysdeps/generic/unsecvars.h: Add LD_AUDIT.
2131         * sysdeps/i386/dl-machine.h: Remove trampoline code here.
2132         Adjust for removal of RESOLVE.
2133         * sysdeps/x86_64/dl-machine.h: Likewise.
2134         * sysdeps/generic/dl-trampoline.c: New file.
2135         * sysdeps/i386/dl-trampoline.c: New file.
2136         * sysdeps/x86_64/dl-trampoline.c: New file.
2138         * sysdeps/generic/dl-tls.c: Cleanups.  Fixup for dtv_t change.
2139         Fix updating of DTV.
2140         * sysdeps/generic/libc-tls.c: Likewise.
2142         * sysdeps/arm/bits/link.h: Renamed to ...
2143         * sysdeps/arm/bits/linkmap.h: ...this.
2144         * sysdeps/generic/bits/link.h: Renamed to...
2145         * sysdeps/generic/bits/linkmap.h: ...this.
2146         * sysdeps/hppa/bits/link.h: Renamed to...
2147         * sysdeps/hppa/bits/linkmap.h: ...this.
2148         * sysdeps/i386/bits/link.h: Renamed to...
2149         * sysdeps/i386/bits/linkmap.h: ...this.
2150         * sysdeps/ia64/bits/link.h: Renamed to...
2151         * sysdeps/ia64/bits/linkmap.h: ...this.
2152         * sysdeps/s390/bits/link.h: Renamed to...
2153         * sysdeps/s390/bits/linkmap.h: ...this.
2154         * sysdeps/sh/bits/link.h: Renamed to...
2155         * sysdeps/sh/bits/linkmap.h: ...this.
2156         * sysdeps/x86_64/bits/link.h: Renamed to...
2157         * sysdeps/x86_64/bits/linkmap.h: ...this.
2159         * posix/unistd.h: Declare ftruncate for POSIX 2003.  [BZ #640]
2161 2004-12-22  Steven Munroe  <sjmunroe@us.ibm.com>
2163         [BZ #602]
2164         * math/libm-test.inc (rint_test_tonearest): New test.
2165         (rint_test_towardzero): New test.
2166         (rint_test_downward): New test.
2167         (rint_test_upward): New test.
2168         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case.
2169         Remove redundant const values.
2170         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case.
2171         Remove redundant const values.  Use float const.
2172         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case.
2173         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case.
2174         Use float const.
2175         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case.
2176         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case.
2177         Use float const.
2178         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case.
2179         Remove redundant const values.
2180         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case.
2181         Remove redundant const values.  Use float const.
2182         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case.
2183         Remove redundant const values.
2184         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case.
2185         Remove redundant const values.  Use float const.
2186         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword
2187         alignment.  Fix -0.0 case.  Remove redundant const values.
2188         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword
2189         alignment.  Fix -0.0 case.  Remove redundant const values.
2190         Use float const.
2191         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword
2192         alignment.  Fix -0.0 case.
2193         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword
2194         alignment.  Fix -0.0 case.  Use float const.
2195         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword
2196         alignment.  Fix -0.0 case.
2197         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword
2198         alignment.  Fix -0.0 case.  Use float const.
2199         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword
2200         alignment.  Fix -0.0 case.  Remove redundant const values.
2201         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword
2202         alignment.  Fix -0.0 case.  Remove redundant const values.
2203         Use float const.
2204         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword
2205         alignment.  Fix -0.0 case.
2206         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword
2207         alignment.  Fix -0.0 case.  Remove redundant const values.
2208         Use float const.
2210 2005-01-06  Ulrich Drepper  <drepper@redhat.com>
2212         * misc/sys/cdefs.h: Define __wur.
2213         * libio/stdio.h: Use __wur for a number of interfaces.
2214         * posix/unistd.h: Likewise.
2215         * stdlib/stdlib.h: Likewise.
2217 2004-12-29  Jakub Jelinek  <jakub@redhat.com>
2219         [BZ #592]
2220         * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use
2221         libc_hidden_proto instead of HIDDEN_PROTO.
2222         * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove.
2223         (__libm_error_support): If ASSEMBLER and in libc, define to
2224         HIDDEN_JUMPTARGET(__libm_error_support).
2226 2004-12-28  David Mosberger  <davidm@hpl.hp.com>
2228         [BZ #592]
2229         * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro.
2230         (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l}
2231         with $(duplicated-routines).
2232         (libm-sysdep_routines): Likewise, but substitute "s_" prefix for
2233         "m_" prefix.
2235 2004-12-27  David Mosberger  <davidm@hpl.hp.com>
2237         [BZ #592]
2238         * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and
2239         undefine "ret" macro.  Add __libm_error_support hidden definitions.
2241         [BZ #592]
2242         * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment.  Add
2243         missing portion of copyright statement.
2244         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
2245         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
2247         [BZ #592]
2248         * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment.  Add
2249         missing portion of copyright statement.
2250         (__ieee754_lgamma): Rename from lgamma().  Make lgamma() a weak alias.
2251         (__ieee754_gamma): Likewise.
2252         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
2253         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
2255 2004-12-09  H. J. Lu <hjl@lucon.org>
2257         [BZ #592]
2258         * sysdeps/ia64/fpu/s_nextafterl.c: Remove.
2259         * sysdeps/ia64/fpu/s_nexttoward.c: Likewise.
2260         * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise.
2261         * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c).
2262         * sysdeps/ia64/fpu/e_expl.S: Likewise.
2263         * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S).
2265 2004-11-18  David Mosberger  <davidm@hpl.hp.com>
2267         [BZ #592]
2268         * sysdeps/ia64/fpu/README: New file.
2269         * sysdeps/ia64/fpu/gen_import_file_list: New file.
2270         * sysdeps/ia64/fpu/import_check: Likewise.
2271         * sysdeps/ia64/fpu/import_diffs: Likewise.
2272         * sysdeps/ia64/fpu/import_file.awk: Likewise.
2273         * sysdeps/ia64/fpu/import_intel_libm: Likewise.
2274         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2276         [BZ #592]
2277         * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+.
2278         * sysdeps/ia64/fpu/e_acosf.S: Likewise.
2279         * sysdeps/ia64/fpu/e_acosl.S: Likewise.
2280         * sysdeps/ia64/fpu/e_asin.S: Likewise.
2281         * sysdeps/ia64/fpu/e_asinf.S: Likewise.
2282         * sysdeps/ia64/fpu/e_asinl.S: Likewise.
2283         * sysdeps/ia64/fpu/e_atan2.S: Likewise.
2284         * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
2285         * sysdeps/ia64/fpu/e_cosh.S: Likewise.
2286         * sysdeps/ia64/fpu/e_coshf.S: Likewise.
2287         * sysdeps/ia64/fpu/e_coshl.S: Likewise.
2288         * sysdeps/ia64/fpu/e_exp.S: Likewise.
2289         * sysdeps/ia64/fpu/e_expf.S: Likewise.
2290         * sysdeps/ia64/fpu/e_fmod.S: Likewise.
2291         * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
2292         * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
2293         * sysdeps/ia64/fpu/e_hypot.S: Likewise.
2294         * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
2295         * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
2296         * sysdeps/ia64/fpu/e_log.S: Likewise.
2297         * sysdeps/ia64/fpu/e_log2.S: Likewise.
2298         * sysdeps/ia64/fpu/e_log2f.S: Likewise.
2299         * sysdeps/ia64/fpu/e_log2l.S: Likewise.
2300         * sysdeps/ia64/fpu/e_logf.S: Likewise.
2301         * sysdeps/ia64/fpu/e_pow.S: Likewise.
2302         * sysdeps/ia64/fpu/e_powf.S: Likewise.
2303         * sysdeps/ia64/fpu/e_powl.S: Likewise.
2304         * sysdeps/ia64/fpu/e_remainder.S: Likewise.
2305         * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
2306         * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
2307         * sysdeps/ia64/fpu/e_scalb.S: Likewise.
2308         * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
2309         * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
2310         * sysdeps/ia64/fpu/e_sinh.S: Likewise.
2311         * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
2312         * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
2313         * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
2314         * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
2315         * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
2316         * sysdeps/ia64/fpu/libm_error.c: Likewise.
2317         * sysdeps/ia64/fpu/libm_reduce.c: Likewise.
2318         * sysdeps/ia64/fpu/libm_support.h: Likewise.
2319         * sysdeps/ia64/fpu/s_atan.S: Likewise.
2320         * sysdeps/ia64/fpu/s_atanf.S: Likewise.
2321         * sysdeps/ia64/fpu/s_atanl.S: Likewise.
2322         * sysdeps/ia64/fpu/s_cbrt.S: Likewise.
2323         * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
2324         * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
2325         * sysdeps/ia64/fpu/s_ceil.S: Likewise.
2326         * sysdeps/ia64/fpu/s_ceilf.S: Likewise.
2327         * sysdeps/ia64/fpu/s_ceill.S: Likewise.
2328         * sysdeps/ia64/fpu/s_cos.S: Likewise.
2329         * sysdeps/ia64/fpu/s_cosf.S: Likewise.
2330         * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2331         * sysdeps/ia64/fpu/s_expm1.S: Likewise.
2332         * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
2333         * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
2334         * sysdeps/ia64/fpu/s_fabs.S: Likewise.
2335         * sysdeps/ia64/fpu/s_fabsf.S: Likewise.
2336         * sysdeps/ia64/fpu/s_fabsl.S: Likewise.
2337         * sysdeps/ia64/fpu/s_floor.S: Likewise.
2338         * sysdeps/ia64/fpu/s_floorf.S: Likewise.
2339         * sysdeps/ia64/fpu/s_floorl.S: Likewise.
2340         * sysdeps/ia64/fpu/s_frexp.c: Likewise.
2341         * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
2342         * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
2343         * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
2344         * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
2345         * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
2346         * sysdeps/ia64/fpu/s_log1p.S: Likewise.
2347         * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
2348         * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
2349         * sysdeps/ia64/fpu/s_logb.S: Likewise.
2350         * sysdeps/ia64/fpu/s_logbf.S: Likewise.
2351         * sysdeps/ia64/fpu/s_logbl.S: Likewise.
2352         * sysdeps/ia64/fpu/s_modf.S: Likewise.
2353         * sysdeps/ia64/fpu/s_modff.S: Likewise.
2354         * sysdeps/ia64/fpu/s_modfl.S: Likewise.
2355         * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
2356         * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
2357         * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
2358         * sysdeps/ia64/fpu/s_rint.S: Likewise.
2359         * sysdeps/ia64/fpu/s_rintf.S: Likewise.
2360         * sysdeps/ia64/fpu/s_rintl.S: Likewise.
2361         * sysdeps/ia64/fpu/s_round.S: Likewise.
2362         * sysdeps/ia64/fpu/s_roundf.S: Likewise.
2363         * sysdeps/ia64/fpu/s_roundl.S: Likewise.
2364         * sysdeps/ia64/fpu/s_significand.S: Likewise.
2365         * sysdeps/ia64/fpu/s_significandf.S: Likewise.
2366         * sysdeps/ia64/fpu/s_significandl.S: Likewise.
2367         * sysdeps/ia64/fpu/s_tan.S: Likewise.
2368         * sysdeps/ia64/fpu/s_tanf.S: Likewise.
2369         * sysdeps/ia64/fpu/s_tanl.S: Likewise.
2370         * sysdeps/ia64/fpu/s_trunc.S: Likewise.
2371         * sysdeps/ia64/fpu/s_truncf.S: Likewise.
2372         * sysdeps/ia64/fpu/s_truncl.S: Likewise.
2374         [BZ #592]
2375         * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+.
2376         * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
2377         * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
2378         * sysdeps/ia64/fpu/e_atanh.S: Likewise.
2379         * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
2380         * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
2381         * sysdeps/ia64/fpu/e_exp10.S: Likewise.
2382         * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
2383         * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
2384         * sysdeps/ia64/fpu/e_exp2.S: Likewise.
2385         * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
2386         * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
2387         * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise.
2388         * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise.
2389         * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise.
2390         * sysdeps/ia64/fpu/e_logl.S: Likewise.
2391         * sysdeps/ia64/fpu/libm_frexp.S: Likewise.
2392         * sysdeps/ia64/fpu/libm_frexpf.S: Likewise.
2393         * sysdeps/ia64/fpu/libm_frexpl.S: Likewise.
2394         * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
2395         * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
2396         * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
2397         * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
2398         * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
2399         * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
2400         * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
2401         * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
2402         * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
2403         * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
2404         * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2405         * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
2406         * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2407         * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
2408         * sysdeps/ia64/fpu/s_asinh.S: Likewise.
2409         * sysdeps/ia64/fpu/s_asinhf.S: Likewise.
2410         * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
2411         * sysdeps/ia64/fpu/s_erf.S: Likewise.
2412         * sysdeps/ia64/fpu/s_erfc.S: Likewise.
2413         * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
2414         * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
2415         * sysdeps/ia64/fpu/s_erff.S: Likewise.
2416         * sysdeps/ia64/fpu/s_erfl.S: Likewise.
2417         * sysdeps/ia64/fpu/s_fdim.S: Likewise.
2418         * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
2419         * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
2420         * sysdeps/ia64/fpu/s_fma.S: Likewise.
2421         * sysdeps/ia64/fpu/s_fmaf.S: Likewise.
2422         * sysdeps/ia64/fpu/s_fmal.S: Likewise.
2423         * sysdeps/ia64/fpu/s_fmax.S: Likewise.
2424         * sysdeps/ia64/fpu/s_fmaxf.S: Likewise.
2425         * sysdeps/ia64/fpu/s_fmaxl.S: Likewise.
2426         * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
2427         * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
2428         * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
2429         * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
2430         * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
2431         * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
2432         * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
2433         * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
2434         * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
2435         * sysdeps/ia64/fpu/s_tanh.S: Likewise.
2436         * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
2437         * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
2438         * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
2439         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
2440         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
2441         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
2442         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
2443         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
2444         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
2446         [BZ #592]
2447         * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file.
2448         * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise.
2449         * sysdeps/ia64/fpu/e_gammal_r.c: Likewise.
2450         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
2451         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
2452         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
2453         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
2454         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
2455         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
2456         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
2457         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
2458         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
2459         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
2460         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
2461         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
2462         * sysdeps/ia64/fpu/w_expl.c: Likewise.
2463         * sysdeps/ia64/fpu/e_expl.S: Likewise.
2464         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
2465         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
2466         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
2467         * sysdeps/ia64/fpu/w_log2.c: Likewise.
2468         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
2469         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
2470         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
2471         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
2472         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
2474         [BZ #592]
2475         * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove.
2476         * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
2477         * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
2478         * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
2479         * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
2480         * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
2481         * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
2483         [BZ #592]
2484         * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file.
2485         * sysdeps/ia64/fpu/s_sincosf.c: Likewise.
2486         * sysdeps/ia64/fpu/s_sincosl.c: Likewise.
2488         [BZ #592]
2489         * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment.
2491         [BZ #592]
2492         * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l}
2493         alias for use by libm_error.c
2495         [BZ #592]
2496         * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove
2497         libm_atan2_reg, libm_tan, libm_frexp4{f,l}.
2498         Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l},
2499         libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l},
2500         libm_scalbn{,f,l}, libm_scalblnf.
2501         (sysdep_routines): Remove libm_frexp4{,f,l}.
2502         Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}.
2503         (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__,
2504         _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and
2505         -DSIZE_LONG_LONG_INT_64.
2507 2005-01-05  Steven Munroe  <sjmunroe@us.ibm.com>
2509         [BZ #729]
2510         * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and
2511         l_text_end are set for a VDSO with a single PT_LOAD entry.
2513 2005-01-05  Ulrich Drepper  <drepper@redhat.com>
2515         [BZ #730]
2516         * libio/iofopncook.c (_IO_cookie_seekoff): Define.  Mark offset as
2517         invalid to disable optimizations in fileops which won't work here.
2518         (_IO_cookie_jumps): Use it.
2519         (_IO_old_cookie_jumps): Likewise.
2520         * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P,
2521         not the return value.
2522         * stdio-common/Makefile (tests): Add tst-fmemopen2.
2523         * stdio-common/tst-fmemopen2.c: New file.
2525         * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD.
2527 2005-01-05  Roland McGrath  <roland@redhat.com>
2529         * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ...
2530         * sysdeps/i386/configure.in: ... here.  New file.
2532 2005-01-03  Ulrich Drepper  <drepper@redhat.com>
2534         [BZ #727]
2535         * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
2536         initialize __environ again.
2537         * stdlib/Makefile: Add rules to build and run tst-putenv.
2538         * stdlib/tst-putenv.c: New file.
2539         * stdlib/tst-putenvmod.c: New file.
2541         * sysdeps/unix/sysv/linux/init-first.c: Clean file up.  Don't
2542         define unnecessary wrappers or aliases of static functions.
2544 2005-01-03  Andreas Jaeger  <aj@suse.de>
2546         * csu/Makefile (generated): Add start.os and start.ob.
2548         * elf/Makefile (tests): Change rule for tst-pie1 so that make
2549         clean works.
2551 2004-12-29  Roland McGrath  <roland@redhat.com>
2553         [BZ #626]
2554         * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
2555         than always up; when nearest is zero, round up to one.
2557 2004-12-28  Ulrich Drepper  <drepper@redhat.com>
2559         * po/es.po: Update from translation team.
2561         [BZ #726]
2562         * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
2564 2004-12-27  Ulrich Drepper  <drepper@redhat.com>
2566         [BZ #744]
2567         * include/signal.h: Define __sigemptyset.
2569 2004-04-27  Paolo Bonzini  <bonzini@gnu.org>
2571         * posix/regex_internal.h (struct re_dfastate_t): Make
2572         word_trtable a pointer to the 512-item transition table.
2573         * posix/regexec.c (build_trtable): Fill in either state->trtable
2574         or state->word_trtable.  Return a boolean indicating success.
2575         (transit_state): Expect state->trtable to be a 256-item
2576         transition table.  Reorganize code to have less tests in
2577         the common case, and to save an indentation level.
2578         * posix/regex_internal.c (free_state): Free word_trtable.
2580 2004-12-21  Jakub Jelinek  <jakub@redhat.com>
2582         [BZ #723]
2583         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when
2584         calling fn is 16 byte aligned.
2585         * sysdeps/i386/tst-stack-align.h: New file.
2587         [BZ #725]
2588         * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
2589         (ecvt_r): Special case denormals.
2590         * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
2591         * misc/tst-efgcvt.c: Include float.h.
2592         (ecvt_tests): Add 2 new tests.
2594 2004-12-20  Roland McGrath  <roland@frob.com>
2596         * version.h (RELEASE, VERSION): development, 2.3.90
2597         * include/features.h (__GLIBC_MINOR__): Now 4.
2600 See ChangeLog.15 for earlier changes.