Updated to fedora-glibc-20050427T1043
[glibc.git] / ChangeLog
blob3179b70d2572cc1d043ed3f8415eb02cece1859c
1 2005-04-27  Roland McGrath  <roland@redhat.com>
3         [BZ #877]
4         * posix/unistd.h: Remove __nonnull from acct decl.
6         * rt/tst-cpuclock1.c: New file.
7         * rt/tst-cpuclock2.c: New file.
8         * rt/tst-cputimer1.c: New file.
9         * rt/tst-cputimer2.c: New file.
10         * rt/tst-cputimer3.c: New file.
11         * rt/Makefile (tests): Add them.
13         * sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h: New file.
14         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: New file.
15         * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c
16         (HAS_CPUCLOCK): New macro.
17         (clock_getcpuclockid): Function removed.
18         #include the new linux file to define it instead.
19         * sysdeps/unix/clock_gettime.c [HP_TIMING_AVAIL] (hp_timing_gettime):
20         New function, broken out of ...
21         (clock_gettime) [HP_TIMING_AVAIL]: ... here.  Call it.
22         (realtime_gettime): New function, broken out of ...
23         (clock_gettime) [! HANDLED_REALTIME]: ... here.  Call it.
24         (clock_gettime) [SYSDEP_GETTIME_CPU]: Use new macro in default case.
25         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): New macro.
26         (SYSDEP_GETTIME_CPUTIME): New macro.
27         (SYSDEP_GETTIME): Use both.
28         [! __ASSUME_POSIX_TIMERS] (maybe_syscall_gettime): New function, broken
29         out of ...
30         (SYSDEP_GETTIME): ... here.  Use it.
31         [__NR_clock_gettime] (HANDLED_CPUTIME): Define it.
32         (SYSDEP_GETTIME_CPUTIME): New macro.  Handle CPU timers by trying
33         kernel support and falling back to hp-timing code.
34         * sysdeps/posix/clock_getres.c
35         [HP_TIMING_AVAIL] (hp_timing_getres): New function, broken out of ...
36         (clock_getres) [HP_TIMING_AVAIL]: ... here.  Call it.
37         (realtime_getres): New function, broken out of ...
38         (clock_getres) [! HANDLED_REALTIME]: ... here.  Call it.
39         (clock_getres) [SYSDEP_GETRES_CPU]: Use new macro in default case.
40         * sysdeps/unix/sysv/linux/clock_getres.c (SYSCALL_GETRES): New macro.
41         (SYSDEP_GETRES_CPUTIME): New macro.
42         (SYSDEP_GETRES): Use both.
43         [! __ASSUME_POSIX_TIMERS] (maybe_syscall_getres): New function, broken
44         out of ...
45         (SYSDEP_GETRES): ... here.  Use it.
46         [__NR_clock_getres] (HANDLED_CPUTIME): Define it.
47         (SYSDEP_GETRES_CPUTIME): New macro.  Handle CPU timers by trying
48         kernel support and falling back to hp-timing code.
49         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Handle
50         CLOCK_PROCESS_CPUTIME_ID and CLOCK_PROCESS_THREAD_ID specially,
51         translating to the kernel clockid_t for our own process/thread clock.
53 2005-04-27  Ulrich Drepper  <drepper@redhat.com>
55         * stdlib/test-canon.c: Make doesExist a directory and add more tests
56         for the new error case.
58 2004-06-02  Dmitry V. Levin  <ldv@altlinux.org>
59             Ranjani Murthy <ranmur@gmail.com>
61         * stdlib/canonicalize.c (__realpath): Change realpath(3) to
62         return NULL and set errno to ENOTDIR for such pathnames like
63         "/path/to/existing-non-directory/".
65 2005-04-26  Ulrich Drepper  <drepper@redhat.com>
67         * time/strptime_l.c (__strptime_internal): Handle 'z' to set
68         tm_gmtoff.
69         * time/Makefile (tests): Add tst-strptime2.
70         * time/tst-strptime2.c: New file.
72 2005-04-26  Jakub Jelinek  <jakub@redhat.com>
74         * elf/dl-close.c: Include stddef.h.
75         (_dl_close): If called recursively, just remember GC needs to be rerun
76         and decrease l_direct_opencount.  Avoid GC if l_direct_opencount
77         decreased to 1.  Rerun GC at the end if any destructor unloaded some
78         additional libraries.
79         * elf/Makefile: Add rules to build and run unload6 test.
80         * elf/unload6.c: New test.
81         * elf/unload6mod1.c: New file.
82         * elf/unload6mod2.c: New file.
83         * elf/unload6mod3.c: New file.
85         * malloc/hooks.c (mem2chunk_check): Add magic_p argument, set *magic_p
86         if magic_p is not NULL.
87         (top_check): Invoke MALLOC_FAILURE_ACTION if MORECORE failed.
88         (malloc_check): Fail if sz == -1.
89         (free_check): Adjust mem2chunk_check caller.
90         (realloc_check): Likewise.  Fail if bytes == -1.  If bytes == 0 and
91         oldmem != NULL, call free_check and return NULL.  If reallocating
92         and returning NULL, invert magic byte again to make oldmem valid
93         region for further checking.
94         (memalign_check): Fail if bytes == -1.
95         * malloc/Makefile: Add rules to build and run tst-mcheck.
96         * malloc/tst-mcheck.c: New test.
98 2005-04-26  Ulrich Drepper  <drepper@redhat.com>
100         * stdio-common/vfscanf.c: Correctly account for characters of
101         decimal points right after +-.
103 2005-04-26  Roland McGrath  <roland@redhat.com>
105         * elf/rtld-Rules (rtld-all): Test ifndef rtld-modules instead of
106         ifeq ($(subdir),elf) to distinguish main driver from subdir runs.
108 2005-04-25  Roland McGrath  <roland@redhat.com>
110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
111         (INTERNAL_SYSCALL_ERROR_P): Fix typo in last change.
113         * sunrpc/xdr.c (xdr_u_int): Use `long' for L and cast where needed.
115         * elf/dl-load.c: Revert last change.
117 2005-04-24  Ulrich Drepper  <drepper@redhat.com>
119         * stdio-common/vfscanf.c: Fix parsing of decimal point after +-.
120         Patch by Hamed Malek <hamed@bamdad.org>.
122 2005-04-21  Roland McGrath  <roland@redhat.com>
124         * elf/dl-load.c (_dl_map_object_from_fd): Don't use MAP_DENYWRITE,
125         since Linux ignores it in user mmap calls.
127 2005-04-17  David S. Miller  <davem@davemloft.net>
129         * sysdeps/sparc/sparc32/elf/start.S: Define __data_start.
130         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
132 2005-04-15  Roland McGrath  <roland@redhat.com>
134         * timezone/Makefile (zic-deps): New variable.
135         ($(testdata)/America/New_York): Use it instead of explicit deps.
136         ($(testdata)/Etc/UTC, $(testdata)/Australia/Melbourne): Likewise.
137         ($(testdata)/America/Sao_Paulo, $(testdata)/Asia/Tokyo): Likewise.
138         (%/UTC %/Universal): New pattern rule, replaces ...
139         ($(testdata)/UTC, $(testdata)/Universal): ... these removed targets.
140         ($(testdata)/%/Berlin $(testdata)/%/London): New pattern rule.
141         ($(testdata)/Europe/London, $(testdata)/Europe/Berlin): Removed.
143 2005-04-14  Roland McGrath  <roland@redhat.com>
145         * MakeTAGS ($P/$(domain).pot): Depend on distinfo file as well.
146         (extract): Filter-out distinfo file name.
148         [BZ #253]
149         * MakeTAGS (text-srcs): Match %.bash.in files too.
151         [BZ #253]
152         * nscd/Makefile (all-nscd-modules): New variable, include selinux
153         module regardless of configuration.
154         (distribute): Use that instead of $(nscd-modules).
156 2005-04-13  David S. Miller  <davem@davemloft.net>
158         Add sparc64 TLS and NPTL support.
159         * elf/tls-macros.h: Add Sparc64 defines.
160         * sysdeps/sparc/sparc64/dl-machine.h (sparc64_fixup_plt): Mark as
161         always_inline.
162         (elf_machine_fixup_plt): Likewise.
163         (elf_machine_rela): Handle TLS relocations.
164         (elf_machine_type_cleaa): Likewise.
165         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
166         (SYSCALL_ERROR_HANDLER_ENTRY): Use sethi/or for GOT reloc.
167         It does not always fit in R_SPARC_GOT13 when building -fPIC.
168         Also, add TLS handling.
169         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
170         Increase it to 2.4.21 for sparc64.
171         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: NULL terminate
172         backtrace by zero'ing out %fp.  Store away flags, func_ptr,
173         and func_arg in global registers not local registers.
174         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Handle PTID, TLS,
175         and CTID arguments properly.  Add RESET_PID handling.
176         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Rework so that we
177         do not invoke __sigprocmask().  We can always assume rt signals
178         are present on sparc64, so just do an inline syscall.
180 2005-04-13  Jakub Jelinek  <jakub@redhat.com>
182         * sysdeps/sparc/sparc64/dl-machine.h: Add dl_machine_h multiple
183         inclusion guard for the first half of the header.
184         (elf_machine_type_class, ELF_MACHINE_JMP_SLOT, ELF_MACHINE_NO_REL,
185         ELF_MACHINE_PLTREL_OVERLAP, elf_machine_runtime_setup,
186         elf_machine_relplt, DL_STACK_END, RTLD_START): Move into the
187         #ifndef dl_machine_h guarded part of the header.
189 2005-04-14  Ulrich Drepper  <drepper@redhat.com>
191         [BZ #851]
192         * posix/execvp.c (execvp): Use file name including path when
193         trying to run it with shell.
194         * posix/Makefile: Add rules to build and run tst-execvp3.
195         * posix/tst-execvp3.c: New file.
197 2005-04-12  Ulrich Drepper  <drepper@redhat.com>
199         * stdlib/random_r.c (__initstate_r): Don't use non-existing state.
200         * string/tst-strfry.c: New file.
201         * string/Makefile (tests): Add tst-strfry.
203 2005-04-11  James A. Morrison  <ja2morri@uwaterloo.ca>
205         * manual/string.texi: Fix typo in wmemcpy decl.
207 2005-04-10  David S. Miller  <davem@davemloft.net>
209         * sysdeps/sparc/sparc32/dl-trampoline.S: Use std not stx.
211 2005-04-08  Carlos O'Donell <carlos@baldric.uwo.ca>
213         * FAQ.in: Explain why `make' might fail running rpcgen.
214         * FAQ: Regenerated.
216 2005-04-07  Roland McGrath  <roland@redhat.com>
218         * po/libc.pot: Regenerated.
220 2005-04-07  Roland McGrath  <roland@redhat.com>
222         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion)
223         [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
224         GLRO(dl_sysinfo_map) for PT_NOTE giving Linux kernel version,
225         we can skip the uname call if it's there.
226         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't use
227         DL_SYSDEP_OSCHECK here.
228         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]: Do it here instead.
230         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro):
231         Add _dl_sysinfo_map.
232         * elf/rtld.c (dl_main): Don't call _dl_init_paths early in the
233         rtld_is_main case.  Call it unconditionally later.
234         Move GLRO(dl_sysinfo_dso) handling earlier, before _dl_init_paths call.
235         Initialize GLRO(dl_sysinfo_map).
236         * elf/dl-load.c (open_path): Bail out if _dl_init_paths wasn't called.
237         * sysdeps/generic/dl-sysdep.c (_DL_FIRST_EXTRA): New macro.
238         (_dl_important_hwcaps)
239         [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
240         GLRO(dl_sysinfo_map) for PT_NOTE giving synthetic hwcap names
241         and bit values.
242         * elf/ldconfig.c (_DL_FIRST_EXTRA): New macro.
243         (hwcap_extra): New static variable.
244         (is_hwcap_platform): Check hwcap_extra for a matching name.
245         Remove tls special case.
246         (path_hwcap): Likewise.
247         (parse_conf): Parse "hwcap" directive to define synthetic hwcap bits
248         and their names, stored in hwcap_extra.
249         (main) [USE_TLS]: Initialize final synthetic hwcap bit as "tls".
251         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Use uint64_t for
252         _dl_hwcap and _dl_hwcap_mask.
253         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Cast a_val for
254         AT_HWCAP to unsigned long int.
255         * elf/dl-support.c (_dl_aux_init): Likewise.
256         (_dl_hwcap): Update defn.
258         * elf/cache.c (print_entry): Pad hwcap value with 0s in diagnostic.
259         * elf/ldconfig.c (search_dir): Likewise.
261 2005-04-05  Roland McGrath  <roland@redhat.com>
263         * NEWS: Copy 2.3.5 section from 2.3 branch.
265         * intl/tst-codeset.sh: Use mkdir -p.  Put msgfmt output in temporary
266         file and mv it into place.
267         * intl/tst-gettext3.sh: Likewise.
269         * Makefile (glibc-%.tar rule): Use make -q to ensure configure scripts
270         are up to date in srcdir.  Touch all configure scripts after export.
272         * iconv/gconv_int.h: Include <ctype.h> and <string.h>.
274 2005-04-05  H.J. Lu  <hongjiu.lu@intel.com>
276         [BZ #592]
277         * sysdeps/ia64/fpu/e_acosh.S: Update from Intel libm 2005-04-05
278         (comment changes only).
279         * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
280         * sysdeps/ia64/fpu/e_atanh.S: Likewise.
281         * sysdeps/ia64/fpu/e_cosh.S: Likewise.
282         * sysdeps/ia64/fpu/e_coshf.S: Likewise.
283         * sysdeps/ia64/fpu/e_exp.S: Likewise.
284         * sysdeps/ia64/fpu/e_exp10.S: Likewise.
285         * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
286         * sysdeps/ia64/fpu/e_exp2.S: Likewise.
287         * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
288         * sysdeps/ia64/fpu/e_expf.S: Likewise.
289         * sysdeps/ia64/fpu/e_log.S: Likewise.
290         * sysdeps/ia64/fpu/e_logf.S: Likewise.
291         * sysdeps/ia64/fpu/e_pow.S: Likewise.
292         * sysdeps/ia64/fpu/e_powf.S: Likewise.
293         * sysdeps/ia64/fpu/e_sinh.S: Likewise.
294         * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
295         * sysdeps/ia64/fpu/libm_error.c: Likewise.
296         * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
297         * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
298         * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
299         * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
300         * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
301         * sysdeps/ia64/fpu/s_asinh.S: Likewise.
302         * sysdeps/ia64/fpu/s_atanl.S: Likewise.
303         * sysdeps/ia64/fpu/s_cos.S: Likewise.
304         * sysdeps/ia64/fpu/s_cosf.S: Likewise.
305         * sysdeps/ia64/fpu/s_erf.S: Likewise.
306         * sysdeps/ia64/fpu/s_erfc.S: Likewise.
307         * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
308         * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
309         * sysdeps/ia64/fpu/s_erff.S: Likewise.
310         * sysdeps/ia64/fpu/s_expm1.S: Likewise.
311         * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
312         * sysdeps/ia64/fpu/s_log1p.S: Likewise.
313         * sysdeps/ia64/fpu/s_tanf.S: Likewise.
314         * sysdeps/ia64/fpu/s_tanh.S: Likewise.
315         * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
316         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
317         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
318         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
320 2005-04-05  Roland McGrath  <roland@redhat.com>
322         * scripts/config.guess: Update from master, timestamp='2005-03-24'.
323         * scripts/config.sub: Update from master, timestamp='2005-02-10'.
325 2005-04-04  David S. Miller  <davem@davemloft.net>
327         * sysdeps/sparc/sparc32/dl-trampoline.S: New file.
328         * sysdeps/sparc/sparc32/dl-machine.h: Move PLT trampolines there.
329         Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
330         (elf_machine_runtime_setup): Test for dl_profile non-null.
331         * sysdeps/sparc/sparc64/dl-trampoline.S: New file.
332         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
333         * sysdeps/sparc/sparc64/dl-machine.h: Move PLT trampolines there.
334         Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
335         (elf_machine_runtime_setup): Test for dl_profile non-null.
336         * sysdeps/sparc/bits/link.h: New file.
337         * sysdeps/generic/ldsodefs.h (La_sparc32_regs, La_sparc32_retval,
338         La_sparc64_regs, La_sparc64_retval): New.
339         (struct audit_ifaces): Add sparc entries.
340         * elf/tst-auditmod1.c: Add sparc entries.
342 2005-03-27  Bruno Haible  <bruno@clisp.org>
344         * intl/tst-gettext3.c: New file.
345         * intl/tst-gettext3.sh: New file.
346         * intl/Makefile (distribute): Add tst-gettext3.sh.
347         (test-srcs): Add tst-gettext3.
348         (tests): Depend on tst-gettext3.out.
349         (tst-gettext3.out): New rule.
350         (CFLAGS-tst-gettext3.c): New variable.
352         Fix bug exposed by tst-gettext3.
353         * intl/gettextP.h (struct converted_domain): New type.
354         (struct loaded_domain): Remove the conv, conv_tab fields. Add
355         conversions, nconversions fields.
356         (_nl_init_domain_conv): Remove declaration.
357         (_nl_free_domain_conv): Remove declaration.
358         (_nl_find_msg): Add convert argument.
359         * intl/dcigettext.c (DCIGETTEXT): Call _nl_find_msg with convert=1.
360         (_nl_find_msg): Add convert argument. When a conversion to a different
361         charset is needed, create a new converted_domain element, instead of
362         throwing away the old converted translations.
363         (get_output_charset): New function.
364         * intl/loadmsgcat.c (_nl_init_domain_conv): Remove function.
365         (_nl_free_domain_conv): Remove function.
366         (_nl_load_domain): Initialize the conversions array to empty. Use
367         _nl_find_msg instead of _nl_init_domain_conv to retrieve the header
368         entry.
369         (_nl_unload_domain): Free the conversions array and its contents.
371         * intl/gettextP.h (struct loaded_domain): Remove codeset_cntr field.
372         (struct binding): Likewise.
373         * intl/bindtextdom.c (set_binding_values): Drop codeset_cntr
374         modifications.
376 2005-04-04  Jakub Jelinek  <jakub@redhat.com>
378         * sunrpc/pmap_rmt.c (xdr_rmtcall_args): Use a dummy arglen instead
379         of trying to encode uninitialized arglen.
381 2005-04-04  Ulrich Drepper  <drepper@redhat.com>
383         [BZ #825]
384         * timezone/scheck.c: Update from tzcode2005h.
385         * timezone/tzfile.h: Likewise.
386         * timezone/zdump.c: Likewise.
387         * timezone/zic.c: Likewise.
389         [BZ #825]
390         * timezone/antarctica: Update from tzdata2005h.
391         * timezone/asia: Likewise.
392         * timezone/australasia: Likewise.
393         * timezone/etcetera: Likewise.
394         * timezone/europe: Likewise.
395         * timezone/northamerica: Likewise.
396         * timezone/southamerica: Likewise.
397         * timezone/leapseconds: Likewise.
398         * timezone/iso3166.tab: Likewise.
400 2005-03-31  H.J. Lu  <hongjiu.lu@intel.com>
402         [BZ #592]
403         * sysdeps/ia64/fpu/libm_cpu_defs.h: Update copyright.
405 2005-04-01  Ulrich Drepper  <drepper@redhat.com>
407         * wcsmbs/btowc.c (__btowc): Optimize parameters in ASCII range.
408         * wcsmbs/wctob.c (wctob): Likewise.
409         * wcsmbs/wchar.h (btowc): Add optimized inline function.
410         (wctob): Likewise.
412 2005-03-31  Jakub Jelinek  <jakub@redhat.com>
414         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Use functionally
415         equivalent, but shorter instructions.
416         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
417         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
418         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
419         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
420         * sysdeps/unix/x86_64/sysdep.S: Likewise.
421         * sysdeps/x86_64/strchr.S: Likewise.
422         * sysdeps/x86_64/memset.S: Likewise.
423         * sysdeps/x86_64/strcspn.S: Likewise.
424         * sysdeps/x86_64/strcmp.S: Likewise.
425         * sysdeps/x86_64/elf/start.S: Likewise.
426         * sysdeps/x86_64/strspn.S: Likewise.
427         * sysdeps/x86_64/dl-machine.h: Likewise.
428         * sysdeps/x86_64/bsd-_setjmp.S: Likewise.
429         * sysdeps/x86_64/bsd-setjmp.S: Likewise.
430         * sysdeps/x86_64/strtok.S: Likewise.
432 2005-03-30  H.J. Lu  <hongjiu.lu@intel.com>
434         [BZ #592]
435         * sysdeps/ia64/fpu/e_acosf.S: Update from Intel libm 2005-03-21.
436         * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
437         * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
438         * sysdeps/ia64/fpu/e_acosh.S: Likewise.
439         * sysdeps/ia64/fpu/e_acosl.S: Likewise.
440         * sysdeps/ia64/fpu/e_acos.S: Likewise.
441         * sysdeps/ia64/fpu/e_asinf.S: Likewise.
442         * sysdeps/ia64/fpu/e_asinl.S: Likewise.
443         * sysdeps/ia64/fpu/e_asin.S: Likewise.
444         * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
445         * sysdeps/ia64/fpu/e_atan2.S: Likewise.
446         * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
447         * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
448         * sysdeps/ia64/fpu/e_atanh.S: Likewise.
449         * sysdeps/ia64/fpu/e_coshf.S: Likewise.
450         * sysdeps/ia64/fpu/e_coshl.S: Likewise.
451         * sysdeps/ia64/fpu/e_cosh.S: Likewise.
452         * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
453         * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
454         * sysdeps/ia64/fpu/e_exp10.S: Likewise.
455         * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
456         * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
457         * sysdeps/ia64/fpu/e_exp2.S: Likewise.
458         * sysdeps/ia64/fpu/e_expf.S: Likewise.
459         * sysdeps/ia64/fpu/e_exp.S: Likewise.
460         * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
461         * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
462         * sysdeps/ia64/fpu/e_fmod.S: Likewise.
463         * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
464         * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
465         * sysdeps/ia64/fpu/e_hypot.S: Likewise.
466         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
467         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
468         * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
469         * sysdeps/ia64/fpu/e_log2f.S: Likewise.
470         * sysdeps/ia64/fpu/e_log2l.S: Likewise.
471         * sysdeps/ia64/fpu/e_log2.S: Likewise.
472         * sysdeps/ia64/fpu/e_logf.S: Likewise.
473         * sysdeps/ia64/fpu/e_logl.S: Likewise.
474         * sysdeps/ia64/fpu/e_log.S: Likewise.
475         * sysdeps/ia64/fpu/e_powf.S: Likewise.
476         * sysdeps/ia64/fpu/e_powl.S: Likewise.
477         * sysdeps/ia64/fpu/e_pow.S: Likewise.
478         * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
479         * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
480         * sysdeps/ia64/fpu/e_remainder.S: Likewise.
481         * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
482         * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
483         * sysdeps/ia64/fpu/e_scalb.S: Likewise.
484         * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
485         * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
486         * sysdeps/ia64/fpu/e_sinh.S: Likewise.
487         * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
488         * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
489         * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
490         * sysdeps/ia64/fpu/libm_error.c: Likewise.
491         * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
492         * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
493         * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
494         * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
495         * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
496         * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
497         * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
498         * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
499         * sysdeps/ia64/fpu/libm_support.h: Likewise.
500         * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
501         * sysdeps/ia64/fpu/s_asinh.S: Likewise.
502         * sysdeps/ia64/fpu/s_atanf.S: Likewise.
503         * sysdeps/ia64/fpu/s_atanl.S: Likewise.
504         * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
505         * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
506         * sysdeps/ia64/fpu/s_cosf.S: Likewise.
507         * sysdeps/ia64/fpu/s_cosl.S: Likewise.
508         * sysdeps/ia64/fpu/s_cos.S: Likewise.
509         * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
510         * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
511         * sysdeps/ia64/fpu/s_erfc.S: Likewise.
512         * sysdeps/ia64/fpu/s_erfl.S: Likewise.
513         * sysdeps/ia64/fpu/s_erf.S: Likewise.
514         * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
515         * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
516         * sysdeps/ia64/fpu/s_expm1.S: Likewise.
517         * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
518         * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
519         * sysdeps/ia64/fpu/s_fdim.S: Likewise.
520         * sysdeps/ia64/fpu/s_frexp.c: Likewise.
521         * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
522         * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
523         * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
524         * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
525         * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
526         * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
527         * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
528         * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
529         * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
530         * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
531         * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
532         * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
533         * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
534         * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
535         * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
536         * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
537         * sysdeps/ia64/fpu/s_log1p.S: Likewise.
538         * sysdeps/ia64/fpu/s_logbf.S: Likewise.
539         * sysdeps/ia64/fpu/s_logbl.S: Likewise.
540         * sysdeps/ia64/fpu/s_logb.S: Likewise.
541         * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
542         * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
543         * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
544         * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
545         * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
546         * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
547         * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
548         * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
549         * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
550         * sysdeps/ia64/fpu/s_roundf.S: Likewise.
551         * sysdeps/ia64/fpu/s_roundl.S: Likewise.
552         * sysdeps/ia64/fpu/s_round.S: Likewise.
553         * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
554         * sysdeps/ia64/fpu/s_scalbn.c: Likewise.
555         * sysdeps/ia64/fpu/s_scalbnf.c: Likewise.
556         * sysdeps/ia64/fpu/s_scalbnl.c: Likewise.
557         * sysdeps/ia64/fpu/s_tanf.S: Likewise.
558         * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
559         * sysdeps/ia64/fpu/s_tanh.S: Likewise.
560         * sysdeps/ia64/fpu/s_tanl.S: Likewise.
561         * sysdeps/ia64/fpu/s_tan.S: Likewise.
562         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
563         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
564         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
565         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
566         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
567         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
569         [BZ #592]
570         * sysdeps/ia64/fpu/libm_cpu_defs.h: New file.
571         * sysdeps/ia64/fpu/libm_error_codes.h: New file.
573         [BZ #592]
574         * sysdeps/ia64/fpu/gen_import_file_list: Updated for Intel libm
575         2005-03-21.
576         * sysdeps/ia64/fpu/import_file.awk: Likewise.
577         * sysdeps/ia64/fpu/import_intel_libm: Likewise.
578         * sysdeps/ia64/fpu/Makefile: Likewise.
580 2005-03-29  Jakub Jelinek  <jakub@redhat.com>
582         * posix/fnmatch.c (fnmatch): For short patterns or strings attempt to
583         avoid calling mbsrtowcs twice.
585 2005-03-29  Roland McGrath  <roland@redhat.com>
587         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): New
588         function, inline broken out of ...
589         (DL_SYSDEP_OSCHECK): ... here.  Use that.
590         Do the discovery and set GLRO(dl_osversion) if successful,
591         if __LINUX_KERNEL_VERSION <= 0.
592         * elf/dl-load.c: Don't include dl-osinfo.h here.
594 2005-03-29  Alfred M. Szmidt  <ams@gnu.org>
596         * manual/install.texi (Tools for Compilation): GNU binutils 2.15
597         is now needed.
599 2005-03-19  Bruno Haible  <bruno@clisp.org>
601         * intl/dcigettext.c (struct known_translation_t): Change type of
602         domainname field to 'const char *'.
603         (DCIGETTEXT): Remove const-cast.
605 2005-03-29  Thorsten Kukuk  <kukuk@suse.de>
607         [BZ #661]
608         * grp/initgroups.c (internal_getgrouplist): Check if we have
609         enough space before adding the primary group to the list.
611         * posix/tst-execle1.c (do_test): Fix execle arguments.
612         * posix/tst-execle2.c (do_test): Likewise.
614 2005-03-28  Roland McGrath  <roland@redhat.com>
616         * locale/langinfo.h (_NL_LOCALE_NAME): New macro.
617         [__USE_GNU] (NL_LOCALE_NAME): New macro.
618         * locale/nl_langinfo.c: Grok special item value for _NL_LOCALE_NAME,
619         return locale name string for the category.
621 2005-03-25  Jakub Jelinek  <jakub@redhat.com>
623         * sysdeps/generic/wcstoul_l.c: Include "wcstol_l.c" rather than
624         <wcstol_l.c>.
626 2005-03-28  Daniel Jacobowitz  <dan@codesourcery.com>
628         * sysdeps/mips/atomicity.h: Remove unused file.
629         * sysdeps/mips/dl-machine.h (elf_machine_rel): Add TLS relocations.
630         * sysdeps/mips/dl-tls.h: New file.
631         * sysdeps/mips/libc-tls.c: New file.
632         * sysdeps/mips/tls-macros.h: New file.
633         * sysdeps/mips/bits/atomic.h: New file.
634         * sysdeps/mips/bits/setjmp.h: Protect against multiple inclusion.
635         * sysdeps/mips/elf/configure.in: New file.
636         * sysdeps/mips/elf/configure: Generated.
637         * sysdeps/mips/sys/asm.h: New file.
638         * sysdeps/unix/sysv/linux/mips/vfork.S: New file.
639         * sysdeps/unix/sysv/linux/mips/clone.S: Add NPTL and five-argument
640         clone support.
641         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
642         (INTERNAL_SYSCALL_NCS): New.
643         (INTERNAL_SYSCALL): Update for non-constant support.
644         (internal_syscall0): Likewise.
645         (internal_syscall1): Likewise.
646         (internal_syscall2): Likewise.
647         (internal_syscall3): Likewise.
648         (internal_syscall4): Likewise.
649         (internal_syscall5): Likewise.
650         (internal_syscall6): Likewise.
651         (internal_syscall7): Likewise.
652         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SIGEV_THREAD):
653         Update to match the kernel.
654         (SIGEV_CALLBACK): Likewise.
655         (SIGEV_THREAD_ID): Likewise.
657 2005-03-28  Daniel Jacobowitz  <dan@codesourcery.com>
659         [BZ #783]
660         * elf/tst-auditmod1.c: Add MIPS support.
661         * sysdeps/generic/ldsodefs.h (La_mips_32_regs): New.
662         (La_mips_32_retval): New.
663         (La_mips_64_regs): New.
664         (La_mips_64_retval): New.
665         (struct audit_ifaces): Add MIPS entries.
666         * sysdeps/mips/dl-machine.h: Check RESOLVE_MAP instead of RESOLVE.
667         (elf_machine_runtime_link_map, ELF_DL_FRAME_SIZE,
668         ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS,
669         ELF_MACHINE_RUNTIME_TRAMPOLINE): Move to dl-trampoline.c.
670         (RTLD_START): Align the stack before calling _dl_init_internal.
671         Use .ent for _dl_start_user.
672         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): Define.
673         (elf_machine_rel, elf_machine_rel_relative, elf_machine_lazy_rel)
674         (elf_machine_runtime_setup): Use "auto inline".
675         (elf_machine_rela, elf_machine_rela_relative): Provide empty versions.
676         (elf_machine_got_rel): Likewise.  Use RESOLVE_MAP.
677         * sysdeps/mips/dl-trampoline.c: New file.
678         * sysdeps/mips/bits/link.h: New file.
679         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
680         (internal_syscall5): Use register operands instead of non-lvalue
681         memory operands.
682         (internal_syscall6): Likewise.
683         (internal_syscall7): Likewise.
685 2005-03-27  Andreas Jaeger  <aj@suse.de>
687         * debug/warning-nop.c (__builtin___memcpy_chk): Define away to
688         avoid warnings with older compiler.
689         (__builtin___memcpy_chk): Likewise.
690         (__builtin___memmove_chk: Likewise.
691         (__builtin___mempcpy_chk): Likewise.
692         (__builtin___memset_chk): Likewise.
693         (__builtin___stpcpy_chk): Likewise.
694         (__builtin___strcat_chk): Likewise.
695         (__builtin___strcpy_chk): Likewise.
696         (__builtin___strncat_chk): Likewise.
697         (__builtin___strncpy_chk): Likewise.
698         (__builtin_object_size): Likewise.
700 2005-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
702         * elf/tls-macros.h: Correct typo.
704 2005-03-23  Jakub Jelinek  <jakub@redhat.com>
706         [BZ #822]
707         * nis/ypclnt.c (yp_2_yperr): Revert 2004-11-30 patch.
708         (ypprot_err): Use yp_2_yperr table also for YP_NODOM .. YP_NOMORE.
710 2005-03-22  Roland McGrath  <roland@redhat.com>
712         * locale/setlocale.c: Comment typo.
714         * scripts/versions.awk: No errors for GLIBC_PRIVATE.
716         * Versions.def (libdl, librt): Add GLIBC_2.3.4 version.
718         * scripts/versions.awk: Print all errors and die at the end.
719         Use library name in versions array keys.
721 2005-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
723         * elf/elf.h (PT_ARM_EXIDX): New macro.
725 2005-03-21  Thorsten Kukuk  <kukuk@suse.de>
727         * sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong):
728         Convert correctly between long/int on 64bit big-endian.
730 2005-03-21  David Mosberger  <davidm@hpl.hp.com>
732         * sysdeps/ia64/_mcount.S: Newer kernels don't like register-frames
733         with more than 8 output registers.  Fix this by passing original
734         ar.pfs to _mcount_ret_helper via r3.
736 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
738         [BZ #786]
739         * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Handle
740         GL(dl_tls_static_nelem) == GL(dl_tls_max_dtv_idx).
741         * elf/Makefile: Add rules to build and run tst-tls15.
742         * elf/tst-tls15.c: New test.
743         * elf/tst-tlsmod15a.c: New file.
744         * elf/tst-tlsmod15b.c: New file.
746 2005-03-20  Ulrich Drepper  <drepper@redhat.com>
748         * elf/rtld.c (dl_main): Always call init_tls if we have audit modules.
750 2005-03-20  Alfred M. Szmidt  <ams@gnu.org>
752         * elf/dl-open.c (dl_open_worker): Fix typo.
754 2005-03-20  Ulrich Drepper  <drepper@redhat.com>
756         * malloc/malloc.c (public_cALLOc): We cannot skip the memory
757         clearing if perturb_byte != 0.
759 2005-03-20  Jakub Jelinek  <jakub@redhat.com>
761         * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t
762         instead of __off_t for last argument.
763         * debug/Makefile (tests): Add tst-lfschk{1,2,3}.
764         * debug/tst-lfschk1.c: New test.
765         * debug/tst-lfschk2.c: New test.
766         * debug/tst-lfschk3.c: New test.
768 2005-02-09  Jakub Jelinek  <jakub@redhat.com>
770         * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define.
771         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC
772         and __USE_XOPEN guards to match linux/bits/termios.h.
773         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
774         (CMSPAR): Define.
775         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
777 2005-02-10  H.J. Lu  <hongjiu.lu@intel.com>
779         * sysdeps/ia64/elf/initfini.c: Add local _init and _fini labels.
781 2005-02-27  Denis Barbier  <barbier@debian.org>
783         [BZ #38]
784         * locale/iso-4217.def: Add CSD currency.
786 2005-03-19  Ulrich Drepper  <drepper@redhat.com>
788         * inet/test-ifaddrs.c: Use test-skeleton.
789         * inet/test_ifindex.c: Likewise.
791         [BZ #821]
792         * elf/dl-lookup.c (add_dependency): Always search l_initfini if
793         the list exists.
795         [BZ #821]
796         * elf/Makefile: Add rules to build and run order2.
797         * elf/order2.c: New file.
798         * elf/order2mod1.c: New file.
799         * elf/order2mod2.c: New file.
800         * elf/order2mod3.c: New file.
801         * elf/order2mod4.c: New file.
803 2005-03-19  Jakub Jelinek  <jakub@redhat.com>
805         [BZ #821]
806         * elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value,
807         it has been incremented before.
809 2005-03-18  Ulrich Drepper  <drepper@redhat.com>
811         [BZ #821]
812         * elf/dl-fini.c (_dl_fini): Split sorting of the maps in separate
813         function _dl_sort_fini.
814         (_dl_sort_fini): New function.
815         * sysdeps/generic/ldsodefs.h: Declare _dl_sort_fini.
816         * elf/dl-close.c (_dl_close): Call _dl_sort_fini before running
817         destructors to call them in the right order.
819 2005-02-07  Steven Munroe  <sjmunroe@us.ibm.com>
821         * sysdeps/powerpc/bits/link.h (La_ppc64_regs): Add lr_vrsave.
822         (La_ppc64_retval): Correct size of lrc_fp.
823         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_profile_resolve):
824         Fix up ABI problems and complete function.
826 2005-03-10  Jakub Jelinek  <jakub@redhat.com>
828         * math/test-misc.c (main): Add some more tests.
830 2005-03-17  Jakub Jelinek  <jakub@redhat.com>
832         * posix/regcomp.c (re_compile_fastmap_iter): Fix check for failed
833         __wcrtomb.  Check return values of other __wcrtomb calls.
834         * posix/regex_internal.c (build_wcs_buffer, re_string_skip_chars):
835         Change mbclen type to size_t.
836         (build_wcs_upper_buffer): Change mbclen and mbcdlen type to size_t.
837         Handle mb chars whose upper case doesn't have multibyte representation
838         in locale's charset.
840 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
842         * malloc/malloc.c (_int_icalloc, _int_icomalloc, iALLOc,
843         public_iCALLOc, public_iCALLOc, public_iCOMALLOc): Protect with
844         #ifndef _LIBC.
846         [BZ #779]
847         * malloc/malloc.c (public_mTRIm): Initialize malloc if not yet
848         initialized.
850 2005-03-10  Jakub Jelinek  <jakub@redhat.com>
852         * misc/sys/cdefs.h (__always_inline): Define.
853         * posix/bits/unistd.h (read, pread, pread64, readlink, getcwd, getwd):
854         Use __always_inline instead of __inline.
855         * socket/bits/socket2.h (recv, recvfrom): Likewise.
856         * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Likewise.
857         * string/bits/string3.h (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk,
858         __memset_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk,
859         __strcat_ichk, __strncat_ichk): Use __always_inline instead of
860         __inline__ __attribute__ ((__always_inline__)).
862 2005-03-09  Jakub Jelinek  <jakub@redhat.com>
864         * debug/tst-chk1.c: Include sys/socket.h and sys/un.h.
865         (do_test): Add new tests for recv, recvfrom, getcwd, getwd and
866         readlink.  Add some more tests for read, pread, pread64, fgets and
867         fgets_unlocked.
869         * posix/bits/unistd.h (read, pread, pread64, readlink,
870         getcwd, getwd): Change macros into extern inline functions.
871         (__read_alias, __pread_alias, __pread64_alias, __readlink_alias,
872         __getcwd_alias, __getwd_alias): New prototypes.
873         * socket/bits/socket2.h (recv, recvfrom): Change macros into
874         extern inline functions.
875         (__recv_alias, __recvfrom_alias): New prototypes.
876         * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Change macros
877         into extern inline functions.
878         (__gets_alias, __fgets_alias, __fgets_unlocked_alias): New prototypes.
880         * debug/pread_chk.c (__pread_chk): Fix order of arguments passed
881         to __pread.
882         * debug/pread64_chk.c (__pread64_chk): Fix order of arguments passed
883         to __pread64.
885 2005-03-18  Daniel Jacobowitz  <dan@codesourcery.com>
887         * configure.in: Use %function instead of @function.
889 2005-03-18  Ulrich Drepper  <drepper@redhat.com>
891         [BZ #821]
892         * include/link.h (struct link_map): Remove l_opencount.  Add l_removed.
893         Change type of l_idx to int.
894         * elf/dl-close.c: Basically rewrite.  Do not use l_opencount to
895         determine whether a DSO has to be unloaded.  Instead compute this
896         in this function.
897         * elf/dl-deps.c: No need to manipulate l_opencount anymore.
898         * elf/dl-lookup.c: Likewise.
899         * elf/rtld.c: Likewise
900         * elf/dl-open.c: Likewise.  Use l_init_called to determine whether
901         object was just loaded.
902         * elf/dl-fini.c: Bump l_direct_opencount instead of l_opencount.
903         * elf/dl-load.c (_dl_map_object_from_fd): Do not recognize DSO which
904         is about to be unloaded as a match.
905         (_dl_map_object): Likewise.
906         * elf/do-lookup.h (do_lookup_x): Do not look into DSO which is about
907         to be unloaded.
908         * elf/circleload1.c: Don't use l_opencount anymore.
909         * elf/neededtest.c: Likewise.
910         * elf/neededtest2.c: Likewise.
911         * elf/neededtest3.c: Likewise.
912         * elf/neededtest4.c: Likewise.
913         * elf/unload.c: Likewise.
914         * elf/unload2.c: Likewise.
915         * elf/loadtest.c: Likewise.
917         [BZ #821]
918         * elf/rtld.c: Preloading errors are now never fatal.
920 2005-03-08  Jakub Jelinek  <jakub@redhat.com>
922         [BZ #821]
923         * elf/Makefile: Add rules to build and run unload5 test.
924         * elf/unload5.c: New file.
926         [BZ #821]
927         * elf/Makefile: Add rules to build and run unload4 test.
928         * elf/unload4.c: New file.
929         * elf/unload4mod1.c: New file.
930         * elf/unload4mod2.c: New file.
931         * elf/unload4mod3.c: New file.
932         * elf/unload4mod4.c: New file.
934 2005-03-17  Roland McGrath  <roland@redhat.com>
936         * nscd/aicache.c (addhstaiX): Tweak type to avoid warning.
938 2005-03-16  Richard Henderson  <rth@redhat.com>
940         * include/libc-symbols.h (__hidden_proto): Remove bogus declaration
941         of internal.
942         (__hidden_def1, __hidden_dot_def1): Remove.
943         (__hidden_def2, __hidden_def3): Remove.
944         (__hidden_ver1): New.
945         (hidden_ver, hidden_def, hidden_weak): Use it.
946         (hidden_data_ver, hidden_data_ver, hidden_data_weak): Use non-data
947         version of the macro.
949         * include/wchar.h (__wcscoll): Remove.
950         * wcsmbs/wcscoll.c: Define wcscoll directly instead of via __wcscoll.
951         * string/strcoll.c: Don't issue libc_hidden_def STRCOLL redefined.
953 2005-03-16  Daniel Jacobowitz  <dan@codesourcery.com>
955         * elf/elf.h: Define MIPS TLS relocations.
957 2005-03-16  Ulrich Drepper  <drepper@redhat.com>
959         * elf/circleload1.c (main): Pretty printing.
961 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
963         * sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword.
964         Patch by Dan Kegel <dank@kegel.com>.
966         * elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative,
967         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
968         Add inline keyword.
969         * sysdeps/alpha/dl-machine.h (elf_machine_rela,
970         elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline
971         attribute.
972         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
973         elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.  Change
974         static inline into auto inline.
975         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
976         elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
977         * sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela):
978         Likewise.
979         * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative,
980         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
981         Likewise.
983 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
985         [BZ #789]
986         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Fix asm constraints.
987         Remove memory clobber.
989         * sysdeps/x86_64/hp-timing.h (HP_TIMING_ACCUM): Make the addition
990         thread-safe.  Subtract GLRO(dl_hp_timing_overhead) from Diff.
992 2005-03-14  Jakub Jelinek  <jakub@redhat.com>
994         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Don't include
995         asm/types.h.
997 2005-03-10  GOTO Masanori  <gotom@debian.or.jp>
999         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and
1000         MAP_NONBLOCK.
1001         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1002         Correct MAP_GROWSDOWN value.
1004 2005-03-13  Roland McGrath  <roland@redhat.com>
1006         * elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps
1007         version if there is one.  Only #error if macros are then undefined.
1008         * sysdeps/generic/tls-macros.h: New file.
1010 2005-03-10  GOTO Masanori  <gotom@debian.or.jp>
1012         * sysdeps/hppa/configure.in: Remove old Makefile leftovers.
1013         * sysdeps/hppa/configure: Regenerated.
1015 2005-03-08  Roland McGrath  <roland@redhat.com>
1017         * sysdeps/gnu/errlist-compat.awk: Use NERR in all array decls, so
1018         array types match exactly in C alias decls.
1020 2005-03-07  Ulrich Drepper  <drepper@redhat.com>
1022         * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call
1023         mallopt appropriately.
1024         * malloc/malloc.h: Define M_PERTURB.
1025         * malloc/malloc.c (perturb_byte): New variable.
1026         (alloc_perturb, free_perturb): New macros.
1027         (_int_malloc): Before returning, overwrite the memory if this is
1028         requested.
1029         (_int_free): Overwrite freed memory if requested.
1030         (mALLOPt): Handle M_PERTURB.
1031         * test-skeleton.c: Add call to mallopt with M_PERTURB command.
1033         * elf/dl-close.c (_dl_close): Decrement l_opencount before
1034         printing debug message.
1035         * elf/dl-open.c (dl_open_worker): Always print the new opencount
1036         in debug messages.
1038 2005-03-06  Ulrich Drepper  <drepper@redhat.com>
1040         * elf/dl-close.c (_dl_close): Unify debug message format.
1042         * elf/dl-close.c (_dl_close): Print debug message just before
1043         destroying a link map.
1045         * elf/do-lookup.h (do_lookup_x): Add namespace info to debug output.
1046         * elf/dl-version.c (match_symbol): Likewise.
1048         * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code.
1050         * debug/recv_chk.c (__recv_chk): Always fail if request could
1051         overflow the buffer.
1052         * debug/recvfrom_chk.c (__recvfrom_chk): Likewise.
1053         * socket/bits/socket2.h (recv): Avoid calls to the _chk variant if
1054         we know the call succeeds.
1055         (recvfrom): Likewise.
1057 2005-03-05  Ulrich Drepper  <drepper@redhat.com>
1059         * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid
1060         warning.
1061         * posix/regex_internal.c (re_string_reconstruct): Add cast to
1062         avoid warning.
1063         (build_wcs_upper_buffer): Change type of bug to plain char.
1064         * locale/weightwc.h (findidx): Add casts to avoid warnings.
1065         * time/mktime.c (ranged_convert): Initialize tm to make the
1066         compiler happy.
1067         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add casts to avoid warnings.
1068         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Add casts to avoid warnings.
1069         * wcsmbs/mbsnrtowcs.c: Add casts to avoid warnings.
1070         * wcsmbs/wcsrtombs.c (__wcsrtombs): Add casts to avoid warnings.
1071         * wcsmbs/wcrtomb.c (__wcrtomb): Add casts to avoid warnings.
1072         * wcsmbs/mbrtowc.c (__mbrtowc): Use unsigned char for outbuf.
1073         * wcsmbs/wctob.c (wctob): Make buf array of unsigned char.
1074         * sysdeps/generic/strchrnul.c: Add cast to avoid warning.
1075         * libio/iofwide.c: Add casts to avoid warnings.
1076         * stdio-common/printf-prs.c (parse_printf_format): Introduce new
1077         variable f to avoid warnings.
1078         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1079         Fix a few casts to avoid warnings.
1080         * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned
1081         to avoid warning.
1083         * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using
1084         dynamically sized array.
1085         (build_wcs_upper_buffer): Likewise.
1087 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
1089         * include/bits/unistd.h: New file.
1090         * include/bits/socket2.h: New file.
1092 2005-03-05  Ulrich Drepper  <drepper@redhat.com>
1094         * sunrpc/key_call.c: Remove doors support.
1095         * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition.
1096         * configure.in: Remove test for doors support which never existed.
1097         * config.make.in: Remove have_doors entry.
1099         * configure.in: Make sure at least gcc 3.4 is used.  Undo last change.
1100         * config.make.in: Undo last change.
1102         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Unconditionally use
1103         -mtune.
1105 2005-03-05  Roland McGrath  <roland@redhat.com>
1107         * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl.
1108         (_dl_out_of_memory): Use rtld_hidden_proto.
1109         * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def.
1110         (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory.
1111         * elf/dl-open.c (_dl_open): Likewise.
1112         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1114         * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *.
1116         * elf/dl-addr.c (_dl_addr): Add a cast.
1118         [BZ #821]
1119         * elf/unload3mod4.c: Declare foo.
1120         * elf/testobj2.c: Include <stdio.h>.
1122         * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal
1123         value constant, and use it in the defn.
1124         * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl.
1125         Use actual size for compat array decls.
1127         * config.make.in (cc-mtune): New substituted variable.
1128         * configure.in (libc_cv_cc_mtune): New test for -mtune= switch,
1129         done only if libc_mtune_example is defined.
1130         * sysdeps/i386/configure.in (libc_mtune_example): Set it.
1131         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune).
1133 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
1135         * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define
1136         unconditionally to (defined RTLD_BOOTSTRAP).
1137         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise.
1139 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
1141         * Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of
1142         $(inst_slibdir) in AS_NEEDED directive.
1144 2005-03-03  Jakub Jelinek  <jakub@redhat.com>
1146         * posix/bits/unistd.h (pread, pread64): Don't swap function arguments.
1148 2005-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1150         [BZ #776]
1151         * iconv/iconvconfig.c: Fix comment for the output file.
1152         (write_output): Clear padding in header.
1154 2005-03-03  Ulrich Drepper  <drepper@redhat.com>
1156         [BZ #821]
1157         * elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the
1158         loader is closed.  Fixes unload3.
1159         * elf/tst-global1.c: New file.
1160         * elf/Makefile (tests): Add tst-global1.
1161         * elf/testobj2.c (p): New function.
1163 2005-03-03  Jakub Jelinek  <jakub@redhat.com>
1165         [BZ #821]
1166         * elf/Makefile: Add rules to build and run unload3 test.
1167         * elf/unload3.c: New test.
1168         * elf/unload3mod1.c: New file.
1169         * elf/unload3mod2.c: New file.
1170         * elf/unload3mod3.c: New file.
1171         * elf/unload3mod4.c: New file.
1173 2005-02-21  Alan Modra <amodra@bigpond.net.au>
1175         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
1176         use __uint128_t.
1178 2005-03-01  Jakub Jelinek  <jakub@redhat.com>
1180         * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead
1181         of __bos.
1182         * socket/bits/socket2.h (recv, recvfrom): Likewise.
1184 2005-03-01  Roland McGrath  <roland@redhat.com>
1186         [BZ #721]
1187         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
1188         of [RESOLVE_MAP].
1190 2005-03-01  Alfred M. Szmidt  <ams@gnu.org>
1192         [BZ #777]
1193         * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]:
1194         Add missing initializer.
1196         [BZ #777]
1197         * malloc/arena.c: #include <stdbool.h> outside of [SHARED &&
1198         USE_TLS && !USE___THREAD].
1200 2005-02-26  GOTO Masanori  <gotom@debian.or.jp>
1202         * csu/Makefile: Use printf instead of echo for some shells.
1204 2005-02-28  Roland McGrath  <roland@redhat.com>
1206         * debug/warning-nop.c (__nop): Rename to nop, make it static.
1207         (__warndecl): Use alias attribute directly, instead of strong_alias
1208         macro.  Add attribute_hidden.
1210 2005-02-28  Ulrich Drepper  <drepper@redhat.com>
1212         * posix/bits/unistd.h: Avoid calling __*_chk variants if we can
1213         determine the call will never trigger a failure.
1214         * debug/read_chk.c (__read_chk): Always fail if the buffer is too
1215         small.
1216         * debug/readlink_chk.c (__readlink_chk): Likewise.
1217         * debug/pread64_chk.c (__pread64_chk): Likewise.
1218         * debug/pread_chk.c (__pread_chk): Likewise.
1220         * sysdeps/i386/i686/memset_chk.S: Remove alias and warning.
1221         * sysdeps/x86_64/memset_chk.S: Likewise.
1223 2005-02-24  Roland McGrath  <roland@redhat.com>
1225         * debug/Versions (libc: GLIBC_2.4): Remove
1226         __memset_zero_constant_len_parameter.
1227         * sysdeps/generic/memset_chk.c: Remove alias and warning.
1228         * misc/sys/cdefs.h (__warndecl): New macro.
1229         * debug/warning-nop.c: New file.
1230         * string/bits/string3.h (memset): Call __warn_memset_zero_len with no
1231         arguments, instead of calling __memset_zero_constant_len_parameter.
1232         Use __warndecl for __warn_memset_zero_len.
1233         * debug/Makefile (routines): Add $(static-only-routines).
1234         (static-only-routines): New variable.
1236 2005-02-27  Ulrich Drepper  <drepper@redhat.com>
1238         * po/tr.po: Update from translation team.
1240 2005-02-26  Ulrich Drepper  <drepper@redhat.com>
1242         * elf/dl-addr.c: Cleanups.  Move declaration next to first use.
1244         * dlfcn/dlerror.c (check_free): New function.  Extract common code
1245         from fini and free_key_mem.  Check whether this is libdl in the
1246         base namespace.
1248 2005-02-25  Ulrich Drepper  <drepper@redhat.com>
1250         * elf/dl-lookup.c (_dl_debug_bindings): Add namespace information
1251         to debug output.
1253 2004-11-11  Richard Sandiford  <rsandifo@redhat.com>
1255         [BZ #758]
1256         * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
1257         preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
1258         like __NR_N32_open.  Just include <asm/unistd.h> otherwise.
1259         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1260         * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
1261         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
1262         standard __NR prefix.
1263         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
1264         * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
1265         the output file is compatible with both pre-2.6 and 2.6 kernel headers.
1266         Extract separate syscall lists for each ABI.
1268 2005-02-23  Ulrich Drepper  <drepper@redhat.com>
1270         * Makerules (libc.so): Add AS_NEEDED line for dynamic linker.
1272         [BZ #719]
1273         * elf/Makefile: Run tst-tls9-static again.
1275 2005-02-22  Ulrich Drepper  <drepper@redhat.com>
1277         [BZ #719]
1278         * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the
1279         slotinfo array.
1280         (__libc_setup_tls): Initialize length of DTV based on array length.
1281         * elf/dl-load.c: Revert last change.
1282         * sysdeps/generic/dl-tls.c: Revert last change.
1284         * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1,
1285         tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2,
1286         tst-execve1, tst-execve2, tst-execle1, and tst-execle2.
1287         * posix/tst-execl1.c: New file.
1288         * posix/tst-execl2.c: New file.
1289         * posix/tst-execle1.c: New file.
1290         * posix/tst-execle2.c: New file.
1291         * posix/tst-execlp1.c: New file.
1292         * posix/tst-execlp2.c: New file.
1293         * posix/tst-execv1.c: New file.
1294         * posix/tst-execv2.c: New file.
1295         * posix/tst-execve1.c: New file.
1296         * posix/tst-execve2.c: New file.
1297         * posix/tst-execvp1.c: New file.
1298         * posix/tst-execvp2.c: New file.
1300 2005-02-22  Roland McGrath  <roland@redhat.com>
1302         * include/signal.h: Revert last change.
1303         (__sigemptyset): Use __builtin_memset instead of memset.
1305 2005-02-22  Ulrich Drepper  <drepper@redhat.com>
1307         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use
1308         non-cancelable I/O functions.
1310 2005-02-22  Jakub Jelinek  <jakub@redhat.com>
1312         [BZ #769]
1313         * nscd/nscd-client.h: Include sys/uio.h.
1314         (__readall, __readvall, writeall): New prototypes.
1315         * nscd/connections.c (writeall): New function.
1316         (handle_request): Use it.
1317         * nscd/aicache.c (addhstaiX): Likewise.
1318         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1319         * nscd/hstcache.c (cache_addhst): Likewise.
1320         * nscd/grpcache.c (cache_addgr): Likewise.
1321         * nscd/pwdcache.c (cache_addpw): Likewise.
1322         * nscd/nscd_helper.c (__readall, __readvall): New functions.
1323         * nscd/nscd_getai.c (__nscd_getai): Use them.
1324         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.
1325         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
1326         * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise.
1327         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1329 2005-02-22  Roland McGrath  <roland@redhat.com>
1331         * include/sys/socket.h: Declare __recv.
1332         * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias.
1333         * sysdeps/mach/hurd/recv.c: Likewise.
1335         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for
1336         __backtrace_* decls.
1338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1339         (INTERNAL_SYSCALL_ERROR_P): Evalute VAL.  Parenthesize ERR.
1340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1342         * include/signal.h: Include <string.h> for memset decl.
1344 2005-02-22  Andreas Schwab  <schwab@suse.de>
1346         * posix/execvp.c (execvp): Fix invalid free.
1348 2005-02-22  Jakub Jelinek  <jakub@redhat.com>
1350         * malloc/Makefile (CFLAGS-mcheck-init.c): Add.
1351         * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for
1352         librpcsvc.a objects.
1354 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
1356         * iconvdata/ibm930.h: Correct Yen mapping.
1357         * iconvdata/ibm939.h: Likewise.
1358         * iconvdata/testdata/IBM930..UTF8: Adjust test data.
1359         * iconvdata/testdata/IBM939..UTF8: Likewise.
1360         Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
1362         * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
1363         IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
1364         (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
1365         ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
1366         ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
1367         ibm1158.c, and ibm1158.h.
1368         * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
1369         IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
1370         * iconvdata/gconv-modules: Likewise.
1371         * iconvdata/ibm1025.c: New file.
1372         * iconvdata/ibm1025.h: New file.
1373         * iconvdata/ibm1122.c: New file.
1374         * iconvdata/ibm1122.h: New file.
1375         * iconvdata/ibm1137.c: New file.
1376         * iconvdata/ibm1137.h: New file.
1377         * iconvdata/ibm1153.c: New file.
1378         * iconvdata/ibm1153.h: New file.
1379         * iconvdata/ibm1154.c: New file.
1380         * iconvdata/ibm1154.h: New file.
1381         * iconvdata/ibm1155.c: New file.
1382         * iconvdata/ibm1155.h: New file.
1383         * iconvdata/ibm1156.c: New file.
1384         * iconvdata/ibm1156.h: New file.
1385         * iconvdata/ibm1157.c: New file.
1386         * iconvdata/ibm1157.h: New file.
1387         * iconvdata/ibm1158.c: New file.
1388         * iconvdata/ibm1158.h: New file.
1389         * iconvdata/testdata/IBM1025: New file.
1390         * iconvdata/testdata/IBM1025..UTF8: New file.
1391         * iconvdata/testdata/IBM1122: New file.
1392         * iconvdata/testdata/IBM1122..UTF8: New file.
1393         * iconvdata/testdata/IBM1137: New file.
1394         * iconvdata/testdata/IBM1137..UTF8: New file.
1395         * iconvdata/testdata/IBM1153: New file.
1396         * iconvdata/testdata/IBM1153..UTF8: New file.
1397         * iconvdata/testdata/IBM1154: New file.
1398         * iconvdata/testdata/IBM1154..UTF8: New file.
1399         * iconvdata/testdata/IBM1155: New file.
1400         * iconvdata/testdata/IBM1155..UTF8: New file.
1401         * iconvdata/testdata/IBM1156: New file.
1402         * iconvdata/testdata/IBM1156..UTF8: New file.
1403         * iconvdata/testdata/IBM1157: New file.
1404         * iconvdata/testdata/IBM1157..UTF8: New file.
1405         * iconvdata/testdata/IBM1158: New file.
1406         * iconvdata/testdata/IBM1158..UTF8: New file.
1407         Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
1409 2005-02-10  Paolo Bonzini  <bonzini@gnu.org>
1411         * posix/regcomp.c (lower_subexp): Do not optimize empty
1412         subexpressions even with REG_NOSUB.
1413         * posix/rxspencer/tests: Add a previously failing testcase.
1415 2005-02-21  Alan Modra <amodra@bigpond.net.au>
1417         [BZ #719]
1418         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv
1419         array index is within bounds.
1421 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
1423         [BZ #719]
1424         * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically
1425         linked code.
1426         * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid.
1427         * elf/Makefile: Remove rules to build and run tst-tls9-static.
1429         [BZ #719]
1430         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using
1431         THREAD_DTV multiple times, this minimally reduces code size on
1432         some archs.
1434 2005-02-21  Jakub Jelinek  <jakub@redhat.com>
1436         [BZ #768]
1437         * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
1438         NETDB_INTERNAL if buffer is too small.
1440         [BZ #768]
1441         * nscd/hstcache.c (INCR): Remove.
1442         (addhstbyX): Double buflen in each iteration rather than add INCR.
1443         * nscd/grpcache.c: Likewise.
1444         * nscd/pwdcache.c: Likewise.
1446 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
1448         * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
1449         map if requested.
1450         * debug/chk_fail.c: Request backtrace and memory map dump.
1452         * Versions.def: Add GLIBC_2.4 for libc.
1453         * debug/fgets_chk.c: New file.
1454         * debug/fgets_u_chk.c: New file.
1455         * debug/getcwd_chk.c: New file.
1456         * debug/getwd_chk.c: New file.
1457         * debug/readlink_chk.c: New file.
1458         * debug/read_chk.c: New file.
1459         * debug/pread_chk.c: New file.
1460         * debug/pread64_chk.c: New file.
1461         * debug/recv_chk.c: New file.
1462         * debug/recvfrom_chk.c: New file.
1463         * debug/Versions: Add all new functions with version GLIBC_2.4.
1464         * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
1465         pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
1466         getwd_chk, and getcwd_chk.  Plus appropriate CFLAGS definitions.
1467         * debug/tst-chk1.c: Add more tests.
1468         * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
1469         * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
1470         * posix/unistd.h: Include <bits/unistd.h> for fortification.
1471         * posix/bits/unistd.h: New file.
1472         * posix/Makefile (headers): Add bits/unistd.h.
1473         * socket/sys/socket.h: Include <bits/socket2.h> for fortification.
1474         * socket/bits/socket2.h: New file.
1475         * socket/Makefile (headers): Add bits/socket2.h.
1477         * string/bits/string3.h: Extend memset macro to check for zero 3rd
1478         parameter and use __memset_zero_constant_len_parameter in that case.
1479         * sysdeps/generic/memset_chk.c: Add
1480         __memset_zero_constant_len_parameter alias and linker warning.
1481         * debug/Versions: Add __memset_zero_constant_len_parameter to libc
1482         with version GLIBC_2.4.
1484         * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
1485         in __STD_TYPE definition.
1487 2005-02-21  Jakub Jelinek  <jakub@redhat.com>
1489         * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
1490         the error message rather than program name.
1492 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
1494         [BZ #767]
1495         * posix/unistd.h: symlink and readlink are unconditionally
1496         available in the 2001 spec.
1498 2005-02-16  Roland McGrath  <roland@redhat.com>
1500         * intl/dcigettext.c (_nl_find_msg): Add a cast.
1502         * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR.
1503         * nis/nis_clone_obj.c (nis_clone_object): Likewise.
1504         * nis/nis_clone_res.c (nis_clone_result): Likewise.
1506         * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char *
1507         for END_OF_MESSAGE and CP.
1509         * resolv/res_send.c (send_dg): Add else branch for case impossible
1510         unless `poll' is buggy.
1512         * crypt/crypt_util.c (__setkey_r): Add a cast.
1514         * locale/programs/linereader.c (get_toplvl_escape): Use size_t for
1515         NBYTES, and unsigned char * for BYTES.
1517         * locale/programs/charmap.c (charmap_new_char): Use size_t and
1518         unsighed char * for NBYTES, BYTES parameters.
1520         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument
1521         and cast it.
1522         * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise.
1524         * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES.
1526         * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.
1528         * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA.
1529         (authdes_marshal): Don't use unsigned int for LEN.
1530         * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2.
1531         (xdr_u_hyper): Likewise.
1532         (xdr_u_short): Don't use u_long for L.
1533         * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2.
1535         * inet/rexec.c (rexec_af): Use socklen_t.
1536         * sunrpc/key_call.c (getkeyserv_handle): Likewise.
1537         * sunrpc/rtime.c (rtime): Likewise.
1538         * resolv/res_send.c (send_vc, send_dg): Likewise.
1539         * nis/nis_callback.c (__nis_create_callback): Likewise.
1541         * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr.
1543         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
1545         * libio/libio.h (_IO_BE): Add parenthesis around EXPR.
1547         * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed.
1548         (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
1549         (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
1550         * intl/bindtextdom.c (INTUSE): Macro removed.
1551         (_nl_default_dirname): Use libc_hidden_proto.
1552         (set_binding_values): Don't use INTUSE.
1553         * include/libintl.h (_libc_intl_domainname_internal): Decl removed.
1554         (_libc_intl_domainname): Use libc_hidden_proto.
1555         * posix/regex_internal.h (gettext): Remove INTUSE on it.
1556         * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def
1557         rather than INTDEF.
1558         * include/libintl.h (_): Don't use *_internal name.
1560         * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t,
1561         not uint32_t.
1562         * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments.
1564         * iconv/gconv_open.c (__gconv_open): Remove useless cast.
1566         [BZ #721]
1567         * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
1568         of [RESOLVE_MAP].
1569         * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.
1570         * sysdeps/powerpc/powerpc32/dl-machine.h
1571         (elf_machine_rel, elf_machine_rel_relative): Removed.
1572         * sysdeps/powerpc/powerpc64/dl-machine.h
1573         (elf_machine_rel, elf_machine_rel_relative): Removed.
1575 2005-02-03  Alexandre Oliva  <aoliva@redhat.com>
1577         [BZ #721]
1578         * elf/dynamic-link.h: Don't declare nested auto functions that are
1579         not going to be defined.
1581 2004-07-23  Jakub Jelinek  <jakub@redhat.com>
1583         [BZ #284]
1584         * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define
1585         if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined.
1587 2005-02-16  Roland McGrath  <roland@redhat.com>
1589         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn
1590         inside [! SHARED] where it's used.
1592 2005-02-15  Ulrich Drepper  <drepper@redhat.com>
1594         * sysdeps/generic/bits/byteswap.h: Make sure result of all the
1595         functions and macros is unsigned.
1597 2005-02-11  Barry deFrese  <bddebian@comcast.net>
1599         [BZ #722]
1600         * sysdeps/mach/hurd/setresgid.c: Use weak_alias.
1601         * sysdeps/mach/hurd/setresuid.c: Likewise.
1603 2005-02-14  GOTO Masanori  <gotom@debian.or.jp>
1605         * misc/sys/syslog.h: Fix typo in comment.
1607 2005-02-14  Roland McGrath  <roland@redhat.com>
1609         [BZ #720]
1610         * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
1611         if it wasn't originally.
1613 2005-02-14  GOTO Masanori  <gotom@debian.or.jp>
1615         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
1616         getpeername entry.
1617         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1618         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1620 2005-02-11  Jakub Jelinek  <jakub@redhat.com>
1622         * scripts/soversions.awk: Only record first WORDSIZE{32,64}
1623         matching line.
1625 2005-02-14  Alan Modra  <amodra@bigpond.net.au>
1627         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
1628         with auto inline, and attribute always_inline.
1629         (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
1630         (elf_machine_rel, elf_machine_rel_relative): Likewise.
1631         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1632         (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
1633         (elf_machine_rel, elf_machine_rel_relative): Likewise.
1634         (elf_machine_tprel): Likewise.
1636 2005-02-14  Andreas Schwab  <schwab@suse.de>
1638         * manual/filesys.texi (Random Access Directory): Fix type of file
1639         position value for telldir and seekdir.
1640         (Attribute Meanings): Fix typo.
1642 2005-02-14  H.J. Lu  <hongjiu.lu@intel.com>
1644         * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
1645         isn't defined.
1646         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
1647         if SHARED isn't defined.
1648         * elf/Makefile (tests-static): Add tst-array1-static.
1649         ($(objpfx)tst-array1-static.out): New target.
1650         * elf/tst-array1-static.c: New file.
1652 2005-02-11  Jakub Jelinek  <jakub@redhat.com>
1654         * debug/chk_fail.c (__chk_fail): Add a while (1) loop around
1655         __libc_message to kill GCC warning about noreturn function returning.
1657         * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag
1658         before relocating ld.so again.
1660         * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
1661         for already prelinked ld.so.
1663 2005-02-11  Roland McGrath  <roland@redhat.com>
1665         [BZ #715]
1666         * Makefile (installed-stubs): New variable.
1667         Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no,
1668         or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise.
1669         [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs).
1670         ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this
1671         rule's target.
1672         ($(inst_includedir)/gnu/stubs.h): New target, install from ...
1673         * include/stubs-biarch.h: New file.
1675         * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64.
1677         * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig.
1678         Emit defn for variable `biarch'.
1680         * include/stub-tag.h: Update comment.
1682         * scripts/soversions.awk: Fix default version set handling.
1684 2005-02-09  Jakub Jelinek  <jakub@redhat.com>
1686         * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define.
1687         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Add __USE_MISC
1688         and __USE_XOPEN guards to match linux/bits/termios.h.
1689         (CMSPAR): Define.
1690         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Add __USE_MISC
1691         and __USE_XOPEN guards to match linux/bits/termios.h.
1692         (CMSPAR): Define.
1693         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC
1694         and __USE_XOPEN guards to match linux/bits/termios.h.
1696 2005-02-10  Roland McGrath  <roland@redhat.com>
1698         [BZ #157]
1699         * include/libc-symbols.h (stub_warning): Emit a marker section called
1700         .gnu.glibc-stub.NAME.
1701         * Makerules ($(objpfx)stubs): Depend on object files, not dep files.
1702         Use objdump to collect those marker section names.
1703         ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
1705         * Rules (subdir_objs, subdir_stubs): New phony targets.
1706         * Makefile (+subdir_targets): Add them.
1708         * Makerules ($(common-objpfx)Versions.all): Grok new leading column in
1709         soversions.i.
1711         * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
1712         Reported by H.J. Lu <hongjiu.lu@intel.com>.
1714         * scripts/lib-names.awk: Always print WORDSIZE32 section first when
1715         doing two.
1717 2005-02-10  Jakub Jelinek  <jakub@redhat.com>
1719         * sysdeps/powerpc/powerpc32/bits/link.h: Removed.
1720         * sysdeps/powerpc/powerpc64/bits/link.h: Moved to...
1721         * sysdeps/powerpc/bits/link.h: ... here.  New file.
1723 2005-02-09  Jakub Jelinek  <jakub@redhat.com>
1725         [BZ #710]
1726         * stdlib/random_r.c (__initstate_r): Save old state.
1727         * stdlib/Makefile (tests): Add tst-random2.
1728         * stdlib/tst-random2.c: New test.
1729         Reported by Peter Bergner <bergner@vnet.ibm.com>.
1731 2005-01-25  H.J. Lu  <hongjiu.lu@intel.com>
1733         * dlfcn/dlfcn.c (init): Put it in .init_array section.
1735 2005-02-10  Roland McGrath  <roland@redhat.com>
1737         [BZ #632]
1738         * scripts/soversions.awk: Expect cpu, vendor, os as separate variables
1739         from command line.
1740         Grok shlib-versions lines with WORDSIZE* in second column.
1741         Add new leading column to output, DEFAULT for existing output lines.
1742         Also emit lines with WORDSIZE* for alternate configurations.
1743         * Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
1744         ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
1745         ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
1746         of soversions.mk; replace inline shell script with use of ...
1747         * scripts/lib-names.awk: New file.  If input has non-DEFAULT lines,
1748         emit multiple sets of macros under #if.
1749         * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
1750         (s390x-.*-.*): Likewise for s390.
1751         (powerpc64-.*-.*): Likewise for powerpc.
1752         (sparc64-.*-.*): Likewise for sparc.
1753         (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries
1754         for these mapping back to the above.
1756 2005-02-08  Jakub Jelinek  <jakub@redhat.com>
1758         * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo.
1760 2005-02-08  Andreas Schwab  <schwab@suse.de>
1762         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of
1763         RESOLVE.
1765 2005-02-07  Richard Henderson  <rth@redhat.com>
1767         * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.
1769 2005-02-08  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1771         * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
1772         RESOLVE.
1774 2005-02-07  Ulrich Drepper  <drepper@redhat.com>
1776         * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are
1777         set correctly.
1779 2005-01-07  Richard Henderson  <rth@redhat.com>
1781         * math/math_private.h (__copysign): Define as builtin for gcc 4.
1782         (__copysignf, __copysignl): Likewise.
1783         * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
1784         for gcc 4.0.
1785         (copysignf, copysignl, fabsf, fabs): Likewise.
1786         (__copysign, __copysignf, __copysignl): Remove.
1787         (__fabs, __fabsf): Remove.
1789 2005-01-07  Jakub Jelinek  <jakub@redhat.com>
1791         [BZ #738]
1792         * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
1793         avoid writing to it if none of the standard search directories exist.
1795 2005-02-07  Steven Munroe  <sjmunroe@us.ibm.com>
1797         [BZ #700]
1798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1799         (__novec_setcontext, __setcontext): Fix typo so CCR is restored.
1800         Load MSR as a doubleword.
1801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1802         (__novec_swapcontext, __swapcontext): Likewise.
1804 2005-02-07  Ulrich Drepper  <drepper@redhat.com>
1806         * iconv/iconv_prog.c (main): Provide more help in case on an error.
1808         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
1810 2005-02-07  Jakub Jelinek  <jakub@redhat.com>
1812         [BZ #741]
1813         * nscd/nscd.c (termination_handler): Avoid segfault if some database
1814         is not enabled.
1816         [BZ #741]
1817         * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set
1818         __nss_not_use_nscd_hosts and return -1.
1819         * nscd/nscd_initgroups.c (__nscd_getgrouplist): If
1820         initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1.
1821         Avoid leaking sockets.
1823 2005-01-28  Andreas Schwab  <schwab@suse.de>
1824             H.J. Lu  <hongjiu.lu@intel.com>
1826         [BZ #677]
1827         * elf/dl-runtime.c (fixup): Change return type to
1828         DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE,
1829         DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation
1830         values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to
1831         store and retrieve relocation values.
1832         (profile_fixup): Likewise.
1833         * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for
1834         l_reloc_result.
1835         * sysdeps/generic/dl-fptr.h (link_map): Forward declaration.
1836         * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New.
1837         (DL_FIXUP_MAKE_VALUE): Likewise.
1838         (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
1839         (DL_FIXUP_VALUE_ADDR): Likewise.
1840         (DL_FIXUP_ADDR_VALUE): Likewise.
1841         * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc".
1842         (DL_FIXUP_VALUE_TYPE): New.
1843         (DL_FIXUP_MAKE_VALUE): Likewise.
1844         (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
1845         (DL_FIXUP_VALUE_ADDR): Likewise.
1846         (DL_FIXUP_ADDR_VALUE): Likewise.
1847         * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed.
1848         (elf_machine_profile_plt): Removed.
1849         (elf_machine_fixup_plt): Change return type and type of value
1850         parameter to struct fdesc.
1851         (elf_machine_plt_value): Likewise.
1852         (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct
1853         argument for elf_machine_fixup_plt.
1855 2005-02-07  Jakub Jelinek  <jakub@redhat.com>
1857         [BZ #742]
1858         * nscd/nscd.init (reload): Print Reloading nscd: before and a newline
1859         after the status string printed by killproc.
1861 2004-11-18  Alexandre Oliva  <aoliva@redhat.com>
1863         * manual/.cvsignore: Add dir-add.texi.
1865 2005-02-06  Richard Henderson  <rth@redhat.com>
1867         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
1868         all the time.
1870 2004-11-03  Marcus Brinkmann  <marcus@gnu.org>
1872         * configure.in (sysnames): Append sysdeps/generic for each add-on.
1873         * configure: Regenerated.
1875 2005-02-02  Alfred M. Szmidt  <ams@gnu.org>
1877         * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
1878         (dtv_t): Change pointer type to be a struct which also contains
1879         information whether the memory pointed to is static TLS or not.
1881         * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
1883         * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
1884         (FALSEP): ... this.  Updated all references.
1886         [BZ #765]
1887         * libio/fmemopen.c: Include <stdint.h>.
1889 2005-01-30  Ulrich Drepper  <drepper@redhat.com>
1891         * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
1892         * nscd/connections.c (send_ro_fd): Likewise.
1894 2005-01-28  H.J. Lu  <hongjiu.lu@intel.com>
1896         * elf/tst-auditmod1.c: Add ia64 entries.
1897         * sysdeps/generic/ldsodefs.h (La_ia64_regs): New.
1898         (La_ia64_retval): New.
1899         (audit_ifaces): Add ia64 entries.
1900         * sysdeps/ia64/bits/link.h: New file.
1901         * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test
1902         for dl_profile non-null.
1903         (ARCH_LA_PLTENTER): New.
1904         (ARCH_LA_PLTEXIT): New.
1905         * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate
1906         only 2 output registers. Allocate stack to save/restore
1907         8 incoming fp registers. Call _dl_fixup instead of fixup.
1908         (_dl_runtime_profile): Rewrite.
1910 2005-01-28  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1912         * sysdeps/s390/bits/link.h: New file.
1913         * sysdeps/s390/s390-32/dl-trampoline.S: New file.
1914         * sysdeps/s390/s390-64/dl-trampoline.S: New file.
1915         * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to
1916         dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect
1917         relocation code.
1918         (elf_machine_runtime_setup): Test for dl_profile non-null.
1919         (elf_machine_rela): Remove code using RESOLVE.
1920         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
1921         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1922         * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval,
1923         La_s390_64_regs, La_s390_64_retval): New.
1924         * elf/tst-auditmod1.c: Add s390 entries.
1926         [BZ #743]
1927         * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat,
1928         strncat, memchr, strcmp): Add missing memory clobber.
1930 2005-01-27  Ulrich Drepper  <drepper@redhat.com>
1932         * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
1933         copy gl_offs.  Patch by Sergey Tikhonov <tsv@solvo.ru>.
1935 2005-01-27  Paolo Bonzini  <bonzini@gnu.org>
1937         [BZ #558]
1938         * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
1939         Initialize the node sets in dfa->inveclosures.
1940         (analyze): Initialize inveclosures only if it is needed.
1941         Check errors from calc_inveclosure.
1942         * posix/regex_internal.c (re_dfa_add_node): Do not initialize
1943         the inveclosure node set.
1944         * posix/regexec.c (re_search_internal): If nmatch includes unused
1945         subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.
1947         * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
1948         Do build a SIMPLE_BRACKET token.
1950         * posix/regexec.c (transit_state_mb): Do not examine nodes
1951         where ACCEPT_MB is not set.
1953 2005-01-27  Jakub Jelinek  <jakub@redhat.com>
1955         * stdlib/tst-fmtmsg.c: Include stdlib.h.
1956         * stdio-common/tst-fmemopen2.c: Include string.h.
1957         * posix/execvp.c: Include stdbool.h.
1959 2004-12-13  Paolo Bonzini  <bonzini@gnu.org>
1961         Separate parsing and creation of the NFA.  Avoided recursion on
1962         the (very unbalanced) parse tree.
1963         [BZ #611]
1964         * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
1965         re_dfa_add_tree_node, mark_opt_subexp_iter): Removed.
1966         (optimize_subexps, duplicate_tree, calc_first, calc_next,
1967         mark_opt_subexp): Rewritten.
1968         (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes,
1969         create_token_tree, free_tree, free_token): New.
1970         (analyze): Accept a regex_t *.  Invoke the passes via the preorder and
1971         postorder generic visitors.  Do not initialize the fields in the
1972         re_dfa_t that represent the transitions.
1973         (free_dfa_content): Use free_token.
1974         (re_compile_internal): Analyze before UTF-8 optimizations.  Do not
1975         include optimization of subexpressions.
1976         (create_initial_state): Fetch the DFA node index from the first node's
1977         bin_tree_t *.
1978         (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION.
1979         Return on COMPLEX_BRACKET.
1980         (duplicate_node_closure): Fix comment.
1981         (duplicate_node): Do not initialize the fields in the
1982         re_dfa_t that represent the transitions.
1983         (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP.
1984         (create_tree): Remove final argument.  All callers adjusted.  Rewritten
1985         to use create_token_tree.
1986         (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp,
1987         build_charclass_op): Use create_tree or create_token_tree instead
1988         of re_dfa_add_tree_node.
1989         (parse_dup_op): Likewise.  Also free the tree using free_tree for
1990         "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent
1991         to "a|".  Adjust invocation of mark_opt_subexp.
1992         (parse_sub_exp): Create a single SUBEXP node.
1993         * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
1994         always perform as if it was 1.  Do not initialize OPT_SUBEXP and
1995         DUPLICATED, and initialize the DFA fields representing the transitions.
1996         * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
1997         (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens
1998         section.  Add a tree-only code SUBEXP.  Remove OP_DELETED_SUBEXP.
1999         (bin_tree_t): Include a full re_token_t for TOKEN.  Turn FIRST and
2000         NEXT into pointers to trees.  Remove ECLOSURE.
2002 2004-12-28  Paolo Bonzini  <bonzini@gnu.org >
2004         [BZ #605]
2005         * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
2006         that were already created.
2007         * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
2008         in the token if needed.
2009         (create_ci_newstate, create_cd_newstate): Set accept_mb field
2010         from the tokens' field.
2011         * posix/regex_internal.h (re_token_t): Add accept_mb field.
2012         (ACCEPT_MB_NODE): Removed.
2013         * posix/regexec.c (proceed_next_node, transit_states_mb,
2014         build_sifted_states, check_arrival_add_next_nodes): Use
2015         accept_mb instead of ACCEPT_MB_NODE.
2017 2005-01-26  Ulrich Drepper  <drepper@redhat.com>
2019         * debug/chk_fail.c (__chk_fail): Print program name in final message.
2021         * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
2022         MSG_NOSIGNAL being in 2.2 kernels.
2024 2005-01-26  Jakub Jelinek  <jakub@redhat.com>
2026         * sysdeps/unix/sysv/linux/i386/sysdep.h
2027         (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm.
2029         [BZ #693]
2030         * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
2031         (WORD_DELIM_CONSTRAINT): ...this.
2032         (NOT_WORD_DELIM_CONSTRAINT): Define.
2033         (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
2034         change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
2035         * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
2036         anchor instead of INSIDE_WORD.
2037         (parse_expression): Handle NOT_WORD_DELIM constraint.
2038         * posix/bug-regex19.c (tests): Adjust tests that relied on \B
2039         being inside word instead of not word delim.
2040         * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
2041         characters.
2042         * posix/rxspencer/tests: Add some new tests.
2044 2005-01-14  GOTO Masanori  <gotom@debian.or.jp>
2046         * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
2047         irrespective of Cflag.
2049         * manual/memory.texi (sbrk): Fix definition.
2050         * manual/string.texi (strcasestr): Fix example typo.
2052 2005-01-25  Roland McGrath  <roland@redhat.com>
2054         * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
2056 2005-01-23  Roland McGrath  <roland@redhat.com>
2058         [BZ #737]
2059         * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
2060         in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
2061         * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
2062         (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
2063         from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
2064         * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
2066 2005-01-25  Jakub Jelinek  <jakub@redhat.com>
2068         [BZ #731]
2069         * stdlib/fmtmsg.c (addseverity): Remove new_string variable.
2070         (free_mem): Don't free string.
2071         * stdlib/tst-fmtmsg.c: Include string.h.
2072         (main): Add some more tests.
2074 2005-01-25  Andreas Schwab  <schwab@suse.de>
2076         [BZ #736]
2077         * timezone/asia: Update from tzdata2005c.
2078         * timezone/backward: Likewise.
2079         * timezone/europe: Likewise.
2080         * timezone/leapseconds: Likewise.
2081         * timezone/northamerica: Likewise.
2082         * timezone/southamerica: Likewise.
2084         [BZ #736]
2085         * timezone/private.h: Update from tzcode2005c.
2086         * timezone/tzfile.h: Likewise.
2087         * timezone/zdump.c: Likewise.
2088         * timezone/zic.c: Likewise.
2090 2005-01-25  Ulrich Drepper  <drepper@redhat.com>
2092         * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using
2093         RESOLVE.
2094         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code
2095         using RESOLVE.
2096         * elf/rtld.c (_dl_start): Remove RESOLVE definition.
2098 2005-01-25  Alan Modra  <amodra@bigpond.net.au>
2100         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
2101         sym_map, not sym, against zero.
2103 2005-01-24  Ulrich Drepper  <drepper@redhat.com>
2105         [BZ #671]
2106         * misc/syslog.c: Moved to...
2107         * sysdeps/generic/syslog.c: ...here.
2108         [NO_SIGIPE]: Don't install SIGPIPE handler.
2109         * sysdeps/unix/sysv/linux/syslog.c: New file.
2110         * sysdeps/unix/sysv/linux/kernel-features.h: Define
2111         __ASSUME_MSG_NOSIGNAL.
2113 2005-01-22  Richard Henderson  <rth@redhat.com>
2115         * sysdeps/alpha/dl-trampoline.S: New file.
2116         * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
2117         Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
2118         (elf_machine_runtime_setup): Test for dl_profile non-null.
2119         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
2120         * sysdeps/alpha/bits/link.h: New file.
2121         * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
2122         (struct audit_ifaces): Add alpha entries.
2123         * elf/tst-auditmod1.c: Add alpha entries.
2125 2005-01-22  Ulrich Drepper  <drepper@redhat.com>
2127         * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here.
2128         * sysdeps/ia64/dl-trampoline.S: New file.
2130         * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in
2131         La_x86_64_xmm definition.
2133         * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
2134         pointer option.
2135         * stdlib/Makefile (CFLAGS-system.os): Use this instead of
2136         CFLAGS-system.c for frame pointer option.
2138 2005-01-21  Roland McGrath  <roland@redhat.com>
2140         * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
2141         * sysdeps/i386/dl-machine.h: Update decl.
2143 2005-01-21  Jakub Jelinek  <jakub@redhat.com>
2145         [BZ #735]
2146         * elf/Makefile: Add rules to build and run tst-align2.
2147         * elf/tst-align2.c: New test.
2148         * elf/tst-alignmod2.c: New file.
2149         * sysdeps/powerpc/tst-stack-align.h: New file.
2150         * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame
2151         pointer before calling _dl_init.
2152         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2154 2005-01-20  Ulrich Drepper  <drepper@redhat.com>
2156         * posix/execl.c: Do not allocate potentially large buffers on the
2157         stack.
2158         * posix/execle.c: Likewise.
2159         * posix/execlp.c: Likewise.
2160         * posix/execvp.c: Likewise.
2161         (script_execute): Removed.
2162         (allocate_scripts_argv): New function.  Called at most once to
2163         allocate memory, not every time a script is run.  Adjust caller.
2165         * sysdeps/generic/wordexp.c (exec_comm): Add a few
2166         TEMP_FAILURE_RETRY.  Reorganize code to avoid multiple calls to
2167         exec_comm_child.
2168         (exec_comm_child): Can now be inlined.
2170         * posix/Makefile: Add -fomit-frame-pointer for a few more files.
2171         * stdlib/Makefile: Likewise.
2173 2005-01-19  Roland McGrath  <roland@redhat.com>
2175         [BZ #681]
2176         * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
2177         argument to execlp.
2178         Reported by Marcus Meissner <meissner@suse.de>.
2180 2005-01-19  Jakub Jelinek  <jakub@redhat.com>
2182         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
2183         in assert.
2184         * iconv/strtab.c (strtabfinalize): Likewise.
2186         * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
2188 2005-01-17  Roland McGrath  <roland@redhat.com>
2190         [BZ #745]
2191         * nscd/Makefile (LDLIBS-nscd): New variable.
2192         ($(objpfx)nscd): Use that instead of selinux-LIBS.
2194         * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)).
2195         (link-extra-libs-static): Define to $(link-extra-libs).
2196         (link-extra-libs-bounded): Likewise.
2198 2005-01-17  Ulrich Drepper  <drepper@redhat.com>
2200         * include/link.h: Remove stray definition of pltenter.
2202 2005-01-16  GOTO Masanori  <gotom@debian.or.jp>
2204         [BZ #734]
2205         * sysdeps/unix/rewinddir.c: Reset filepos.
2206         * dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
2208 2005-01-15  Ulrich Drepper  <drepper@redhat.com>
2210         * elf/tst-auditmod1.c: Reduce duplication.
2212 2005-01-16  Andreas Schwab  <schwab@suse.de>
2214         * sysdeps/m68k/dl-machine.h: Remove trampoline code.  Define
2215         ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
2216         (elf_machine_runtime_setup): If profile != 0 does not anymore mean
2217         GLRO(dl_profile) != NULL.
2218         * sysdeps/m68k/dl-trampoline.S: New file.
2219         * sysdeps/m68k/bits/link.h: New file.
2220         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
2221         variants.
2222         * elf/tst-auditmod1.c: Add m68k support.
2224 2005-01-14  Ulrich Drepper  <drepper@redhat.com>
2226         * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
2227         LC_* variable.  Patch by Aharon Robbins <arnold@skeeve.com>.
2229         [BZ #731]
2230         * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
2231         * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
2233 2005-01-12  Ulrich Drepper  <drepper@redhat.com>
2235         * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
2236         callers from libc anymore.
2238         * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller
2239         to _dl_map_object_deps.
2240         * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory
2241         protections when loading auditing modules.
2243         * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail.
2245         * posix/getconf.c: Update copyright year.
2246         * nss/getent.c: Likewise.
2247         * nscd/nscd_nischeck.c: Likewise.
2248         * iconv/iconvconfig.c: Likewise.
2249         * iconv/iconv_prog.c: Likewise.
2250         * elf/ldconfig.c: Likewise.
2251         * catgets/gencat.c: Likewise.
2252         * csu/version.c: Likewise.
2253         * elf/ldd.bash.in: Likewise.
2254         * elf/sprof.c (print_version): Likewise.
2255         * locale/programs/locale.c: Likewise.
2256         * locale/programs/localedef.c: Likewise.
2257         * nscd/nscd.c (print_version): Likewise.
2258         * debug/xtrace.sh: Likewise.
2259         * malloc/memusage.sh: Likewise.
2260         * malloc/mtrace.pl: Likewise.
2261         * debug/catchsegv.sh: Likewise.
2263 2005-01-11  Thorsten Kukuk  <kukuk@suse.de>
2265         [BZ #733]
2266         * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN
2267         as backlog.
2268         * sunrpc/svc_unix.c (svcunix_create): Likewise.
2270         * grp/putgrent.c (putgrent): Don't write 0 as group
2271         ID if groupname starts with + or -.
2272         * pwd/putpwent.c (putpwent): Don't write 0 as user or
2273         group ID if user name starts with + or -.
2275 2005-01-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2277         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants.
2278         * sysdeps/elf/tst-auditmod1.c: Add sh support.
2279         * sysdeps/sh/bits/link.h: New.
2280         * sysdeps/sh/dl-machine.h: Remove trampoline code here.  Define
2281         ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.  Remove obsolete comments.
2282         (RTLD_START): Define __fpscr_values.
2283         * sysdeps/sh/dl-trampoline.S: New file.
2284         * sysdeps/sh/sh4/dl-trampoline.S: New file.
2285         * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values.
2286         * sysdeps/sh/sh4/dl-machine.h: Remove.
2288 2005-01-10  Jakub Jelinek  <jakub@redhat.com>
2290         [BZ #732]
2291         * time/tst-strptime.c (day_tests): Add 2 new tests.
2292         (test_tm, main): Issue an error instead of segfaulting if
2293         strptime returns NULL.
2295 2005-01-10  H.J. Lu  <hongjiu.lu@intel.com>
2297         * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union.
2298         * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise.
2300 2005-01-11  Ulrich Drepper  <drepper@redhat.com>
2302         * malloc/malloc.h: Remove no-glibc support.
2304 2005-01-12  GOTO Masanori  <gotom@debian.or.jp>
2306         [BZ #650]
2307         * malloc/malloc.h: Always include features.h.
2309 2005-01-10  Roland McGrath  <roland@redhat.com>
2311         * sysdeps/ia64/fpu/e_logl.c: File removed.
2313         * dlfcn/dlfcn.c (init): Fix typo in attribute decl.
2315 2005-01-10  Ulrich Drepper  <drepper@redhat.com>
2317         * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and
2318         recognition of last entry.
2320 2005-01-09  Ulrich Drepper  <drepper@redhat.com>
2322         * elf/dl-runtime.c: Include <sys/param.h>.
2324         * elf/Makefile (headers): Add bits/link.h.
2326 2005-01-09  Andreas Schwab  <schwab@suse.de>
2328         * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC.
2330 2005-01-09  Andreas Jaeger  <aj@suse.de>
2332         [BZ #732]
2333         * time/strptime_l.c (__strptime_internal): Add braces to avoid
2334         warning.
2336         * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0.
2338         * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
2340 2005-01-08  Jakub Jelinek  <jakub@redhat.com>
2342         * elf/Makefile (generated): Add tst-pie1{,.out,.o}.
2344 2005-01-09  Ulrich Drepper  <drepper@redhat.com>
2346         * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after
2347         those of all the regular objects.
2349         * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and
2350         use it to select the r_debug structure for that namespace.
2351         * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize.
2352         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2353         * elf/dl-open.c (_dl_open): Likewise.
2354         * elf/rtld.c (dl_main): Likewise.
2355         * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug
2356         member.
2357         (_dl_debug_initialize): Add new parameter in declaration.
2359         * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not
2360         called for the auditing objects themselves.
2361         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2363 2005-01-07  Ulrich Drepper  <drepper@redhat.com>
2365         * sysdeps/powerpc/powerpc64/dl-machine.h
2366         (elf_machine_runtime_setup): If profile != 0 does not anymore mean
2367         GLRO(dl_profile) != NULL.
2368         * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add
2369         padding.
2370         * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve):
2371         Extend _dl_prof_resolve to add pass extra parameters to
2372         _dl_profile_fixup and set up structure with register content.
2374         * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
2375         If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
2376         * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
2377         Extend _dl_prof_resolve to add pass extra parameters to
2378         _dl_profile_fixup and set up structure with register content.
2379         * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
2380         the register and result structures.
2381         * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
2382         in the 32-bit register and result structures.
2384         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
2386         * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file.
2387         * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here.
2388         Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
2389         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants.
2390         * elf/tst-auditmod1.c: Add ppc32 support.
2391         * sysdeps/powerpc/powerpc32/bits/link.h: New file.
2392         * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions.
2394         * malloc/malloc.c (malloc_printerr): Print program name as part of
2395         error message.
2397         * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define.
2398         * stdlib/stdlib.h: Make realloc with
2399         __attribute_warn_unused_result__ instead of __wur.
2400         * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__
2401         markers as in <stdlib.h>.
2403         * libio/stdio.h: Remove __wur from rename and remove.
2404         * posix/unistd.h: Remove __wur from dup2.
2406 2005-01-03  Andreas Jaeger  <aj@suse.de>
2408         * elf/Makefile (tests): Revert patch from 2005-01-03.
2410 2005-01-07  Ulrich Drepper  <drepper@redhat.com>
2412         * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't
2413         make __libc_init_first hidden.
2415         * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize
2416         l_relocated of rtld map.
2417         * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file.
2418         * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here.
2419         Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
2420         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants.
2421         * elf/tst-auditmod1.c: Add ppc64 support.
2422         * sysdeps/powerpc/powerpc64/bits/link.h: New file.
2424 2005-01-06  Roland McGrath  <roland@redhat.com>
2426         [BZ #633]
2427         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
2428         indicating file-name lookup errors, and return ENOSYS or EBADF instead.
2430 2005-01-06  Ulrich Drepper  <drepper@redhat.com>
2432         * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
2433         * sysdeps/generic/libc-start.c: Don't register program destructor here.
2435         * dlfcn/Makefile: Add rules to build dlfcn.c.
2436         (LDFLAGS-dl.so): Removed.
2437         * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
2438         table.
2439         * dlfcn/dlmopen.c: Likewise for _dl_open.
2440         * dlfcn/dlopen.c: Likewise.
2441         * dlfcn/dlopenold.c: Likewise.
2442         * elf/dl-libc.c: Likewise for _dl_open and _dl_close.
2443         * elf/Makefile (routines): Remove dl-open and dl-close.
2444         (dl-routines): Add dl-open, dl-close, and dl-trampoline.
2445         Add rules to build and run tst-audit1.
2446         * elf/tst-audit1.c: New file.
2447         * elf/tst-auditmod1.c: New file.
2448         * elf/Versions [libc]: Remove _dl_open and _dl_close.
2449         * elf/dl-close.c: Change for use inside ld.so instead of libc.so.
2450         * elf/dl-open.c: Likewise.
2451         * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
2452         signaled by nonzero parameter.
2453         * elf/dl-init.c: Fix use of r_state.
2454         * elf/dl-load.c: Likewise.
2456         * elf/dl-close.c: Add auditing checkpoints.
2457         * elf/dl-open.c: Likewise.
2458         * elf/dl-fini.c: Likewise.
2459         * elf/dl-load.c: Likewise.
2460         * elf/dl-sym.c: Likewise.
2461         * sysdeps/generic/libc-start.c: Likewise.
2462         * elf/dl-object.c: Allocate memory for auditing information.
2463         * elf/dl-reloc.c: Remove RESOLV.  We now always need the map.
2464         Correctly initialize slotinfo.
2465         * elf/dynamic-link.h: Adjust after removal of RESOLV.
2466         * sysdeps/hppa/dl-lookupcfg.h: Likewise.
2467         * sysdeps/ia64/dl-lookupcfg.h: Likewise.
2468         * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
2469         * elf/dl-runtime.c (_dl_fixup): Little cleanup.
2470         (_dl_profile_fixup): New parameters to point to register struct and
2471         variable for frame size.
2472         Add auditing checkpoints.
2473         (_dl_call_pltexit): New function.
2474         Don't define trampoline code here.
2475         * elf/rtld.c: Recognize LD_AUDIT.  Load modules on startup.
2476         Remove all the functions from _rtld_global_ro which only _dl_open
2477         and _dl_close needed.
2478         Add auditing checkpoints.
2479         * elf/link.h: Define symbols for auditing interfaces.
2480         * include/link.h: Likewise.
2481         * include/dlfcn.h: Define __RTLD_AUDIT.
2482         Remove prototypes for _dl_open and _dl_close.
2483         Adjust access to argc and argv in libdl.
2484         * dlfcn/dlfcn.c: New file.
2485         * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
2486         is gone.
2487         * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
2488         * sysdeps/generic/unsecvars.h: Add LD_AUDIT.
2489         * sysdeps/i386/dl-machine.h: Remove trampoline code here.
2490         Adjust for removal of RESOLVE.
2491         * sysdeps/x86_64/dl-machine.h: Likewise.
2492         * sysdeps/generic/dl-trampoline.c: New file.
2493         * sysdeps/i386/dl-trampoline.c: New file.
2494         * sysdeps/x86_64/dl-trampoline.c: New file.
2496         * sysdeps/generic/dl-tls.c: Cleanups.  Fixup for dtv_t change.
2497         Fix updating of DTV.
2498         * sysdeps/generic/libc-tls.c: Likewise.
2500         * sysdeps/arm/bits/link.h: Renamed to ...
2501         * sysdeps/arm/bits/linkmap.h: ...this.
2502         * sysdeps/generic/bits/link.h: Renamed to...
2503         * sysdeps/generic/bits/linkmap.h: ...this.
2504         * sysdeps/hppa/bits/link.h: Renamed to...
2505         * sysdeps/hppa/bits/linkmap.h: ...this.
2506         * sysdeps/i386/bits/link.h: Renamed to...
2507         * sysdeps/i386/bits/linkmap.h: ...this.
2508         * sysdeps/ia64/bits/link.h: Renamed to...
2509         * sysdeps/ia64/bits/linkmap.h: ...this.
2510         * sysdeps/s390/bits/link.h: Renamed to...
2511         * sysdeps/s390/bits/linkmap.h: ...this.
2512         * sysdeps/sh/bits/link.h: Renamed to...
2513         * sysdeps/sh/bits/linkmap.h: ...this.
2514         * sysdeps/x86_64/bits/link.h: Renamed to...
2515         * sysdeps/x86_64/bits/linkmap.h: ...this.
2517         * posix/unistd.h: Declare ftruncate for POSIX 2003.  [BZ #640]
2519 2004-12-22  Steven Munroe  <sjmunroe@us.ibm.com>
2521         [BZ #602]
2522         * math/libm-test.inc (rint_test_tonearest): New test.
2523         (rint_test_towardzero): New test.
2524         (rint_test_downward): New test.
2525         (rint_test_upward): New test.
2526         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case.
2527         Remove redundant const values.
2528         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case.
2529         Remove redundant const values.  Use float const.
2530         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case.
2531         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case.
2532         Use float const.
2533         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case.
2534         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case.
2535         Use float const.
2536         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case.
2537         Remove redundant const values.
2538         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case.
2539         Remove redundant const values.  Use float const.
2540         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case.
2541         Remove redundant const values.
2542         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case.
2543         Remove redundant const values.  Use float const.
2544         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword
2545         alignment.  Fix -0.0 case.  Remove redundant const values.
2546         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword
2547         alignment.  Fix -0.0 case.  Remove redundant const values.
2548         Use float const.
2549         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword
2550         alignment.  Fix -0.0 case.
2551         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword
2552         alignment.  Fix -0.0 case.  Use float const.
2553         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword
2554         alignment.  Fix -0.0 case.
2555         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword
2556         alignment.  Fix -0.0 case.  Use float const.
2557         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword
2558         alignment.  Fix -0.0 case.  Remove redundant const values.
2559         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword
2560         alignment.  Fix -0.0 case.  Remove redundant const values.
2561         Use float const.
2562         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword
2563         alignment.  Fix -0.0 case.
2564         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword
2565         alignment.  Fix -0.0 case.  Remove redundant const values.
2566         Use float const.
2568 2005-01-06  Ulrich Drepper  <drepper@redhat.com>
2570         * misc/sys/cdefs.h: Define __wur.
2571         * libio/stdio.h: Use __wur for a number of interfaces.
2572         * posix/unistd.h: Likewise.
2573         * stdlib/stdlib.h: Likewise.
2575 2004-12-29  Jakub Jelinek  <jakub@redhat.com>
2577         [BZ #592]
2578         * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use
2579         libc_hidden_proto instead of HIDDEN_PROTO.
2580         * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove.
2581         (__libm_error_support): If ASSEMBLER and in libc, define to
2582         HIDDEN_JUMPTARGET(__libm_error_support).
2584 2004-12-28  David Mosberger  <davidm@hpl.hp.com>
2586         [BZ #592]
2587         * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro.
2588         (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l}
2589         with $(duplicated-routines).
2590         (libm-sysdep_routines): Likewise, but substitute "s_" prefix for
2591         "m_" prefix.
2593 2004-12-27  David Mosberger  <davidm@hpl.hp.com>
2595         [BZ #592]
2596         * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and
2597         undefine "ret" macro.  Add __libm_error_support hidden definitions.
2599         [BZ #592]
2600         * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment.  Add
2601         missing portion of copyright statement.
2602         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
2603         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
2605         [BZ #592]
2606         * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment.  Add
2607         missing portion of copyright statement.
2608         (__ieee754_lgamma): Rename from lgamma().  Make lgamma() a weak alias.
2609         (__ieee754_gamma): Likewise.
2610         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
2611         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
2613 2004-12-09  H.J. Lu <hjl@lucon.org>
2615         [BZ #592]
2616         * sysdeps/ia64/fpu/s_nextafterl.c: Remove.
2617         * sysdeps/ia64/fpu/s_nexttoward.c: Likewise.
2618         * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise.
2619         * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c).
2620         * sysdeps/ia64/fpu/e_expl.S: Likewise.
2621         * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S).
2623 2004-11-18  David Mosberger  <davidm@hpl.hp.com>
2625         [BZ #592]
2626         * sysdeps/ia64/fpu/README: New file.
2627         * sysdeps/ia64/fpu/gen_import_file_list: New file.
2628         * sysdeps/ia64/fpu/import_check: Likewise.
2629         * sysdeps/ia64/fpu/import_diffs: Likewise.
2630         * sysdeps/ia64/fpu/import_file.awk: Likewise.
2631         * sysdeps/ia64/fpu/import_intel_libm: Likewise.
2632         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2634         [BZ #592]
2635         * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+.
2636         * sysdeps/ia64/fpu/e_acosf.S: Likewise.
2637         * sysdeps/ia64/fpu/e_acosl.S: Likewise.
2638         * sysdeps/ia64/fpu/e_asin.S: Likewise.
2639         * sysdeps/ia64/fpu/e_asinf.S: Likewise.
2640         * sysdeps/ia64/fpu/e_asinl.S: Likewise.
2641         * sysdeps/ia64/fpu/e_atan2.S: Likewise.
2642         * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
2643         * sysdeps/ia64/fpu/e_cosh.S: Likewise.
2644         * sysdeps/ia64/fpu/e_coshf.S: Likewise.
2645         * sysdeps/ia64/fpu/e_coshl.S: Likewise.
2646         * sysdeps/ia64/fpu/e_exp.S: Likewise.
2647         * sysdeps/ia64/fpu/e_expf.S: Likewise.
2648         * sysdeps/ia64/fpu/e_fmod.S: Likewise.
2649         * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
2650         * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
2651         * sysdeps/ia64/fpu/e_hypot.S: Likewise.
2652         * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
2653         * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
2654         * sysdeps/ia64/fpu/e_log.S: Likewise.
2655         * sysdeps/ia64/fpu/e_log2.S: Likewise.
2656         * sysdeps/ia64/fpu/e_log2f.S: Likewise.
2657         * sysdeps/ia64/fpu/e_log2l.S: Likewise.
2658         * sysdeps/ia64/fpu/e_logf.S: Likewise.
2659         * sysdeps/ia64/fpu/e_pow.S: Likewise.
2660         * sysdeps/ia64/fpu/e_powf.S: Likewise.
2661         * sysdeps/ia64/fpu/e_powl.S: Likewise.
2662         * sysdeps/ia64/fpu/e_remainder.S: Likewise.
2663         * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
2664         * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
2665         * sysdeps/ia64/fpu/e_scalb.S: Likewise.
2666         * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
2667         * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
2668         * sysdeps/ia64/fpu/e_sinh.S: Likewise.
2669         * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
2670         * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
2671         * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
2672         * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
2673         * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
2674         * sysdeps/ia64/fpu/libm_error.c: Likewise.
2675         * sysdeps/ia64/fpu/libm_reduce.c: Likewise.
2676         * sysdeps/ia64/fpu/libm_support.h: Likewise.
2677         * sysdeps/ia64/fpu/s_atan.S: Likewise.
2678         * sysdeps/ia64/fpu/s_atanf.S: Likewise.
2679         * sysdeps/ia64/fpu/s_atanl.S: Likewise.
2680         * sysdeps/ia64/fpu/s_cbrt.S: Likewise.
2681         * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
2682         * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
2683         * sysdeps/ia64/fpu/s_ceil.S: Likewise.
2684         * sysdeps/ia64/fpu/s_ceilf.S: Likewise.
2685         * sysdeps/ia64/fpu/s_ceill.S: Likewise.
2686         * sysdeps/ia64/fpu/s_cos.S: Likewise.
2687         * sysdeps/ia64/fpu/s_cosf.S: Likewise.
2688         * sysdeps/ia64/fpu/s_cosl.S: Likewise.
2689         * sysdeps/ia64/fpu/s_expm1.S: Likewise.
2690         * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
2691         * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
2692         * sysdeps/ia64/fpu/s_fabs.S: Likewise.
2693         * sysdeps/ia64/fpu/s_fabsf.S: Likewise.
2694         * sysdeps/ia64/fpu/s_fabsl.S: Likewise.
2695         * sysdeps/ia64/fpu/s_floor.S: Likewise.
2696         * sysdeps/ia64/fpu/s_floorf.S: Likewise.
2697         * sysdeps/ia64/fpu/s_floorl.S: Likewise.
2698         * sysdeps/ia64/fpu/s_frexp.c: Likewise.
2699         * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
2700         * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
2701         * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
2702         * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
2703         * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
2704         * sysdeps/ia64/fpu/s_log1p.S: Likewise.
2705         * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
2706         * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
2707         * sysdeps/ia64/fpu/s_logb.S: Likewise.
2708         * sysdeps/ia64/fpu/s_logbf.S: Likewise.
2709         * sysdeps/ia64/fpu/s_logbl.S: Likewise.
2710         * sysdeps/ia64/fpu/s_modf.S: Likewise.
2711         * sysdeps/ia64/fpu/s_modff.S: Likewise.
2712         * sysdeps/ia64/fpu/s_modfl.S: Likewise.
2713         * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
2714         * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
2715         * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
2716         * sysdeps/ia64/fpu/s_rint.S: Likewise.
2717         * sysdeps/ia64/fpu/s_rintf.S: Likewise.
2718         * sysdeps/ia64/fpu/s_rintl.S: Likewise.
2719         * sysdeps/ia64/fpu/s_round.S: Likewise.
2720         * sysdeps/ia64/fpu/s_roundf.S: Likewise.
2721         * sysdeps/ia64/fpu/s_roundl.S: Likewise.
2722         * sysdeps/ia64/fpu/s_significand.S: Likewise.
2723         * sysdeps/ia64/fpu/s_significandf.S: Likewise.
2724         * sysdeps/ia64/fpu/s_significandl.S: Likewise.
2725         * sysdeps/ia64/fpu/s_tan.S: Likewise.
2726         * sysdeps/ia64/fpu/s_tanf.S: Likewise.
2727         * sysdeps/ia64/fpu/s_tanl.S: Likewise.
2728         * sysdeps/ia64/fpu/s_trunc.S: Likewise.
2729         * sysdeps/ia64/fpu/s_truncf.S: Likewise.
2730         * sysdeps/ia64/fpu/s_truncl.S: Likewise.
2732         [BZ #592]
2733         * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+.
2734         * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
2735         * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
2736         * sysdeps/ia64/fpu/e_atanh.S: Likewise.
2737         * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
2738         * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
2739         * sysdeps/ia64/fpu/e_exp10.S: Likewise.
2740         * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
2741         * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
2742         * sysdeps/ia64/fpu/e_exp2.S: Likewise.
2743         * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
2744         * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
2745         * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise.
2746         * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise.
2747         * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise.
2748         * sysdeps/ia64/fpu/e_logl.S: Likewise.
2749         * sysdeps/ia64/fpu/libm_frexp.S: Likewise.
2750         * sysdeps/ia64/fpu/libm_frexpf.S: Likewise.
2751         * sysdeps/ia64/fpu/libm_frexpl.S: Likewise.
2752         * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
2753         * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
2754         * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
2755         * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
2756         * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
2757         * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
2758         * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
2759         * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
2760         * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
2761         * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
2762         * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2763         * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
2764         * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2765         * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
2766         * sysdeps/ia64/fpu/s_asinh.S: Likewise.
2767         * sysdeps/ia64/fpu/s_asinhf.S: Likewise.
2768         * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
2769         * sysdeps/ia64/fpu/s_erf.S: Likewise.
2770         * sysdeps/ia64/fpu/s_erfc.S: Likewise.
2771         * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
2772         * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
2773         * sysdeps/ia64/fpu/s_erff.S: Likewise.
2774         * sysdeps/ia64/fpu/s_erfl.S: Likewise.
2775         * sysdeps/ia64/fpu/s_fdim.S: Likewise.
2776         * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
2777         * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
2778         * sysdeps/ia64/fpu/s_fma.S: Likewise.
2779         * sysdeps/ia64/fpu/s_fmaf.S: Likewise.
2780         * sysdeps/ia64/fpu/s_fmal.S: Likewise.
2781         * sysdeps/ia64/fpu/s_fmax.S: Likewise.
2782         * sysdeps/ia64/fpu/s_fmaxf.S: Likewise.
2783         * sysdeps/ia64/fpu/s_fmaxl.S: Likewise.
2784         * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
2785         * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
2786         * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
2787         * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
2788         * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
2789         * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
2790         * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
2791         * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
2792         * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
2793         * sysdeps/ia64/fpu/s_tanh.S: Likewise.
2794         * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
2795         * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
2796         * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
2797         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
2798         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
2799         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
2800         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
2801         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
2802         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
2804         [BZ #592]
2805         * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file.
2806         * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise.
2807         * sysdeps/ia64/fpu/e_gammal_r.c: Likewise.
2808         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
2809         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
2810         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
2811         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
2812         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
2813         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
2814         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
2815         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
2816         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
2817         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
2818         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
2819         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
2820         * sysdeps/ia64/fpu/w_expl.c: Likewise.
2821         * sysdeps/ia64/fpu/e_expl.S: Likewise.
2822         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
2823         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
2824         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
2825         * sysdeps/ia64/fpu/w_log2.c: Likewise.
2826         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
2827         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
2828         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
2829         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
2830         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
2832         [BZ #592]
2833         * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove.
2834         * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
2835         * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
2836         * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
2837         * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
2838         * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
2839         * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
2841         [BZ #592]
2842         * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file.
2843         * sysdeps/ia64/fpu/s_sincosf.c: Likewise.
2844         * sysdeps/ia64/fpu/s_sincosl.c: Likewise.
2846         [BZ #592]
2847         * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment.
2849         [BZ #592]
2850         * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l}
2851         alias for use by libm_error.c
2853         [BZ #592]
2854         * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove
2855         libm_atan2_reg, libm_tan, libm_frexp4{f,l}.
2856         Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l},
2857         libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l},
2858         libm_scalbn{,f,l}, libm_scalblnf.
2859         (sysdep_routines): Remove libm_frexp4{,f,l}.
2860         Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}.
2861         (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__,
2862         _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and
2863         -DSIZE_LONG_LONG_INT_64.
2865 2005-01-05  Steven Munroe  <sjmunroe@us.ibm.com>
2867         [BZ #729]
2868         * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and
2869         l_text_end are set for a VDSO with a single PT_LOAD entry.
2871 2005-01-05  Ulrich Drepper  <drepper@redhat.com>
2873         [BZ #730]
2874         * libio/iofopncook.c (_IO_cookie_seekoff): Define.  Mark offset as
2875         invalid to disable optimizations in fileops which won't work here.
2876         (_IO_cookie_jumps): Use it.
2877         (_IO_old_cookie_jumps): Likewise.
2878         * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P,
2879         not the return value.
2880         * stdio-common/Makefile (tests): Add tst-fmemopen2.
2881         * stdio-common/tst-fmemopen2.c: New file.
2883         * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD.
2885 2005-01-05  Roland McGrath  <roland@redhat.com>
2887         * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ...
2888         * sysdeps/i386/configure.in: ... here.  New file.
2890 2005-01-03  Ulrich Drepper  <drepper@redhat.com>
2892         [BZ #727]
2893         * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
2894         initialize __environ again.
2895         * stdlib/Makefile: Add rules to build and run tst-putenv.
2896         * stdlib/tst-putenv.c: New file.
2897         * stdlib/tst-putenvmod.c: New file.
2899         * sysdeps/unix/sysv/linux/init-first.c: Clean file up.  Don't
2900         define unnecessary wrappers or aliases of static functions.
2902 2005-01-03  Andreas Jaeger  <aj@suse.de>
2904         * csu/Makefile (generated): Add start.os and start.ob.
2906         * elf/Makefile (tests): Change rule for tst-pie1 so that make
2907         clean works.
2909 2004-12-29  Roland McGrath  <roland@redhat.com>
2911         [BZ #626]
2912         * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
2913         than always up; when nearest is zero, round up to one.
2915 2004-12-28  Ulrich Drepper  <drepper@redhat.com>
2917         * po/es.po: Update from translation team.
2919         [BZ #726]
2920         * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
2922 2004-12-27  Ulrich Drepper  <drepper@redhat.com>
2924         [BZ #744]
2925         * include/signal.h: Define __sigemptyset.
2927 2004-04-27  Paolo Bonzini  <bonzini@gnu.org>
2929         * posix/regex_internal.h (struct re_dfastate_t): Make
2930         word_trtable a pointer to the 512-item transition table.
2931         * posix/regexec.c (build_trtable): Fill in either state->trtable
2932         or state->word_trtable.  Return a boolean indicating success.
2933         (transit_state): Expect state->trtable to be a 256-item
2934         transition table.  Reorganize code to have less tests in
2935         the common case, and to save an indentation level.
2936         * posix/regex_internal.c (free_state): Free word_trtable.
2938 2004-12-21  Jakub Jelinek  <jakub@redhat.com>
2940         [BZ #723]
2941         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when
2942         calling fn is 16 byte aligned.
2943         * sysdeps/i386/tst-stack-align.h: New file.
2945         [BZ #725]
2946         * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
2947         (ecvt_r): Special case denormals.
2948         * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
2949         * misc/tst-efgcvt.c: Include float.h.
2950         (ecvt_tests): Add 2 new tests.
2952 2004-12-20  Roland McGrath  <roland@frob.com>
2954         * version.h (RELEASE, VERSION): development, 2.3.90
2955         * include/features.h (__GLIBC_MINOR__): Now 4.
2958 See ChangeLog.15 for earlier changes.