Add sparc64 TLS and NPTL support.
[glibc.git] / ChangeLog
blob7a715243c76c6eedc9a4d7e0dc3004e9be27ad48
1 2005-04-13  David S. Miller  <davem@davemloft.net>
3         Add sparc64 TLS and NPTL support.
4         * elf/tls-macros.h: Add Sparc64 defines.
5         * sysdeps/sparc/sparc64/dl-machine.h (sparc64_fixup_plt): Mark as
6         always_inline.
7         (elf_machine_fixup_plt): Likewise.
8         (elf_machine_rela): Handle TLS relocations.
9         (elf_machine_type_cleaa): Likewise.
10         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11         (SYSCALL_ERROR_HANDLER_ENTRY): Use sethi/or for GOT reloc.
12         It does not always fit in R_SPARC_GOT13 when building -fPIC.
13         Also, add TLS handling.
14         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15         Increase it to 2.4.21 for sparc64.
16         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: NULL terminate
17         backtrace by zero'ing out %fp.  Store away flags, func_ptr,
18         and func_arg in global registers not local registers.
19         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Handle PTID, TLS,
20         and CTID arguments properly.  Add RESET_PID handling.
21         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Rework so that we
22         do not invoke __sigprocmask().  We can always assume rt signals
23         are present on sparc64, so just do an inline syscall.
25 2005-04-13  Jakub Jelinek  <jakub@redhat.com>
27         * sysdeps/sparc/sparc64/dl-machine.h: Add dl_machine_h multiple
28         inclusion guard for the first half of the header.
29         (elf_machine_type_class, ELF_MACHINE_JMP_SLOT, ELF_MACHINE_NO_REL,
30         ELF_MACHINE_PLTREL_OVERLAP, elf_machine_runtime_setup,
31         elf_machine_relplt, DL_STACK_END, RTLD_START): Move into the
32         #ifndef dl_machine_h guarded part of the header.
34 2005-04-14  Ulrich Drepper  <drepper@redhat.com>
36         * posix/execvp.c (execvp): Use file name including path when
37         trying to run it with shell.
38         * posix/Makefile: Add rules to build and run tst-execvp3.
39         * posix/tst-execvp3.c: New file.
41 2005-04-12  Ulrich Drepper  <drepper@redhat.com>
43         * stdlib/random_r.c (__initstate_r): Don't use non-existing state.
44         * string/tst-strfry.c: New file.
45         * string/Makefile (tests): Add tst-strfry.
47 2005-04-11  James A. Morrison  <ja2morri@uwaterloo.ca>
49         * manual/string.texi: Fix typo in wmemcpy decl.
51 2005-04-10  David S. Miller  <davem@davemloft.net>
53         * sysdeps/sparc/sparc32/dl-trampoline.S: Use std not stx.
55 2005-04-08  Carlos O'Donell <carlos@baldric.uwo.ca>
57         * FAQ.in: Explain why `make' might fail running rpcgen.
58         * FAQ: Regenerated.
60 2005-04-07  Roland McGrath  <roland@redhat.com>
62         * po/libc.pot: Regenerated.
64 2005-04-07  Roland McGrath  <roland@redhat.com>
66         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion)
67         [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
68         GLRO(dl_sysinfo_map) for PT_NOTE giving Linux kernel version,
69         we can skip the uname call if it's there.
70         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't use
71         DL_SYSDEP_OSCHECK here.
72         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]: Do it here instead.
74         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro):
75         Add _dl_sysinfo_map.
76         * elf/rtld.c (dl_main): Don't call _dl_init_paths early in the
77         rtld_is_main case.  Call it unconditionally later.
78         Move GLRO(dl_sysinfo_dso) handling earlier, before _dl_init_paths call.
79         Initialize GLRO(dl_sysinfo_map).
80         * elf/dl-load.c (open_path): Bail out if _dl_init_paths wasn't called.
81         * sysdeps/generic/dl-sysdep.c (_DL_FIRST_EXTRA): New macro.
82         (_dl_important_hwcaps)
83         [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
84         GLRO(dl_sysinfo_map) for PT_NOTE giving synthetic hwcap names
85         and bit values.
86         * elf/ldconfig.c (_DL_FIRST_EXTRA): New macro.
87         (hwcap_extra): New static variable.
88         (is_hwcap_platform): Check hwcap_extra for a matching name.
89         Remove tls special case.
90         (path_hwcap): Likewise.
91         (parse_conf): Parse "hwcap" directive to define synthetic hwcap bits
92         and their names, stored in hwcap_extra.
93         (main) [USE_TLS]: Initialize final synthetic hwcap bit as "tls".
95         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Use uint64_t for
96         _dl_hwcap and _dl_hwcap_mask.
97         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Cast a_val for
98         AT_HWCAP to unsigned long int.
99         * elf/dl-support.c (_dl_aux_init): Likewise.
100         (_dl_hwcap): Update defn.
102         * elf/cache.c (print_entry): Pad hwcap value with 0s in diagnostic.
103         * elf/ldconfig.c (search_dir): Likewise.
105 2005-04-05  Roland McGrath  <roland@redhat.com>
107         * NEWS: Copy 2.3.5 section from 2.3 branch.
109         * intl/tst-codeset.sh: Use mkdir -p.  Put msgfmt output in temporary
110         file and mv it into place.
111         * intl/tst-gettext3.sh: Likewise.
113         * Makefile (glibc-%.tar rule): Use make -q to ensure configure scripts
114         are up to date in srcdir.  Touch all configure scripts after export.
116         * iconv/gconv_int.h: Include <ctype.h> and <string.h>.
118 2005-04-05  H.J. Lu  <hongjiu.lu@intel.com>
120         [BZ #592]
121         * sysdeps/ia64/fpu/e_acosh.S: Update from Intel libm 2005-04-05
122         (comment changes only).
123         * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
124         * sysdeps/ia64/fpu/e_atanh.S: Likewise.
125         * sysdeps/ia64/fpu/e_cosh.S: Likewise.
126         * sysdeps/ia64/fpu/e_coshf.S: Likewise.
127         * sysdeps/ia64/fpu/e_exp.S: Likewise.
128         * sysdeps/ia64/fpu/e_exp10.S: Likewise.
129         * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
130         * sysdeps/ia64/fpu/e_exp2.S: Likewise.
131         * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
132         * sysdeps/ia64/fpu/e_expf.S: Likewise.
133         * sysdeps/ia64/fpu/e_log.S: Likewise.
134         * sysdeps/ia64/fpu/e_logf.S: Likewise.
135         * sysdeps/ia64/fpu/e_pow.S: Likewise.
136         * sysdeps/ia64/fpu/e_powf.S: Likewise.
137         * sysdeps/ia64/fpu/e_sinh.S: Likewise.
138         * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
139         * sysdeps/ia64/fpu/libm_error.c: Likewise.
140         * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
141         * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
142         * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
143         * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
144         * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
145         * sysdeps/ia64/fpu/s_asinh.S: Likewise.
146         * sysdeps/ia64/fpu/s_atanl.S: Likewise.
147         * sysdeps/ia64/fpu/s_cos.S: Likewise.
148         * sysdeps/ia64/fpu/s_cosf.S: Likewise.
149         * sysdeps/ia64/fpu/s_erf.S: Likewise.
150         * sysdeps/ia64/fpu/s_erfc.S: Likewise.
151         * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
152         * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
153         * sysdeps/ia64/fpu/s_erff.S: Likewise.
154         * sysdeps/ia64/fpu/s_expm1.S: Likewise.
155         * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
156         * sysdeps/ia64/fpu/s_log1p.S: Likewise.
157         * sysdeps/ia64/fpu/s_tanf.S: Likewise.
158         * sysdeps/ia64/fpu/s_tanh.S: Likewise.
159         * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
160         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
161         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
162         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
164 2005-04-05  Roland McGrath  <roland@redhat.com>
166         * scripts/config.guess: Update from master, timestamp='2005-03-24'.
167         * scripts/config.sub: Update from master, timestamp='2005-02-10'.
169 2005-04-04  David S. Miller  <davem@davemloft.net>
171         * sysdeps/sparc/sparc32/dl-trampoline.S: New file.
172         * sysdeps/sparc/sparc32/dl-machine.h: Move PLT trampolines there.
173         Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
174         (elf_machine_runtime_setup): Test for dl_profile non-null.
175         * sysdeps/sparc/sparc64/dl-trampoline.S: New file.
176         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
177         * sysdeps/sparc/sparc64/dl-machine.h: Move PLT trampolines there.
178         Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
179         (elf_machine_runtime_setup): Test for dl_profile non-null.
180         * sysdeps/sparc/bits/link.h: New file.
181         * sysdeps/generic/ldsodefs.h (La_sparc32_regs, La_sparc32_retval,
182         La_sparc64_regs, La_sparc64_retval): New.
183         (struct audit_ifaces): Add sparc entries.
184         * elf/tst-auditmod1.c: Add sparc entries.
186 2005-03-27  Bruno Haible  <bruno@clisp.org>
188         * intl/tst-gettext3.c: New file.
189         * intl/tst-gettext3.sh: New file.
190         * intl/Makefile (distribute): Add tst-gettext3.sh.
191         (test-srcs): Add tst-gettext3.
192         (tests): Depend on tst-gettext3.out.
193         (tst-gettext3.out): New rule.
194         (CFLAGS-tst-gettext3.c): New variable.
196         Fix bug exposed by tst-gettext3.
197         * intl/gettextP.h (struct converted_domain): New type.
198         (struct loaded_domain): Remove the conv, conv_tab fields. Add
199         conversions, nconversions fields.
200         (_nl_init_domain_conv): Remove declaration.
201         (_nl_free_domain_conv): Remove declaration.
202         (_nl_find_msg): Add convert argument.
203         * intl/dcigettext.c (DCIGETTEXT): Call _nl_find_msg with convert=1.
204         (_nl_find_msg): Add convert argument. When a conversion to a different
205         charset is needed, create a new converted_domain element, instead of
206         throwing away the old converted translations.
207         (get_output_charset): New function.
208         * intl/loadmsgcat.c (_nl_init_domain_conv): Remove function.
209         (_nl_free_domain_conv): Remove function.
210         (_nl_load_domain): Initialize the conversions array to empty. Use
211         _nl_find_msg instead of _nl_init_domain_conv to retrieve the header
212         entry.
213         (_nl_unload_domain): Free the conversions array and its contents.
215         * intl/gettextP.h (struct loaded_domain): Remove codeset_cntr field.
216         (struct binding): Likewise.
217         * intl/bindtextdom.c (set_binding_values): Drop codeset_cntr
218         modifications.
220 2005-04-04  Jakub Jelinek  <jakub@redhat.com>
222         * sunrpc/pmap_rmt.c (xdr_rmtcall_args): Use a dummy arglen instead
223         of trying to encode uninitialized arglen.
225 2005-04-04  Ulrich Drepper  <drepper@redhat.com>
227         [BZ #825]
228         * timezone/scheck.c: Update from tzcode2005h.
229         * timezone/tzfile.h: Likewise.
230         * timezone/zdump.c: Likewise.
231         * timezone/zic.c: Likewise.
233         [BZ #825]
234         * timezone/antarctica: Update from tzdata2005h.
235         * timezone/asia: Likewise.
236         * timezone/australasia: Likewise.
237         * timezone/etcetera: Likewise.
238         * timezone/europe: Likewise.
239         * timezone/northamerica: Likewise.
240         * timezone/southamerica: Likewise.
241         * timezone/leapseconds: Likewise.
242         * timezone/iso3166.tab: Likewise.
244 2005-03-31  H.J. Lu  <hongjiu.lu@intel.com>
246         [BZ #592]
247         * sysdeps/ia64/fpu/libm_cpu_defs.h: Update copyright.
249 2005-04-01  Ulrich Drepper  <drepper@redhat.com>
251         * wcsmbs/btowc.c (__btowc): Optimize parameters in ASCII range.
252         * wcsmbs/wctob.c (wctob): Likewise.
253         * wcsmbs/wchar.h (btowc): Add optimized inline function.
254         (wctob): Likewise.
256 2005-03-31  Jakub Jelinek  <jakub@redhat.com>
258         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Use functionally
259         equivalent, but shorter instructions.
260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
261         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
262         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
263         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
264         * sysdeps/unix/x86_64/sysdep.S: Likewise.
265         * sysdeps/x86_64/strchr.S: Likewise.
266         * sysdeps/x86_64/memset.S: Likewise.
267         * sysdeps/x86_64/strcspn.S: Likewise.
268         * sysdeps/x86_64/strcmp.S: Likewise.
269         * sysdeps/x86_64/elf/start.S: Likewise.
270         * sysdeps/x86_64/strspn.S: Likewise.
271         * sysdeps/x86_64/dl-machine.h: Likewise.
272         * sysdeps/x86_64/bsd-_setjmp.S: Likewise.
273         * sysdeps/x86_64/bsd-setjmp.S: Likewise.
274         * sysdeps/x86_64/strtok.S: Likewise.
276 2005-03-30  H.J. Lu  <hongjiu.lu@intel.com>
278         [BZ #592]
279         * sysdeps/ia64/fpu/e_acosf.S: Update from Intel libm 2005-03-21.
280         * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
281         * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
282         * sysdeps/ia64/fpu/e_acosh.S: Likewise.
283         * sysdeps/ia64/fpu/e_acosl.S: Likewise.
284         * sysdeps/ia64/fpu/e_acos.S: Likewise.
285         * sysdeps/ia64/fpu/e_asinf.S: Likewise.
286         * sysdeps/ia64/fpu/e_asinl.S: Likewise.
287         * sysdeps/ia64/fpu/e_asin.S: Likewise.
288         * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
289         * sysdeps/ia64/fpu/e_atan2.S: Likewise.
290         * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
291         * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
292         * sysdeps/ia64/fpu/e_atanh.S: Likewise.
293         * sysdeps/ia64/fpu/e_coshf.S: Likewise.
294         * sysdeps/ia64/fpu/e_coshl.S: Likewise.
295         * sysdeps/ia64/fpu/e_cosh.S: Likewise.
296         * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
297         * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
298         * sysdeps/ia64/fpu/e_exp10.S: Likewise.
299         * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
300         * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
301         * sysdeps/ia64/fpu/e_exp2.S: Likewise.
302         * sysdeps/ia64/fpu/e_expf.S: Likewise.
303         * sysdeps/ia64/fpu/e_exp.S: Likewise.
304         * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
305         * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
306         * sysdeps/ia64/fpu/e_fmod.S: Likewise.
307         * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
308         * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
309         * sysdeps/ia64/fpu/e_hypot.S: Likewise.
310         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
311         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
312         * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
313         * sysdeps/ia64/fpu/e_log2f.S: Likewise.
314         * sysdeps/ia64/fpu/e_log2l.S: Likewise.
315         * sysdeps/ia64/fpu/e_log2.S: Likewise.
316         * sysdeps/ia64/fpu/e_logf.S: Likewise.
317         * sysdeps/ia64/fpu/e_logl.S: Likewise.
318         * sysdeps/ia64/fpu/e_log.S: Likewise.
319         * sysdeps/ia64/fpu/e_powf.S: Likewise.
320         * sysdeps/ia64/fpu/e_powl.S: Likewise.
321         * sysdeps/ia64/fpu/e_pow.S: Likewise.
322         * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
323         * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
324         * sysdeps/ia64/fpu/e_remainder.S: Likewise.
325         * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
326         * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
327         * sysdeps/ia64/fpu/e_scalb.S: Likewise.
328         * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
329         * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
330         * sysdeps/ia64/fpu/e_sinh.S: Likewise.
331         * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
332         * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
333         * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
334         * sysdeps/ia64/fpu/libm_error.c: Likewise.
335         * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
336         * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
337         * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
338         * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
339         * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
340         * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
341         * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
342         * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
343         * sysdeps/ia64/fpu/libm_support.h: Likewise.
344         * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
345         * sysdeps/ia64/fpu/s_asinh.S: Likewise.
346         * sysdeps/ia64/fpu/s_atanf.S: Likewise.
347         * sysdeps/ia64/fpu/s_atanl.S: Likewise.
348         * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
349         * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
350         * sysdeps/ia64/fpu/s_cosf.S: Likewise.
351         * sysdeps/ia64/fpu/s_cosl.S: Likewise.
352         * sysdeps/ia64/fpu/s_cos.S: Likewise.
353         * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
354         * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
355         * sysdeps/ia64/fpu/s_erfc.S: Likewise.
356         * sysdeps/ia64/fpu/s_erfl.S: Likewise.
357         * sysdeps/ia64/fpu/s_erf.S: Likewise.
358         * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
359         * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
360         * sysdeps/ia64/fpu/s_expm1.S: Likewise.
361         * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
362         * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
363         * sysdeps/ia64/fpu/s_fdim.S: Likewise.
364         * sysdeps/ia64/fpu/s_frexp.c: Likewise.
365         * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
366         * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
367         * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
368         * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
369         * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
370         * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
371         * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
372         * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
373         * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
374         * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
375         * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
376         * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
377         * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
378         * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
379         * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
380         * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
381         * sysdeps/ia64/fpu/s_log1p.S: Likewise.
382         * sysdeps/ia64/fpu/s_logbf.S: Likewise.
383         * sysdeps/ia64/fpu/s_logbl.S: Likewise.
384         * sysdeps/ia64/fpu/s_logb.S: Likewise.
385         * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
386         * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
387         * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
388         * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
389         * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
390         * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
391         * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
392         * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
393         * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
394         * sysdeps/ia64/fpu/s_roundf.S: Likewise.
395         * sysdeps/ia64/fpu/s_roundl.S: Likewise.
396         * sysdeps/ia64/fpu/s_round.S: Likewise.
397         * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
398         * sysdeps/ia64/fpu/s_scalbn.c: Likewise.
399         * sysdeps/ia64/fpu/s_scalbnf.c: Likewise.
400         * sysdeps/ia64/fpu/s_scalbnl.c: Likewise.
401         * sysdeps/ia64/fpu/s_tanf.S: Likewise.
402         * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
403         * sysdeps/ia64/fpu/s_tanh.S: Likewise.
404         * sysdeps/ia64/fpu/s_tanl.S: Likewise.
405         * sysdeps/ia64/fpu/s_tan.S: Likewise.
406         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
407         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
408         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
409         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
410         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
411         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
413         [BZ #592]
414         * sysdeps/ia64/fpu/libm_cpu_defs.h: New file.
415         * sysdeps/ia64/fpu/libm_error_codes.h: New file.
417         [BZ #592]
418         * sysdeps/ia64/fpu/gen_import_file_list: Updated for Intel libm
419         2005-03-21.
420         * sysdeps/ia64/fpu/import_file.awk: Likewise.
421         * sysdeps/ia64/fpu/import_intel_libm: Likewise.
422         * sysdeps/ia64/fpu/Makefile: Likewise.
424 2005-03-29  Jakub Jelinek  <jakub@redhat.com>
426         * posix/fnmatch.c (fnmatch): For short patterns or strings attempt to
427         avoid calling mbsrtowcs twice.
429 2005-03-29  Roland McGrath  <roland@redhat.com>
431         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): New
432         function, inline broken out of ...
433         (DL_SYSDEP_OSCHECK): ... here.  Use that.
434         Do the discovery and set GLRO(dl_osversion) if successful,
435         if __LINUX_KERNEL_VERSION <= 0.
436         * elf/dl-load.c: Don't include dl-osinfo.h here.
438 2005-03-29  Alfred M. Szmidt  <ams@gnu.org>
440         * manual/install.texi (Tools for Compilation): GNU binutils 2.15
441         is now needed.
443 2005-03-19  Bruno Haible  <bruno@clisp.org>
445         * intl/dcigettext.c (struct known_translation_t): Change type of
446         domainname field to 'const char *'.
447         (DCIGETTEXT): Remove const-cast.
449 2005-03-29  Thorsten Kukuk  <kukuk@suse.de>
451         [BZ #661]
452         * grp/initgroups.c (internal_getgrouplist): Check if we have
453         enough space before adding the primary group to the list.
455         * posix/tst-execle1.c (do_test): Fix execle arguments.
456         * posix/tst-execle2.c (do_test): Likewise.
458 2005-03-28  Roland McGrath  <roland@redhat.com>
460         * sysdeps/generic/w_exp2.c [NO_LONG_DOUBLE]: Fix typos in alias names.
461         Reported by Mark Mitchell <mark@codesourcery.com>.
462         * Versions.def (libm): Define GLIBC_2.4 set.
463         * math/Versions (libm: GLIBC_2.4): Add this set, with exp2l.
464         * sysdeps/i386/Versions (libm: GLIBC_2.1): Add this set, with exp2l.
465         * sysdeps/ia64/Versions: Likewise.
466         * sysdeps/m68k/Versions: Likewise.
467         * sysdeps/sparc/sparc64/Versions: Likewise.
468         * sysdeps/x86_64/Versions: New file.
469         * sysdeps/mips/mips64/Versions: New file.
471         * locale/langinfo.h (_NL_LOCALE_NAME): New macro.
472         [__USE_GNU] (NL_LOCALE_NAME): New macro.
473         * locale/nl_langinfo.c: Grok special item value for _NL_LOCALE_NAME,
474         return locale name string for the category.
476 2005-03-25  Jakub Jelinek  <jakub@redhat.com>
478         * sysdeps/generic/wcstoul_l.c: Include "wcstol_l.c" rather than
479         <wcstol_l.c>.
481 2005-03-28  Daniel Jacobowitz  <dan@codesourcery.com>
483         * sysdeps/mips/atomicity.h: Remove unused file.
484         * sysdeps/mips/dl-machine.h (elf_machine_rel): Add TLS relocations.
485         * sysdeps/mips/dl-tls.h: New file.
486         * sysdeps/mips/libc-tls.c: New file.
487         * sysdeps/mips/tls-macros.h: New file.
488         * sysdeps/mips/bits/atomic.h: New file.
489         * sysdeps/mips/bits/setjmp.h: Protect against multiple inclusion.
490         * sysdeps/mips/elf/configure.in: New file.
491         * sysdeps/mips/elf/configure: Generated.
492         * sysdeps/mips/sys/asm.h: New file.
493         * sysdeps/unix/sysv/linux/mips/vfork.S: New file.
494         * sysdeps/unix/sysv/linux/mips/clone.S: Add NPTL and five-argument
495         clone support.
496         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
497         (INTERNAL_SYSCALL_NCS): New.
498         (INTERNAL_SYSCALL): Update for non-constant support.
499         (internal_syscall0): Likewise.
500         (internal_syscall1): Likewise.
501         (internal_syscall2): Likewise.
502         (internal_syscall3): Likewise.
503         (internal_syscall4): Likewise.
504         (internal_syscall5): Likewise.
505         (internal_syscall6): Likewise.
506         (internal_syscall7): Likewise.
507         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SIGEV_THREAD):
508         Update to match the kernel.
509         (SIGEV_CALLBACK): Likewise.
510         (SIGEV_THREAD_ID): Likewise.
512 2005-03-28  Daniel Jacobowitz  <dan@codesourcery.com>
514         [BZ #783]
515         * elf/tst-auditmod1.c: Add MIPS support.
516         * sysdeps/generic/ldsodefs.h (La_mips_32_regs): New.
517         (La_mips_32_retval): New.
518         (La_mips_64_regs): New.
519         (La_mips_64_retval): New.
520         (struct audit_ifaces): Add MIPS entries.
521         * sysdeps/mips/dl-machine.h: Check RESOLVE_MAP instead of RESOLVE.
522         (elf_machine_runtime_link_map, ELF_DL_FRAME_SIZE,
523         ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS,
524         ELF_MACHINE_RUNTIME_TRAMPOLINE): Move to dl-trampoline.c.
525         (RTLD_START): Align the stack before calling _dl_init_internal.
526         Use .ent for _dl_start_user.
527         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): Define.
528         (elf_machine_rel, elf_machine_rel_relative, elf_machine_lazy_rel)
529         (elf_machine_runtime_setup): Use "auto inline".
530         (elf_machine_rela, elf_machine_rela_relative): Provide empty versions.
531         (elf_machine_got_rel): Likewise.  Use RESOLVE_MAP.
532         * sysdeps/mips/dl-trampoline.c: New file.
533         * sysdeps/mips/bits/link.h: New file.
534         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
535         (internal_syscall5): Use register operands instead of non-lvalue
536         memory operands.
537         (internal_syscall6): Likewise.
538         (internal_syscall7): Likewise.
540 2005-03-27  Andreas Jaeger  <aj@suse.de>
542         * debug/warning-nop.c (__builtin___memcpy_chk): Define away to
543         avoid warnings with older compiler.
544         (__builtin___memcpy_chk): Likewise.
545         (__builtin___memmove_chk: Likewise.
546         (__builtin___mempcpy_chk): Likewise.
547         (__builtin___memset_chk): Likewise.
548         (__builtin___stpcpy_chk): Likewise.
549         (__builtin___strcat_chk): Likewise.
550         (__builtin___strcpy_chk): Likewise.
551         (__builtin___strncat_chk): Likewise.
552         (__builtin___strncpy_chk): Likewise.
553         (__builtin_object_size): Likewise.
555 2005-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
557         * elf/tls-macros.h: Correct typo.
559 2005-03-23  Jakub Jelinek  <jakub@redhat.com>
561         [BZ #822]
562         * nis/ypclnt.c (yp_2_yperr): Revert 2004-11-30 patch.
563         (ypprot_err): Use yp_2_yperr table also for YP_NODOM .. YP_NOMORE.
565 2005-03-22  Roland McGrath  <roland@redhat.com>
567         * locale/setlocale.c: Comment typo.
569         * scripts/versions.awk: No errors for GLIBC_PRIVATE.
571         * Versions.def (libdl, librt): Add GLIBC_2.3.4 version.
573         * scripts/versions.awk: Print all errors and die at the end.
574         Use library name in versions array keys.
576 2005-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
578         * elf/elf.h (PT_ARM_EXIDX): New macro.
580 2005-03-21  Thorsten Kukuk  <kukuk@suse.de>
582         * sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong):
583         Convert correctly between long/int on 64bit big-endian.
585 2005-03-21  David Mosberger  <davidm@hpl.hp.com>
587         * sysdeps/ia64/_mcount.S: Newer kernels don't like register-frames
588         with more than 8 output registers.  Fix this by passing original
589         ar.pfs to _mcount_ret_helper via r3.
591 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
593         [BZ #786]
594         * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Handle
595         GL(dl_tls_static_nelem) == GL(dl_tls_max_dtv_idx).
596         * elf/Makefile: Add rules to build and run tst-tls15.
597         * elf/tst-tls15.c: New test.
598         * elf/tst-tlsmod15a.c: New file.
599         * elf/tst-tlsmod15b.c: New file.
601 2005-03-20  Ulrich Drepper  <drepper@redhat.com>
603         * elf/rtld.c (dl_main): Always call init_tls if we have audit modules.
605 2005-03-20  Alfred M. Szmidt  <ams@gnu.org>
607         * elf/dl-open.c (dl_open_worker): Fix typo.
609 2005-03-20  Ulrich Drepper  <drepper@redhat.com>
611         * malloc/malloc.c (public_cALLOc): We cannot skip the memory
612         clearing if perturb_byte != 0.
614 2005-03-20  Jakub Jelinek  <jakub@redhat.com>
616         * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t
617         instead of __off_t for last argument.
618         * debug/Makefile (tests): Add tst-lfschk{1,2,3}.
619         * debug/tst-lfschk1.c: New test.
620         * debug/tst-lfschk2.c: New test.
621         * debug/tst-lfschk3.c: New test.
623 2005-02-09  Jakub Jelinek  <jakub@redhat.com>
625         * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define.
626         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC
627         and __USE_XOPEN guards to match linux/bits/termios.h.
628         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
629         (CMSPAR): Define.
630         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
632 2005-02-10  H.J. Lu  <hongjiu.lu@intel.com>
634         * sysdeps/ia64/elf/initfini.c: Add local _init and _fini labels.
636 2005-02-27  Denis Barbier  <barbier@debian.org>
638         [BZ #38]
639         * locale/iso-4217.def: Add CSD currency.
641 2005-03-19  Ulrich Drepper  <drepper@redhat.com>
643         * inet/test-ifaddrs.c: Use test-skeleton.
644         * inet/test_ifindex.c: Likewise.
646         [BZ #821]
647         * elf/dl-lookup.c (add_dependency): Always search l_initfini if
648         the list exists.
650         [BZ #821]
651         * elf/Makefile: Add rules to build and run order2.
652         * elf/order2.c: New file.
653         * elf/order2mod1.c: New file.
654         * elf/order2mod2.c: New file.
655         * elf/order2mod3.c: New file.
656         * elf/order2mod4.c: New file.
658 2005-03-19  Jakub Jelinek  <jakub@redhat.com>
660         [BZ #821]
661         * elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value,
662         it has been incremented before.
664 2005-03-18  Ulrich Drepper  <drepper@redhat.com>
666         [BZ #821]
667         * elf/dl-fini.c (_dl_fini): Split sorting of the maps in separate
668         function _dl_sort_fini.
669         (_dl_sort_fini): New function.
670         * sysdeps/generic/ldsodefs.h: Declare _dl_sort_fini.
671         * elf/dl-close.c (_dl_close): Call _dl_sort_fini before running
672         destructors to call them in the right order.
674 2005-02-07  Steven Munroe  <sjmunroe@us.ibm.com>
676         * sysdeps/powerpc/bits/link.h (La_ppc64_regs): Add lr_vrsave.
677         (La_ppc64_retval): Correct size of lrc_fp.
678         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_profile_resolve):
679         Fix up ABI problems and complete function.
681 2005-03-10  Jakub Jelinek  <jakub@redhat.com>
683         * math/test-misc.c (main): Add some more tests.
685 2005-03-17  Jakub Jelinek  <jakub@redhat.com>
687         * posix/regcomp.c (re_compile_fastmap_iter): Fix check for failed
688         __wcrtomb.  Check return values of other __wcrtomb calls.
689         * posix/regex_internal.c (build_wcs_buffer, re_string_skip_chars):
690         Change mbclen type to size_t.
691         (build_wcs_upper_buffer): Change mbclen and mbcdlen type to size_t.
692         Handle mb chars whose upper case doesn't have multibyte representation
693         in locale's charset.
695 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
697         * malloc/malloc.c (_int_icalloc, _int_icomalloc, iALLOc,
698         public_iCALLOc, public_iCALLOc, public_iCOMALLOc): Protect with
699         #ifndef _LIBC.
701         [BZ #779]
702         * malloc/malloc.c (public_mTRIm): Initialize malloc if not yet
703         initialized.
705 2005-03-10  Jakub Jelinek  <jakub@redhat.com>
707         * misc/sys/cdefs.h (__always_inline): Define.
708         * posix/bits/unistd.h (read, pread, pread64, readlink, getcwd, getwd):
709         Use __always_inline instead of __inline.
710         * socket/bits/socket2.h (recv, recvfrom): Likewise.
711         * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Likewise.
712         * string/bits/string3.h (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk,
713         __memset_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk,
714         __strcat_ichk, __strncat_ichk): Use __always_inline instead of
715         __inline__ __attribute__ ((__always_inline__)).
717 2005-03-09  Jakub Jelinek  <jakub@redhat.com>
719         * debug/tst-chk1.c: Include sys/socket.h and sys/un.h.
720         (do_test): Add new tests for recv, recvfrom, getcwd, getwd and
721         readlink.  Add some more tests for read, pread, pread64, fgets and
722         fgets_unlocked.
724         * posix/bits/unistd.h (read, pread, pread64, readlink,
725         getcwd, getwd): Change macros into extern inline functions.
726         (__read_alias, __pread_alias, __pread64_alias, __readlink_alias,
727         __getcwd_alias, __getwd_alias): New prototypes.
728         * socket/bits/socket2.h (recv, recvfrom): Change macros into
729         extern inline functions.
730         (__recv_alias, __recvfrom_alias): New prototypes.
731         * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Change macros
732         into extern inline functions.
733         (__gets_alias, __fgets_alias, __fgets_unlocked_alias): New prototypes.
735         * debug/pread_chk.c (__pread_chk): Fix order of arguments passed
736         to __pread.
737         * debug/pread64_chk.c (__pread64_chk): Fix order of arguments passed
738         to __pread64.
740 2005-03-18  Daniel Jacobowitz  <dan@codesourcery.com>
742         * configure.in: Use %function instead of @function.
744 2005-03-18  Ulrich Drepper  <drepper@redhat.com>
746         [BZ #821]
747         * include/link.h (struct link_map): Remove l_opencount.  Add l_removed.
748         Change type of l_idx to int.
749         * elf/dl-close.c: Basically rewrite.  Do not use l_opencount to
750         determine whether a DSO has to be unloaded.  Instead compute this
751         in this function.
752         * elf/dl-deps.c: No need to manipulate l_opencount anymore.
753         * elf/dl-lookup.c: Likewise.
754         * elf/rtld.c: Likewise
755         * elf/dl-open.c: Likewise.  Use l_init_called to determine whether
756         object was just loaded.
757         * elf/dl-fini.c: Bump l_direct_opencount instead of l_opencount.
758         * elf/dl-load.c (_dl_map_object_from_fd): Do not recognize DSO which
759         is about to be unloaded as a match.
760         (_dl_map_object): Likewise.
761         * elf/do-lookup.h (do_lookup_x): Do not look into DSO which is about
762         to be unloaded.
763         * elf/circleload1.c: Don't use l_opencount anymore.
764         * elf/neededtest.c: Likewise.
765         * elf/neededtest2.c: Likewise.
766         * elf/neededtest3.c: Likewise.
767         * elf/neededtest4.c: Likewise.
768         * elf/unload.c: Likewise.
769         * elf/unload2.c: Likewise.
770         * elf/loadtest.c: Likewise.
772         [BZ #821]
773         * elf/rtld.c: Preloading errors are now never fatal.
775 2005-03-08  Jakub Jelinek  <jakub@redhat.com>
777         [BZ #821]
778         * elf/Makefile: Add rules to build and run unload5 test.
779         * elf/unload5.c: New file.
781         [BZ #821]
782         * elf/Makefile: Add rules to build and run unload4 test.
783         * elf/unload4.c: New file.
784         * elf/unload4mod1.c: New file.
785         * elf/unload4mod2.c: New file.
786         * elf/unload4mod3.c: New file.
787         * elf/unload4mod4.c: New file.
789 2005-03-17  Roland McGrath  <roland@redhat.com>
791         * nscd/aicache.c (addhstaiX): Tweak type to avoid warning.
793 2005-03-16  Richard Henderson  <rth@redhat.com>
795         * include/libc-symbols.h (__hidden_proto): Remove bogus declaration
796         of internal.
797         (__hidden_def1, __hidden_dot_def1): Remove.
798         (__hidden_def2, __hidden_def3): Remove.
799         (__hidden_ver1): New.
800         (hidden_ver, hidden_def, hidden_weak): Use it.
801         (hidden_data_ver, hidden_data_ver, hidden_data_weak): Use non-data
802         version of the macro.
804         * include/wchar.h (__wcscoll): Remove.
805         * wcsmbs/wcscoll.c: Define wcscoll directly instead of via __wcscoll.
806         * string/strcoll.c: Don't issue libc_hidden_def STRCOLL redefined.
808 2005-03-16  Daniel Jacobowitz  <dan@codesourcery.com>
810         * elf/elf.h: Define MIPS TLS relocations.
812 2005-03-16  Ulrich Drepper  <drepper@redhat.com>
814         * elf/circleload1.c (main): Pretty printing.
816 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
818         * sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword.
819         Patch by Dan Kegel <dank@kegel.com>.
821         * elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative,
822         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
823         Add inline keyword.
824         * sysdeps/alpha/dl-machine.h (elf_machine_rela,
825         elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline
826         attribute.
827         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
828         elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.  Change
829         static inline into auto inline.
830         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
831         elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
832         * sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela):
833         Likewise.
834         * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative,
835         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
836         Likewise.
838 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
840         [BZ #789]
841         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Fix asm constraints.
842         Remove memory clobber.
844         * sysdeps/x86_64/hp-timing.h (HP_TIMING_ACCUM): Make the addition
845         thread-safe.  Subtract GLRO(dl_hp_timing_overhead) from Diff.
847 2005-03-14  Jakub Jelinek  <jakub@redhat.com>
849         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Don't include
850         asm/types.h.
852 2005-03-10  GOTO Masanori  <gotom@debian.or.jp>
854         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and
855         MAP_NONBLOCK.
856         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
857         Correct MAP_GROWSDOWN value.
859 2005-03-13  Roland McGrath  <roland@redhat.com>
861         * elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps
862         version if there is one.  Only #error if macros are then undefined.
863         * sysdeps/generic/tls-macros.h: New file.
865 2005-03-10  GOTO Masanori  <gotom@debian.or.jp>
867         * sysdeps/hppa/configure.in: Remove old Makefile leftovers.
868         * sysdeps/hppa/configure: Regenerated.
870 2005-03-08  Roland McGrath  <roland@redhat.com>
872         * sysdeps/gnu/errlist-compat.awk: Use NERR in all array decls, so
873         array types match exactly in C alias decls.
875 2005-03-07  Ulrich Drepper  <drepper@redhat.com>
877         * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call
878         mallopt appropriately.
879         * malloc/malloc.h: Define M_PERTURB.
880         * malloc/malloc.c (perturb_byte): New variable.
881         (alloc_perturb, free_perturb): New macros.
882         (_int_malloc): Before returning, overwrite the memory if this is
883         requested.
884         (_int_free): Overwrite freed memory if requested.
885         (mALLOPt): Handle M_PERTURB.
886         * test-skeleton.c: Add call to mallopt with M_PERTURB command.
888         * elf/dl-close.c (_dl_close): Decrement l_opencount before
889         printing debug message.
890         * elf/dl-open.c (dl_open_worker): Always print the new opencount
891         in debug messages.
893 2005-03-06  Ulrich Drepper  <drepper@redhat.com>
895         * elf/dl-close.c (_dl_close): Unify debug message format.
897         * elf/dl-close.c (_dl_close): Print debug message just before
898         destroying a link map.
900         * elf/do-lookup.h (do_lookup_x): Add namespace info to debug output.
901         * elf/dl-version.c (match_symbol): Likewise.
903         * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code.
905         * debug/recv_chk.c (__recv_chk): Always fail if request could
906         overflow the buffer.
907         * debug/recvfrom_chk.c (__recvfrom_chk): Likewise.
908         * socket/bits/socket2.h (recv): Avoid calls to the _chk variant if
909         we know the call succeeds.
910         (recvfrom): Likewise.
912 2005-03-05  Ulrich Drepper  <drepper@redhat.com>
914         * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid
915         warning.
916         * posix/regex_internal.c (re_string_reconstruct): Add cast to
917         avoid warning.
918         (build_wcs_upper_buffer): Change type of bug to plain char.
919         * locale/weightwc.h (findidx): Add casts to avoid warnings.
920         * time/mktime.c (ranged_convert): Initialize tm to make the
921         compiler happy.
922         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add casts to avoid warnings.
923         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Add casts to avoid warnings.
924         * wcsmbs/mbsnrtowcs.c: Add casts to avoid warnings.
925         * wcsmbs/wcsrtombs.c (__wcsrtombs): Add casts to avoid warnings.
926         * wcsmbs/wcrtomb.c (__wcrtomb): Add casts to avoid warnings.
927         * wcsmbs/mbrtowc.c (__mbrtowc): Use unsigned char for outbuf.
928         * wcsmbs/wctob.c (wctob): Make buf array of unsigned char.
929         * sysdeps/generic/strchrnul.c: Add cast to avoid warning.
930         * libio/iofwide.c: Add casts to avoid warnings.
931         * stdio-common/printf-prs.c (parse_printf_format): Introduce new
932         variable f to avoid warnings.
933         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
934         Fix a few casts to avoid warnings.
935         * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned
936         to avoid warning.
938         * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using
939         dynamically sized array.
940         (build_wcs_upper_buffer): Likewise.
942 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
944         * include/bits/unistd.h: New file.
945         * include/bits/socket2.h: New file.
947 2005-03-05  Ulrich Drepper  <drepper@redhat.com>
949         * sunrpc/key_call.c: Remove doors support.
950         * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition.
951         * configure.in: Remove test for doors support which never existed.
952         * config.make.in: Remove have_doors entry.
954         * configure.in: Make sure at least gcc 3.4 is used.  Undo last change.
955         * config.make.in: Undo last change.
957         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Unconditionally use
958         -mtune.
960 2005-03-05  Roland McGrath  <roland@redhat.com>
962         * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl.
963         (_dl_out_of_memory): Use rtld_hidden_proto.
964         * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def.
965         (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory.
966         * elf/dl-open.c (_dl_open): Likewise.
967         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
969         * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *.
971         * elf/dl-addr.c (_dl_addr): Add a cast.
973         [BZ #821]
974         * elf/unload3mod4.c: Declare foo.
975         * elf/testobj2.c: Include <stdio.h>.
977         * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal
978         value constant, and use it in the defn.
979         * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl.
980         Use actual size for compat array decls.
982         * config.make.in (cc-mtune): New substituted variable.
983         * configure.in (libc_cv_cc_mtune): New test for -mtune= switch,
984         done only if libc_mtune_example is defined.
985         * sysdeps/i386/configure.in (libc_mtune_example): Set it.
986         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune).
988 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
990         * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define
991         unconditionally to (defined RTLD_BOOTSTRAP).
992         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise.
994 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
996         * Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of
997         $(inst_slibdir) in AS_NEEDED directive.
999 2005-03-03  Jakub Jelinek  <jakub@redhat.com>
1001         * posix/bits/unistd.h (pread, pread64): Don't swap function arguments.
1003 2005-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1005         [BZ #776]
1006         * iconv/iconvconfig.c: Fix comment for the output file.
1007         (write_output): Clear padding in header.
1009 2005-03-03  Ulrich Drepper  <drepper@redhat.com>
1011         [BZ #821]
1012         * elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the
1013         loader is closed.  Fixes unload3.
1014         * elf/tst-global1.c: New file.
1015         * elf/Makefile (tests): Add tst-global1.
1016         * elf/testobj2.c (p): New function.
1018 2005-03-03  Jakub Jelinek  <jakub@redhat.com>
1020         [BZ #821]
1021         * elf/Makefile: Add rules to build and run unload3 test.
1022         * elf/unload3.c: New test.
1023         * elf/unload3mod1.c: New file.
1024         * elf/unload3mod2.c: New file.
1025         * elf/unload3mod3.c: New file.
1026         * elf/unload3mod4.c: New file.
1028 2005-02-21  Alan Modra <amodra@bigpond.net.au>
1030         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
1031         use __uint128_t.
1033 2005-03-01  Jakub Jelinek  <jakub@redhat.com>
1035         * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead
1036         of __bos.
1037         * socket/bits/socket2.h (recv, recvfrom): Likewise.
1039 2005-03-01  Roland McGrath  <roland@redhat.com>
1041         [BZ #721]
1042         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
1043         of [RESOLVE_MAP].
1045 2005-03-01  Alfred M. Szmidt  <ams@gnu.org>
1047         [BZ #777]
1048         * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]:
1049         Add missing initializer.
1051         [BZ #777]
1052         * malloc/arena.c: #include <stdbool.h> outside of [SHARED &&
1053         USE_TLS && !USE___THREAD].
1055 2005-02-26  GOTO Masanori  <gotom@debian.or.jp>
1057         * csu/Makefile: Use printf instead of echo for some shells.
1059 2005-02-28  Roland McGrath  <roland@redhat.com>
1061         * debug/warning-nop.c (__nop): Rename to nop, make it static.
1062         (__warndecl): Use alias attribute directly, instead of strong_alias
1063         macro.  Add attribute_hidden.
1065 2005-02-28  Ulrich Drepper  <drepper@redhat.com>
1067         * posix/bits/unistd.h: Avoid calling __*_chk variants if we can
1068         determine the call will never trigger a failure.
1069         * debug/read_chk.c (__read_chk): Always fail if the buffer is too
1070         small.
1071         * debug/readlink_chk.c (__readlink_chk): Likewise.
1072         * debug/pread64_chk.c (__pread64_chk): Likewise.
1073         * debug/pread_chk.c (__pread_chk): Likewise.
1075         * sysdeps/i386/i686/memset_chk.S: Remove alias and warning.
1076         * sysdeps/x86_64/memset_chk.S: Likewise.
1078 2005-02-24  Roland McGrath  <roland@redhat.com>
1080         * debug/Versions (libc: GLIBC_2.4): Remove
1081         __memset_zero_constant_len_parameter.
1082         * sysdeps/generic/memset_chk.c: Remove alias and warning.
1083         * misc/sys/cdefs.h (__warndecl): New macro.
1084         * debug/warning-nop.c: New file.
1085         * string/bits/string3.h (memset): Call __warn_memset_zero_len with no
1086         arguments, instead of calling __memset_zero_constant_len_parameter.
1087         Use __warndecl for __warn_memset_zero_len.
1088         * debug/Makefile (routines): Add $(static-only-routines).
1089         (static-only-routines): New variable.
1091 2005-02-27  Ulrich Drepper  <drepper@redhat.com>
1093         * po/tr.po: Update from translation team.
1095 2005-02-26  Ulrich Drepper  <drepper@redhat.com>
1097         * elf/dl-addr.c: Cleanups.  Move declaration next to first use.
1099         * dlfcn/dlerror.c (check_free): New function.  Extract common code
1100         from fini and free_key_mem.  Check whether this is libdl in the
1101         base namespace.
1103 2005-02-25  Ulrich Drepper  <drepper@redhat.com>
1105         * elf/dl-lookup.c (_dl_debug_bindings): Add namespace information
1106         to debug output.
1108 2004-11-11  Richard Sandiford  <rsandifo@redhat.com>
1110         [BZ #758]
1111         * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
1112         preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
1113         like __NR_N32_open.  Just include <asm/unistd.h> otherwise.
1114         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1115         * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
1116         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
1117         standard __NR prefix.
1118         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
1119         * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
1120         the output file is compatible with both pre-2.6 and 2.6 kernel headers.
1121         Extract separate syscall lists for each ABI.
1123 2005-02-23  Ulrich Drepper  <drepper@redhat.com>
1125         * Makerules (libc.so): Add AS_NEEDED line for dynamic linker.
1127         [BZ #719]
1128         * elf/Makefile: Run tst-tls9-static again.
1130 2005-02-22  Ulrich Drepper  <drepper@redhat.com>
1132         [BZ #719]
1133         * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the
1134         slotinfo array.
1135         (__libc_setup_tls): Initialize length of DTV based on array length.
1136         * elf/dl-load.c: Revert last change.
1137         * sysdeps/generic/dl-tls.c: Revert last change.
1139         * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1,
1140         tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2,
1141         tst-execve1, tst-execve2, tst-execle1, and tst-execle2.
1142         * posix/tst-execl1.c: New file.
1143         * posix/tst-execl2.c: New file.
1144         * posix/tst-execle1.c: New file.
1145         * posix/tst-execle2.c: New file.
1146         * posix/tst-execlp1.c: New file.
1147         * posix/tst-execlp2.c: New file.
1148         * posix/tst-execv1.c: New file.
1149         * posix/tst-execv2.c: New file.
1150         * posix/tst-execve1.c: New file.
1151         * posix/tst-execve2.c: New file.
1152         * posix/tst-execvp1.c: New file.
1153         * posix/tst-execvp2.c: New file.
1155 2005-02-22  Roland McGrath  <roland@redhat.com>
1157         * include/signal.h: Revert last change.
1158         (__sigemptyset): Use __builtin_memset instead of memset.
1160 2005-02-22  Ulrich Drepper  <drepper@redhat.com>
1162         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use
1163         non-cancelable I/O functions.
1165 2005-02-22  Jakub Jelinek  <jakub@redhat.com>
1167         [BZ #769]
1168         * nscd/nscd-client.h: Include sys/uio.h.
1169         (__readall, __readvall, writeall): New prototypes.
1170         * nscd/connections.c (writeall): New function.
1171         (handle_request): Use it.
1172         * nscd/aicache.c (addhstaiX): Likewise.
1173         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1174         * nscd/hstcache.c (cache_addhst): Likewise.
1175         * nscd/grpcache.c (cache_addgr): Likewise.
1176         * nscd/pwdcache.c (cache_addpw): Likewise.
1177         * nscd/nscd_helper.c (__readall, __readvall): New functions.
1178         * nscd/nscd_getai.c (__nscd_getai): Use them.
1179         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.
1180         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
1181         * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise.
1182         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1184 2005-02-22  Roland McGrath  <roland@redhat.com>
1186         * include/sys/socket.h: Declare __recv.
1187         * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias.
1188         * sysdeps/mach/hurd/recv.c: Likewise.
1190         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for
1191         __backtrace_* decls.
1193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1194         (INTERNAL_SYSCALL_ERROR_P): Evalute VAL.  Parenthesize ERR.
1195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1197         * include/signal.h: Include <string.h> for memset decl.
1199 2005-02-22  Andreas Schwab  <schwab@suse.de>
1201         * posix/execvp.c (execvp): Fix invalid free.
1203 2005-02-22  Jakub Jelinek  <jakub@redhat.com>
1205         * malloc/Makefile (CFLAGS-mcheck-init.c): Add.
1206         * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for
1207         librpcsvc.a objects.
1209 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
1211         * iconvdata/ibm930.h: Correct Yen mapping.
1212         * iconvdata/ibm939.h: Likewise.
1213         * iconvdata/testdata/IBM930..UTF8: Adjust test data.
1214         * iconvdata/testdata/IBM939..UTF8: Likewise.
1215         Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
1217         * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
1218         IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
1219         (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
1220         ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
1221         ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
1222         ibm1158.c, and ibm1158.h.
1223         * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
1224         IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
1225         * iconvdata/gconv-modules: Likewise.
1226         * iconvdata/ibm1025.c: New file.
1227         * iconvdata/ibm1025.h: New file.
1228         * iconvdata/ibm1122.c: New file.
1229         * iconvdata/ibm1122.h: New file.
1230         * iconvdata/ibm1137.c: New file.
1231         * iconvdata/ibm1137.h: New file.
1232         * iconvdata/ibm1153.c: New file.
1233         * iconvdata/ibm1153.h: New file.
1234         * iconvdata/ibm1154.c: New file.
1235         * iconvdata/ibm1154.h: New file.
1236         * iconvdata/ibm1155.c: New file.
1237         * iconvdata/ibm1155.h: New file.
1238         * iconvdata/ibm1156.c: New file.
1239         * iconvdata/ibm1156.h: New file.
1240         * iconvdata/ibm1157.c: New file.
1241         * iconvdata/ibm1157.h: New file.
1242         * iconvdata/ibm1158.c: New file.
1243         * iconvdata/ibm1158.h: New file.
1244         * iconvdata/testdata/IBM1025: New file.
1245         * iconvdata/testdata/IBM1025..UTF8: New file.
1246         * iconvdata/testdata/IBM1122: New file.
1247         * iconvdata/testdata/IBM1122..UTF8: New file.
1248         * iconvdata/testdata/IBM1137: New file.
1249         * iconvdata/testdata/IBM1137..UTF8: New file.
1250         * iconvdata/testdata/IBM1153: New file.
1251         * iconvdata/testdata/IBM1153..UTF8: New file.
1252         * iconvdata/testdata/IBM1154: New file.
1253         * iconvdata/testdata/IBM1154..UTF8: New file.
1254         * iconvdata/testdata/IBM1155: New file.
1255         * iconvdata/testdata/IBM1155..UTF8: New file.
1256         * iconvdata/testdata/IBM1156: New file.
1257         * iconvdata/testdata/IBM1156..UTF8: New file.
1258         * iconvdata/testdata/IBM1157: New file.
1259         * iconvdata/testdata/IBM1157..UTF8: New file.
1260         * iconvdata/testdata/IBM1158: New file.
1261         * iconvdata/testdata/IBM1158..UTF8: New file.
1262         Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
1264 2005-02-10  Paolo Bonzini  <bonzini@gnu.org>
1266         * posix/regcomp.c (lower_subexp): Do not optimize empty
1267         subexpressions even with REG_NOSUB.
1268         * posix/rxspencer/tests: Add a previously failing testcase.
1270 2005-02-21  Alan Modra <amodra@bigpond.net.au>
1272         [BZ #719]
1273         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv
1274         array index is within bounds.
1276 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
1278         [BZ #719]
1279         * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically
1280         linked code.
1281         * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid.
1282         * elf/Makefile: Remove rules to build and run tst-tls9-static.
1284         [BZ #719]
1285         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using
1286         THREAD_DTV multiple times, this minimally reduces code size on
1287         some archs.
1289 2005-02-21  Jakub Jelinek  <jakub@redhat.com>
1291         [BZ #768]
1292         * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
1293         NETDB_INTERNAL if buffer is too small.
1295         [BZ #768]
1296         * nscd/hstcache.c (INCR): Remove.
1297         (addhstbyX): Double buflen in each iteration rather than add INCR.
1298         * nscd/grpcache.c: Likewise.
1299         * nscd/pwdcache.c: Likewise.
1301 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
1303         * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
1304         map if requested.
1305         * debug/chk_fail.c: Request backtrace and memory map dump.
1307         * Versions.def: Add GLIBC_2.4 for libc.
1308         * debug/fgets_chk.c: New file.
1309         * debug/fgets_u_chk.c: New file.
1310         * debug/getcwd_chk.c: New file.
1311         * debug/getwd_chk.c: New file.
1312         * debug/readlink_chk.c: New file.
1313         * debug/read_chk.c: New file.
1314         * debug/pread_chk.c: New file.
1315         * debug/pread64_chk.c: New file.
1316         * debug/recv_chk.c: New file.
1317         * debug/recvfrom_chk.c: New file.
1318         * debug/Versions: Add all new functions with version GLIBC_2.4.
1319         * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
1320         pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
1321         getwd_chk, and getcwd_chk.  Plus appropriate CFLAGS definitions.
1322         * debug/tst-chk1.c: Add more tests.
1323         * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
1324         * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
1325         * posix/unistd.h: Include <bits/unistd.h> for fortification.
1326         * posix/bits/unistd.h: New file.
1327         * posix/Makefile (headers): Add bits/unistd.h.
1328         * socket/sys/socket.h: Include <bits/socket2.h> for fortification.
1329         * socket/bits/socket2.h: New file.
1330         * socket/Makefile (headers): Add bits/socket2.h.
1332         * string/bits/string3.h: Extend memset macro to check for zero 3rd
1333         parameter and use __memset_zero_constant_len_parameter in that case.
1334         * sysdeps/generic/memset_chk.c: Add
1335         __memset_zero_constant_len_parameter alias and linker warning.
1336         * debug/Versions: Add __memset_zero_constant_len_parameter to libc
1337         with version GLIBC_2.4.
1339         * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
1340         in __STD_TYPE definition.
1342 2005-02-21  Jakub Jelinek  <jakub@redhat.com>
1344         * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
1345         the error message rather than program name.
1347 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
1349         [BZ #767]
1350         * posix/unistd.h: symlink and readlink are unconditionally
1351         available in the 2001 spec.
1353 2005-02-16  Roland McGrath  <roland@redhat.com>
1355         * intl/dcigettext.c (_nl_find_msg): Add a cast.
1357         * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR.
1358         * nis/nis_clone_obj.c (nis_clone_object): Likewise.
1359         * nis/nis_clone_res.c (nis_clone_result): Likewise.
1361         * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char *
1362         for END_OF_MESSAGE and CP.
1364         * resolv/res_send.c (send_dg): Add else branch for case impossible
1365         unless `poll' is buggy.
1367         * crypt/crypt_util.c (__setkey_r): Add a cast.
1369         * locale/programs/linereader.c (get_toplvl_escape): Use size_t for
1370         NBYTES, and unsigned char * for BYTES.
1372         * locale/programs/charmap.c (charmap_new_char): Use size_t and
1373         unsighed char * for NBYTES, BYTES parameters.
1375         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument
1376         and cast it.
1377         * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise.
1379         * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES.
1381         * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.
1383         * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA.
1384         (authdes_marshal): Don't use unsigned int for LEN.
1385         * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2.
1386         (xdr_u_hyper): Likewise.
1387         (xdr_u_short): Don't use u_long for L.
1388         * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2.
1390         * inet/rexec.c (rexec_af): Use socklen_t.
1391         * sunrpc/key_call.c (getkeyserv_handle): Likewise.
1392         * sunrpc/rtime.c (rtime): Likewise.
1393         * resolv/res_send.c (send_vc, send_dg): Likewise.
1394         * nis/nis_callback.c (__nis_create_callback): Likewise.
1396         * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr.
1398         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
1400         * libio/libio.h (_IO_BE): Add parenthesis around EXPR.
1402         * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed.
1403         (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
1404         (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
1405         * intl/bindtextdom.c (INTUSE): Macro removed.
1406         (_nl_default_dirname): Use libc_hidden_proto.
1407         (set_binding_values): Don't use INTUSE.
1408         * include/libintl.h (_libc_intl_domainname_internal): Decl removed.
1409         (_libc_intl_domainname): Use libc_hidden_proto.
1410         * posix/regex_internal.h (gettext): Remove INTUSE on it.
1411         * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def
1412         rather than INTDEF.
1413         * include/libintl.h (_): Don't use *_internal name.
1415         * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t,
1416         not uint32_t.
1417         * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments.
1419         * iconv/gconv_open.c (__gconv_open): Remove useless cast.
1421         [BZ #721]
1422         * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
1423         of [RESOLVE_MAP].
1424         * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.
1425         * sysdeps/powerpc/powerpc32/dl-machine.h
1426         (elf_machine_rel, elf_machine_rel_relative): Removed.
1427         * sysdeps/powerpc/powerpc64/dl-machine.h
1428         (elf_machine_rel, elf_machine_rel_relative): Removed.
1430 2005-02-03  Alexandre Oliva  <aoliva@redhat.com>
1432         [BZ #721]
1433         * elf/dynamic-link.h: Don't declare nested auto functions that are
1434         not going to be defined.
1436 2004-07-23  Jakub Jelinek  <jakub@redhat.com>
1438         [BZ #284]
1439         * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define
1440         if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined.
1442 2005-02-16  Roland McGrath  <roland@redhat.com>
1444         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn
1445         inside [! SHARED] where it's used.
1447 2005-02-15  Ulrich Drepper  <drepper@redhat.com>
1449         * sysdeps/generic/bits/byteswap.h: Make sure result of all the
1450         functions and macros is unsigned.
1452 2005-02-11  Barry deFrese  <bddebian@comcast.net>
1454         [BZ #722]
1455         * sysdeps/mach/hurd/setresgid.c: Use weak_alias.
1456         * sysdeps/mach/hurd/setresuid.c: Likewise.
1458 2005-02-14  GOTO Masanori  <gotom@debian.or.jp>
1460         * misc/sys/syslog.h: Fix typo in comment.
1462 2005-02-14  Roland McGrath  <roland@redhat.com>
1464         [BZ #720]
1465         * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
1466         if it wasn't originally.
1468 2005-02-14  GOTO Masanori  <gotom@debian.or.jp>
1470         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
1471         getpeername entry.
1472         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1473         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1475 2005-02-11  Jakub Jelinek  <jakub@redhat.com>
1477         * scripts/soversions.awk: Only record first WORDSIZE{32,64}
1478         matching line.
1480 2005-02-14  Alan Modra  <amodra@bigpond.net.au>
1482         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
1483         with auto inline, and attribute always_inline.
1484         (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
1485         (elf_machine_rel, elf_machine_rel_relative): Likewise.
1486         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1487         (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
1488         (elf_machine_rel, elf_machine_rel_relative): Likewise.
1489         (elf_machine_tprel): Likewise.
1491 2005-02-14  Andreas Schwab  <schwab@suse.de>
1493         * manual/filesys.texi (Random Access Directory): Fix type of file
1494         position value for telldir and seekdir.
1495         (Attribute Meanings): Fix typo.
1497 2005-02-14  H.J. Lu  <hongjiu.lu@intel.com>
1499         * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
1500         isn't defined.
1501         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
1502         if SHARED isn't defined.
1503         * elf/Makefile (tests-static): Add tst-array1-static.
1504         ($(objpfx)tst-array1-static.out): New target.
1505         * elf/tst-array1-static.c: New file.
1507 2005-02-11  Jakub Jelinek  <jakub@redhat.com>
1509         * debug/chk_fail.c (__chk_fail): Add a while (1) loop around
1510         __libc_message to kill GCC warning about noreturn function returning.
1512         * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag
1513         before relocating ld.so again.
1515         * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
1516         for already prelinked ld.so.
1518 2005-02-11  Roland McGrath  <roland@redhat.com>
1520         [BZ #715]
1521         * Makefile (installed-stubs): New variable.
1522         Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no,
1523         or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise.
1524         [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs).
1525         ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this
1526         rule's target.
1527         ($(inst_includedir)/gnu/stubs.h): New target, install from ...
1528         * include/stubs-biarch.h: New file.
1530         * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64.
1532         * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig.
1533         Emit defn for variable `biarch'.
1535         * include/stub-tag.h: Update comment.
1537         * scripts/soversions.awk: Fix default version set handling.
1539 2005-02-10  Roland McGrath  <roland@redhat.com>
1541         [BZ #157]
1542         * include/libc-symbols.h (stub_warning): Emit a marker section called
1543         .gnu.glibc-stub.NAME.
1544         * Makerules ($(objpfx)stubs): Depend on object files, not dep files.
1545         Use objdump to collect those marker section names.
1546         ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
1548         * Rules (subdir_objs, subdir_stubs): New phony targets.
1549         * Makefile (+subdir_targets): Add them.
1551         * Makerules ($(common-objpfx)Versions.all): Grok new leading column in
1552         soversions.i.
1554         * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
1555         Reported by H.J. Lu <hongjiu.lu@intel.com>.
1557         * scripts/lib-names.awk: Always print WORDSIZE32 section first when
1558         doing two.
1560 2005-02-10  Jakub Jelinek  <jakub@redhat.com>
1562         * sysdeps/powerpc/powerpc32/bits/link.h: Removed.
1563         * sysdeps/powerpc/powerpc64/bits/link.h: Moved to...
1564         * sysdeps/powerpc/bits/link.h: ... here.  New file.
1566 2005-02-09  Jakub Jelinek  <jakub@redhat.com>
1568         [BZ #710]
1569         * stdlib/random_r.c (__initstate_r): Save old state.
1570         * stdlib/Makefile (tests): Add tst-random2.
1571         * stdlib/tst-random2.c: New test.
1572         Reported by Peter Bergner <bergner@vnet.ibm.com>.
1574 2005-01-25  H.J. Lu  <hongjiu.lu@intel.com>
1576         * dlfcn/dlfcn.c (init): Put it in .init_array section.
1578 2005-02-10  Roland McGrath  <roland@redhat.com>
1580         [BZ #632]
1581         * scripts/soversions.awk: Expect cpu, vendor, os as separate variables
1582         from command line.
1583         Grok shlib-versions lines with WORDSIZE* in second column.
1584         Add new leading column to output, DEFAULT for existing output lines.
1585         Also emit lines with WORDSIZE* for alternate configurations.
1586         * Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
1587         ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
1588         ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
1589         of soversions.mk; replace inline shell script with use of ...
1590         * scripts/lib-names.awk: New file.  If input has non-DEFAULT lines,
1591         emit multiple sets of macros under #if.
1592         * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
1593         (s390x-.*-.*): Likewise for s390.
1594         (powerpc64-.*-.*): Likewise for powerpc.
1595         (sparc64-.*-.*): Likewise for sparc.
1596         (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries
1597         for these mapping back to the above.
1599 2005-02-08  Jakub Jelinek  <jakub@redhat.com>
1601         * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo.
1603 2005-02-08  Andreas Schwab  <schwab@suse.de>
1605         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of
1606         RESOLVE.
1608 2005-02-07  Richard Henderson  <rth@redhat.com>
1610         * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.
1612 2005-02-08  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1614         * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
1615         RESOLVE.
1617 2005-02-07  Ulrich Drepper  <drepper@redhat.com>
1619         * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are
1620         set correctly.
1622 2005-01-07  Richard Henderson  <rth@redhat.com>
1624         * math/math_private.h (__copysign): Define as builtin for gcc 4.
1625         (__copysignf, __copysignl): Likewise.
1626         * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
1627         for gcc 4.0.
1628         (copysignf, copysignl, fabsf, fabs): Likewise.
1629         (__copysign, __copysignf, __copysignl): Remove.
1630         (__fabs, __fabsf): Remove.
1632 2005-01-07  Jakub Jelinek  <jakub@redhat.com>
1634         [BZ #738]
1635         * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
1636         avoid writing to it if none of the standard search directories exist.
1638 2005-02-07  Steven Munroe  <sjmunroe@us.ibm.com>
1640         [BZ #700]
1641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1642         (__novec_setcontext, __setcontext): Fix typo so CCR is restored.
1643         Load MSR as a doubleword.
1644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1645         (__novec_swapcontext, __swapcontext): Likewise.
1647 2005-02-07  Ulrich Drepper  <drepper@redhat.com>
1649         * iconv/iconv_prog.c (main): Provide more help in case on an error.
1651         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
1653 2005-02-07  Jakub Jelinek  <jakub@redhat.com>
1655         [BZ #741]
1656         * nscd/nscd.c (termination_handler): Avoid segfault if some database
1657         is not enabled.
1659         [BZ #741]
1660         * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set
1661         __nss_not_use_nscd_hosts and return -1.
1662         * nscd/nscd_initgroups.c (__nscd_getgrouplist): If
1663         initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1.
1664         Avoid leaking sockets.
1666 2005-01-28  Andreas Schwab  <schwab@suse.de>
1667             H.J. Lu  <hongjiu.lu@intel.com>
1669         [BZ #677]
1670         * elf/dl-runtime.c (fixup): Change return type to
1671         DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE,
1672         DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation
1673         values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to
1674         store and retrieve relocation values.
1675         (profile_fixup): Likewise.
1676         * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for
1677         l_reloc_result.
1678         * sysdeps/generic/dl-fptr.h (link_map): Forward declaration.
1679         * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New.
1680         (DL_FIXUP_MAKE_VALUE): Likewise.
1681         (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
1682         (DL_FIXUP_VALUE_ADDR): Likewise.
1683         (DL_FIXUP_ADDR_VALUE): Likewise.
1684         * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc".
1685         (DL_FIXUP_VALUE_TYPE): New.
1686         (DL_FIXUP_MAKE_VALUE): Likewise.
1687         (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
1688         (DL_FIXUP_VALUE_ADDR): Likewise.
1689         (DL_FIXUP_ADDR_VALUE): Likewise.
1690         * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed.
1691         (elf_machine_profile_plt): Removed.
1692         (elf_machine_fixup_plt): Change return type and type of value
1693         parameter to struct fdesc.
1694         (elf_machine_plt_value): Likewise.
1695         (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct
1696         argument for elf_machine_fixup_plt.
1698 2005-02-07  Jakub Jelinek  <jakub@redhat.com>
1700         [BZ #742]
1701         * nscd/nscd.init (reload): Print Reloading nscd: before and a newline
1702         after the status string printed by killproc.
1704 2004-11-18  Alexandre Oliva  <aoliva@redhat.com>
1706         * manual/.cvsignore: Add dir-add.texi.
1708 2005-02-06  Richard Henderson  <rth@redhat.com>
1710         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
1711         all the time.
1713 2004-11-03  Marcus Brinkmann  <marcus@gnu.org>
1715         * configure.in (sysnames): Append sysdeps/generic for each add-on.
1716         * configure: Regenerated.
1718 2005-02-02  Alfred M. Szmidt  <ams@gnu.org>
1720         * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
1721         (dtv_t): Change pointer type to be a struct which also contains
1722         information whether the memory pointed to is static TLS or not.
1724         * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
1726         * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
1727         (FALSEP): ... this.  Updated all references.
1729         [BZ #765]
1730         * libio/fmemopen.c: Include <stdint.h>.
1732 2005-01-30  Ulrich Drepper  <drepper@redhat.com>
1734         * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
1735         * nscd/connections.c (send_ro_fd): Likewise.
1737 2005-01-28  H.J. Lu  <hongjiu.lu@intel.com>
1739         * elf/tst-auditmod1.c: Add ia64 entries.
1740         * sysdeps/generic/ldsodefs.h (La_ia64_regs): New.
1741         (La_ia64_retval): New.
1742         (audit_ifaces): Add ia64 entries.
1743         * sysdeps/ia64/bits/link.h: New file.
1744         * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test
1745         for dl_profile non-null.
1746         (ARCH_LA_PLTENTER): New.
1747         (ARCH_LA_PLTEXIT): New.
1748         * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate
1749         only 2 output registers. Allocate stack to save/restore
1750         8 incoming fp registers. Call _dl_fixup instead of fixup.
1751         (_dl_runtime_profile): Rewrite.
1753 2005-01-28  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1755         * sysdeps/s390/bits/link.h: New file.
1756         * sysdeps/s390/s390-32/dl-trampoline.S: New file.
1757         * sysdeps/s390/s390-64/dl-trampoline.S: New file.
1758         * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to
1759         dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect
1760         relocation code.
1761         (elf_machine_runtime_setup): Test for dl_profile non-null.
1762         (elf_machine_rela): Remove code using RESOLVE.
1763         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
1764         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1765         * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval,
1766         La_s390_64_regs, La_s390_64_retval): New.
1767         * elf/tst-auditmod1.c: Add s390 entries.
1769         [BZ #743]
1770         * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat,
1771         strncat, memchr, strcmp): Add missing memory clobber.
1773 2005-01-27  Ulrich Drepper  <drepper@redhat.com>
1775         * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
1776         copy gl_offs.  Patch by Sergey Tikhonov <tsv@solvo.ru>.
1778 2005-01-27  Paolo Bonzini  <bonzini@gnu.org>
1780         [BZ #558]
1781         * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
1782         Initialize the node sets in dfa->inveclosures.
1783         (analyze): Initialize inveclosures only if it is needed.
1784         Check errors from calc_inveclosure.
1785         * posix/regex_internal.c (re_dfa_add_node): Do not initialize
1786         the inveclosure node set.
1787         * posix/regexec.c (re_search_internal): If nmatch includes unused
1788         subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.
1790         * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
1791         Do build a SIMPLE_BRACKET token.
1793         * posix/regexec.c (transit_state_mb): Do not examine nodes
1794         where ACCEPT_MB is not set.
1796 2005-01-27  Jakub Jelinek  <jakub@redhat.com>
1798         * stdlib/tst-fmtmsg.c: Include stdlib.h.
1799         * stdio-common/tst-fmemopen2.c: Include string.h.
1800         * posix/execvp.c: Include stdbool.h.
1802 2004-12-13  Paolo Bonzini  <bonzini@gnu.org>
1804         Separate parsing and creation of the NFA.  Avoided recursion on
1805         the (very unbalanced) parse tree.
1806         [BZ #611]
1807         * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
1808         re_dfa_add_tree_node, mark_opt_subexp_iter): Removed.
1809         (optimize_subexps, duplicate_tree, calc_first, calc_next,
1810         mark_opt_subexp): Rewritten.
1811         (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes,
1812         create_token_tree, free_tree, free_token): New.
1813         (analyze): Accept a regex_t *.  Invoke the passes via the preorder and
1814         postorder generic visitors.  Do not initialize the fields in the
1815         re_dfa_t that represent the transitions.
1816         (free_dfa_content): Use free_token.
1817         (re_compile_internal): Analyze before UTF-8 optimizations.  Do not
1818         include optimization of subexpressions.
1819         (create_initial_state): Fetch the DFA node index from the first node's
1820         bin_tree_t *.
1821         (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION.
1822         Return on COMPLEX_BRACKET.
1823         (duplicate_node_closure): Fix comment.
1824         (duplicate_node): Do not initialize the fields in the
1825         re_dfa_t that represent the transitions.
1826         (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP.
1827         (create_tree): Remove final argument.  All callers adjusted.  Rewritten
1828         to use create_token_tree.
1829         (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp,
1830         build_charclass_op): Use create_tree or create_token_tree instead
1831         of re_dfa_add_tree_node.
1832         (parse_dup_op): Likewise.  Also free the tree using free_tree for
1833         "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent
1834         to "a|".  Adjust invocation of mark_opt_subexp.
1835         (parse_sub_exp): Create a single SUBEXP node.
1836         * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
1837         always perform as if it was 1.  Do not initialize OPT_SUBEXP and
1838         DUPLICATED, and initialize the DFA fields representing the transitions.
1839         * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
1840         (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens
1841         section.  Add a tree-only code SUBEXP.  Remove OP_DELETED_SUBEXP.
1842         (bin_tree_t): Include a full re_token_t for TOKEN.  Turn FIRST and
1843         NEXT into pointers to trees.  Remove ECLOSURE.
1845 2004-12-28  Paolo Bonzini  <bonzini@gnu.org >
1847         [BZ #605]
1848         * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
1849         that were already created.
1850         * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
1851         in the token if needed.
1852         (create_ci_newstate, create_cd_newstate): Set accept_mb field
1853         from the tokens' field.
1854         * posix/regex_internal.h (re_token_t): Add accept_mb field.
1855         (ACCEPT_MB_NODE): Removed.
1856         * posix/regexec.c (proceed_next_node, transit_states_mb,
1857         build_sifted_states, check_arrival_add_next_nodes): Use
1858         accept_mb instead of ACCEPT_MB_NODE.
1860 2005-01-26  Ulrich Drepper  <drepper@redhat.com>
1862         * debug/chk_fail.c (__chk_fail): Print program name in final message.
1864         * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
1865         MSG_NOSIGNAL being in 2.2 kernels.
1867 2005-01-26  Jakub Jelinek  <jakub@redhat.com>
1869         * sysdeps/unix/sysv/linux/i386/sysdep.h
1870         (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm.
1872         [BZ #693]
1873         * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
1874         (WORD_DELIM_CONSTRAINT): ...this.
1875         (NOT_WORD_DELIM_CONSTRAINT): Define.
1876         (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
1877         change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
1878         * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
1879         anchor instead of INSIDE_WORD.
1880         (parse_expression): Handle NOT_WORD_DELIM constraint.
1881         * posix/bug-regex19.c (tests): Adjust tests that relied on \B
1882         being inside word instead of not word delim.
1883         * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
1884         characters.
1885         * posix/rxspencer/tests: Add some new tests.
1887 2005-01-14  GOTO Masanori  <gotom@debian.or.jp>
1889         * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
1890         irrespective of Cflag.
1892         * manual/memory.texi (sbrk): Fix definition.
1893         * manual/string.texi (strcasestr): Fix example typo.
1895 2005-01-25  Roland McGrath  <roland@redhat.com>
1897         * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
1899 2005-01-23  Roland McGrath  <roland@redhat.com>
1901         [BZ #737]
1902         * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
1903         in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
1904         * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
1905         (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
1906         from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
1907         * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
1909 2005-01-25  Jakub Jelinek  <jakub@redhat.com>
1911         [BZ #731]
1912         * stdlib/fmtmsg.c (addseverity): Remove new_string variable.
1913         (free_mem): Don't free string.
1914         * stdlib/tst-fmtmsg.c: Include string.h.
1915         (main): Add some more tests.
1917 2005-01-25  Andreas Schwab  <schwab@suse.de>
1919         [BZ #736]
1920         * timezone/asia: Update from tzdata2005c.
1921         * timezone/backward: Likewise.
1922         * timezone/europe: Likewise.
1923         * timezone/leapseconds: Likewise.
1924         * timezone/northamerica: Likewise.
1925         * timezone/southamerica: Likewise.
1927         [BZ #736]
1928         * timezone/private.h: Update from tzcode2005c.
1929         * timezone/tzfile.h: Likewise.
1930         * timezone/zdump.c: Likewise.
1931         * timezone/zic.c: Likewise.
1933 2005-01-25  Ulrich Drepper  <drepper@redhat.com>
1935         * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using
1936         RESOLVE.
1937         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code
1938         using RESOLVE.
1939         * elf/rtld.c (_dl_start): Remove RESOLVE definition.
1941 2005-01-25  Alan Modra  <amodra@bigpond.net.au>
1943         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
1944         sym_map, not sym, against zero.
1946 2005-01-24  Ulrich Drepper  <drepper@redhat.com>
1948         [BZ #671]
1949         * misc/syslog.c: Moved to...
1950         * sysdeps/generic/syslog.c: ...here.
1951         [NO_SIGIPE]: Don't install SIGPIPE handler.
1952         * sysdeps/unix/sysv/linux/syslog.c: New file.
1953         * sysdeps/unix/sysv/linux/kernel-features.h: Define
1954         __ASSUME_MSG_NOSIGNAL.
1956 2005-01-22  Richard Henderson  <rth@redhat.com>
1958         * sysdeps/alpha/dl-trampoline.S: New file.
1959         * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
1960         Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
1961         (elf_machine_runtime_setup): Test for dl_profile non-null.
1962         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
1963         * sysdeps/alpha/bits/link.h: New file.
1964         * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
1965         (struct audit_ifaces): Add alpha entries.
1966         * elf/tst-auditmod1.c: Add alpha entries.
1968 2005-01-22  Ulrich Drepper  <drepper@redhat.com>
1970         * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here.
1971         * sysdeps/ia64/dl-trampoline.S: New file.
1973         * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in
1974         La_x86_64_xmm definition.
1976         * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
1977         pointer option.
1978         * stdlib/Makefile (CFLAGS-system.os): Use this instead of
1979         CFLAGS-system.c for frame pointer option.
1981 2005-01-21  Roland McGrath  <roland@redhat.com>
1983         * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
1984         * sysdeps/i386/dl-machine.h: Update decl.
1986 2005-01-21  Jakub Jelinek  <jakub@redhat.com>
1988         [BZ #735]
1989         * elf/Makefile: Add rules to build and run tst-align2.
1990         * elf/tst-align2.c: New test.
1991         * elf/tst-alignmod2.c: New file.
1992         * sysdeps/powerpc/tst-stack-align.h: New file.
1993         * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame
1994         pointer before calling _dl_init.
1995         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1997 2005-01-20  Ulrich Drepper  <drepper@redhat.com>
1999         * posix/execl.c: Do not allocate potentially large buffers on the
2000         stack.
2001         * posix/execle.c: Likewise.
2002         * posix/execlp.c: Likewise.
2003         * posix/execvp.c: Likewise.
2004         (script_execute): Removed.
2005         (allocate_scripts_argv): New function.  Called at most once to
2006         allocate memory, not every time a script is run.  Adjust caller.
2008         * sysdeps/generic/wordexp.c (exec_comm): Add a few
2009         TEMP_FAILURE_RETRY.  Reorganize code to avoid multiple calls to
2010         exec_comm_child.
2011         (exec_comm_child): Can now be inlined.
2013         * posix/Makefile: Add -fomit-frame-pointer for a few more files.
2014         * stdlib/Makefile: Likewise.
2016 2005-01-19  Roland McGrath  <roland@redhat.com>
2018         [BZ #681]
2019         * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
2020         argument to execlp.
2021         Reported by Marcus Meissner <meissner@suse.de>.
2023 2005-01-19  Jakub Jelinek  <jakub@redhat.com>
2025         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
2026         in assert.
2027         * iconv/strtab.c (strtabfinalize): Likewise.
2029         * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
2031 2005-01-17  Roland McGrath  <roland@redhat.com>
2033         [BZ #745]
2034         * nscd/Makefile (LDLIBS-nscd): New variable.
2035         ($(objpfx)nscd): Use that instead of selinux-LIBS.
2037         * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)).
2038         (link-extra-libs-static): Define to $(link-extra-libs).
2039         (link-extra-libs-bounded): Likewise.
2041 2005-01-17  Ulrich Drepper  <drepper@redhat.com>
2043         * include/link.h: Remove stray definition of pltenter.
2045 2005-01-16  GOTO Masanori  <gotom@debian.or.jp>
2047         [BZ #734]
2048         * sysdeps/unix/rewinddir.c: Reset filepos.
2049         * dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
2051 2005-01-15  Ulrich Drepper  <drepper@redhat.com>
2053         * elf/tst-auditmod1.c: Reduce duplication.
2055 2005-01-16  Andreas Schwab  <schwab@suse.de>
2057         * sysdeps/m68k/dl-machine.h: Remove trampoline code.  Define
2058         ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
2059         (elf_machine_runtime_setup): If profile != 0 does not anymore mean
2060         GLRO(dl_profile) != NULL.
2061         * sysdeps/m68k/dl-trampoline.S: New file.
2062         * sysdeps/m68k/bits/link.h: New file.
2063         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
2064         variants.
2065         * elf/tst-auditmod1.c: Add m68k support.
2067 2005-01-14  Ulrich Drepper  <drepper@redhat.com>
2069         * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
2070         LC_* variable.  Patch by Aharon Robbins <arnold@skeeve.com>.
2072         [BZ #731]
2073         * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
2074         * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
2076 2005-01-12  Ulrich Drepper  <drepper@redhat.com>
2078         * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
2079         callers from libc anymore.
2081         * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller
2082         to _dl_map_object_deps.
2083         * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory
2084         protections when loading auditing modules.
2086         * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail.
2088         * posix/getconf.c: Update copyright year.
2089         * nss/getent.c: Likewise.
2090         * nscd/nscd_nischeck.c: Likewise.
2091         * iconv/iconvconfig.c: Likewise.
2092         * iconv/iconv_prog.c: Likewise.
2093         * elf/ldconfig.c: Likewise.
2094         * catgets/gencat.c: Likewise.
2095         * csu/version.c: Likewise.
2096         * elf/ldd.bash.in: Likewise.
2097         * elf/sprof.c (print_version): Likewise.
2098         * locale/programs/locale.c: Likewise.
2099         * locale/programs/localedef.c: Likewise.
2100         * nscd/nscd.c (print_version): Likewise.
2101         * debug/xtrace.sh: Likewise.
2102         * malloc/memusage.sh: Likewise.
2103         * malloc/mtrace.pl: Likewise.
2104         * debug/catchsegv.sh: Likewise.
2106 2005-01-11  Thorsten Kukuk  <kukuk@suse.de>
2108         [BZ #733]
2109         * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN
2110         as backlog.
2111         * sunrpc/svc_unix.c (svcunix_create): Likewise.
2113         * grp/putgrent.c (putgrent): Don't write 0 as group
2114         ID if groupname starts with + or -.
2115         * pwd/putpwent.c (putpwent): Don't write 0 as user or
2116         group ID if user name starts with + or -.
2118 2005-01-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2120         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants.
2121         * sysdeps/elf/tst-auditmod1.c: Add sh support.
2122         * sysdeps/sh/bits/link.h: New.
2123         * sysdeps/sh/dl-machine.h: Remove trampoline code here.  Define
2124         ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.  Remove obsolete comments.
2125         (RTLD_START): Define __fpscr_values.
2126         * sysdeps/sh/dl-trampoline.S: New file.
2127         * sysdeps/sh/sh4/dl-trampoline.S: New file.
2128         * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values.
2129         * sysdeps/sh/sh4/dl-machine.h: Remove.
2131 2005-01-10  Jakub Jelinek  <jakub@redhat.com>
2133         [BZ #732]
2134         * time/tst-strptime.c (day_tests): Add 2 new tests.
2135         (test_tm, main): Issue an error instead of segfaulting if
2136         strptime returns NULL.
2138 2005-01-10  H.J. Lu  <hongjiu.lu@intel.com>
2140         * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union.
2141         * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise.
2143 2005-01-11  Ulrich Drepper  <drepper@redhat.com>
2145         * malloc/malloc.h: Remove no-glibc support.
2147 2005-01-12  GOTO Masanori  <gotom@debian.or.jp>
2149         [BZ #650]
2150         * malloc/malloc.h: Always include features.h.
2152 2005-01-10  Roland McGrath  <roland@redhat.com>
2154         * sysdeps/ia64/fpu/e_logl.c: File removed.
2156         * dlfcn/dlfcn.c (init): Fix typo in attribute decl.
2158 2005-01-10  Ulrich Drepper  <drepper@redhat.com>
2160         * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and
2161         recognition of last entry.
2163 2005-01-09  Ulrich Drepper  <drepper@redhat.com>
2165         * elf/dl-runtime.c: Include <sys/param.h>.
2167         * elf/Makefile (headers): Add bits/link.h.
2169 2005-01-09  Andreas Schwab  <schwab@suse.de>
2171         * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC.
2173 2005-01-09  Andreas Jaeger  <aj@suse.de>
2175         [BZ #732]
2176         * time/strptime_l.c (__strptime_internal): Add braces to avoid
2177         warning.
2179         * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0.
2181         * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
2183 2005-01-08  Jakub Jelinek  <jakub@redhat.com>
2185         * elf/Makefile (generated): Add tst-pie1{,.out,.o}.
2187 2005-01-09  Ulrich Drepper  <drepper@redhat.com>
2189         * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after
2190         those of all the regular objects.
2192         * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and
2193         use it to select the r_debug structure for that namespace.
2194         * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize.
2195         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2196         * elf/dl-open.c (_dl_open): Likewise.
2197         * elf/rtld.c (dl_main): Likewise.
2198         * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug
2199         member.
2200         (_dl_debug_initialize): Add new parameter in declaration.
2202         * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not
2203         called for the auditing objects themselves.
2204         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2206 2005-01-07  Ulrich Drepper  <drepper@redhat.com>
2208         * sysdeps/powerpc/powerpc64/dl-machine.h
2209         (elf_machine_runtime_setup): If profile != 0 does not anymore mean
2210         GLRO(dl_profile) != NULL.
2211         * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add
2212         padding.
2213         * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve):
2214         Extend _dl_prof_resolve to add pass extra parameters to
2215         _dl_profile_fixup and set up structure with register content.
2217         * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
2218         If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
2219         * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
2220         Extend _dl_prof_resolve to add pass extra parameters to
2221         _dl_profile_fixup and set up structure with register content.
2222         * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
2223         the register and result structures.
2224         * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
2225         in the 32-bit register and result structures.
2227         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
2229         * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file.
2230         * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here.
2231         Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
2232         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants.
2233         * elf/tst-auditmod1.c: Add ppc32 support.
2234         * sysdeps/powerpc/powerpc32/bits/link.h: New file.
2235         * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions.
2237         * malloc/malloc.c (malloc_printerr): Print program name as part of
2238         error message.
2240         * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define.
2241         * stdlib/stdlib.h: Make realloc with
2242         __attribute_warn_unused_result__ instead of __wur.
2243         * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__
2244         markers as in <stdlib.h>.
2246         * libio/stdio.h: Remove __wur from rename and remove.
2247         * posix/unistd.h: Remove __wur from dup2.
2249 2005-01-03  Andreas Jaeger  <aj@suse.de>
2251         * elf/Makefile (tests): Revert patch from 2005-01-03.
2253 2005-01-07  Ulrich Drepper  <drepper@redhat.com>
2255         * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't
2256         make __libc_init_first hidden.
2258         * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize
2259         l_relocated of rtld map.
2260         * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file.
2261         * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here.
2262         Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
2263         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants.
2264         * elf/tst-auditmod1.c: Add ppc64 support.
2265         * sysdeps/powerpc/powerpc64/bits/link.h: New file.
2267 2005-01-06  Roland McGrath  <roland@redhat.com>
2269         [BZ #633]
2270         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
2271         indicating file-name lookup errors, and return ENOSYS or EBADF instead.
2273 2005-01-06  Ulrich Drepper  <drepper@redhat.com>
2275         * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
2276         * sysdeps/generic/libc-start.c: Don't register program destructor here.
2278         * dlfcn/Makefile: Add rules to build dlfcn.c.
2279         (LDFLAGS-dl.so): Removed.
2280         * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
2281         table.
2282         * dlfcn/dlmopen.c: Likewise for _dl_open.
2283         * dlfcn/dlopen.c: Likewise.
2284         * dlfcn/dlopenold.c: Likewise.
2285         * elf/dl-libc.c: Likewise for _dl_open and _dl_close.
2286         * elf/Makefile (routines): Remove dl-open and dl-close.
2287         (dl-routines): Add dl-open, dl-close, and dl-trampoline.
2288         Add rules to build and run tst-audit1.
2289         * elf/tst-audit1.c: New file.
2290         * elf/tst-auditmod1.c: New file.
2291         * elf/Versions [libc]: Remove _dl_open and _dl_close.
2292         * elf/dl-close.c: Change for use inside ld.so instead of libc.so.
2293         * elf/dl-open.c: Likewise.
2294         * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
2295         signaled by nonzero parameter.
2296         * elf/dl-init.c: Fix use of r_state.
2297         * elf/dl-load.c: Likewise.
2299         * elf/dl-close.c: Add auditing checkpoints.
2300         * elf/dl-open.c: Likewise.
2301         * elf/dl-fini.c: Likewise.
2302         * elf/dl-load.c: Likewise.
2303         * elf/dl-sym.c: Likewise.
2304         * sysdeps/generic/libc-start.c: Likewise.
2305         * elf/dl-object.c: Allocate memory for auditing information.
2306         * elf/dl-reloc.c: Remove RESOLV.  We now always need the map.
2307         Correctly initialize slotinfo.
2308         * elf/dynamic-link.h: Adjust after removal of RESOLV.
2309         * sysdeps/hppa/dl-lookupcfg.h: Likewise.
2310         * sysdeps/ia64/dl-lookupcfg.h: Likewise.
2311         * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
2312         * elf/dl-runtime.c (_dl_fixup): Little cleanup.
2313         (_dl_profile_fixup): New parameters to point to register struct and
2314         variable for frame size.
2315         Add auditing checkpoints.
2316         (_dl_call_pltexit): New function.
2317         Don't define trampoline code here.
2318         * elf/rtld.c: Recognize LD_AUDIT.  Load modules on startup.
2319         Remove all the functions from _rtld_global_ro which only _dl_open
2320         and _dl_close needed.
2321         Add auditing checkpoints.
2322         * elf/link.h: Define symbols for auditing interfaces.
2323         * include/link.h: Likewise.
2324         * include/dlfcn.h: Define __RTLD_AUDIT.
2325         Remove prototypes for _dl_open and _dl_close.
2326         Adjust access to argc and argv in libdl.
2327         * dlfcn/dlfcn.c: New file.
2328         * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
2329         is gone.
2330         * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
2331         * sysdeps/generic/unsecvars.h: Add LD_AUDIT.
2332         * sysdeps/i386/dl-machine.h: Remove trampoline code here.
2333         Adjust for removal of RESOLVE.
2334         * sysdeps/x86_64/dl-machine.h: Likewise.
2335         * sysdeps/generic/dl-trampoline.c: New file.
2336         * sysdeps/i386/dl-trampoline.c: New file.
2337         * sysdeps/x86_64/dl-trampoline.c: New file.
2339         * sysdeps/generic/dl-tls.c: Cleanups.  Fixup for dtv_t change.
2340         Fix updating of DTV.
2341         * sysdeps/generic/libc-tls.c: Likewise.
2343         * sysdeps/arm/bits/link.h: Renamed to ...
2344         * sysdeps/arm/bits/linkmap.h: ...this.
2345         * sysdeps/generic/bits/link.h: Renamed to...
2346         * sysdeps/generic/bits/linkmap.h: ...this.
2347         * sysdeps/hppa/bits/link.h: Renamed to...
2348         * sysdeps/hppa/bits/linkmap.h: ...this.
2349         * sysdeps/i386/bits/link.h: Renamed to...
2350         * sysdeps/i386/bits/linkmap.h: ...this.
2351         * sysdeps/ia64/bits/link.h: Renamed to...
2352         * sysdeps/ia64/bits/linkmap.h: ...this.
2353         * sysdeps/s390/bits/link.h: Renamed to...
2354         * sysdeps/s390/bits/linkmap.h: ...this.
2355         * sysdeps/sh/bits/link.h: Renamed to...
2356         * sysdeps/sh/bits/linkmap.h: ...this.
2357         * sysdeps/x86_64/bits/link.h: Renamed to...
2358         * sysdeps/x86_64/bits/linkmap.h: ...this.
2360         * posix/unistd.h: Declare ftruncate for POSIX 2003.  [BZ #640]
2362 2004-12-22  Steven Munroe  <sjmunroe@us.ibm.com>
2364         [BZ #602]
2365         * math/libm-test.inc (rint_test_tonearest): New test.
2366         (rint_test_towardzero): New test.
2367         (rint_test_downward): New test.
2368         (rint_test_upward): New test.
2369         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case.
2370         Remove redundant const values.
2371         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case.
2372         Remove redundant const values.  Use float const.
2373         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case.
2374         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case.
2375         Use float const.
2376         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case.
2377         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case.
2378         Use float const.
2379         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case.
2380         Remove redundant const values.
2381         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case.
2382         Remove redundant const values.  Use float const.
2383         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case.
2384         Remove redundant const values.
2385         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case.
2386         Remove redundant const values.  Use float const.
2387         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword
2388         alignment.  Fix -0.0 case.  Remove redundant const values.
2389         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword
2390         alignment.  Fix -0.0 case.  Remove redundant const values.
2391         Use float const.
2392         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword
2393         alignment.  Fix -0.0 case.
2394         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword
2395         alignment.  Fix -0.0 case.  Use float const.
2396         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword
2397         alignment.  Fix -0.0 case.
2398         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword
2399         alignment.  Fix -0.0 case.  Use float const.
2400         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword
2401         alignment.  Fix -0.0 case.  Remove redundant const values.
2402         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword
2403         alignment.  Fix -0.0 case.  Remove redundant const values.
2404         Use float const.
2405         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword
2406         alignment.  Fix -0.0 case.
2407         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword
2408         alignment.  Fix -0.0 case.  Remove redundant const values.
2409         Use float const.
2411 2005-01-06  Ulrich Drepper  <drepper@redhat.com>
2413         * misc/sys/cdefs.h: Define __wur.
2414         * libio/stdio.h: Use __wur for a number of interfaces.
2415         * posix/unistd.h: Likewise.
2416         * stdlib/stdlib.h: Likewise.
2418 2004-12-29  Jakub Jelinek  <jakub@redhat.com>
2420         [BZ #592]
2421         * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use
2422         libc_hidden_proto instead of HIDDEN_PROTO.
2423         * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove.
2424         (__libm_error_support): If ASSEMBLER and in libc, define to
2425         HIDDEN_JUMPTARGET(__libm_error_support).
2427 2004-12-28  David Mosberger  <davidm@hpl.hp.com>
2429         [BZ #592]
2430         * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro.
2431         (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l}
2432         with $(duplicated-routines).
2433         (libm-sysdep_routines): Likewise, but substitute "s_" prefix for
2434         "m_" prefix.
2436 2004-12-27  David Mosberger  <davidm@hpl.hp.com>
2438         [BZ #592]
2439         * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and
2440         undefine "ret" macro.  Add __libm_error_support hidden definitions.
2442         [BZ #592]
2443         * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment.  Add
2444         missing portion of copyright statement.
2445         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
2446         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
2448         [BZ #592]
2449         * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment.  Add
2450         missing portion of copyright statement.
2451         (__ieee754_lgamma): Rename from lgamma().  Make lgamma() a weak alias.
2452         (__ieee754_gamma): Likewise.
2453         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
2454         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
2456 2004-12-09  H.J. Lu <hjl@lucon.org>
2458         [BZ #592]
2459         * sysdeps/ia64/fpu/s_nextafterl.c: Remove.
2460         * sysdeps/ia64/fpu/s_nexttoward.c: Likewise.
2461         * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise.
2462         * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c).
2463         * sysdeps/ia64/fpu/e_expl.S: Likewise.
2464         * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S).
2466 2004-11-18  David Mosberger  <davidm@hpl.hp.com>
2468         [BZ #592]
2469         * sysdeps/ia64/fpu/README: New file.
2470         * sysdeps/ia64/fpu/gen_import_file_list: New file.
2471         * sysdeps/ia64/fpu/import_check: Likewise.
2472         * sysdeps/ia64/fpu/import_diffs: Likewise.
2473         * sysdeps/ia64/fpu/import_file.awk: Likewise.
2474         * sysdeps/ia64/fpu/import_intel_libm: Likewise.
2475         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2477         [BZ #592]
2478         * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+.
2479         * sysdeps/ia64/fpu/e_acosf.S: Likewise.
2480         * sysdeps/ia64/fpu/e_acosl.S: Likewise.
2481         * sysdeps/ia64/fpu/e_asin.S: Likewise.
2482         * sysdeps/ia64/fpu/e_asinf.S: Likewise.
2483         * sysdeps/ia64/fpu/e_asinl.S: Likewise.
2484         * sysdeps/ia64/fpu/e_atan2.S: Likewise.
2485         * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
2486         * sysdeps/ia64/fpu/e_cosh.S: Likewise.
2487         * sysdeps/ia64/fpu/e_coshf.S: Likewise.
2488         * sysdeps/ia64/fpu/e_coshl.S: Likewise.
2489         * sysdeps/ia64/fpu/e_exp.S: Likewise.
2490         * sysdeps/ia64/fpu/e_expf.S: Likewise.
2491         * sysdeps/ia64/fpu/e_fmod.S: Likewise.
2492         * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
2493         * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
2494         * sysdeps/ia64/fpu/e_hypot.S: Likewise.
2495         * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
2496         * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
2497         * sysdeps/ia64/fpu/e_log.S: Likewise.
2498         * sysdeps/ia64/fpu/e_log2.S: Likewise.
2499         * sysdeps/ia64/fpu/e_log2f.S: Likewise.
2500         * sysdeps/ia64/fpu/e_log2l.S: Likewise.
2501         * sysdeps/ia64/fpu/e_logf.S: Likewise.
2502         * sysdeps/ia64/fpu/e_pow.S: Likewise.
2503         * sysdeps/ia64/fpu/e_powf.S: Likewise.
2504         * sysdeps/ia64/fpu/e_powl.S: Likewise.
2505         * sysdeps/ia64/fpu/e_remainder.S: Likewise.
2506         * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
2507         * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
2508         * sysdeps/ia64/fpu/e_scalb.S: Likewise.
2509         * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
2510         * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
2511         * sysdeps/ia64/fpu/e_sinh.S: Likewise.
2512         * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
2513         * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
2514         * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
2515         * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
2516         * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
2517         * sysdeps/ia64/fpu/libm_error.c: Likewise.
2518         * sysdeps/ia64/fpu/libm_reduce.c: Likewise.
2519         * sysdeps/ia64/fpu/libm_support.h: Likewise.
2520         * sysdeps/ia64/fpu/s_atan.S: Likewise.
2521         * sysdeps/ia64/fpu/s_atanf.S: Likewise.
2522         * sysdeps/ia64/fpu/s_atanl.S: Likewise.
2523         * sysdeps/ia64/fpu/s_cbrt.S: Likewise.
2524         * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
2525         * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
2526         * sysdeps/ia64/fpu/s_ceil.S: Likewise.
2527         * sysdeps/ia64/fpu/s_ceilf.S: Likewise.
2528         * sysdeps/ia64/fpu/s_ceill.S: Likewise.
2529         * sysdeps/ia64/fpu/s_cos.S: Likewise.
2530         * sysdeps/ia64/fpu/s_cosf.S: Likewise.
2531         * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2532         * sysdeps/ia64/fpu/s_expm1.S: Likewise.
2533         * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
2534         * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
2535         * sysdeps/ia64/fpu/s_fabs.S: Likewise.
2536         * sysdeps/ia64/fpu/s_fabsf.S: Likewise.
2537         * sysdeps/ia64/fpu/s_fabsl.S: Likewise.
2538         * sysdeps/ia64/fpu/s_floor.S: Likewise.
2539         * sysdeps/ia64/fpu/s_floorf.S: Likewise.
2540         * sysdeps/ia64/fpu/s_floorl.S: Likewise.
2541         * sysdeps/ia64/fpu/s_frexp.c: Likewise.
2542         * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
2543         * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
2544         * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
2545         * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
2546         * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
2547         * sysdeps/ia64/fpu/s_log1p.S: Likewise.
2548         * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
2549         * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
2550         * sysdeps/ia64/fpu/s_logb.S: Likewise.
2551         * sysdeps/ia64/fpu/s_logbf.S: Likewise.
2552         * sysdeps/ia64/fpu/s_logbl.S: Likewise.
2553         * sysdeps/ia64/fpu/s_modf.S: Likewise.
2554         * sysdeps/ia64/fpu/s_modff.S: Likewise.
2555         * sysdeps/ia64/fpu/s_modfl.S: Likewise.
2556         * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
2557         * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
2558         * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
2559         * sysdeps/ia64/fpu/s_rint.S: Likewise.
2560         * sysdeps/ia64/fpu/s_rintf.S: Likewise.
2561         * sysdeps/ia64/fpu/s_rintl.S: Likewise.
2562         * sysdeps/ia64/fpu/s_round.S: Likewise.
2563         * sysdeps/ia64/fpu/s_roundf.S: Likewise.
2564         * sysdeps/ia64/fpu/s_roundl.S: Likewise.
2565         * sysdeps/ia64/fpu/s_significand.S: Likewise.
2566         * sysdeps/ia64/fpu/s_significandf.S: Likewise.
2567         * sysdeps/ia64/fpu/s_significandl.S: Likewise.
2568         * sysdeps/ia64/fpu/s_tan.S: Likewise.
2569         * sysdeps/ia64/fpu/s_tanf.S: Likewise.
2570         * sysdeps/ia64/fpu/s_tanl.S: Likewise.
2571         * sysdeps/ia64/fpu/s_trunc.S: Likewise.
2572         * sysdeps/ia64/fpu/s_truncf.S: Likewise.
2573         * sysdeps/ia64/fpu/s_truncl.S: Likewise.
2575         [BZ #592]
2576         * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+.
2577         * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
2578         * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
2579         * sysdeps/ia64/fpu/e_atanh.S: Likewise.
2580         * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
2581         * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
2582         * sysdeps/ia64/fpu/e_exp10.S: Likewise.
2583         * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
2584         * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
2585         * sysdeps/ia64/fpu/e_exp2.S: Likewise.
2586         * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
2587         * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
2588         * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise.
2589         * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise.
2590         * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise.
2591         * sysdeps/ia64/fpu/e_logl.S: Likewise.
2592         * sysdeps/ia64/fpu/libm_frexp.S: Likewise.
2593         * sysdeps/ia64/fpu/libm_frexpf.S: Likewise.
2594         * sysdeps/ia64/fpu/libm_frexpl.S: Likewise.
2595         * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
2596         * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
2597         * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
2598         * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
2599         * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
2600         * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
2601         * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
2602         * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
2603         * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
2604         * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
2605         * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2606         * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
2607         * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2608         * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
2609         * sysdeps/ia64/fpu/s_asinh.S: Likewise.
2610         * sysdeps/ia64/fpu/s_asinhf.S: Likewise.
2611         * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
2612         * sysdeps/ia64/fpu/s_erf.S: Likewise.
2613         * sysdeps/ia64/fpu/s_erfc.S: Likewise.
2614         * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
2615         * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
2616         * sysdeps/ia64/fpu/s_erff.S: Likewise.
2617         * sysdeps/ia64/fpu/s_erfl.S: Likewise.
2618         * sysdeps/ia64/fpu/s_fdim.S: Likewise.
2619         * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
2620         * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
2621         * sysdeps/ia64/fpu/s_fma.S: Likewise.
2622         * sysdeps/ia64/fpu/s_fmaf.S: Likewise.
2623         * sysdeps/ia64/fpu/s_fmal.S: Likewise.
2624         * sysdeps/ia64/fpu/s_fmax.S: Likewise.
2625         * sysdeps/ia64/fpu/s_fmaxf.S: Likewise.
2626         * sysdeps/ia64/fpu/s_fmaxl.S: Likewise.
2627         * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
2628         * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
2629         * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
2630         * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
2631         * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
2632         * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
2633         * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
2634         * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
2635         * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
2636         * sysdeps/ia64/fpu/s_tanh.S: Likewise.
2637         * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
2638         * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
2639         * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
2640         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
2641         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
2642         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
2643         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
2644         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
2645         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
2647         [BZ #592]
2648         * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file.
2649         * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise.
2650         * sysdeps/ia64/fpu/e_gammal_r.c: Likewise.
2651         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
2652         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
2653         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
2654         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
2655         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
2656         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
2657         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
2658         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
2659         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
2660         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
2661         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
2662         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
2663         * sysdeps/ia64/fpu/w_expl.c: Likewise.
2664         * sysdeps/ia64/fpu/e_expl.S: Likewise.
2665         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
2666         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
2667         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
2668         * sysdeps/ia64/fpu/w_log2.c: Likewise.
2669         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
2670         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
2671         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
2672         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
2673         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
2675         [BZ #592]
2676         * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove.
2677         * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
2678         * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
2679         * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
2680         * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
2681         * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
2682         * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
2684         [BZ #592]
2685         * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file.
2686         * sysdeps/ia64/fpu/s_sincosf.c: Likewise.
2687         * sysdeps/ia64/fpu/s_sincosl.c: Likewise.
2689         [BZ #592]
2690         * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment.
2692         [BZ #592]
2693         * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l}
2694         alias for use by libm_error.c
2696         [BZ #592]
2697         * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove
2698         libm_atan2_reg, libm_tan, libm_frexp4{f,l}.
2699         Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l},
2700         libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l},
2701         libm_scalbn{,f,l}, libm_scalblnf.
2702         (sysdep_routines): Remove libm_frexp4{,f,l}.
2703         Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}.
2704         (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__,
2705         _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and
2706         -DSIZE_LONG_LONG_INT_64.
2708 2005-01-05  Steven Munroe  <sjmunroe@us.ibm.com>
2710         [BZ #729]
2711         * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and
2712         l_text_end are set for a VDSO with a single PT_LOAD entry.
2714 2005-01-05  Ulrich Drepper  <drepper@redhat.com>
2716         [BZ #730]
2717         * libio/iofopncook.c (_IO_cookie_seekoff): Define.  Mark offset as
2718         invalid to disable optimizations in fileops which won't work here.
2719         (_IO_cookie_jumps): Use it.
2720         (_IO_old_cookie_jumps): Likewise.
2721         * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P,
2722         not the return value.
2723         * stdio-common/Makefile (tests): Add tst-fmemopen2.
2724         * stdio-common/tst-fmemopen2.c: New file.
2726         * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD.
2728 2005-01-05  Roland McGrath  <roland@redhat.com>
2730         * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ...
2731         * sysdeps/i386/configure.in: ... here.  New file.
2733 2005-01-03  Ulrich Drepper  <drepper@redhat.com>
2735         [BZ #727]
2736         * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
2737         initialize __environ again.
2738         * stdlib/Makefile: Add rules to build and run tst-putenv.
2739         * stdlib/tst-putenv.c: New file.
2740         * stdlib/tst-putenvmod.c: New file.
2742         * sysdeps/unix/sysv/linux/init-first.c: Clean file up.  Don't
2743         define unnecessary wrappers or aliases of static functions.
2745 2005-01-03  Andreas Jaeger  <aj@suse.de>
2747         * csu/Makefile (generated): Add start.os and start.ob.
2749         * elf/Makefile (tests): Change rule for tst-pie1 so that make
2750         clean works.
2752 2004-12-29  Roland McGrath  <roland@redhat.com>
2754         [BZ #626]
2755         * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
2756         than always up; when nearest is zero, round up to one.
2758 2004-12-28  Ulrich Drepper  <drepper@redhat.com>
2760         * po/es.po: Update from translation team.
2762         [BZ #726]
2763         * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
2765 2004-12-27  Ulrich Drepper  <drepper@redhat.com>
2767         [BZ #744]
2768         * include/signal.h: Define __sigemptyset.
2770 2004-04-27  Paolo Bonzini  <bonzini@gnu.org>
2772         * posix/regex_internal.h (struct re_dfastate_t): Make
2773         word_trtable a pointer to the 512-item transition table.
2774         * posix/regexec.c (build_trtable): Fill in either state->trtable
2775         or state->word_trtable.  Return a boolean indicating success.
2776         (transit_state): Expect state->trtable to be a 256-item
2777         transition table.  Reorganize code to have less tests in
2778         the common case, and to save an indentation level.
2779         * posix/regex_internal.c (free_state): Free word_trtable.
2781 2004-12-21  Jakub Jelinek  <jakub@redhat.com>
2783         [BZ #723]
2784         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when
2785         calling fn is 16 byte aligned.
2786         * sysdeps/i386/tst-stack-align.h: New file.
2788         [BZ #725]
2789         * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
2790         (ecvt_r): Special case denormals.
2791         * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
2792         * misc/tst-efgcvt.c: Include float.h.
2793         (ecvt_tests): Add 2 new tests.
2795 2004-12-20  Roland McGrath  <roland@frob.com>
2797         * version.h (RELEASE, VERSION): development, 2.3.90
2798         * include/features.h (__GLIBC_MINOR__): Now 4.
2801 See ChangeLog.15 for earlier changes.