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