8826d75b888c1c81896731acf7cc8130c5ab7fee
[glibc.git] / ChangeLog
blob8826d75b888c1c81896731acf7cc8130c5ab7fee
1 2005-03-07  Ulrich Drepper  <drepper@redhat.com>
3         * elf/dl-close.c (_dl_close): Decrement l_opencount before
4         printing debug message.
5         * elf/dl-open.c (dl_open_worker): Always print the new opencount
6         in debug messages.
8 2005-03-06  Ulrich Drepper  <drepper@redhat.com>
10         * elf/dl-close.c (_dl_close): Unify debug message format.
12         * elf/dl-close.c (_dl_close): Print debug message just before
13         destroying a link map.
15         * elf/do-lookup.h (do_lookup_x): Add namespace info to debug output.
16         * elf/dl-version.c (match_symbol): Likewise.
18         * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code.
20         * debug/recv_chk.c (__recv_chk): Always fail if request could
21         overflow the buffer.
22         * debug/recvfrom_chk.c (__recvfrom_chk): Likewise.
23         * socket/bits/socket2.h (recv): Avoid calls to the _chk variant if
24         we know the call succeeds.
25         (recvfrom): Likewise.
27 2005-03-05  Ulrich Drepper  <drepper@redhat.com>
29         * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid
30         warning.
31         * posix/regex_internal.c (re_string_reconstruct): Add cast to
32         avoid warning.
33         (build_wcs_upper_buffer): Change type of bug to plain char.
34         * locale/weightwc.h (findidx): Add casts to avoid warnings.
35         * time/mktime.c (ranged_convert): Initialize tm to make the
36         compiler happy.
37         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add casts to avoid warnings.
38         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Add casts to avoid warnings.
39         * wcsmbs/mbsnrtowcs.c: Add casts to avoid warnings.
40         * wcsmbs/wcsrtombs.c (__wcsrtombs): Add casts to avoid warnings.
41         * wcsmbs/wcrtomb.c (__wcrtomb): Add casts to avoid warnings.
42         * wcsmbs/mbrtowc.c (__mbrtowc): Use unsigned char for outbuf.
43         * wcsmbs/wctob.c (wctob): Make buf array of unsigned char.
44         * sysdeps/generic/strchrnul.c: Add cast to avoid warning.
45         * libio/iofwide.c: Add casts to avoid warnings.
46         * stdio-common/printf-prs.c (parse_printf_format): Introduce new
47         variable f to avoid warnings.
48         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
49         Fix a few casts to avoid warnings.
50         * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned
51         to avoid warning.
53         * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using
54         dynamically sized array.
55         (build_wcs_upper_buffer): Likewise.
57 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
59         * include/bits/unistd.h: New file.
60         * include/bits/socket2.h: New file.
62 2005-03-05  Ulrich Drepper  <drepper@redhat.com>
64         * sunrpc/key_call.c: Remove doors support.
65         * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition.
66         * configure.in: Remove test for doors support which never existed.
67         * config.make.in: Remove have_doors entry.
69         * configure.in: Make sure at least gcc 3.4 is used.  Undo last change.
70         * config.make.in: Undo last change.
72         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Unconditionally use
73         -mtune.
75 2005-03-05  Roland McGrath  <roland@redhat.com>
77         * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl.
78         (_dl_out_of_memory): Use rtld_hidden_proto.
79         * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def.
80         (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory.
81         * elf/dl-open.c (_dl_open): Likewise.
82         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
84         * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *.
86         * elf/dl-addr.c (_dl_addr): Add a cast.
88         * elf/unload3mod4.c: Declare foo.
89         * elf/testobj2.c: Include <stdio.h>.
91         * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal
92         value constant, and use it in the defn.
93         * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl.
94         Use actual size for compat array decls.
96         * config.make.in (cc-mtune): New substituted variable.
97         * configure.in (libc_cv_cc_mtune): New test for -mtune= switch,
98         done only if libc_mtune_example is defined.
99         * sysdeps/i386/configure.in (libc_mtune_example): Set it.
100         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune).
102 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
104         * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define
105         unconditionally to (defined RTLD_BOOTSTRAP).
106         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise.
108 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
110         * Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of
111         $(inst_slibdir) in AS_NEEDED directive.
113 2005-03-03  Jakub Jelinek  <jakub@redhat.com>
115         * posix/bits/unistd.h (pread, pread64): Don't swap function arguments.
117 2005-03-01  H.J. Lu  <hongjiu.lu@intel.com>
119         [BZ #776]
120         * iconv/iconvconfig.c: Fix comment for the output file.
121         (write_output): Clear padding in header.
123 2005-03-03  Ulrich Drepper  <drepper@redhat.com>
125         * elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the
126         loader is closed.  Fixes unload3.
127         * elf/tst-global1.c: New file.
128         * elf/Makefile (tests): Add tst-global1.
129         * elf/testobj2.c (p): New function.
131 2005-03-03  Jakub Jelinek  <jakub@redhat.com>
133         * elf/Makefile: Add rules to build and run unload3 test.
134         * elf/unload3.c: New test.
135         * elf/unload3mod1.c: New file.
136         * elf/unload3mod2.c: New file.
137         * elf/unload3mod3.c: New file.
138         * elf/unload3mod4.c: New file.
140 2005-02-21  Alan Modra <amodra@bigpond.net.au>
142         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
143         use __uint128_t.
145 2005-03-01  Jakub Jelinek  <jakub@redhat.com>
147         * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead
148         of __bos.
149         * socket/bits/socket2.h (recv, recvfrom): Likewise.
151 2005-03-01  Roland McGrath  <roland@redhat.com>
153         [BZ #721]
154         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
155         of [RESOLVE_MAP].
157 2005-03-01  Alfred M. Szmidt  <ams@gnu.org>
159         [BZ #777]
160         * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]:
161         Add missing initializer.
163         [BZ #777]
164         * malloc/arena.c: #include <stdbool.h> outside of [SHARED &&
165         USE_TLS && !USE___THREAD].
167 2005-02-26  GOTO Masanori  <gotom@debian.or.jp>
169         * csu/Makefile: Use printf instead of echo for some shells.
171 2005-02-28  Roland McGrath  <roland@redhat.com>
173         * debug/warning-nop.c (__nop): Rename to nop, make it static.
174         (__warndecl): Use alias attribute directly, instead of strong_alias
175         macro.  Add attribute_hidden.
177 2005-02-28  Ulrich Drepper  <drepper@redhat.com>
179         * posix/bits/unistd.h: Avoid calling __*_chk variants if we can
180         determine the call will never trigger a failure.
181         * debug/read_chk.c (__read_chk): Always fail if the buffer is too
182         small.
183         * debug/readlink_chk.c (__readlink_chk): Likewise.
184         * debug/pread64_chk.c (__pread64_chk): Likewise.
185         * debug/pread_chk.c (__pread_chk): Likewise.
187         * sysdeps/i386/i686/memset_chk.S: Remove alias and warning.
188         * sysdeps/x86_64/memset_chk.S: Likewise.
190 2005-02-24  Roland McGrath  <roland@redhat.com>
192         * debug/Versions (libc: GLIBC_2.4): Remove
193         __memset_zero_constant_len_parameter.
194         * sysdeps/generic/memset_chk.c: Remove alias and warning.
195         * misc/sys/cdefs.h (__warndecl): New macro.
196         * debug/warning-nop.c: New file.
197         * string/bits/string3.h (memset): Call __warn_memset_zero_len with no
198         arguments, instead of calling __memset_zero_constant_len_parameter.
199         Use __warndecl for __warn_memset_zero_len.
200         * debug/Makefile (routines): Add $(static-only-routines).
201         (static-only-routines): New variable.
203 2005-02-27  Ulrich Drepper  <drepper@redhat.com>
205         * po/tr.po: Update from translation team.
207 2005-02-26  Ulrich Drepper  <drepper@redhat.com>
209         * elf/dl-addr.c: Cleanups.  Move declaration next to first use.
211         * dlfcn/dlerror.c (check_free): New function.  Extract common code
212         from fini and free_key_mem.  Check whether this is libdl in the
213         base namespace.
215 2005-02-25  Ulrich Drepper  <drepper@redhat.com>
217         * elf/dl-lookup.c (_dl_debug_bindings): Add namespace information
218         to debug output.
220 2004-11-11  Richard Sandiford  <rsandifo@redhat.com>
222         [BZ #758]
223         * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
224         preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
225         like __NR_N32_open.  Just include <asm/unistd.h> otherwise.
226         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
227         * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
228         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
229         standard __NR prefix.
230         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
231         * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
232         the output file is compatible with both pre-2.6 and 2.6 kernel headers.
233         Extract separate syscall lists for each ABI.
235 2005-02-23  Ulrich Drepper  <drepper@redhat.com>
237         * Makerules (libc.so): Add AS_NEEDED line for dynamic linker.
239         [BZ #719]
240         * elf/Makefile: Run tst-tls9-static again.
242 2005-02-22  Ulrich Drepper  <drepper@redhat.com>
244         [BZ #719]
245         * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the
246         slotinfo array.
247         (__libc_setup_tls): Initialize length of DTV based on array length.
248         * elf/dl-load.c: Revert last change.
249         * sysdeps/generic/dl-tls.c: Revert last change.
251         * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1,
252         tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2,
253         tst-execve1, tst-execve2, tst-execle1, and tst-execle2.
254         * posix/tst-execl1.c: New file.
255         * posix/tst-execl2.c: New file.
256         * posix/tst-execle1.c: New file.
257         * posix/tst-execle2.c: New file.
258         * posix/tst-execlp1.c: New file.
259         * posix/tst-execlp2.c: New file.
260         * posix/tst-execv1.c: New file.
261         * posix/tst-execv2.c: New file.
262         * posix/tst-execve1.c: New file.
263         * posix/tst-execve2.c: New file.
264         * posix/tst-execvp1.c: New file.
265         * posix/tst-execvp2.c: New file.
267 2005-02-22  Roland McGrath  <roland@redhat.com>
269         * include/signal.h: Revert last change.
270         (__sigemptyset): Use __builtin_memset instead of memset.
272 2005-02-22  Ulrich Drepper  <drepper@redhat.com>
274         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use
275         non-cancelable I/O functions.
277 2005-02-22  Jakub Jelinek  <jakub@redhat.com>
279         [BZ #769]
280         * nscd/nscd-client.h: Include sys/uio.h.
281         (__readall, __readvall, writeall): New prototypes.
282         * nscd/connections.c (writeall): New function.
283         (handle_request): Use it.
284         * nscd/aicache.c (addhstaiX): Likewise.
285         * nscd/initgrcache.c (addinitgroupsX): Likewise.
286         * nscd/hstcache.c (cache_addhst): Likewise.
287         * nscd/grpcache.c (cache_addgr): Likewise.
288         * nscd/pwdcache.c (cache_addpw): Likewise.
289         * nscd/nscd_helper.c (__readall, __readvall): New functions.
290         * nscd/nscd_getai.c (__nscd_getai): Use them.
291         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.
292         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
293         * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise.
294         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
296 2005-02-22  Roland McGrath  <roland@redhat.com>
298         * include/sys/socket.h: Declare __recv.
299         * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias.
300         * sysdeps/mach/hurd/recv.c: Likewise.
302         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for
303         __backtrace_* decls.
305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
306         (INTERNAL_SYSCALL_ERROR_P): Evalute VAL.  Parenthesize ERR.
307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
309         * include/signal.h: Include <string.h> for memset decl.
311 2005-02-22  Andreas Schwab  <schwab@suse.de>
313         * posix/execvp.c (execvp): Fix invalid free.
315 2005-02-22  Jakub Jelinek  <jakub@redhat.com>
317         * malloc/Makefile (CFLAGS-mcheck-init.c): Add.
318         * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for
319         librpcsvc.a objects.
321 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
323         * iconvdata/ibm930.h: Correct Yen mapping.
324         * iconvdata/ibm939.h: Likewise.
325         * iconvdata/testdata/IBM930..UTF8: Adjust test data.
326         * iconvdata/testdata/IBM939..UTF8: Likewise.
327         Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
329         * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
330         IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
331         (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
332         ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
333         ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
334         ibm1158.c, and ibm1158.h.
335         * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
336         IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
337         * iconvdata/gconv-modules: Likewise.
338         * iconvdata/ibm1025.c: New file.
339         * iconvdata/ibm1025.h: New file.
340         * iconvdata/ibm1122.c: New file.
341         * iconvdata/ibm1122.h: New file.
342         * iconvdata/ibm1137.c: New file.
343         * iconvdata/ibm1137.h: New file.
344         * iconvdata/ibm1153.c: New file.
345         * iconvdata/ibm1153.h: New file.
346         * iconvdata/ibm1154.c: New file.
347         * iconvdata/ibm1154.h: New file.
348         * iconvdata/ibm1155.c: New file.
349         * iconvdata/ibm1155.h: New file.
350         * iconvdata/ibm1156.c: New file.
351         * iconvdata/ibm1156.h: New file.
352         * iconvdata/ibm1157.c: New file.
353         * iconvdata/ibm1157.h: New file.
354         * iconvdata/ibm1158.c: New file.
355         * iconvdata/ibm1158.h: New file.
356         * iconvdata/testdata/IBM1025: New file.
357         * iconvdata/testdata/IBM1025..UTF8: New file.
358         * iconvdata/testdata/IBM1122: New file.
359         * iconvdata/testdata/IBM1122..UTF8: New file.
360         * iconvdata/testdata/IBM1137: New file.
361         * iconvdata/testdata/IBM1137..UTF8: New file.
362         * iconvdata/testdata/IBM1153: New file.
363         * iconvdata/testdata/IBM1153..UTF8: New file.
364         * iconvdata/testdata/IBM1154: New file.
365         * iconvdata/testdata/IBM1154..UTF8: New file.
366         * iconvdata/testdata/IBM1155: New file.
367         * iconvdata/testdata/IBM1155..UTF8: New file.
368         * iconvdata/testdata/IBM1156: New file.
369         * iconvdata/testdata/IBM1156..UTF8: New file.
370         * iconvdata/testdata/IBM1157: New file.
371         * iconvdata/testdata/IBM1157..UTF8: New file.
372         * iconvdata/testdata/IBM1158: New file.
373         * iconvdata/testdata/IBM1158..UTF8: New file.
374         Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
376 2005-02-10  Paolo Bonzini  <bonzini@gnu.org>
378         * posix/regcomp.c (lower_subexp): Do not optimize empty
379         subexpressions even with REG_NOSUB.
380         * posix/rxspencer/tests: Add a previously failing testcase.
382 2005-02-21  Alan Modra <amodra@bigpond.net.au>
384         [BZ #719]
385         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv
386         array index is within bounds.
388 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
390         [BZ #719]
391         * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically
392         linked code.
393         * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid.
394         * elf/Makefile: Remove rules to build and run tst-tls9-static.
396         [BZ #719]
397         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using
398         THREAD_DTV multiple times, this minimally reduces code size on
399         some archs.
401 2005-02-21  Jakub Jelinek  <jakub@redhat.com>
403         [BZ #768]
404         * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
405         NETDB_INTERNAL if buffer is too small.
407         [BZ #768]
408         * nscd/hstcache.c (INCR): Remove.
409         (addhstbyX): Double buflen in each iteration rather than add INCR.
410         * nscd/grpcache.c: Likewise.
411         * nscd/pwdcache.c: Likewise.
413 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
415         * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
416         map if requested.
417         * debug/chk_fail.c: Request backtrace and memory map dump.
419         * Versions.def: Add GLIBC_2.4 for libc.
420         * debug/fgets_chk.c: New file.
421         * debug/fgets_u_chk.c: New file.
422         * debug/getcwd_chk.c: New file.
423         * debug/getwd_chk.c: New file.
424         * debug/readlink_chk.c: New file.
425         * debug/read_chk.c: New file.
426         * debug/pread_chk.c: New file.
427         * debug/pread64_chk.c: New file.
428         * debug/recv_chk.c: New file.
429         * debug/recvfrom_chk.c: New file.
430         * debug/Versions: Add all new functions with version GLIBC_2.4.
431         * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
432         pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
433         getwd_chk, and getcwd_chk.  Plus appropriate CFLAGS definitions.
434         * debug/tst-chk1.c: Add more tests.
435         * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
436         * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
437         * posix/unistd.h: Include <bits/unistd.h> for fortification.
438         * posix/bits/unistd.h: New file.
439         * posix/Makefile (headers): Add bits/unistd.h.
440         * socket/sys/socket.h: Include <bits/socket2.h> for fortification.
441         * socket/bits/socket2.h: New file.
442         * socket/Makefile (headers): Add bits/socket2.h.
444         * string/bits/string3.h: Extend memset macro to check for zero 3rd
445         parameter and use __memset_zero_constant_len_parameter in that case.
446         * sysdeps/generic/memset_chk.c: Add
447         __memset_zero_constant_len_parameter alias and linker warning.
448         * debug/Versions: Add __memset_zero_constant_len_parameter to libc
449         with version GLIBC_2.4.
451         * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
452         in __STD_TYPE definition.
454 2005-02-21  Jakub Jelinek  <jakub@redhat.com>
456         * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
457         the error message rather than program name.
459 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
461         [BZ #767]
462         * posix/unistd.h: symlink and readlink are unconditionally
463         available in the 2001 spec.
465 2005-02-16  Roland McGrath  <roland@redhat.com>
467         * intl/dcigettext.c (_nl_find_msg): Add a cast.
469         * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR.
470         * nis/nis_clone_obj.c (nis_clone_object): Likewise.
471         * nis/nis_clone_res.c (nis_clone_result): Likewise.
473         * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char *
474         for END_OF_MESSAGE and CP.
476         * resolv/res_send.c (send_dg): Add else branch for case impossible
477         unless `poll' is buggy.
479         * crypt/crypt_util.c (__setkey_r): Add a cast.
481         * locale/programs/linereader.c (get_toplvl_escape): Use size_t for
482         NBYTES, and unsigned char * for BYTES.
484         * locale/programs/charmap.c (charmap_new_char): Use size_t and
485         unsighed char * for NBYTES, BYTES parameters.
487         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument
488         and cast it.
489         * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise.
491         * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES.
493         * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.
495         * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA.
496         (authdes_marshal): Don't use unsigned int for LEN.
497         * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2.
498         (xdr_u_hyper): Likewise.
499         (xdr_u_short): Don't use u_long for L.
500         * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2.
502         * inet/rexec.c (rexec_af): Use socklen_t.
503         * sunrpc/key_call.c (getkeyserv_handle): Likewise.
504         * sunrpc/rtime.c (rtime): Likewise.
505         * resolv/res_send.c (send_vc, send_dg): Likewise.
506         * nis/nis_callback.c (__nis_create_callback): Likewise.
508         * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr.
510         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
512         * libio/libio.h (_IO_BE): Add parenthesis around EXPR.
514         * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed.
515         (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
516         (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
517         * intl/bindtextdom.c (INTUSE): Macro removed.
518         (_nl_default_dirname): Use libc_hidden_proto.
519         (set_binding_values): Don't use INTUSE.
520         * include/libintl.h (_libc_intl_domainname_internal): Decl removed.
521         (_libc_intl_domainname): Use libc_hidden_proto.
522         * posix/regex_internal.h (gettext): Remove INTUSE on it.
523         * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def
524         rather than INTDEF.
525         * include/libintl.h (_): Don't use *_internal name.
527         * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t,
528         not uint32_t.
529         * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments.
531         * iconv/gconv_open.c (__gconv_open): Remove useless cast.
533         [BZ #721]
534         * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
535         of [RESOLVE_MAP].
536         * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.
537         * sysdeps/powerpc/powerpc32/dl-machine.h
538         (elf_machine_rel, elf_machine_rel_relative): Removed.
539         * sysdeps/powerpc/powerpc64/dl-machine.h
540         (elf_machine_rel, elf_machine_rel_relative): Removed.
542 2005-02-03  Alexandre Oliva  <aoliva@redhat.com>
544         [BZ #721]
545         * elf/dynamic-link.h: Don't declare nested auto functions that are
546         not going to be defined.
548 2004-07-23  Jakub Jelinek  <jakub@redhat.com>
550         [BZ #284]
551         * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define
552         if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined.
554 2005-02-16  Roland McGrath  <roland@redhat.com>
556         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn
557         inside [! SHARED] where it's used.
559 2005-02-15  Ulrich Drepper  <drepper@redhat.com>
561         * sysdeps/generic/bits/byteswap.h: Make sure result of all the
562         functions and macros is unsigned.
564 2005-02-11  Barry deFrese  <bddebian@comcast.net>
566         [BZ #722]
567         * sysdeps/mach/hurd/setresgid.c: Use weak_alias.
568         * sysdeps/mach/hurd/setresuid.c: Likewise.
570 2005-02-14  GOTO Masanori  <gotom@debian.or.jp>
572         * misc/sys/syslog.h: Fix typo in comment.
574 2005-02-14  Roland McGrath  <roland@redhat.com>
576         [BZ #720]
577         * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
578         if it wasn't originally.
580 2005-02-14  GOTO Masanori  <gotom@debian.or.jp>
582         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
583         getpeername entry.
584         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
585         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
587 2005-02-11  Jakub Jelinek  <jakub@redhat.com>
589         * scripts/soversions.awk: Only record first WORDSIZE{32,64}
590         matching line.
592 2005-02-14  Alan Modra  <amodra@bigpond.net.au>
594         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
595         with auto inline, and attribute always_inline.
596         (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
597         (elf_machine_rel, elf_machine_rel_relative): Likewise.
598         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
599         (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
600         (elf_machine_rel, elf_machine_rel_relative): Likewise.
601         (elf_machine_tprel): Likewise.
603 2005-02-14  Andreas Schwab  <schwab@suse.de>
605         * manual/filesys.texi (Random Access Directory): Fix type of file
606         position value for telldir and seekdir.
607         (Attribute Meanings): Fix typo.
609 2005-02-14  H.J. Lu  <hongjiu.lu@intel.com>
611         * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
612         isn't defined.
613         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
614         if SHARED isn't defined.
615         * elf/Makefile (tests-static): Add tst-array1-static.
616         ($(objpfx)tst-array1-static.out): New target.
617         * elf/tst-array1-static.c: New file.
619 2005-02-11  Jakub Jelinek  <jakub@redhat.com>
621         * debug/chk_fail.c (__chk_fail): Add a while (1) loop around
622         __libc_message to kill GCC warning about noreturn function returning.
624         * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag
625         before relocating ld.so again.
627         * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
628         for already prelinked ld.so.
630 2005-02-11  Roland McGrath  <roland@redhat.com>
632         [BZ #715]
633         * Makefile (installed-stubs): New variable.
634         Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no,
635         or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise.
636         [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs).
637         ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this
638         rule's target.
639         ($(inst_includedir)/gnu/stubs.h): New target, install from ...
640         * include/stubs-biarch.h: New file.
642         * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64.
644         * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig.
645         Emit defn for variable `biarch'.
647         * include/stub-tag.h: Update comment.
649         * scripts/soversions.awk: Fix default version set handling.
651 2005-02-10  Roland McGrath  <roland@redhat.com>
653         [BZ #157]
654         * include/libc-symbols.h (stub_warning): Emit a marker section called
655         .gnu.glibc-stub.NAME.
656         * Makerules ($(objpfx)stubs): Depend on object files, not dep files.
657         Use objdump to collect those marker section names.
658         ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
660         * Rules (subdir_objs, subdir_stubs): New phony targets.
661         * Makefile (+subdir_targets): Add them.
663         * Makerules ($(common-objpfx)Versions.all): Grok new leading column in
664         soversions.i.
666         * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
667         Reported by H.J. Lu <hongjiu.lu@intel.com>.
669         * scripts/lib-names.awk: Always print WORDSIZE32 section first when
670         doing two.
672 2005-02-10  Jakub Jelinek  <jakub@redhat.com>
674         * sysdeps/powerpc/powerpc32/bits/link.h: Removed.
675         * sysdeps/powerpc/powerpc64/bits/link.h: Moved to...
676         * sysdeps/powerpc/bits/link.h: ... here.  New file.
678 2005-02-09  Jakub Jelinek  <jakub@redhat.com>
680         [BZ #710]
681         * stdlib/random_r.c (__initstate_r): Save old state.
682         * stdlib/Makefile (tests): Add tst-random2.
683         * stdlib/tst-random2.c: New test.
684         Reported by Peter Bergner <bergner@vnet.ibm.com>.
686 2005-01-25  H.J. Lu  <hongjiu.lu@intel.com>
688         * dlfcn/dlfcn.c (init): Put it in .init_array section.
690 2005-02-10  Roland McGrath  <roland@redhat.com>
692         [BZ #632]
693         * scripts/soversions.awk: Expect cpu, vendor, os as separate variables
694         from command line.
695         Grok shlib-versions lines with WORDSIZE* in second column.
696         Add new leading column to output, DEFAULT for existing output lines.
697         Also emit lines with WORDSIZE* for alternate configurations.
698         * Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
699         ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
700         ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
701         of soversions.mk; replace inline shell script with use of ...
702         * scripts/lib-names.awk: New file.  If input has non-DEFAULT lines,
703         emit multiple sets of macros under #if.
704         * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
705         (s390x-.*-.*): Likewise for s390.
706         (powerpc64-.*-.*): Likewise for powerpc.
707         (sparc64-.*-.*): Likewise for sparc.
708         (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries
709         for these mapping back to the above.
711 2005-02-08  Jakub Jelinek  <jakub@redhat.com>
713         * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo.
715 2005-02-08  Andreas Schwab  <schwab@suse.de>
717         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of
718         RESOLVE.
720 2005-02-07  Richard Henderson  <rth@redhat.com>
722         * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.
724 2005-02-08  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
726         * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
727         RESOLVE.
729 2005-02-07  Ulrich Drepper  <drepper@redhat.com>
731         * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are
732         set correctly.
734 2005-01-07  Richard Henderson  <rth@redhat.com>
736         * math/math_private.h (__copysign): Define as builtin for gcc 4.
737         (__copysignf, __copysignl): Likewise.
738         * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
739         for gcc 4.0.
740         (copysignf, copysignl, fabsf, fabs): Likewise.
741         (__copysign, __copysignf, __copysignl): Remove.
742         (__fabs, __fabsf): Remove.
744 2005-01-07  Jakub Jelinek  <jakub@redhat.com>
746         [BZ #738]
747         * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
748         avoid writing to it if none of the standard search directories exist.
750 2005-02-07  Steven Munroe  <sjmunroe@us.ibm.com>
752         [BZ #700]
753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
754         (__novec_setcontext, __setcontext): Fix typo so CCR is restored.
755         Load MSR as a doubleword.
756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
757         (__novec_swapcontext, __swapcontext): Likewise.
759 2005-02-07  Ulrich Drepper  <drepper@redhat.com>
761         * iconv/iconv_prog.c (main): Provide more help in case on an error.
763         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
765 2005-02-07  Jakub Jelinek  <jakub@redhat.com>
767         [BZ #741]
768         * nscd/nscd.c (termination_handler): Avoid segfault if some database
769         is not enabled.
771         [BZ #741]
772         * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set
773         __nss_not_use_nscd_hosts and return -1.
774         * nscd/nscd_initgroups.c (__nscd_getgrouplist): If
775         initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1.
776         Avoid leaking sockets.
778 2005-01-28  Andreas Schwab  <schwab@suse.de>
779             H.J. Lu  <hongjiu.lu@intel.com>
781         [BZ #677]
782         * elf/dl-runtime.c (fixup): Change return type to
783         DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE,
784         DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation
785         values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to
786         store and retrieve relocation values.
787         (profile_fixup): Likewise.
788         * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for
789         l_reloc_result.
790         * sysdeps/generic/dl-fptr.h (link_map): Forward declaration.
791         * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New.
792         (DL_FIXUP_MAKE_VALUE): Likewise.
793         (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
794         (DL_FIXUP_VALUE_ADDR): Likewise.
795         (DL_FIXUP_ADDR_VALUE): Likewise.
796         * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc".
797         (DL_FIXUP_VALUE_TYPE): New.
798         (DL_FIXUP_MAKE_VALUE): Likewise.
799         (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
800         (DL_FIXUP_VALUE_ADDR): Likewise.
801         (DL_FIXUP_ADDR_VALUE): Likewise.
802         * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed.
803         (elf_machine_profile_plt): Removed.
804         (elf_machine_fixup_plt): Change return type and type of value
805         parameter to struct fdesc.
806         (elf_machine_plt_value): Likewise.
807         (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct
808         argument for elf_machine_fixup_plt.
810 2005-02-07  Jakub Jelinek  <jakub@redhat.com>
812         [BZ #742]
813         * nscd/nscd.init (reload): Print Reloading nscd: before and a newline
814         after the status string printed by killproc.
816 2004-11-18  Alexandre Oliva  <aoliva@redhat.com>
818         * manual/.cvsignore: Add dir-add.texi.
820 2005-02-06  Richard Henderson  <rth@redhat.com>
822         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
823         all the time.
825 2004-11-03  Marcus Brinkmann  <marcus@gnu.org>
827         * configure.in (sysnames): Append sysdeps/generic for each add-on.
828         * configure: Regenerated.
830 2005-02-02  Alfred M. Szmidt  <ams@gnu.org>
832         * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
833         (dtv_t): Change pointer type to be a struct which also contains
834         information whether the memory pointed to is static TLS or not.
836         * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
838         * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
839         (FALSEP): ... this.  Updated all references.
841         [BZ #765]
842         * libio/fmemopen.c: Include <stdint.h>.
844 2005-01-30  Ulrich Drepper  <drepper@redhat.com>
846         * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
847         * nscd/connections.c (send_ro_fd): Likewise.
849 2005-01-28  H.J. Lu  <hongjiu.lu@intel.com>
851         * elf/tst-auditmod1.c: Add ia64 entries.
852         * sysdeps/generic/ldsodefs.h (La_ia64_regs): New.
853         (La_ia64_retval): New.
854         (audit_ifaces): Add ia64 entries.
855         * sysdeps/ia64/bits/link.h: New file.
856         * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test
857         for dl_profile non-null.
858         (ARCH_LA_PLTENTER): New.
859         (ARCH_LA_PLTEXIT): New.
860         * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate
861         only 2 output registers. Allocate stack to save/restore
862         8 incoming fp registers. Call _dl_fixup instead of fixup.
863         (_dl_runtime_profile): Rewrite.
865 2005-01-28  Martin Schwidefsky  <schwidefsky@de.ibm.com>
867         * sysdeps/s390/bits/link.h: New file.
868         * sysdeps/s390/s390-32/dl-trampoline.S: New file.
869         * sysdeps/s390/s390-64/dl-trampoline.S: New file.
870         * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to
871         dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect
872         relocation code.
873         (elf_machine_runtime_setup): Test for dl_profile non-null.
874         (elf_machine_rela): Remove code using RESOLVE.
875         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
876         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
877         * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval,
878         La_s390_64_regs, La_s390_64_retval): New.
879         * elf/tst-auditmod1.c: Add s390 entries.
881         [BZ #743]
882         * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat,
883         strncat, memchr, strcmp): Add missing memory clobber.
885 2005-01-27  Ulrich Drepper  <drepper@redhat.com>
887         * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
888         copy gl_offs.  Patch by Sergey Tikhonov <tsv@solvo.ru>.
890 2005-01-27  Paolo Bonzini  <bonzini@gnu.org>
892         [BZ #558]
893         * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
894         Initialize the node sets in dfa->inveclosures.
895         (analyze): Initialize inveclosures only if it is needed.
896         Check errors from calc_inveclosure.
897         * posix/regex_internal.c (re_dfa_add_node): Do not initialize
898         the inveclosure node set.
899         * posix/regexec.c (re_search_internal): If nmatch includes unused
900         subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.
902         * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
903         Do build a SIMPLE_BRACKET token.
905         * posix/regexec.c (transit_state_mb): Do not examine nodes
906         where ACCEPT_MB is not set.
908 2005-01-27  Jakub Jelinek  <jakub@redhat.com>
910         * stdlib/tst-fmtmsg.c: Include stdlib.h.
911         * stdio-common/tst-fmemopen2.c: Include string.h.
912         * posix/execvp.c: Include stdbool.h.
914 2004-12-13  Paolo Bonzini  <bonzini@gnu.org>
916         Separate parsing and creation of the NFA.  Avoided recursion on
917         the (very unbalanced) parse tree.
918         [BZ #611]
919         * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
920         re_dfa_add_tree_node, mark_opt_subexp_iter): Removed.
921         (optimize_subexps, duplicate_tree, calc_first, calc_next,
922         mark_opt_subexp): Rewritten.
923         (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes,
924         create_token_tree, free_tree, free_token): New.
925         (analyze): Accept a regex_t *.  Invoke the passes via the preorder and
926         postorder generic visitors.  Do not initialize the fields in the
927         re_dfa_t that represent the transitions.
928         (free_dfa_content): Use free_token.
929         (re_compile_internal): Analyze before UTF-8 optimizations.  Do not
930         include optimization of subexpressions.
931         (create_initial_state): Fetch the DFA node index from the first node's
932         bin_tree_t *.
933         (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION.
934         Return on COMPLEX_BRACKET.
935         (duplicate_node_closure): Fix comment.
936         (duplicate_node): Do not initialize the fields in the
937         re_dfa_t that represent the transitions.
938         (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP.
939         (create_tree): Remove final argument.  All callers adjusted.  Rewritten
940         to use create_token_tree.
941         (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp,
942         build_charclass_op): Use create_tree or create_token_tree instead
943         of re_dfa_add_tree_node.
944         (parse_dup_op): Likewise.  Also free the tree using free_tree for
945         "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent
946         to "a|".  Adjust invocation of mark_opt_subexp.
947         (parse_sub_exp): Create a single SUBEXP node.
948         * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
949         always perform as if it was 1.  Do not initialize OPT_SUBEXP and
950         DUPLICATED, and initialize the DFA fields representing the transitions.
951         * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
952         (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens
953         section.  Add a tree-only code SUBEXP.  Remove OP_DELETED_SUBEXP.
954         (bin_tree_t): Include a full re_token_t for TOKEN.  Turn FIRST and
955         NEXT into pointers to trees.  Remove ECLOSURE.
957 2004-12-28  Paolo Bonzini  <bonzini@gnu.org >
959         [BZ #605]
960         * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
961         that were already created.
962         * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
963         in the token if needed.
964         (create_ci_newstate, create_cd_newstate): Set accept_mb field
965         from the tokens' field.
966         * posix/regex_internal.h (re_token_t): Add accept_mb field.
967         (ACCEPT_MB_NODE): Removed.
968         * posix/regexec.c (proceed_next_node, transit_states_mb,
969         build_sifted_states, check_arrival_add_next_nodes): Use
970         accept_mb instead of ACCEPT_MB_NODE.
972 2005-01-26  Ulrich Drepper  <drepper@redhat.com>
974         * debug/chk_fail.c (__chk_fail): Print program name in final message.
976         * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
977         MSG_NOSIGNAL being in 2.2 kernels.
979 2005-01-26  Jakub Jelinek  <jakub@redhat.com>
981         * sysdeps/unix/sysv/linux/i386/sysdep.h
982         (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm.
984         [BZ #693]
985         * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
986         (WORD_DELIM_CONSTRAINT): ...this.
987         (NOT_WORD_DELIM_CONSTRAINT): Define.
988         (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
989         change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
990         * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
991         anchor instead of INSIDE_WORD.
992         (parse_expression): Handle NOT_WORD_DELIM constraint.
993         * posix/bug-regex19.c (tests): Adjust tests that relied on \B
994         being inside word instead of not word delim.
995         * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
996         characters.
997         * posix/rxspencer/tests: Add some new tests.
999 2005-01-14  GOTO Masanori  <gotom@debian.or.jp>
1001         * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
1002         irrespective of Cflag.
1004         * manual/memory.texi (sbrk): Fix definition.
1005         * manual/string.texi (strcasestr): Fix example typo.
1007 2005-01-25  Roland McGrath  <roland@redhat.com>
1009         * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
1011 2005-01-23  Roland McGrath  <roland@redhat.com>
1013         [BZ #737]
1014         * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
1015         in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
1016         * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
1017         (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
1018         from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
1019         * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
1021 2005-01-25  Jakub Jelinek  <jakub@redhat.com>
1023         [BZ #731]
1024         * stdlib/fmtmsg.c (addseverity): Remove new_string variable.
1025         (free_mem): Don't free string.
1026         * stdlib/tst-fmtmsg.c: Include string.h.
1027         (main): Add some more tests.
1029 2005-01-25  Andreas Schwab  <schwab@suse.de>
1031         [BZ #736]
1032         * timezone/asia: Update from tzdata2005c.
1033         * timezone/backward: Likewise.
1034         * timezone/europe: Likewise.
1035         * timezone/leapseconds: Likewise.
1036         * timezone/northamerica: Likewise.
1037         * timezone/southamerica: Likewise.
1039         [BZ #736]
1040         * timezone/private.h: Update from tzcode2005c.
1041         * timezone/tzfile.h: Likewise.
1042         * timezone/zdump.c: Likewise.
1043         * timezone/zic.c: Likewise.
1045 2005-01-25  Ulrich Drepper  <drepper@redhat.com>
1047         * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using
1048         RESOLVE.
1049         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code
1050         using RESOLVE.
1051         * elf/rtld.c (_dl_start): Remove RESOLVE definition.
1053 2005-01-25  Alan Modra  <amodra@bigpond.net.au>
1055         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
1056         sym_map, not sym, against zero.
1058 2005-01-24  Ulrich Drepper  <drepper@redhat.com>
1060         [BZ #671]
1061         * misc/syslog.c: Moved to...
1062         * sysdeps/generic/syslog.c: ...here.
1063         [NO_SIGIPE]: Don't install SIGPIPE handler.
1064         * sysdeps/unix/sysv/linux/syslog.c: New file.
1065         * sysdeps/unix/sysv/linux/kernel-features.h: Define
1066         __ASSUME_MSG_NOSIGNAL.
1068 2005-01-22  Richard Henderson  <rth@redhat.com>
1070         * sysdeps/alpha/dl-trampoline.S: New file.
1071         * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
1072         Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
1073         (elf_machine_runtime_setup): Test for dl_profile non-null.
1074         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
1075         * sysdeps/alpha/bits/link.h: New file.
1076         * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
1077         (struct audit_ifaces): Add alpha entries.
1078         * elf/tst-auditmod1.c: Add alpha entries.
1080 2005-01-22  Ulrich Drepper  <drepper@redhat.com>
1082         * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here.
1083         * sysdeps/ia64/dl-trampoline.S: New file.
1085         * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in
1086         La_x86_64_xmm definition.
1088         * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
1089         pointer option.
1090         * stdlib/Makefile (CFLAGS-system.os): Use this instead of
1091         CFLAGS-system.c for frame pointer option.
1093 2005-01-21  Roland McGrath  <roland@redhat.com>
1095         * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
1096         * sysdeps/i386/dl-machine.h: Update decl.
1098 2005-01-21  Jakub Jelinek  <jakub@redhat.com>
1100         [BZ #735]
1101         * elf/Makefile: Add rules to build and run tst-align2.
1102         * elf/tst-align2.c: New test.
1103         * elf/tst-alignmod2.c: New file.
1104         * sysdeps/powerpc/tst-stack-align.h: New file.
1105         * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame
1106         pointer before calling _dl_init.
1107         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1109 2005-01-20  Ulrich Drepper  <drepper@redhat.com>
1111         * posix/execl.c: Do not allocate potentially large buffers on the
1112         stack.
1113         * posix/execle.c: Likewise.
1114         * posix/execlp.c: Likewise.
1115         * posix/execvp.c: Likewise.
1116         (script_execute): Removed.
1117         (allocate_scripts_argv): New function.  Called at most once to
1118         allocate memory, not every time a script is run.  Adjust caller.
1120         * sysdeps/generic/wordexp.c (exec_comm): Add a few
1121         TEMP_FAILURE_RETRY.  Reorganize code to avoid multiple calls to
1122         exec_comm_child.
1123         (exec_comm_child): Can now be inlined.
1125         * posix/Makefile: Add -fomit-frame-pointer for a few more files.
1126         * stdlib/Makefile: Likewise.
1128 2005-01-19  Roland McGrath  <roland@redhat.com>
1130         [BZ #681]
1131         * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
1132         argument to execlp.
1133         Reported by Marcus Meissner <meissner@suse.de>.
1135 2005-01-19  Jakub Jelinek  <jakub@redhat.com>
1137         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
1138         in assert.
1139         * iconv/strtab.c (strtabfinalize): Likewise.
1141         * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
1143 2005-01-17  Roland McGrath  <roland@redhat.com>
1145         [BZ #745]
1146         * nscd/Makefile (LDLIBS-nscd): New variable.
1147         ($(objpfx)nscd): Use that instead of selinux-LIBS.
1149         * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)).
1150         (link-extra-libs-static): Define to $(link-extra-libs).
1151         (link-extra-libs-bounded): Likewise.
1153 2005-01-17  Ulrich Drepper  <drepper@redhat.com>
1155         * include/link.h: Remove stray definition of pltenter.
1157 2005-01-16  GOTO Masanori  <gotom@debian.or.jp>
1159         [BZ #734]
1160         * sysdeps/unix/rewinddir.c: Reset filepos.
1161         * dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
1163 2005-01-15  Ulrich Drepper  <drepper@redhat.com>
1165         * elf/tst-auditmod1.c: Reduce duplication.
1167 2005-01-16  Andreas Schwab  <schwab@suse.de>
1169         * sysdeps/m68k/dl-machine.h: Remove trampoline code.  Define
1170         ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
1171         (elf_machine_runtime_setup): If profile != 0 does not anymore mean
1172         GLRO(dl_profile) != NULL.
1173         * sysdeps/m68k/dl-trampoline.S: New file.
1174         * sysdeps/m68k/bits/link.h: New file.
1175         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
1176         variants.
1177         * elf/tst-auditmod1.c: Add m68k support.
1179 2005-01-14  Ulrich Drepper  <drepper@redhat.com>
1181         * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
1182         LC_* variable.  Patch by Aharon Robbins <arnold@skeeve.com>.
1184         [BZ #731]
1185         * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
1186         * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
1188 2005-01-12  Ulrich Drepper  <drepper@redhat.com>
1190         * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
1191         callers from libc anymore.
1193         * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller
1194         to _dl_map_object_deps.
1195         * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory
1196         protections when loading auditing modules.
1198         * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail.
1200         * posix/getconf.c: Update copyright year.
1201         * nss/getent.c: Likewise.
1202         * nscd/nscd_nischeck.c: Likewise.
1203         * iconv/iconvconfig.c: Likewise.
1204         * iconv/iconv_prog.c: Likewise.
1205         * elf/ldconfig.c: Likewise.
1206         * catgets/gencat.c: Likewise.
1207         * csu/version.c: Likewise.
1208         * elf/ldd.bash.in: Likewise.
1209         * elf/sprof.c (print_version): Likewise.
1210         * locale/programs/locale.c: Likewise.
1211         * locale/programs/localedef.c: Likewise.
1212         * nscd/nscd.c (print_version): Likewise.
1213         * debug/xtrace.sh: Likewise.
1214         * malloc/memusage.sh: Likewise.
1215         * malloc/mtrace.pl: Likewise.
1216         * debug/catchsegv.sh: Likewise.
1218 2005-01-11  Thorsten Kukuk  <kukuk@suse.de>
1220         [BZ #733]
1221         * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN
1222         as backlog.
1223         * sunrpc/svc_unix.c (svcunix_create): Likewise.
1225         * grp/putgrent.c (putgrent): Don't write 0 as group
1226         ID if groupname starts with + or -.
1227         * pwd/putpwent.c (putpwent): Don't write 0 as user or
1228         group ID if user name starts with + or -.
1230 2005-01-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1232         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants.
1233         * sysdeps/elf/tst-auditmod1.c: Add sh support.
1234         * sysdeps/sh/bits/link.h: New.
1235         * sysdeps/sh/dl-machine.h: Remove trampoline code here.  Define
1236         ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.  Remove obsolete comments.
1237         (RTLD_START): Define __fpscr_values.
1238         * sysdeps/sh/dl-trampoline.S: New file.
1239         * sysdeps/sh/sh4/dl-trampoline.S: New file.
1240         * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values.
1241         * sysdeps/sh/sh4/dl-machine.h: Remove.
1243 2005-01-10  Jakub Jelinek  <jakub@redhat.com>
1245         [BZ #732]
1246         * time/tst-strptime.c (day_tests): Add 2 new tests.
1247         (test_tm, main): Issue an error instead of segfaulting if
1248         strptime returns NULL.
1250 2005-01-10  H.J. Lu  <hongjiu.lu@intel.com>
1252         * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union.
1253         * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise.
1255 2005-01-11  Ulrich Drepper  <drepper@redhat.com>
1257         * malloc/malloc.h: Remove no-glibc support.
1259 2005-01-12  GOTO Masanori  <gotom@debian.or.jp>
1261         [BZ #650]
1262         * malloc/malloc.h: Always include features.h.
1264 2005-01-10  Roland McGrath  <roland@redhat.com>
1266         * sysdeps/ia64/fpu/e_logl.c: File removed.
1268         * dlfcn/dlfcn.c (init): Fix typo in attribute decl.
1270 2005-01-10  Ulrich Drepper  <drepper@redhat.com>
1272         * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and
1273         recognition of last entry.
1275 2005-01-09  Ulrich Drepper  <drepper@redhat.com>
1277         * elf/dl-runtime.c: Include <sys/param.h>.
1279         * elf/Makefile (headers): Add bits/link.h.
1281 2005-01-09  Andreas Schwab  <schwab@suse.de>
1283         * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC.
1285 2005-01-09  Andreas Jaeger  <aj@suse.de>
1287         [BZ #732]
1288         * time/strptime_l.c (__strptime_internal): Add braces to avoid
1289         warning.
1291         * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0.
1293         * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
1295 2005-01-08  Jakub Jelinek  <jakub@redhat.com>
1297         * elf/Makefile (generated): Add tst-pie1{,.out,.o}.
1299 2005-01-09  Ulrich Drepper  <drepper@redhat.com>
1301         * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after
1302         those of all the regular objects.
1304         * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and
1305         use it to select the r_debug structure for that namespace.
1306         * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize.
1307         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1308         * elf/dl-open.c (_dl_open): Likewise.
1309         * elf/rtld.c (dl_main): Likewise.
1310         * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug
1311         member.
1312         (_dl_debug_initialize): Add new parameter in declaration.
1314         * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not
1315         called for the auditing objects themselves.
1316         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1318 2005-01-07  Ulrich Drepper  <drepper@redhat.com>
1320         * sysdeps/powerpc/powerpc64/dl-machine.h
1321         (elf_machine_runtime_setup): If profile != 0 does not anymore mean
1322         GLRO(dl_profile) != NULL.
1323         * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add
1324         padding.
1325         * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve):
1326         Extend _dl_prof_resolve to add pass extra parameters to
1327         _dl_profile_fixup and set up structure with register content.
1329         * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
1330         If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
1331         * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
1332         Extend _dl_prof_resolve to add pass extra parameters to
1333         _dl_profile_fixup and set up structure with register content.
1334         * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
1335         the register and result structures.
1336         * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
1337         in the 32-bit register and result structures.
1339         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
1341         * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file.
1342         * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here.
1343         Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
1344         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants.
1345         * elf/tst-auditmod1.c: Add ppc32 support.
1346         * sysdeps/powerpc/powerpc32/bits/link.h: New file.
1347         * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions.
1349         * malloc/malloc.c (malloc_printerr): Print program name as part of
1350         error message.
1352         * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define.
1353         * stdlib/stdlib.h: Make realloc with
1354         __attribute_warn_unused_result__ instead of __wur.
1355         * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__
1356         markers as in <stdlib.h>.
1358         * libio/stdio.h: Remove __wur from rename and remove.
1359         * posix/unistd.h: Remove __wur from dup2.
1361 2005-01-03  Andreas Jaeger  <aj@suse.de>
1363         * elf/Makefile (tests): Revert patch from 2005-01-03.
1365 2005-01-07  Ulrich Drepper  <drepper@redhat.com>
1367         * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't
1368         make __libc_init_first hidden.
1370         * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize
1371         l_relocated of rtld map.
1372         * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file.
1373         * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here.
1374         Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
1375         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants.
1376         * elf/tst-auditmod1.c: Add ppc64 support.
1377         * sysdeps/powerpc/powerpc64/bits/link.h: New file.
1379 2005-01-06  Roland McGrath  <roland@redhat.com>
1381         [BZ #633]
1382         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
1383         indicating file-name lookup errors, and return ENOSYS or EBADF instead.
1385 2005-01-06  Ulrich Drepper  <drepper@redhat.com>
1387         * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
1388         * sysdeps/generic/libc-start.c: Don't register program destructor here.
1390         * dlfcn/Makefile: Add rules to build dlfcn.c.
1391         (LDFLAGS-dl.so): Removed.
1392         * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
1393         table.
1394         * dlfcn/dlmopen.c: Likewise for _dl_open.
1395         * dlfcn/dlopen.c: Likewise.
1396         * dlfcn/dlopenold.c: Likewise.
1397         * elf/dl-libc.c: Likewise for _dl_open and _dl_close.
1398         * elf/Makefile (routines): Remove dl-open and dl-close.
1399         (dl-routines): Add dl-open, dl-close, and dl-trampoline.
1400         Add rules to build and run tst-audit1.
1401         * elf/tst-audit1.c: New file.
1402         * elf/tst-auditmod1.c: New file.
1403         * elf/Versions [libc]: Remove _dl_open and _dl_close.
1404         * elf/dl-close.c: Change for use inside ld.so instead of libc.so.
1405         * elf/dl-open.c: Likewise.
1406         * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
1407         signaled by nonzero parameter.
1408         * elf/dl-init.c: Fix use of r_state.
1409         * elf/dl-load.c: Likewise.
1411         * elf/dl-close.c: Add auditing checkpoints.
1412         * elf/dl-open.c: Likewise.
1413         * elf/dl-fini.c: Likewise.
1414         * elf/dl-load.c: Likewise.
1415         * elf/dl-sym.c: Likewise.
1416         * sysdeps/generic/libc-start.c: Likewise.
1417         * elf/dl-object.c: Allocate memory for auditing information.
1418         * elf/dl-reloc.c: Remove RESOLV.  We now always need the map.
1419         Correctly initialize slotinfo.
1420         * elf/dynamic-link.h: Adjust after removal of RESOLV.
1421         * sysdeps/hppa/dl-lookupcfg.h: Likewise.
1422         * sysdeps/ia64/dl-lookupcfg.h: Likewise.
1423         * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
1424         * elf/dl-runtime.c (_dl_fixup): Little cleanup.
1425         (_dl_profile_fixup): New parameters to point to register struct and
1426         variable for frame size.
1427         Add auditing checkpoints.
1428         (_dl_call_pltexit): New function.
1429         Don't define trampoline code here.
1430         * elf/rtld.c: Recognize LD_AUDIT.  Load modules on startup.
1431         Remove all the functions from _rtld_global_ro which only _dl_open
1432         and _dl_close needed.
1433         Add auditing checkpoints.
1434         * elf/link.h: Define symbols for auditing interfaces.
1435         * include/link.h: Likewise.
1436         * include/dlfcn.h: Define __RTLD_AUDIT.
1437         Remove prototypes for _dl_open and _dl_close.
1438         Adjust access to argc and argv in libdl.
1439         * dlfcn/dlfcn.c: New file.
1440         * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
1441         is gone.
1442         * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
1443         * sysdeps/generic/unsecvars.h: Add LD_AUDIT.
1444         * sysdeps/i386/dl-machine.h: Remove trampoline code here.
1445         Adjust for removal of RESOLVE.
1446         * sysdeps/x86_64/dl-machine.h: Likewise.
1447         * sysdeps/generic/dl-trampoline.c: New file.
1448         * sysdeps/i386/dl-trampoline.c: New file.
1449         * sysdeps/x86_64/dl-trampoline.c: New file.
1451         * sysdeps/generic/dl-tls.c: Cleanups.  Fixup for dtv_t change.
1452         Fix updating of DTV.
1453         * sysdeps/generic/libc-tls.c: Likewise.
1455         * sysdeps/arm/bits/link.h: Renamed to ...
1456         * sysdeps/arm/bits/linkmap.h: ...this.
1457         * sysdeps/generic/bits/link.h: Renamed to...
1458         * sysdeps/generic/bits/linkmap.h: ...this.
1459         * sysdeps/hppa/bits/link.h: Renamed to...
1460         * sysdeps/hppa/bits/linkmap.h: ...this.
1461         * sysdeps/i386/bits/link.h: Renamed to...
1462         * sysdeps/i386/bits/linkmap.h: ...this.
1463         * sysdeps/ia64/bits/link.h: Renamed to...
1464         * sysdeps/ia64/bits/linkmap.h: ...this.
1465         * sysdeps/s390/bits/link.h: Renamed to...
1466         * sysdeps/s390/bits/linkmap.h: ...this.
1467         * sysdeps/sh/bits/link.h: Renamed to...
1468         * sysdeps/sh/bits/linkmap.h: ...this.
1469         * sysdeps/x86_64/bits/link.h: Renamed to...
1470         * sysdeps/x86_64/bits/linkmap.h: ...this.
1472         * posix/unistd.h: Declare ftruncate for POSIX 2003.  [BZ #640]
1474 2004-12-22  Steven Munroe  <sjmunroe@us.ibm.com>
1476         [BZ #602]
1477         * math/libm-test.inc (rint_test_tonearest): New test.
1478         (rint_test_towardzero): New test.
1479         (rint_test_downward): New test.
1480         (rint_test_upward): New test.
1481         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case.
1482         Remove redundant const values.
1483         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case.
1484         Remove redundant const values.  Use float const.
1485         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case.
1486         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case.
1487         Use float const.
1488         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case.
1489         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case.
1490         Use float const.
1491         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case.
1492         Remove redundant const values.
1493         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case.
1494         Remove redundant const values.  Use float const.
1495         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case.
1496         Remove redundant const values.
1497         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case.
1498         Remove redundant const values.  Use float const.
1499         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword
1500         alignment.  Fix -0.0 case.  Remove redundant const values.
1501         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword
1502         alignment.  Fix -0.0 case.  Remove redundant const values.
1503         Use float const.
1504         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword
1505         alignment.  Fix -0.0 case.
1506         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword
1507         alignment.  Fix -0.0 case.  Use float const.
1508         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword
1509         alignment.  Fix -0.0 case.
1510         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword
1511         alignment.  Fix -0.0 case.  Use float const.
1512         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword
1513         alignment.  Fix -0.0 case.  Remove redundant const values.
1514         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword
1515         alignment.  Fix -0.0 case.  Remove redundant const values.
1516         Use float const.
1517         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword
1518         alignment.  Fix -0.0 case.
1519         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword
1520         alignment.  Fix -0.0 case.  Remove redundant const values.
1521         Use float const.
1523 2005-01-06  Ulrich Drepper  <drepper@redhat.com>
1525         * misc/sys/cdefs.h: Define __wur.
1526         * libio/stdio.h: Use __wur for a number of interfaces.
1527         * posix/unistd.h: Likewise.
1528         * stdlib/stdlib.h: Likewise.
1530 2004-12-29  Jakub Jelinek  <jakub@redhat.com>
1532         [BZ #592]
1533         * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use
1534         libc_hidden_proto instead of HIDDEN_PROTO.
1535         * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove.
1536         (__libm_error_support): If ASSEMBLER and in libc, define to
1537         HIDDEN_JUMPTARGET(__libm_error_support).
1539 2004-12-28  David Mosberger  <davidm@hpl.hp.com>
1541         [BZ #592]
1542         * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro.
1543         (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l}
1544         with $(duplicated-routines).
1545         (libm-sysdep_routines): Likewise, but substitute "s_" prefix for
1546         "m_" prefix.
1548 2004-12-27  David Mosberger  <davidm@hpl.hp.com>
1550         [BZ #592]
1551         * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and
1552         undefine "ret" macro.  Add __libm_error_support hidden definitions.
1554         [BZ #592]
1555         * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment.  Add
1556         missing portion of copyright statement.
1557         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
1558         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
1560         [BZ #592]
1561         * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment.  Add
1562         missing portion of copyright statement.
1563         (__ieee754_lgamma): Rename from lgamma().  Make lgamma() a weak alias.
1564         (__ieee754_gamma): Likewise.
1565         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
1566         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
1568 2004-12-09  H. J. Lu <hjl@lucon.org>
1570         [BZ #592]
1571         * sysdeps/ia64/fpu/s_nextafterl.c: Remove.
1572         * sysdeps/ia64/fpu/s_nexttoward.c: Likewise.
1573         * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise.
1574         * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c).
1575         * sysdeps/ia64/fpu/e_expl.S: Likewise.
1576         * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S).
1578 2004-11-18  David Mosberger  <davidm@hpl.hp.com>
1580         [BZ #592]
1581         * sysdeps/ia64/fpu/README: New file.
1582         * sysdeps/ia64/fpu/gen_import_file_list: New file.
1583         * sysdeps/ia64/fpu/import_check: Likewise.
1584         * sysdeps/ia64/fpu/import_diffs: Likewise.
1585         * sysdeps/ia64/fpu/import_file.awk: Likewise.
1586         * sysdeps/ia64/fpu/import_intel_libm: Likewise.
1587         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1589         [BZ #592]
1590         * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+.
1591         * sysdeps/ia64/fpu/e_acosf.S: Likewise.
1592         * sysdeps/ia64/fpu/e_acosl.S: Likewise.
1593         * sysdeps/ia64/fpu/e_asin.S: Likewise.
1594         * sysdeps/ia64/fpu/e_asinf.S: Likewise.
1595         * sysdeps/ia64/fpu/e_asinl.S: Likewise.
1596         * sysdeps/ia64/fpu/e_atan2.S: Likewise.
1597         * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
1598         * sysdeps/ia64/fpu/e_cosh.S: Likewise.
1599         * sysdeps/ia64/fpu/e_coshf.S: Likewise.
1600         * sysdeps/ia64/fpu/e_coshl.S: Likewise.
1601         * sysdeps/ia64/fpu/e_exp.S: Likewise.
1602         * sysdeps/ia64/fpu/e_expf.S: Likewise.
1603         * sysdeps/ia64/fpu/e_fmod.S: Likewise.
1604         * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
1605         * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
1606         * sysdeps/ia64/fpu/e_hypot.S: Likewise.
1607         * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
1608         * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
1609         * sysdeps/ia64/fpu/e_log.S: Likewise.
1610         * sysdeps/ia64/fpu/e_log2.S: Likewise.
1611         * sysdeps/ia64/fpu/e_log2f.S: Likewise.
1612         * sysdeps/ia64/fpu/e_log2l.S: Likewise.
1613         * sysdeps/ia64/fpu/e_logf.S: Likewise.
1614         * sysdeps/ia64/fpu/e_pow.S: Likewise.
1615         * sysdeps/ia64/fpu/e_powf.S: Likewise.
1616         * sysdeps/ia64/fpu/e_powl.S: Likewise.
1617         * sysdeps/ia64/fpu/e_remainder.S: Likewise.
1618         * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
1619         * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
1620         * sysdeps/ia64/fpu/e_scalb.S: Likewise.
1621         * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
1622         * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
1623         * sysdeps/ia64/fpu/e_sinh.S: Likewise.
1624         * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
1625         * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
1626         * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
1627         * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
1628         * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
1629         * sysdeps/ia64/fpu/libm_error.c: Likewise.
1630         * sysdeps/ia64/fpu/libm_reduce.c: Likewise.
1631         * sysdeps/ia64/fpu/libm_support.h: Likewise.
1632         * sysdeps/ia64/fpu/s_atan.S: Likewise.
1633         * sysdeps/ia64/fpu/s_atanf.S: Likewise.
1634         * sysdeps/ia64/fpu/s_atanl.S: Likewise.
1635         * sysdeps/ia64/fpu/s_cbrt.S: Likewise.
1636         * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
1637         * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
1638         * sysdeps/ia64/fpu/s_ceil.S: Likewise.
1639         * sysdeps/ia64/fpu/s_ceilf.S: Likewise.
1640         * sysdeps/ia64/fpu/s_ceill.S: Likewise.
1641         * sysdeps/ia64/fpu/s_cos.S: Likewise.
1642         * sysdeps/ia64/fpu/s_cosf.S: Likewise.
1643         * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1644         * sysdeps/ia64/fpu/s_expm1.S: Likewise.
1645         * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
1646         * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
1647         * sysdeps/ia64/fpu/s_fabs.S: Likewise.
1648         * sysdeps/ia64/fpu/s_fabsf.S: Likewise.
1649         * sysdeps/ia64/fpu/s_fabsl.S: Likewise.
1650         * sysdeps/ia64/fpu/s_floor.S: Likewise.
1651         * sysdeps/ia64/fpu/s_floorf.S: Likewise.
1652         * sysdeps/ia64/fpu/s_floorl.S: Likewise.
1653         * sysdeps/ia64/fpu/s_frexp.c: Likewise.
1654         * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
1655         * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
1656         * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
1657         * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
1658         * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
1659         * sysdeps/ia64/fpu/s_log1p.S: Likewise.
1660         * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
1661         * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
1662         * sysdeps/ia64/fpu/s_logb.S: Likewise.
1663         * sysdeps/ia64/fpu/s_logbf.S: Likewise.
1664         * sysdeps/ia64/fpu/s_logbl.S: Likewise.
1665         * sysdeps/ia64/fpu/s_modf.S: Likewise.
1666         * sysdeps/ia64/fpu/s_modff.S: Likewise.
1667         * sysdeps/ia64/fpu/s_modfl.S: Likewise.
1668         * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
1669         * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
1670         * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
1671         * sysdeps/ia64/fpu/s_rint.S: Likewise.
1672         * sysdeps/ia64/fpu/s_rintf.S: Likewise.
1673         * sysdeps/ia64/fpu/s_rintl.S: Likewise.
1674         * sysdeps/ia64/fpu/s_round.S: Likewise.
1675         * sysdeps/ia64/fpu/s_roundf.S: Likewise.
1676         * sysdeps/ia64/fpu/s_roundl.S: Likewise.
1677         * sysdeps/ia64/fpu/s_significand.S: Likewise.
1678         * sysdeps/ia64/fpu/s_significandf.S: Likewise.
1679         * sysdeps/ia64/fpu/s_significandl.S: Likewise.
1680         * sysdeps/ia64/fpu/s_tan.S: Likewise.
1681         * sysdeps/ia64/fpu/s_tanf.S: Likewise.
1682         * sysdeps/ia64/fpu/s_tanl.S: Likewise.
1683         * sysdeps/ia64/fpu/s_trunc.S: Likewise.
1684         * sysdeps/ia64/fpu/s_truncf.S: Likewise.
1685         * sysdeps/ia64/fpu/s_truncl.S: Likewise.
1687         [BZ #592]
1688         * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+.
1689         * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
1690         * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
1691         * sysdeps/ia64/fpu/e_atanh.S: Likewise.
1692         * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
1693         * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
1694         * sysdeps/ia64/fpu/e_exp10.S: Likewise.
1695         * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
1696         * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
1697         * sysdeps/ia64/fpu/e_exp2.S: Likewise.
1698         * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
1699         * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
1700         * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise.
1701         * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise.
1702         * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise.
1703         * sysdeps/ia64/fpu/e_logl.S: Likewise.
1704         * sysdeps/ia64/fpu/libm_frexp.S: Likewise.
1705         * sysdeps/ia64/fpu/libm_frexpf.S: Likewise.
1706         * sysdeps/ia64/fpu/libm_frexpl.S: Likewise.
1707         * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
1708         * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
1709         * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
1710         * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
1711         * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
1712         * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
1713         * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
1714         * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
1715         * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
1716         * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
1717         * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
1718         * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
1719         * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
1720         * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
1721         * sysdeps/ia64/fpu/s_asinh.S: Likewise.
1722         * sysdeps/ia64/fpu/s_asinhf.S: Likewise.
1723         * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
1724         * sysdeps/ia64/fpu/s_erf.S: Likewise.
1725         * sysdeps/ia64/fpu/s_erfc.S: Likewise.
1726         * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
1727         * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
1728         * sysdeps/ia64/fpu/s_erff.S: Likewise.
1729         * sysdeps/ia64/fpu/s_erfl.S: Likewise.
1730         * sysdeps/ia64/fpu/s_fdim.S: Likewise.
1731         * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
1732         * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
1733         * sysdeps/ia64/fpu/s_fma.S: Likewise.
1734         * sysdeps/ia64/fpu/s_fmaf.S: Likewise.
1735         * sysdeps/ia64/fpu/s_fmal.S: Likewise.
1736         * sysdeps/ia64/fpu/s_fmax.S: Likewise.
1737         * sysdeps/ia64/fpu/s_fmaxf.S: Likewise.
1738         * sysdeps/ia64/fpu/s_fmaxl.S: Likewise.
1739         * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
1740         * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
1741         * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
1742         * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
1743         * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
1744         * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
1745         * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
1746         * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
1747         * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
1748         * sysdeps/ia64/fpu/s_tanh.S: Likewise.
1749         * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
1750         * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
1751         * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
1752         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
1753         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
1754         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
1755         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
1756         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
1757         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
1759         [BZ #592]
1760         * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file.
1761         * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise.
1762         * sysdeps/ia64/fpu/e_gammal_r.c: Likewise.
1763         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
1764         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
1765         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
1766         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
1767         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
1768         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
1769         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
1770         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
1771         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
1772         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
1773         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
1774         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
1775         * sysdeps/ia64/fpu/w_expl.c: Likewise.
1776         * sysdeps/ia64/fpu/e_expl.S: Likewise.
1777         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
1778         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
1779         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
1780         * sysdeps/ia64/fpu/w_log2.c: Likewise.
1781         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
1782         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
1783         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
1784         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
1785         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
1787         [BZ #592]
1788         * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove.
1789         * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
1790         * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
1791         * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
1792         * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
1793         * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
1794         * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
1796         [BZ #592]
1797         * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file.
1798         * sysdeps/ia64/fpu/s_sincosf.c: Likewise.
1799         * sysdeps/ia64/fpu/s_sincosl.c: Likewise.
1801         [BZ #592]
1802         * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment.
1804         [BZ #592]
1805         * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l}
1806         alias for use by libm_error.c
1808         [BZ #592]
1809         * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove
1810         libm_atan2_reg, libm_tan, libm_frexp4{f,l}.
1811         Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l},
1812         libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l},
1813         libm_scalbn{,f,l}, libm_scalblnf.
1814         (sysdep_routines): Remove libm_frexp4{,f,l}.
1815         Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}.
1816         (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__,
1817         _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and
1818         -DSIZE_LONG_LONG_INT_64.
1820 2005-01-05  Steven Munroe  <sjmunroe@us.ibm.com>
1822         [BZ #729]
1823         * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and
1824         l_text_end are set for a VDSO with a single PT_LOAD entry.
1826 2005-01-05  Ulrich Drepper  <drepper@redhat.com>
1828         [BZ #730]
1829         * libio/iofopncook.c (_IO_cookie_seekoff): Define.  Mark offset as
1830         invalid to disable optimizations in fileops which won't work here.
1831         (_IO_cookie_jumps): Use it.
1832         (_IO_old_cookie_jumps): Likewise.
1833         * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P,
1834         not the return value.
1835         * stdio-common/Makefile (tests): Add tst-fmemopen2.
1836         * stdio-common/tst-fmemopen2.c: New file.
1838         * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD.
1840 2005-01-05  Roland McGrath  <roland@redhat.com>
1842         * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ...
1843         * sysdeps/i386/configure.in: ... here.  New file.
1845 2005-01-03  Ulrich Drepper  <drepper@redhat.com>
1847         [BZ #727]
1848         * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
1849         initialize __environ again.
1850         * stdlib/Makefile: Add rules to build and run tst-putenv.
1851         * stdlib/tst-putenv.c: New file.
1852         * stdlib/tst-putenvmod.c: New file.
1854         * sysdeps/unix/sysv/linux/init-first.c: Clean file up.  Don't
1855         define unnecessary wrappers or aliases of static functions.
1857 2005-01-03  Andreas Jaeger  <aj@suse.de>
1859         * csu/Makefile (generated): Add start.os and start.ob.
1861         * elf/Makefile (tests): Change rule for tst-pie1 so that make
1862         clean works.
1864 2004-12-29  Roland McGrath  <roland@redhat.com>
1866         [BZ #626]
1867         * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
1868         than always up; when nearest is zero, round up to one.
1870 2004-12-28  Ulrich Drepper  <drepper@redhat.com>
1872         * po/es.po: Update from translation team.
1874         [BZ #726]
1875         * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
1877 2004-12-27  Ulrich Drepper  <drepper@redhat.com>
1879         [BZ #744]
1880         * include/signal.h: Define __sigemptyset.
1882 2004-04-27  Paolo Bonzini  <bonzini@gnu.org>
1884         * posix/regex_internal.h (struct re_dfastate_t): Make
1885         word_trtable a pointer to the 512-item transition table.
1886         * posix/regexec.c (build_trtable): Fill in either state->trtable
1887         or state->word_trtable.  Return a boolean indicating success.
1888         (transit_state): Expect state->trtable to be a 256-item
1889         transition table.  Reorganize code to have less tests in
1890         the common case, and to save an indentation level.
1891         * posix/regex_internal.c (free_state): Free word_trtable.
1893 2004-12-21  Jakub Jelinek  <jakub@redhat.com>
1895         [BZ #723]
1896         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when
1897         calling fn is 16 byte aligned.
1898         * sysdeps/i386/tst-stack-align.h: New file.
1900         [BZ #725]
1901         * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
1902         (ecvt_r): Special case denormals.
1903         * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
1904         * misc/tst-efgcvt.c: Include float.h.
1905         (ecvt_tests): Add 2 new tests.
1907 2004-12-20  Roland McGrath  <roland@frob.com>
1909         * version.h (RELEASE, VERSION): development, 2.3.90
1910         * include/features.h (__GLIBC_MINOR__): Now 4.
1913 See ChangeLog.15 for earlier changes.