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