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