2.3.4-18
[glibc.git] / ChangeLog
blob829243751d4e773591967ae07a302d6ae8ccf50a
1 2005-03-25  Jakub Jelinek  <jakub@redhat.com>
3         * sysdeps/wordsize-64/strtol_l.c: Don't add aliases if UNSIGNED.
4         * sysdeps/wordsize-64/wcstol_l.c: Likewise.
6 2005-03-23  Jakub Jelinek  <jakub@redhat.com>
8         * nis/ypclnt.c (yp_2_yperr): Revert 2004-11-30 patch.
9         (ypprot_err): Use yp_2_yperr table also for YP_NODOM .. YP_NOMORE.
11 2005-03-22  Roland McGrath  <roland@redhat.com>
13         * locale/setlocale.c: Comment typo.
15         * scripts/versions.awk: No errors for GLIBC_PRIVATE.
17         * Versions.def (libdl, librt): Add GLIBC_2.3.4 version.
19         * scripts/versions.awk: Print all errors and die at the end.
20         Use library name in versions array keys.
22 2005-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
24         * elf/elf.h (PT_ARM_EXIDX): New macro.
26 2005-03-21  Thorsten Kukuk  <kukuk@suse.de>
28         * sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong):
29         Convert correctly between long/int on 64bit big-endian.
31 2005-03-21  David Mosberger  <davidm@hpl.hp.com>
33         * sysdeps/ia64/_mcount.S: Newer kernels don't like register-frames
34         with more than 8 output registers.  Fix this by passing original
35         ar.pfs to _mcount_ret_helper via r3.
37 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
39         [BZ #786]
40         * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Handle
41         GL(dl_tls_static_nelem) == GL(dl_tls_max_dtv_idx).
42         * elf/Makefile: Add rules to build and run tst-tls15.
43         * elf/tst-tls15.c: New test.
44         * elf/tst-tlsmod15a.c: New file.
45         * elf/tst-tlsmod15b.c: New file.
47 2005-03-20  Ulrich Drepper  <drepper@redhat.com>
49         * elf/rtld.c (dl_main): Always call init_tls if we have audit modules.
51 2005-03-20  Alfred M. Szmidt  <ams@gnu.org>
53         * elf/dl-open.c (dl_open_worker): Fix typo.
55 2005-03-20  Ulrich Drepper  <drepper@redhat.com>
57         * malloc/malloc.c (public_cALLOc): We cannot skip the memory
58         clearing if perturb_byte != 0.
60 2005-03-20  Jakub Jelinek  <jakub@redhat.com>
62         * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t
63         instead of __off_t for last argument.
64         * debug/Makefile (tests): Add tst-lfschk{1,2,3}.
65         * debug/tst-lfschk1.c: New test.
66         * debug/tst-lfschk2.c: New test.
67         * debug/tst-lfschk3.c: New test.
69 2005-02-09  Jakub Jelinek  <jakub@redhat.com>
71         * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define.
72         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC
73         and __USE_XOPEN guards to match linux/bits/termios.h.
74         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
75         (CMSPAR): Define.
76         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
78 2005-02-10  H.J. Lu  <hongjiu.lu@intel.com>
80         * sysdeps/ia64/elf/initfini.c: Add local _init and _fini labels.
82 2005-02-27  Denis Barbier  <barbier@debian.org>
84         [BZ #38]
85         * locale/iso-4217.def: Add CSD currency.
87 2005-03-19  Ulrich Drepper  <drepper@redhat.com>
89         * inet/test-ifaddrs.c: Use test-skeleton.
90         * inet/test_ifindex.c: Likewise.
92         * elf/dl-lookup.c (add_dependency): Always search l_initfini if
93         the list exists.
95         * elf/Makefile: Add rules to build and run order2.
96         * elf/order2.c: New file.
97         * elf/order2mod1.c: New file.
98         * elf/order2mod2.c: New file.
99         * elf/order2mod3.c: New file.
100         * elf/order2mod4.c: New file.
102 2005-03-19  Jakub Jelinek  <jakub@redhat.com>
104         * elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value,
105         it has been incremented before.
107 2005-03-18  Ulrich Drepper  <drepper@redhat.com>
109         * elf/dl-fini.c (_dl_fini): Split sorting of the maps in separate
110         function _dl_sort_fini.
111         (_dl_sort_fini): New function.
112         * sysdeps/generic/ldsodefs.h: Declare _dl_sort_fini.
113         * elf/dl-close.c (_dl_close): Call _dl_sort_fini before running
114         destructors to call them in the right order.
116 2005-02-07  Steven Munroe  <sjmunroe@us.ibm.com>
118         * sysdeps/powerpc/bits/link.h (La_ppc64_regs): Add lr_vrsave.
119         (La_ppc64_retval): Correct size of lrc_fp.
120         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_profile_resolve):
121         Fix up ABI problems and complete function.
123 2005-03-10  Jakub Jelinek  <jakub@redhat.com>
125         * math/test-misc.c (main): Add some more tests.
127 2005-03-17  Jakub Jelinek  <jakub@redhat.com>
129         * posix/regcomp.c (re_compile_fastmap_iter): Fix check for failed
130         __wcrtomb.  Check return values of other __wcrtomb calls.
131         * posix/regex_internal.c (build_wcs_buffer, re_string_skip_chars):
132         Change mbclen type to size_t.
133         (build_wcs_upper_buffer): Change mbclen and mbcdlen type to size_t.
134         Handle mb chars whose upper case doesn't have multibyte representation
135         in locale's charset.
137 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
139         * malloc/malloc.c (_int_icalloc, _int_icomalloc, iALLOc,
140         public_iCALLOc, public_iCALLOc, public_iCOMALLOc): Protect with
141         #ifndef _LIBC.
143         [BZ #779]
144         * malloc/malloc.c (public_mTRIm): Initialize malloc if not yet
145         initialized.
147 2005-03-10  Jakub Jelinek  <jakub@redhat.com>
149         * misc/sys/cdefs.h (__always_inline): Define.
150         * posix/bits/unistd.h (read, pread, pread64, readlink, getcwd, getwd):
151         Use __always_inline instead of __inline.
152         * socket/bits/socket2.h (recv, recvfrom): Likewise.
153         * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Likewise.
154         * string/bits/string3.h (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk,
155         __memset_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk,
156         __strcat_ichk, __strncat_ichk): Use __always_inline instead of
157         __inline__ __attribute__ ((__always_inline__)).
159 2005-03-09  Jakub Jelinek  <jakub@redhat.com>
161         * debug/tst-chk1.c: Include sys/socket.h and sys/un.h.
162         (do_test): Add new tests for recv, recvfrom, getcwd, getwd and
163         readlink.  Add some more tests for read, pread, pread64, fgets and
164         fgets_unlocked.
166         * posix/bits/unistd.h (read, pread, pread64, readlink,
167         getcwd, getwd): Change macros into extern inline functions.
168         (__read_alias, __pread_alias, __pread64_alias, __readlink_alias,
169         __getcwd_alias, __getwd_alias): New prototypes.
170         * socket/bits/socket2.h (recv, recvfrom): Change macros into
171         extern inline functions.
172         (__recv_alias, __recvfrom_alias): New prototypes.
173         * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Change macros
174         into extern inline functions.
175         (__gets_alias, __fgets_alias, __fgets_unlocked_alias): New prototypes.
177         * debug/pread_chk.c (__pread_chk): Fix order of arguments passed
178         to __pread.
179         * debug/pread64_chk.c (__pread64_chk): Fix order of arguments passed
180         to __pread64.
182 2005-03-18  Daniel Jacobowitz  <dan@codesourcery.com>
184         * configure.in: Use %function instead of @function.
186 2005-03-18  Ulrich Drepper  <drepper@redhat.com>
188         * include/link.h (struct link_map): Remove l_opencount.  Add l_removed.
189         Change type of l_idx to int.
190         * elf/dl-close.c: Basically rewrite.  Do not use l_opencount to
191         determine whether a DSO has to be unloaded.  Instead compute this
192         in this function.
193         * elf/dl-deps.c: No need to manipulate l_opencount anymore.
194         * elf/dl-lookup.c: Likewise.
195         * elf/rtld.c: Likewise
196         * elf/dl-open.c: Likewise.  Use l_init_called to determine whether
197         object was just loaded.
198         * elf/dl-fini.c: Bump l_direct_opencount instead of l_opencount.
199         * elf/dl-load.c (_dl_map_object_from_fd): Do not recognize DSO which
200         is about to be unloaded as a match.
201         (_dl_map_object): Likewise.
202         * elf/do-lookup.h (do_lookup_x): Do not look into DSO which is about
203         to be unloaded.
204         * elf/circleload1.c: Don't use l_opencount anymore.
205         * elf/neededtest.c: Likewise.
206         * elf/neededtest2.c: Likewise.
207         * elf/neededtest3.c: Likewise.
208         * elf/neededtest4.c: Likewise.
209         * elf/unload.c: Likewise.
210         * elf/unload2.c: Likewise.
211         * elf/loadtest.c: Likewise.
213         * elf/rtld.c: Preloading errors are now never fatal.
215 2005-03-08  Jakub Jelinek  <jakub@redhat.com>
217         * elf/Makefile: Add rules to build and run unload5 test.
218         * elf/unload5.c: New file.
220 2005-03-08  Jakub Jelinek  <jakub@redhat.com>
222         * elf/Makefile: Add rules to build and run unload4 test.
223         * elf/unload4.c: New file.
224         * elf/unload4mod1.c: New file.
225         * elf/unload4mod2.c: New file.
226         * elf/unload4mod3.c: New file.
227         * elf/unload4mod4.c: New file.
229 2005-03-17  Roland McGrath  <roland@redhat.com>
231         * nscd/aicache.c (addhstaiX): Tweak type to avoid warning.
233 2005-03-16  Richard Henderson  <rth@redhat.com>
235         * include/libc-symbols.h (__hidden_proto): Remove bogus declaration
236         of internal.
237         (__hidden_def1, __hidden_dot_def1): Remove.
238         (__hidden_def2, __hidden_def3): Remove.
239         (__hidden_ver1): New.
240         (hidden_ver, hidden_def, hidden_weak): Use it.
241         (hidden_data_ver, hidden_data_ver, hidden_data_weak): Use non-data
242         version of the macro.
244         * include/wchar.h (__wcscoll): Remove.
245         * wcsmbs/wcscoll.c: Define wcscoll directly instead of via __wcscoll.
246         * string/strcoll.c: Don't issue libc_hidden_def STRCOLL redefined.
248 2005-03-16  Daniel Jacobowitz  <dan@codesourcery.com>
250         * elf/elf.h: Define MIPS TLS relocations.
252 2005-03-16  Ulrich Drepper  <drepper@redhat.com>
254         * elf/circleload1.c (main): Pretty printing.
256 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
258         * sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword.
259         Patch by Dan Kegel <dank@kegel.com>.
261         * elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative,
262         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
263         Add inline keyword.
264         * sysdeps/alpha/dl-machine.h (elf_machine_rela,
265         elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline
266         attribute.
267         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
268         elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.  Change
269         static inline into auto inline.
270         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
271         elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
272         * sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela):
273         Likewise.
274         * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative,
275         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
276         Likewise.
278 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
280         [BZ #789]
281         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Fix asm constraints.
282         Remove memory clobber.
284         * sysdeps/x86_64/hp-timing.h (HP_TIMING_ACCUM): Make the addition
285         thread-safe.  Subtract GLRO(dl_hp_timing_overhead) from Diff.
287 2005-03-14  Jakub Jelinek  <jakub@redhat.com>
289         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Don't include
290         asm/types.h.
292 2005-03-10  GOTO Masanori  <gotom@debian.or.jp>
294         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and
295         MAP_NONBLOCK.
296         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
297         Correct MAP_GROWSDOWN value.
299 2005-03-13  Roland McGrath  <roland@redhat.com>
301         * elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps
302         version if there is one.  Only #error if macros are then undefined.
303         * sysdeps/generic/tls-macros.h: New file.
305 2005-03-10  GOTO Masanori  <gotom@debian.or.jp>
307         * sysdeps/hppa/configure.in: Remove old Makefile leftovers.
308         * sysdeps/hppa/configure: Regenerated.
310 2005-03-08  Roland McGrath  <roland@redhat.com>
312         * sysdeps/gnu/errlist-compat.awk: Use NERR in all array decls, so
313         array types match exactly in C alias decls.
315 2005-03-07  Ulrich Drepper  <drepper@redhat.com>
317         * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call
318         mallopt appropriately.
319         * malloc/malloc.h: Define M_PERTURB.
320         * malloc/malloc.c (perturb_byte): New variable.
321         (alloc_perturb, free_perturb): New macros.
322         (_int_malloc): Before returning, overwrite the memory if this is
323         requested.
324         (_int_free): Overwrite freed memory if requested.
325         (mALLOPt): Handle M_PERTURB.
326         * test-skeleton.c: Add call to mallopt with M_PERTURB command.
328         * elf/dl-close.c (_dl_close): Decrement l_opencount before
329         printing debug message.
330         * elf/dl-open.c (dl_open_worker): Always print the new opencount
331         in debug messages.
333 2005-03-06  Ulrich Drepper  <drepper@redhat.com>
335         * elf/dl-close.c (_dl_close): Unify debug message format.
337         * elf/dl-close.c (_dl_close): Print debug message just before
338         destroying a link map.
340         * elf/do-lookup.h (do_lookup_x): Add namespace info to debug output.
341         * elf/dl-version.c (match_symbol): Likewise.
343         * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code.
345         * debug/recv_chk.c (__recv_chk): Always fail if request could
346         overflow the buffer.
347         * debug/recvfrom_chk.c (__recvfrom_chk): Likewise.
348         * socket/bits/socket2.h (recv): Avoid calls to the _chk variant if
349         we know the call succeeds.
350         (recvfrom): Likewise.
352 2005-03-05  Ulrich Drepper  <drepper@redhat.com>
354         * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid
355         warning.
356         * posix/regex_internal.c (re_string_reconstruct): Add cast to
357         avoid warning.
358         (build_wcs_upper_buffer): Change type of bug to plain char.
359         * locale/weightwc.h (findidx): Add casts to avoid warnings.
360         * time/mktime.c (ranged_convert): Initialize tm to make the
361         compiler happy.
362         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add casts to avoid warnings.
363         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Add casts to avoid warnings.
364         * wcsmbs/mbsnrtowcs.c: Add casts to avoid warnings.
365         * wcsmbs/wcsrtombs.c (__wcsrtombs): Add casts to avoid warnings.
366         * wcsmbs/wcrtomb.c (__wcrtomb): Add casts to avoid warnings.
367         * wcsmbs/mbrtowc.c (__mbrtowc): Use unsigned char for outbuf.
368         * wcsmbs/wctob.c (wctob): Make buf array of unsigned char.
369         * sysdeps/generic/strchrnul.c: Add cast to avoid warning.
370         * libio/iofwide.c: Add casts to avoid warnings.
371         * stdio-common/printf-prs.c (parse_printf_format): Introduce new
372         variable f to avoid warnings.
373         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
374         Fix a few casts to avoid warnings.
375         * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned
376         to avoid warning.
378         * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using
379         dynamically sized array.
380         (build_wcs_upper_buffer): Likewise.
382 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
384         * include/bits/unistd.h: New file.
385         * include/bits/socket2.h: New file.
387 2005-03-05  Ulrich Drepper  <drepper@redhat.com>
389         * sunrpc/key_call.c: Remove doors support.
390         * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition.
391         * configure.in: Remove test for doors support which never existed.
392         * config.make.in: Remove have_doors entry.
394         * configure.in: Make sure at least gcc 3.4 is used.  Undo last change.
395         * config.make.in: Undo last change.
397         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Unconditionally use
398         -mtune.
400 2005-03-05  Roland McGrath  <roland@redhat.com>
402         * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl.
403         (_dl_out_of_memory): Use rtld_hidden_proto.
404         * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def.
405         (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory.
406         * elf/dl-open.c (_dl_open): Likewise.
407         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
409         * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *.
411         * elf/dl-addr.c (_dl_addr): Add a cast.
413         * elf/unload3mod4.c: Declare foo.
414         * elf/testobj2.c: Include <stdio.h>.
416         * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal
417         value constant, and use it in the defn.
418         * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl.
419         Use actual size for compat array decls.
421         * config.make.in (cc-mtune): New substituted variable.
422         * configure.in (libc_cv_cc_mtune): New test for -mtune= switch,
423         done only if libc_mtune_example is defined.
424         * sysdeps/i386/configure.in (libc_mtune_example): Set it.
425         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune).
427 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
429         * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define
430         unconditionally to (defined RTLD_BOOTSTRAP).
431         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise.
433 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
435         * Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of
436         $(inst_slibdir) in AS_NEEDED directive.
438 2005-03-03  Jakub Jelinek  <jakub@redhat.com>
440         * posix/bits/unistd.h (pread, pread64): Don't swap function arguments.
442 2005-03-01  H.J. Lu  <hongjiu.lu@intel.com>
444         [BZ #776]
445         * iconv/iconvconfig.c: Fix comment for the output file.
446         (write_output): Clear padding in header.
448 2005-03-03  Ulrich Drepper  <drepper@redhat.com>
450         * elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the
451         loader is closed.  Fixes unload3.
452         * elf/tst-global1.c: New file.
453         * elf/Makefile (tests): Add tst-global1.
454         * elf/testobj2.c (p): New function.
456 2005-03-03  Jakub Jelinek  <jakub@redhat.com>
458         * elf/Makefile: Add rules to build and run unload3 test.
459         * elf/unload3.c: New test.
460         * elf/unload3mod1.c: New file.
461         * elf/unload3mod2.c: New file.
462         * elf/unload3mod3.c: New file.
463         * elf/unload3mod4.c: New file.
465 2005-02-21  Alan Modra <amodra@bigpond.net.au>
467         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
468         use __uint128_t.
470 2005-03-01  Jakub Jelinek  <jakub@redhat.com>
472         * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead
473         of __bos.
474         * socket/bits/socket2.h (recv, recvfrom): Likewise.
476 2005-03-01  Roland McGrath  <roland@redhat.com>
478         [BZ #721]
479         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
480         of [RESOLVE_MAP].
482 2005-03-01  Alfred M. Szmidt  <ams@gnu.org>
484         [BZ #777]
485         * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]:
486         Add missing initializer.
488         [BZ #777]
489         * malloc/arena.c: #include <stdbool.h> outside of [SHARED &&
490         USE_TLS && !USE___THREAD].
492 2005-02-26  GOTO Masanori  <gotom@debian.or.jp>
494         * csu/Makefile: Use printf instead of echo for some shells.
496 2005-02-28  Roland McGrath  <roland@redhat.com>
498         * debug/warning-nop.c (__nop): Rename to nop, make it static.
499         (__warndecl): Use alias attribute directly, instead of strong_alias
500         macro.  Add attribute_hidden.
502 2005-02-28  Ulrich Drepper  <drepper@redhat.com>
504         * posix/bits/unistd.h: Avoid calling __*_chk variants if we can
505         determine the call will never trigger a failure.
506         * debug/read_chk.c (__read_chk): Always fail if the buffer is too
507         small.
508         * debug/readlink_chk.c (__readlink_chk): Likewise.
509         * debug/pread64_chk.c (__pread64_chk): Likewise.
510         * debug/pread_chk.c (__pread_chk): Likewise.
512         * sysdeps/i386/i686/memset_chk.S: Remove alias and warning.
513         * sysdeps/x86_64/memset_chk.S: Likewise.
515 2005-02-24  Roland McGrath  <roland@redhat.com>
517         * debug/Versions (libc: GLIBC_2.4): Remove
518         __memset_zero_constant_len_parameter.
519         * sysdeps/generic/memset_chk.c: Remove alias and warning.
520         * misc/sys/cdefs.h (__warndecl): New macro.
521         * debug/warning-nop.c: New file.
522         * string/bits/string3.h (memset): Call __warn_memset_zero_len with no
523         arguments, instead of calling __memset_zero_constant_len_parameter.
524         Use __warndecl for __warn_memset_zero_len.
525         * debug/Makefile (routines): Add $(static-only-routines).
526         (static-only-routines): New variable.
528 2005-02-27  Ulrich Drepper  <drepper@redhat.com>
530         * po/tr.po: Update from translation team.
532 2005-02-26  Ulrich Drepper  <drepper@redhat.com>
534         * elf/dl-addr.c: Cleanups.  Move declaration next to first use.
536         * dlfcn/dlerror.c (check_free): New function.  Extract common code
537         from fini and free_key_mem.  Check whether this is libdl in the
538         base namespace.
540 2005-02-25  Ulrich Drepper  <drepper@redhat.com>
542         * elf/dl-lookup.c (_dl_debug_bindings): Add namespace information
543         to debug output.
545 2004-11-11  Richard Sandiford  <rsandifo@redhat.com>
547         [BZ #758]
548         * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
549         preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
550         like __NR_N32_open.  Just include <asm/unistd.h> otherwise.
551         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
552         * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
553         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
554         standard __NR prefix.
555         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
556         * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
557         the output file is compatible with both pre-2.6 and 2.6 kernel headers.
558         Extract separate syscall lists for each ABI.
560 2005-02-23  Ulrich Drepper  <drepper@redhat.com>
562         * Makerules (libc.so): Add AS_NEEDED line for dynamic linker.
564         [BZ #719]
565         * elf/Makefile: Run tst-tls9-static again.
567 2005-02-22  Ulrich Drepper  <drepper@redhat.com>
569         [BZ #719]
570         * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the
571         slotinfo array.
572         (__libc_setup_tls): Initialize length of DTV based on array length.
573         * elf/dl-load.c: Revert last change.
574         * sysdeps/generic/dl-tls.c: Revert last change.
576         * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1,
577         tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2,
578         tst-execve1, tst-execve2, tst-execle1, and tst-execle2.
579         * posix/tst-execl1.c: New file.
580         * posix/tst-execl2.c: New file.
581         * posix/tst-execle1.c: New file.
582         * posix/tst-execle2.c: New file.
583         * posix/tst-execlp1.c: New file.
584         * posix/tst-execlp2.c: New file.
585         * posix/tst-execv1.c: New file.
586         * posix/tst-execv2.c: New file.
587         * posix/tst-execve1.c: New file.
588         * posix/tst-execve2.c: New file.
589         * posix/tst-execvp1.c: New file.
590         * posix/tst-execvp2.c: New file.
592 2005-02-22  Roland McGrath  <roland@redhat.com>
594         * include/signal.h: Revert last change.
595         (__sigemptyset): Use __builtin_memset instead of memset.
597 2005-02-22  Ulrich Drepper  <drepper@redhat.com>
599         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use
600         non-cancelable I/O functions.
602 2005-02-22  Jakub Jelinek  <jakub@redhat.com>
604         [BZ #769]
605         * nscd/nscd-client.h: Include sys/uio.h.
606         (__readall, __readvall, writeall): New prototypes.
607         * nscd/connections.c (writeall): New function.
608         (handle_request): Use it.
609         * nscd/aicache.c (addhstaiX): Likewise.
610         * nscd/initgrcache.c (addinitgroupsX): Likewise.
611         * nscd/hstcache.c (cache_addhst): Likewise.
612         * nscd/grpcache.c (cache_addgr): Likewise.
613         * nscd/pwdcache.c (cache_addpw): Likewise.
614         * nscd/nscd_helper.c (__readall, __readvall): New functions.
615         * nscd/nscd_getai.c (__nscd_getai): Use them.
616         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.
617         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
618         * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise.
619         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
621 2005-02-22  Roland McGrath  <roland@redhat.com>
623         * include/sys/socket.h: Declare __recv.
624         * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias.
625         * sysdeps/mach/hurd/recv.c: Likewise.
627         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for
628         __backtrace_* decls.
630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
631         (INTERNAL_SYSCALL_ERROR_P): Evalute VAL.  Parenthesize ERR.
632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
634         * include/signal.h: Include <string.h> for memset decl.
636 2005-02-22  Andreas Schwab  <schwab@suse.de>
638         * posix/execvp.c (execvp): Fix invalid free.
640 2005-02-22  Jakub Jelinek  <jakub@redhat.com>
642         * malloc/Makefile (CFLAGS-mcheck-init.c): Add.
643         * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for
644         librpcsvc.a objects.
646 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
648         * iconvdata/ibm930.h: Correct Yen mapping.
649         * iconvdata/ibm939.h: Likewise.
650         * iconvdata/testdata/IBM930..UTF8: Adjust test data.
651         * iconvdata/testdata/IBM939..UTF8: Likewise.
652         Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
654         * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
655         IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
656         (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
657         ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
658         ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
659         ibm1158.c, and ibm1158.h.
660         * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
661         IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
662         * iconvdata/gconv-modules: Likewise.
663         * iconvdata/ibm1025.c: New file.
664         * iconvdata/ibm1025.h: New file.
665         * iconvdata/ibm1122.c: New file.
666         * iconvdata/ibm1122.h: New file.
667         * iconvdata/ibm1137.c: New file.
668         * iconvdata/ibm1137.h: New file.
669         * iconvdata/ibm1153.c: New file.
670         * iconvdata/ibm1153.h: New file.
671         * iconvdata/ibm1154.c: New file.
672         * iconvdata/ibm1154.h: New file.
673         * iconvdata/ibm1155.c: New file.
674         * iconvdata/ibm1155.h: New file.
675         * iconvdata/ibm1156.c: New file.
676         * iconvdata/ibm1156.h: New file.
677         * iconvdata/ibm1157.c: New file.
678         * iconvdata/ibm1157.h: New file.
679         * iconvdata/ibm1158.c: New file.
680         * iconvdata/ibm1158.h: New file.
681         * iconvdata/testdata/IBM1025: New file.
682         * iconvdata/testdata/IBM1025..UTF8: New file.
683         * iconvdata/testdata/IBM1122: New file.
684         * iconvdata/testdata/IBM1122..UTF8: New file.
685         * iconvdata/testdata/IBM1137: New file.
686         * iconvdata/testdata/IBM1137..UTF8: New file.
687         * iconvdata/testdata/IBM1153: New file.
688         * iconvdata/testdata/IBM1153..UTF8: New file.
689         * iconvdata/testdata/IBM1154: New file.
690         * iconvdata/testdata/IBM1154..UTF8: New file.
691         * iconvdata/testdata/IBM1155: New file.
692         * iconvdata/testdata/IBM1155..UTF8: New file.
693         * iconvdata/testdata/IBM1156: New file.
694         * iconvdata/testdata/IBM1156..UTF8: New file.
695         * iconvdata/testdata/IBM1157: New file.
696         * iconvdata/testdata/IBM1157..UTF8: New file.
697         * iconvdata/testdata/IBM1158: New file.
698         * iconvdata/testdata/IBM1158..UTF8: New file.
699         Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
701 2005-02-10  Paolo Bonzini  <bonzini@gnu.org>
703         * posix/regcomp.c (lower_subexp): Do not optimize empty
704         subexpressions even with REG_NOSUB.
705         * posix/rxspencer/tests: Add a previously failing testcase.
707 2005-02-21  Alan Modra <amodra@bigpond.net.au>
709         [BZ #719]
710         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv
711         array index is within bounds.
713 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
715         [BZ #719]
716         * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically
717         linked code.
718         * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid.
719         * elf/Makefile: Remove rules to build and run tst-tls9-static.
721         [BZ #719]
722         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using
723         THREAD_DTV multiple times, this minimally reduces code size on
724         some archs.
726 2005-02-21  Jakub Jelinek  <jakub@redhat.com>
728         [BZ #768]
729         * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
730         NETDB_INTERNAL if buffer is too small.
732         [BZ #768]
733         * nscd/hstcache.c (INCR): Remove.
734         (addhstbyX): Double buflen in each iteration rather than add INCR.
735         * nscd/grpcache.c: Likewise.
736         * nscd/pwdcache.c: Likewise.
738 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
740         * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
741         map if requested.
742         * debug/chk_fail.c: Request backtrace and memory map dump.
744         * Versions.def: Add GLIBC_2.4 for libc.
745         * debug/fgets_chk.c: New file.
746         * debug/fgets_u_chk.c: New file.
747         * debug/getcwd_chk.c: New file.
748         * debug/getwd_chk.c: New file.
749         * debug/readlink_chk.c: New file.
750         * debug/read_chk.c: New file.
751         * debug/pread_chk.c: New file.
752         * debug/pread64_chk.c: New file.
753         * debug/recv_chk.c: New file.
754         * debug/recvfrom_chk.c: New file.
755         * debug/Versions: Add all new functions with version GLIBC_2.4.
756         * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
757         pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
758         getwd_chk, and getcwd_chk.  Plus appropriate CFLAGS definitions.
759         * debug/tst-chk1.c: Add more tests.
760         * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
761         * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
762         * posix/unistd.h: Include <bits/unistd.h> for fortification.
763         * posix/bits/unistd.h: New file.
764         * posix/Makefile (headers): Add bits/unistd.h.
765         * socket/sys/socket.h: Include <bits/socket2.h> for fortification.
766         * socket/bits/socket2.h: New file.
767         * socket/Makefile (headers): Add bits/socket2.h.
769         * string/bits/string3.h: Extend memset macro to check for zero 3rd
770         parameter and use __memset_zero_constant_len_parameter in that case.
771         * sysdeps/generic/memset_chk.c: Add
772         __memset_zero_constant_len_parameter alias and linker warning.
773         * debug/Versions: Add __memset_zero_constant_len_parameter to libc
774         with version GLIBC_2.4.
776         * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
777         in __STD_TYPE definition.
779 2005-02-21  Jakub Jelinek  <jakub@redhat.com>
781         * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
782         the error message rather than program name.
784 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
786         [BZ #767]
787         * posix/unistd.h: symlink and readlink are unconditionally
788         available in the 2001 spec.
790 2005-02-16  Roland McGrath  <roland@redhat.com>
792         * intl/dcigettext.c (_nl_find_msg): Add a cast.
794         * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR.
795         * nis/nis_clone_obj.c (nis_clone_object): Likewise.
796         * nis/nis_clone_res.c (nis_clone_result): Likewise.
798         * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char *
799         for END_OF_MESSAGE and CP.
801         * resolv/res_send.c (send_dg): Add else branch for case impossible
802         unless `poll' is buggy.
804         * crypt/crypt_util.c (__setkey_r): Add a cast.
806         * locale/programs/linereader.c (get_toplvl_escape): Use size_t for
807         NBYTES, and unsigned char * for BYTES.
809         * locale/programs/charmap.c (charmap_new_char): Use size_t and
810         unsighed char * for NBYTES, BYTES parameters.
812         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument
813         and cast it.
814         * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise.
816         * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES.
818         * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.
820         * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA.
821         (authdes_marshal): Don't use unsigned int for LEN.
822         * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2.
823         (xdr_u_hyper): Likewise.
824         (xdr_u_short): Don't use u_long for L.
825         * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2.
827         * inet/rexec.c (rexec_af): Use socklen_t.
828         * sunrpc/key_call.c (getkeyserv_handle): Likewise.
829         * sunrpc/rtime.c (rtime): Likewise.
830         * resolv/res_send.c (send_vc, send_dg): Likewise.
831         * nis/nis_callback.c (__nis_create_callback): Likewise.
833         * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr.
835         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
837         * libio/libio.h (_IO_BE): Add parenthesis around EXPR.
839         * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed.
840         (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
841         (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
842         * intl/bindtextdom.c (INTUSE): Macro removed.
843         (_nl_default_dirname): Use libc_hidden_proto.
844         (set_binding_values): Don't use INTUSE.
845         * include/libintl.h (_libc_intl_domainname_internal): Decl removed.
846         (_libc_intl_domainname): Use libc_hidden_proto.
847         * posix/regex_internal.h (gettext): Remove INTUSE on it.
848         * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def
849         rather than INTDEF.
850         * include/libintl.h (_): Don't use *_internal name.
852         * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t,
853         not uint32_t.
854         * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments.
856         * iconv/gconv_open.c (__gconv_open): Remove useless cast.
858         [BZ #721]
859         * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
860         of [RESOLVE_MAP].
861         * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.
862         * sysdeps/powerpc/powerpc32/dl-machine.h
863         (elf_machine_rel, elf_machine_rel_relative): Removed.
864         * sysdeps/powerpc/powerpc64/dl-machine.h
865         (elf_machine_rel, elf_machine_rel_relative): Removed.
867 2005-02-03  Alexandre Oliva  <aoliva@redhat.com>
869         [BZ #721]
870         * elf/dynamic-link.h: Don't declare nested auto functions that are
871         not going to be defined.
873 2004-07-23  Jakub Jelinek  <jakub@redhat.com>
875         [BZ #284]
876         * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define
877         if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined.
879 2005-02-16  Roland McGrath  <roland@redhat.com>
881         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn
882         inside [! SHARED] where it's used.
884 2005-02-15  Ulrich Drepper  <drepper@redhat.com>
886         * sysdeps/generic/bits/byteswap.h: Make sure result of all the
887         functions and macros is unsigned.
889 2005-02-11  Barry deFrese  <bddebian@comcast.net>
891         [BZ #722]
892         * sysdeps/mach/hurd/setresgid.c: Use weak_alias.
893         * sysdeps/mach/hurd/setresuid.c: Likewise.
895 2005-02-14  GOTO Masanori  <gotom@debian.or.jp>
897         * misc/sys/syslog.h: Fix typo in comment.
899 2005-02-14  Roland McGrath  <roland@redhat.com>
901         [BZ #720]
902         * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
903         if it wasn't originally.
905 2005-02-14  GOTO Masanori  <gotom@debian.or.jp>
907         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
908         getpeername entry.
909         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
910         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
912 2005-02-11  Jakub Jelinek  <jakub@redhat.com>
914         * scripts/soversions.awk: Only record first WORDSIZE{32,64}
915         matching line.
917 2005-02-14  Alan Modra  <amodra@bigpond.net.au>
919         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
920         with auto inline, and attribute always_inline.
921         (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
922         (elf_machine_rel, elf_machine_rel_relative): Likewise.
923         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
924         (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
925         (elf_machine_rel, elf_machine_rel_relative): Likewise.
926         (elf_machine_tprel): Likewise.
928 2005-02-14  Andreas Schwab  <schwab@suse.de>
930         * manual/filesys.texi (Random Access Directory): Fix type of file
931         position value for telldir and seekdir.
932         (Attribute Meanings): Fix typo.
934 2005-02-14  H.J. Lu  <hongjiu.lu@intel.com>
936         * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
937         isn't defined.
938         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
939         if SHARED isn't defined.
940         * elf/Makefile (tests-static): Add tst-array1-static.
941         ($(objpfx)tst-array1-static.out): New target.
942         * elf/tst-array1-static.c: New file.
944 2005-02-11  Jakub Jelinek  <jakub@redhat.com>
946         * debug/chk_fail.c (__chk_fail): Add a while (1) loop around
947         __libc_message to kill GCC warning about noreturn function returning.
949         * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag
950         before relocating ld.so again.
952         * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
953         for already prelinked ld.so.
955 2005-02-11  Roland McGrath  <roland@redhat.com>
957         [BZ #715]
958         * Makefile (installed-stubs): New variable.
959         Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no,
960         or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise.
961         [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs).
962         ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this
963         rule's target.
964         ($(inst_includedir)/gnu/stubs.h): New target, install from ...
965         * include/stubs-biarch.h: New file.
967         * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64.
969         * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig.
970         Emit defn for variable `biarch'.
972         * include/stub-tag.h: Update comment.
974         * scripts/soversions.awk: Fix default version set handling.
976 2005-02-09  Jakub Jelinek  <jakub@redhat.com>
978         * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define.
979         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Add __USE_MISC
980         and __USE_XOPEN guards to match linux/bits/termios.h.
981         (CMSPAR): Define.
982         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Add __USE_MISC
983         and __USE_XOPEN guards to match linux/bits/termios.h.
984         (CMSPAR): Define.
985         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC
986         and __USE_XOPEN guards to match linux/bits/termios.h.
988 2005-02-10  Roland McGrath  <roland@redhat.com>
990         [BZ #157]
991         * include/libc-symbols.h (stub_warning): Emit a marker section called
992         .gnu.glibc-stub.NAME.
993         * Makerules ($(objpfx)stubs): Depend on object files, not dep files.
994         Use objdump to collect those marker section names.
995         ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
997         * Rules (subdir_objs, subdir_stubs): New phony targets.
998         * Makefile (+subdir_targets): Add them.
1000         * Makerules ($(common-objpfx)Versions.all): Grok new leading column in
1001         soversions.i.
1003         * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
1004         Reported by H.J. Lu <hongjiu.lu@intel.com>.
1006         * scripts/lib-names.awk: Always print WORDSIZE32 section first when
1007         doing two.
1009 2005-02-10  Jakub Jelinek  <jakub@redhat.com>
1011         * sysdeps/powerpc/powerpc32/bits/link.h: Removed.
1012         * sysdeps/powerpc/powerpc64/bits/link.h: Moved to...
1013         * sysdeps/powerpc/bits/link.h: ... here.  New file.
1015 2005-02-09  Jakub Jelinek  <jakub@redhat.com>
1017         [BZ #710]
1018         * stdlib/random_r.c (__initstate_r): Save old state.
1019         * stdlib/Makefile (tests): Add tst-random2.
1020         * stdlib/tst-random2.c: New test.
1021         Reported by Peter Bergner <bergner@vnet.ibm.com>.
1023 2005-01-25  H.J. Lu  <hongjiu.lu@intel.com>
1025         * dlfcn/dlfcn.c (init): Put it in .init_array section.
1027 2005-02-10  Roland McGrath  <roland@redhat.com>
1029         [BZ #632]
1030         * scripts/soversions.awk: Expect cpu, vendor, os as separate variables
1031         from command line.
1032         Grok shlib-versions lines with WORDSIZE* in second column.
1033         Add new leading column to output, DEFAULT for existing output lines.
1034         Also emit lines with WORDSIZE* for alternate configurations.
1035         * Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
1036         ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
1037         ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
1038         of soversions.mk; replace inline shell script with use of ...
1039         * scripts/lib-names.awk: New file.  If input has non-DEFAULT lines,
1040         emit multiple sets of macros under #if.
1041         * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
1042         (s390x-.*-.*): Likewise for s390.
1043         (powerpc64-.*-.*): Likewise for powerpc.
1044         (sparc64-.*-.*): Likewise for sparc.
1045         (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries
1046         for these mapping back to the above.
1048 2005-02-08  Jakub Jelinek  <jakub@redhat.com>
1050         * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo.
1052 2005-02-08  Andreas Schwab  <schwab@suse.de>
1054         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of
1055         RESOLVE.
1057 2005-02-07  Richard Henderson  <rth@redhat.com>
1059         * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.
1061 2005-02-08  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1063         * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
1064         RESOLVE.
1066 2005-02-07  Ulrich Drepper  <drepper@redhat.com>
1068         * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are
1069         set correctly.
1071 2005-01-07  Richard Henderson  <rth@redhat.com>
1073         * math/math_private.h (__copysign): Define as builtin for gcc 4.
1074         (__copysignf, __copysignl): Likewise.
1075         * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
1076         for gcc 4.0.
1077         (copysignf, copysignl, fabsf, fabs): Likewise.
1078         (__copysign, __copysignf, __copysignl): Remove.
1079         (__fabs, __fabsf): Remove.
1081 2005-01-07  Jakub Jelinek  <jakub@redhat.com>
1083         [BZ #738]
1084         * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
1085         avoid writing to it if none of the standard search directories exist.
1087 2005-02-07  Steven Munroe  <sjmunroe@us.ibm.com>
1089         [BZ #700]
1090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1091         (__novec_setcontext, __setcontext): Fix typo so CCR is restored.
1092         Load MSR as a doubleword.
1093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1094         (__novec_swapcontext, __swapcontext): Likewise.
1096 2005-02-07  Ulrich Drepper  <drepper@redhat.com>
1098         * iconv/iconv_prog.c (main): Provide more help in case on an error.
1100         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
1102 2005-02-07  Jakub Jelinek  <jakub@redhat.com>
1104         [BZ #741]
1105         * nscd/nscd.c (termination_handler): Avoid segfault if some database
1106         is not enabled.
1108         [BZ #741]
1109         * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set
1110         __nss_not_use_nscd_hosts and return -1.
1111         * nscd/nscd_initgroups.c (__nscd_getgrouplist): If
1112         initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1.
1113         Avoid leaking sockets.
1115 2005-01-28  Andreas Schwab  <schwab@suse.de>
1116             H.J. Lu  <hongjiu.lu@intel.com>
1118         [BZ #677]
1119         * elf/dl-runtime.c (fixup): Change return type to
1120         DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE,
1121         DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation
1122         values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to
1123         store and retrieve relocation values.
1124         (profile_fixup): Likewise.
1125         * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for
1126         l_reloc_result.
1127         * sysdeps/generic/dl-fptr.h (link_map): Forward declaration.
1128         * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New.
1129         (DL_FIXUP_MAKE_VALUE): Likewise.
1130         (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
1131         (DL_FIXUP_VALUE_ADDR): Likewise.
1132         (DL_FIXUP_ADDR_VALUE): Likewise.
1133         * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc".
1134         (DL_FIXUP_VALUE_TYPE): New.
1135         (DL_FIXUP_MAKE_VALUE): Likewise.
1136         (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
1137         (DL_FIXUP_VALUE_ADDR): Likewise.
1138         (DL_FIXUP_ADDR_VALUE): Likewise.
1139         * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed.
1140         (elf_machine_profile_plt): Removed.
1141         (elf_machine_fixup_plt): Change return type and type of value
1142         parameter to struct fdesc.
1143         (elf_machine_plt_value): Likewise.
1144         (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct
1145         argument for elf_machine_fixup_plt.
1147 2005-02-07  Jakub Jelinek  <jakub@redhat.com>
1149         [BZ #742]
1150         * nscd/nscd.init (reload): Print Reloading nscd: before and a newline
1151         after the status string printed by killproc.
1153 2004-11-18  Alexandre Oliva  <aoliva@redhat.com>
1155         * manual/.cvsignore: Add dir-add.texi.
1157 2005-02-06  Richard Henderson  <rth@redhat.com>
1159         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
1160         all the time.
1162 2004-11-03  Marcus Brinkmann  <marcus@gnu.org>
1164         * configure.in (sysnames): Append sysdeps/generic for each add-on.
1165         * configure: Regenerated.
1167 2005-02-02  Alfred M. Szmidt  <ams@gnu.org>
1169         * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
1170         (dtv_t): Change pointer type to be a struct which also contains
1171         information whether the memory pointed to is static TLS or not.
1173         * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
1175         * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
1176         (FALSEP): ... this.  Updated all references.
1178         [BZ #765]
1179         * libio/fmemopen.c: Include <stdint.h>.
1181 2005-01-30  Ulrich Drepper  <drepper@redhat.com>
1183         * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
1184         * nscd/connections.c (send_ro_fd): Likewise.
1186 2005-01-28  H.J. Lu  <hongjiu.lu@intel.com>
1188         * elf/tst-auditmod1.c: Add ia64 entries.
1189         * sysdeps/generic/ldsodefs.h (La_ia64_regs): New.
1190         (La_ia64_retval): New.
1191         (audit_ifaces): Add ia64 entries.
1192         * sysdeps/ia64/bits/link.h: New file.
1193         * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test
1194         for dl_profile non-null.
1195         (ARCH_LA_PLTENTER): New.
1196         (ARCH_LA_PLTEXIT): New.
1197         * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate
1198         only 2 output registers. Allocate stack to save/restore
1199         8 incoming fp registers. Call _dl_fixup instead of fixup.
1200         (_dl_runtime_profile): Rewrite.
1202 2005-01-28  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1204         * sysdeps/s390/bits/link.h: New file.
1205         * sysdeps/s390/s390-32/dl-trampoline.S: New file.
1206         * sysdeps/s390/s390-64/dl-trampoline.S: New file.
1207         * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to
1208         dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect
1209         relocation code.
1210         (elf_machine_runtime_setup): Test for dl_profile non-null.
1211         (elf_machine_rela): Remove code using RESOLVE.
1212         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
1213         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1214         * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval,
1215         La_s390_64_regs, La_s390_64_retval): New.
1216         * elf/tst-auditmod1.c: Add s390 entries.
1218         [BZ #743]
1219         * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat,
1220         strncat, memchr, strcmp): Add missing memory clobber.
1222 2005-01-27  Ulrich Drepper  <drepper@redhat.com>
1224         * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
1225         copy gl_offs.  Patch by Sergey Tikhonov <tsv@solvo.ru>.
1227 2005-01-27  Paolo Bonzini  <bonzini@gnu.org>
1229         [BZ #558]
1230         * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
1231         Initialize the node sets in dfa->inveclosures.
1232         (analyze): Initialize inveclosures only if it is needed.
1233         Check errors from calc_inveclosure.
1234         * posix/regex_internal.c (re_dfa_add_node): Do not initialize
1235         the inveclosure node set.
1236         * posix/regexec.c (re_search_internal): If nmatch includes unused
1237         subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.
1239         * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
1240         Do build a SIMPLE_BRACKET token.
1242         * posix/regexec.c (transit_state_mb): Do not examine nodes
1243         where ACCEPT_MB is not set.
1245 2005-01-27  Jakub Jelinek  <jakub@redhat.com>
1247         * stdlib/tst-fmtmsg.c: Include stdlib.h.
1248         * stdio-common/tst-fmemopen2.c: Include string.h.
1249         * posix/execvp.c: Include stdbool.h.
1251 2004-12-13  Paolo Bonzini  <bonzini@gnu.org>
1253         Separate parsing and creation of the NFA.  Avoided recursion on
1254         the (very unbalanced) parse tree.
1255         [BZ #611]
1256         * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
1257         re_dfa_add_tree_node, mark_opt_subexp_iter): Removed.
1258         (optimize_subexps, duplicate_tree, calc_first, calc_next,
1259         mark_opt_subexp): Rewritten.
1260         (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes,
1261         create_token_tree, free_tree, free_token): New.
1262         (analyze): Accept a regex_t *.  Invoke the passes via the preorder and
1263         postorder generic visitors.  Do not initialize the fields in the
1264         re_dfa_t that represent the transitions.
1265         (free_dfa_content): Use free_token.
1266         (re_compile_internal): Analyze before UTF-8 optimizations.  Do not
1267         include optimization of subexpressions.
1268         (create_initial_state): Fetch the DFA node index from the first node's
1269         bin_tree_t *.
1270         (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION.
1271         Return on COMPLEX_BRACKET.
1272         (duplicate_node_closure): Fix comment.
1273         (duplicate_node): Do not initialize the fields in the
1274         re_dfa_t that represent the transitions.
1275         (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP.
1276         (create_tree): Remove final argument.  All callers adjusted.  Rewritten
1277         to use create_token_tree.
1278         (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp,
1279         build_charclass_op): Use create_tree or create_token_tree instead
1280         of re_dfa_add_tree_node.
1281         (parse_dup_op): Likewise.  Also free the tree using free_tree for
1282         "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent
1283         to "a|".  Adjust invocation of mark_opt_subexp.
1284         (parse_sub_exp): Create a single SUBEXP node.
1285         * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
1286         always perform as if it was 1.  Do not initialize OPT_SUBEXP and
1287         DUPLICATED, and initialize the DFA fields representing the transitions.
1288         * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
1289         (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens
1290         section.  Add a tree-only code SUBEXP.  Remove OP_DELETED_SUBEXP.
1291         (bin_tree_t): Include a full re_token_t for TOKEN.  Turn FIRST and
1292         NEXT into pointers to trees.  Remove ECLOSURE.
1294 2004-12-28  Paolo Bonzini  <bonzini@gnu.org >
1296         [BZ #605]
1297         * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
1298         that were already created.
1299         * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
1300         in the token if needed.
1301         (create_ci_newstate, create_cd_newstate): Set accept_mb field
1302         from the tokens' field.
1303         * posix/regex_internal.h (re_token_t): Add accept_mb field.
1304         (ACCEPT_MB_NODE): Removed.
1305         * posix/regexec.c (proceed_next_node, transit_states_mb,
1306         build_sifted_states, check_arrival_add_next_nodes): Use
1307         accept_mb instead of ACCEPT_MB_NODE.
1309 2005-01-26  Ulrich Drepper  <drepper@redhat.com>
1311         * debug/chk_fail.c (__chk_fail): Print program name in final message.
1313         * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
1314         MSG_NOSIGNAL being in 2.2 kernels.
1316 2005-01-26  Jakub Jelinek  <jakub@redhat.com>
1318         * sysdeps/unix/sysv/linux/i386/sysdep.h
1319         (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm.
1321         [BZ #693]
1322         * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
1323         (WORD_DELIM_CONSTRAINT): ...this.
1324         (NOT_WORD_DELIM_CONSTRAINT): Define.
1325         (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
1326         change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
1327         * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
1328         anchor instead of INSIDE_WORD.
1329         (parse_expression): Handle NOT_WORD_DELIM constraint.
1330         * posix/bug-regex19.c (tests): Adjust tests that relied on \B
1331         being inside word instead of not word delim.
1332         * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
1333         characters.
1334         * posix/rxspencer/tests: Add some new tests.
1336 2005-01-14  GOTO Masanori  <gotom@debian.or.jp>
1338         * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
1339         irrespective of Cflag.
1341         * manual/memory.texi (sbrk): Fix definition.
1342         * manual/string.texi (strcasestr): Fix example typo.
1344 2005-01-25  Roland McGrath  <roland@redhat.com>
1346         * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
1348 2005-01-23  Roland McGrath  <roland@redhat.com>
1350         [BZ #737]
1351         * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
1352         in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
1353         * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
1354         (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
1355         from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
1356         * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
1358 2005-01-25  Jakub Jelinek  <jakub@redhat.com>
1360         [BZ #731]
1361         * stdlib/fmtmsg.c (addseverity): Remove new_string variable.
1362         (free_mem): Don't free string.
1363         * stdlib/tst-fmtmsg.c: Include string.h.
1364         (main): Add some more tests.
1366 2005-01-25  Andreas Schwab  <schwab@suse.de>
1368         [BZ #736]
1369         * timezone/asia: Update from tzdata2005c.
1370         * timezone/backward: Likewise.
1371         * timezone/europe: Likewise.
1372         * timezone/leapseconds: Likewise.
1373         * timezone/northamerica: Likewise.
1374         * timezone/southamerica: Likewise.
1376         [BZ #736]
1377         * timezone/private.h: Update from tzcode2005c.
1378         * timezone/tzfile.h: Likewise.
1379         * timezone/zdump.c: Likewise.
1380         * timezone/zic.c: Likewise.
1382 2005-01-25  Ulrich Drepper  <drepper@redhat.com>
1384         * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using
1385         RESOLVE.
1386         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code
1387         using RESOLVE.
1388         * elf/rtld.c (_dl_start): Remove RESOLVE definition.
1390 2005-01-25  Alan Modra  <amodra@bigpond.net.au>
1392         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
1393         sym_map, not sym, against zero.
1395 2005-01-24  Ulrich Drepper  <drepper@redhat.com>
1397         [BZ #671]
1398         * misc/syslog.c: Moved to...
1399         * sysdeps/generic/syslog.c: ...here.
1400         [NO_SIGIPE]: Don't install SIGPIPE handler.
1401         * sysdeps/unix/sysv/linux/syslog.c: New file.
1402         * sysdeps/unix/sysv/linux/kernel-features.h: Define
1403         __ASSUME_MSG_NOSIGNAL.
1405 2005-01-22  Richard Henderson  <rth@redhat.com>
1407         * sysdeps/alpha/dl-trampoline.S: New file.
1408         * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
1409         Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
1410         (elf_machine_runtime_setup): Test for dl_profile non-null.
1411         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
1412         * sysdeps/alpha/bits/link.h: New file.
1413         * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
1414         (struct audit_ifaces): Add alpha entries.
1415         * elf/tst-auditmod1.c: Add alpha entries.
1417 2005-01-22  Ulrich Drepper  <drepper@redhat.com>
1419         * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here.
1420         * sysdeps/ia64/dl-trampoline.S: New file.
1422         * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in
1423         La_x86_64_xmm definition.
1425         * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
1426         pointer option.
1427         * stdlib/Makefile (CFLAGS-system.os): Use this instead of
1428         CFLAGS-system.c for frame pointer option.
1430 2005-01-21  Roland McGrath  <roland@redhat.com>
1432         * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
1433         * sysdeps/i386/dl-machine.h: Update decl.
1435 2005-01-21  Jakub Jelinek  <jakub@redhat.com>
1437         [BZ #735]
1438         * elf/Makefile: Add rules to build and run tst-align2.
1439         * elf/tst-align2.c: New test.
1440         * elf/tst-alignmod2.c: New file.
1441         * sysdeps/powerpc/tst-stack-align.h: New file.
1442         * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame
1443         pointer before calling _dl_init.
1444         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1446 2005-01-20  Ulrich Drepper  <drepper@redhat.com>
1448         * posix/execl.c: Do not allocate potentially large buffers on the
1449         stack.
1450         * posix/execle.c: Likewise.
1451         * posix/execlp.c: Likewise.
1452         * posix/execvp.c: Likewise.
1453         (script_execute): Removed.
1454         (allocate_scripts_argv): New function.  Called at most once to
1455         allocate memory, not every time a script is run.  Adjust caller.
1457         * sysdeps/generic/wordexp.c (exec_comm): Add a few
1458         TEMP_FAILURE_RETRY.  Reorganize code to avoid multiple calls to
1459         exec_comm_child.
1460         (exec_comm_child): Can now be inlined.
1462         * posix/Makefile: Add -fomit-frame-pointer for a few more files.
1463         * stdlib/Makefile: Likewise.
1465 2005-01-19  Roland McGrath  <roland@redhat.com>
1467         [BZ #681]
1468         * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
1469         argument to execlp.
1470         Reported by Marcus Meissner <meissner@suse.de>.
1472 2005-01-19  Jakub Jelinek  <jakub@redhat.com>
1474         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
1475         in assert.
1476         * iconv/strtab.c (strtabfinalize): Likewise.
1478         * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
1480 2005-01-17  Roland McGrath  <roland@redhat.com>
1482         [BZ #745]
1483         * nscd/Makefile (LDLIBS-nscd): New variable.
1484         ($(objpfx)nscd): Use that instead of selinux-LIBS.
1486         * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)).
1487         (link-extra-libs-static): Define to $(link-extra-libs).
1488         (link-extra-libs-bounded): Likewise.
1490 2005-01-17  Ulrich Drepper  <drepper@redhat.com>
1492         * include/link.h: Remove stray definition of pltenter.
1494 2005-01-16  GOTO Masanori  <gotom@debian.or.jp>
1496         [BZ #734]
1497         * sysdeps/unix/rewinddir.c: Reset filepos.
1498         * dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
1500 2005-01-15  Ulrich Drepper  <drepper@redhat.com>
1502         * elf/tst-auditmod1.c: Reduce duplication.
1504 2005-01-16  Andreas Schwab  <schwab@suse.de>
1506         * sysdeps/m68k/dl-machine.h: Remove trampoline code.  Define
1507         ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
1508         (elf_machine_runtime_setup): If profile != 0 does not anymore mean
1509         GLRO(dl_profile) != NULL.
1510         * sysdeps/m68k/dl-trampoline.S: New file.
1511         * sysdeps/m68k/bits/link.h: New file.
1512         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
1513         variants.
1514         * elf/tst-auditmod1.c: Add m68k support.
1516 2005-01-14  Ulrich Drepper  <drepper@redhat.com>
1518         * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
1519         LC_* variable.  Patch by Aharon Robbins <arnold@skeeve.com>.
1521         [BZ #731]
1522         * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
1523         * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
1525 2005-01-12  Ulrich Drepper  <drepper@redhat.com>
1527         * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
1528         callers from libc anymore.
1530         * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller
1531         to _dl_map_object_deps.
1532         * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory
1533         protections when loading auditing modules.
1535         * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail.
1537         * posix/getconf.c: Update copyright year.
1538         * nss/getent.c: Likewise.
1539         * nscd/nscd_nischeck.c: Likewise.
1540         * iconv/iconvconfig.c: Likewise.
1541         * iconv/iconv_prog.c: Likewise.
1542         * elf/ldconfig.c: Likewise.
1543         * catgets/gencat.c: Likewise.
1544         * csu/version.c: Likewise.
1545         * elf/ldd.bash.in: Likewise.
1546         * elf/sprof.c (print_version): Likewise.
1547         * locale/programs/locale.c: Likewise.
1548         * locale/programs/localedef.c: Likewise.
1549         * nscd/nscd.c (print_version): Likewise.
1550         * debug/xtrace.sh: Likewise.
1551         * malloc/memusage.sh: Likewise.
1552         * malloc/mtrace.pl: Likewise.
1553         * debug/catchsegv.sh: Likewise.
1555 2005-01-11  Thorsten Kukuk  <kukuk@suse.de>
1557         [BZ #733]
1558         * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN
1559         as backlog.
1560         * sunrpc/svc_unix.c (svcunix_create): Likewise.
1562         * grp/putgrent.c (putgrent): Don't write 0 as group
1563         ID if groupname starts with + or -.
1564         * pwd/putpwent.c (putpwent): Don't write 0 as user or
1565         group ID if user name starts with + or -.
1567 2005-01-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1569         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants.
1570         * sysdeps/elf/tst-auditmod1.c: Add sh support.
1571         * sysdeps/sh/bits/link.h: New.
1572         * sysdeps/sh/dl-machine.h: Remove trampoline code here.  Define
1573         ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.  Remove obsolete comments.
1574         (RTLD_START): Define __fpscr_values.
1575         * sysdeps/sh/dl-trampoline.S: New file.
1576         * sysdeps/sh/sh4/dl-trampoline.S: New file.
1577         * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values.
1578         * sysdeps/sh/sh4/dl-machine.h: Remove.
1580 2005-01-10  Jakub Jelinek  <jakub@redhat.com>
1582         [BZ #732]
1583         * time/tst-strptime.c (day_tests): Add 2 new tests.
1584         (test_tm, main): Issue an error instead of segfaulting if
1585         strptime returns NULL.
1587 2005-01-10  H.J. Lu  <hongjiu.lu@intel.com>
1589         * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union.
1590         * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise.
1592 2005-01-11  Ulrich Drepper  <drepper@redhat.com>
1594         * malloc/malloc.h: Remove no-glibc support.
1596 2005-01-12  GOTO Masanori  <gotom@debian.or.jp>
1598         [BZ #650]
1599         * malloc/malloc.h: Always include features.h.
1601 2005-01-10  Roland McGrath  <roland@redhat.com>
1603         * sysdeps/ia64/fpu/e_logl.c: File removed.
1605         * dlfcn/dlfcn.c (init): Fix typo in attribute decl.
1607 2005-01-10  Ulrich Drepper  <drepper@redhat.com>
1609         * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and
1610         recognition of last entry.
1612 2005-01-09  Ulrich Drepper  <drepper@redhat.com>
1614         * elf/dl-runtime.c: Include <sys/param.h>.
1616         * elf/Makefile (headers): Add bits/link.h.
1618 2005-01-09  Andreas Schwab  <schwab@suse.de>
1620         * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC.
1622 2005-01-09  Andreas Jaeger  <aj@suse.de>
1624         [BZ #732]
1625         * time/strptime_l.c (__strptime_internal): Add braces to avoid
1626         warning.
1628         * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0.
1630         * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
1632 2005-01-08  Jakub Jelinek  <jakub@redhat.com>
1634         * elf/Makefile (generated): Add tst-pie1{,.out,.o}.
1636 2005-01-09  Ulrich Drepper  <drepper@redhat.com>
1638         * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after
1639         those of all the regular objects.
1641         * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and
1642         use it to select the r_debug structure for that namespace.
1643         * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize.
1644         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1645         * elf/dl-open.c (_dl_open): Likewise.
1646         * elf/rtld.c (dl_main): Likewise.
1647         * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug
1648         member.
1649         (_dl_debug_initialize): Add new parameter in declaration.
1651         * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not
1652         called for the auditing objects themselves.
1653         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1655 2005-01-07  Ulrich Drepper  <drepper@redhat.com>
1657         * sysdeps/powerpc/powerpc64/dl-machine.h
1658         (elf_machine_runtime_setup): If profile != 0 does not anymore mean
1659         GLRO(dl_profile) != NULL.
1660         * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add
1661         padding.
1662         * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve):
1663         Extend _dl_prof_resolve to add pass extra parameters to
1664         _dl_profile_fixup and set up structure with register content.
1666         * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
1667         If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
1668         * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
1669         Extend _dl_prof_resolve to add pass extra parameters to
1670         _dl_profile_fixup and set up structure with register content.
1671         * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
1672         the register and result structures.
1673         * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
1674         in the 32-bit register and result structures.
1676         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
1678         * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file.
1679         * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here.
1680         Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
1681         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants.
1682         * elf/tst-auditmod1.c: Add ppc32 support.
1683         * sysdeps/powerpc/powerpc32/bits/link.h: New file.
1684         * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions.
1686         * malloc/malloc.c (malloc_printerr): Print program name as part of
1687         error message.
1689         * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define.
1690         * stdlib/stdlib.h: Make realloc with
1691         __attribute_warn_unused_result__ instead of __wur.
1692         * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__
1693         markers as in <stdlib.h>.
1695         * libio/stdio.h: Remove __wur from rename and remove.
1696         * posix/unistd.h: Remove __wur from dup2.
1698 2005-01-03  Andreas Jaeger  <aj@suse.de>
1700         * elf/Makefile (tests): Revert patch from 2005-01-03.
1702 2005-01-07  Ulrich Drepper  <drepper@redhat.com>
1704         * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't
1705         make __libc_init_first hidden.
1707         * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize
1708         l_relocated of rtld map.
1709         * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file.
1710         * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here.
1711         Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
1712         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants.
1713         * elf/tst-auditmod1.c: Add ppc64 support.
1714         * sysdeps/powerpc/powerpc64/bits/link.h: New file.
1716 2005-01-06  Roland McGrath  <roland@redhat.com>
1718         [BZ #633]
1719         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
1720         indicating file-name lookup errors, and return ENOSYS or EBADF instead.
1722 2005-01-06  Ulrich Drepper  <drepper@redhat.com>
1724         * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
1725         * sysdeps/generic/libc-start.c: Don't register program destructor here.
1727         * dlfcn/Makefile: Add rules to build dlfcn.c.
1728         (LDFLAGS-dl.so): Removed.
1729         * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
1730         table.
1731         * dlfcn/dlmopen.c: Likewise for _dl_open.
1732         * dlfcn/dlopen.c: Likewise.
1733         * dlfcn/dlopenold.c: Likewise.
1734         * elf/dl-libc.c: Likewise for _dl_open and _dl_close.
1735         * elf/Makefile (routines): Remove dl-open and dl-close.
1736         (dl-routines): Add dl-open, dl-close, and dl-trampoline.
1737         Add rules to build and run tst-audit1.
1738         * elf/tst-audit1.c: New file.
1739         * elf/tst-auditmod1.c: New file.
1740         * elf/Versions [libc]: Remove _dl_open and _dl_close.
1741         * elf/dl-close.c: Change for use inside ld.so instead of libc.so.
1742         * elf/dl-open.c: Likewise.
1743         * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
1744         signaled by nonzero parameter.
1745         * elf/dl-init.c: Fix use of r_state.
1746         * elf/dl-load.c: Likewise.
1748         * elf/dl-close.c: Add auditing checkpoints.
1749         * elf/dl-open.c: Likewise.
1750         * elf/dl-fini.c: Likewise.
1751         * elf/dl-load.c: Likewise.
1752         * elf/dl-sym.c: Likewise.
1753         * sysdeps/generic/libc-start.c: Likewise.
1754         * elf/dl-object.c: Allocate memory for auditing information.
1755         * elf/dl-reloc.c: Remove RESOLV.  We now always need the map.
1756         Correctly initialize slotinfo.
1757         * elf/dynamic-link.h: Adjust after removal of RESOLV.
1758         * sysdeps/hppa/dl-lookupcfg.h: Likewise.
1759         * sysdeps/ia64/dl-lookupcfg.h: Likewise.
1760         * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
1761         * elf/dl-runtime.c (_dl_fixup): Little cleanup.
1762         (_dl_profile_fixup): New parameters to point to register struct and
1763         variable for frame size.
1764         Add auditing checkpoints.
1765         (_dl_call_pltexit): New function.
1766         Don't define trampoline code here.
1767         * elf/rtld.c: Recognize LD_AUDIT.  Load modules on startup.
1768         Remove all the functions from _rtld_global_ro which only _dl_open
1769         and _dl_close needed.
1770         Add auditing checkpoints.
1771         * elf/link.h: Define symbols for auditing interfaces.
1772         * include/link.h: Likewise.
1773         * include/dlfcn.h: Define __RTLD_AUDIT.
1774         Remove prototypes for _dl_open and _dl_close.
1775         Adjust access to argc and argv in libdl.
1776         * dlfcn/dlfcn.c: New file.
1777         * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
1778         is gone.
1779         * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
1780         * sysdeps/generic/unsecvars.h: Add LD_AUDIT.
1781         * sysdeps/i386/dl-machine.h: Remove trampoline code here.
1782         Adjust for removal of RESOLVE.
1783         * sysdeps/x86_64/dl-machine.h: Likewise.
1784         * sysdeps/generic/dl-trampoline.c: New file.
1785         * sysdeps/i386/dl-trampoline.c: New file.
1786         * sysdeps/x86_64/dl-trampoline.c: New file.
1788         * sysdeps/generic/dl-tls.c: Cleanups.  Fixup for dtv_t change.
1789         Fix updating of DTV.
1790         * sysdeps/generic/libc-tls.c: Likewise.
1792         * sysdeps/arm/bits/link.h: Renamed to ...
1793         * sysdeps/arm/bits/linkmap.h: ...this.
1794         * sysdeps/generic/bits/link.h: Renamed to...
1795         * sysdeps/generic/bits/linkmap.h: ...this.
1796         * sysdeps/hppa/bits/link.h: Renamed to...
1797         * sysdeps/hppa/bits/linkmap.h: ...this.
1798         * sysdeps/i386/bits/link.h: Renamed to...
1799         * sysdeps/i386/bits/linkmap.h: ...this.
1800         * sysdeps/ia64/bits/link.h: Renamed to...
1801         * sysdeps/ia64/bits/linkmap.h: ...this.
1802         * sysdeps/s390/bits/link.h: Renamed to...
1803         * sysdeps/s390/bits/linkmap.h: ...this.
1804         * sysdeps/sh/bits/link.h: Renamed to...
1805         * sysdeps/sh/bits/linkmap.h: ...this.
1806         * sysdeps/x86_64/bits/link.h: Renamed to...
1807         * sysdeps/x86_64/bits/linkmap.h: ...this.
1809         * posix/unistd.h: Declare ftruncate for POSIX 2003.  [BZ #640]
1811 2004-12-22  Steven Munroe  <sjmunroe@us.ibm.com>
1813         [BZ #602]
1814         * math/libm-test.inc (rint_test_tonearest): New test.
1815         (rint_test_towardzero): New test.
1816         (rint_test_downward): New test.
1817         (rint_test_upward): New test.
1818         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case.
1819         Remove redundant const values.
1820         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case.
1821         Remove redundant const values.  Use float const.
1822         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case.
1823         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case.
1824         Use float const.
1825         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case.
1826         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case.
1827         Use float const.
1828         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case.
1829         Remove redundant const values.
1830         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case.
1831         Remove redundant const values.  Use float const.
1832         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case.
1833         Remove redundant const values.
1834         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case.
1835         Remove redundant const values.  Use float const.
1836         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword
1837         alignment.  Fix -0.0 case.  Remove redundant const values.
1838         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword
1839         alignment.  Fix -0.0 case.  Remove redundant const values.
1840         Use float const.
1841         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword
1842         alignment.  Fix -0.0 case.
1843         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword
1844         alignment.  Fix -0.0 case.  Use float const.
1845         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword
1846         alignment.  Fix -0.0 case.
1847         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword
1848         alignment.  Fix -0.0 case.  Use float const.
1849         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword
1850         alignment.  Fix -0.0 case.  Remove redundant const values.
1851         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword
1852         alignment.  Fix -0.0 case.  Remove redundant const values.
1853         Use float const.
1854         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword
1855         alignment.  Fix -0.0 case.
1856         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword
1857         alignment.  Fix -0.0 case.  Remove redundant const values.
1858         Use float const.
1860 2005-01-06  Ulrich Drepper  <drepper@redhat.com>
1862         * misc/sys/cdefs.h: Define __wur.
1863         * libio/stdio.h: Use __wur for a number of interfaces.
1864         * posix/unistd.h: Likewise.
1865         * stdlib/stdlib.h: Likewise.
1867 2004-12-29  Jakub Jelinek  <jakub@redhat.com>
1869         [BZ #592]
1870         * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use
1871         libc_hidden_proto instead of HIDDEN_PROTO.
1872         * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove.
1873         (__libm_error_support): If ASSEMBLER and in libc, define to
1874         HIDDEN_JUMPTARGET(__libm_error_support).
1876 2004-12-28  David Mosberger  <davidm@hpl.hp.com>
1878         [BZ #592]
1879         * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro.
1880         (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l}
1881         with $(duplicated-routines).
1882         (libm-sysdep_routines): Likewise, but substitute "s_" prefix for
1883         "m_" prefix.
1885 2004-12-27  David Mosberger  <davidm@hpl.hp.com>
1887         [BZ #592]
1888         * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and
1889         undefine "ret" macro.  Add __libm_error_support hidden definitions.
1891         [BZ #592]
1892         * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment.  Add
1893         missing portion of copyright statement.
1894         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
1895         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
1897         [BZ #592]
1898         * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment.  Add
1899         missing portion of copyright statement.
1900         (__ieee754_lgamma): Rename from lgamma().  Make lgamma() a weak alias.
1901         (__ieee754_gamma): Likewise.
1902         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
1903         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
1905 2004-12-09  H. J. Lu <hjl@lucon.org>
1907         [BZ #592]
1908         * sysdeps/ia64/fpu/s_nextafterl.c: Remove.
1909         * sysdeps/ia64/fpu/s_nexttoward.c: Likewise.
1910         * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise.
1911         * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c).
1912         * sysdeps/ia64/fpu/e_expl.S: Likewise.
1913         * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S).
1915 2004-11-18  David Mosberger  <davidm@hpl.hp.com>
1917         [BZ #592]
1918         * sysdeps/ia64/fpu/README: New file.
1919         * sysdeps/ia64/fpu/gen_import_file_list: New file.
1920         * sysdeps/ia64/fpu/import_check: Likewise.
1921         * sysdeps/ia64/fpu/import_diffs: Likewise.
1922         * sysdeps/ia64/fpu/import_file.awk: Likewise.
1923         * sysdeps/ia64/fpu/import_intel_libm: Likewise.
1924         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1926         [BZ #592]
1927         * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+.
1928         * sysdeps/ia64/fpu/e_acosf.S: Likewise.
1929         * sysdeps/ia64/fpu/e_acosl.S: Likewise.
1930         * sysdeps/ia64/fpu/e_asin.S: Likewise.
1931         * sysdeps/ia64/fpu/e_asinf.S: Likewise.
1932         * sysdeps/ia64/fpu/e_asinl.S: Likewise.
1933         * sysdeps/ia64/fpu/e_atan2.S: Likewise.
1934         * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
1935         * sysdeps/ia64/fpu/e_cosh.S: Likewise.
1936         * sysdeps/ia64/fpu/e_coshf.S: Likewise.
1937         * sysdeps/ia64/fpu/e_coshl.S: Likewise.
1938         * sysdeps/ia64/fpu/e_exp.S: Likewise.
1939         * sysdeps/ia64/fpu/e_expf.S: Likewise.
1940         * sysdeps/ia64/fpu/e_fmod.S: Likewise.
1941         * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
1942         * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
1943         * sysdeps/ia64/fpu/e_hypot.S: Likewise.
1944         * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
1945         * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
1946         * sysdeps/ia64/fpu/e_log.S: Likewise.
1947         * sysdeps/ia64/fpu/e_log2.S: Likewise.
1948         * sysdeps/ia64/fpu/e_log2f.S: Likewise.
1949         * sysdeps/ia64/fpu/e_log2l.S: Likewise.
1950         * sysdeps/ia64/fpu/e_logf.S: Likewise.
1951         * sysdeps/ia64/fpu/e_pow.S: Likewise.
1952         * sysdeps/ia64/fpu/e_powf.S: Likewise.
1953         * sysdeps/ia64/fpu/e_powl.S: Likewise.
1954         * sysdeps/ia64/fpu/e_remainder.S: Likewise.
1955         * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
1956         * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
1957         * sysdeps/ia64/fpu/e_scalb.S: Likewise.
1958         * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
1959         * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
1960         * sysdeps/ia64/fpu/e_sinh.S: Likewise.
1961         * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
1962         * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
1963         * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
1964         * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
1965         * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
1966         * sysdeps/ia64/fpu/libm_error.c: Likewise.
1967         * sysdeps/ia64/fpu/libm_reduce.c: Likewise.
1968         * sysdeps/ia64/fpu/libm_support.h: Likewise.
1969         * sysdeps/ia64/fpu/s_atan.S: Likewise.
1970         * sysdeps/ia64/fpu/s_atanf.S: Likewise.
1971         * sysdeps/ia64/fpu/s_atanl.S: Likewise.
1972         * sysdeps/ia64/fpu/s_cbrt.S: Likewise.
1973         * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
1974         * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
1975         * sysdeps/ia64/fpu/s_ceil.S: Likewise.
1976         * sysdeps/ia64/fpu/s_ceilf.S: Likewise.
1977         * sysdeps/ia64/fpu/s_ceill.S: Likewise.
1978         * sysdeps/ia64/fpu/s_cos.S: Likewise.
1979         * sysdeps/ia64/fpu/s_cosf.S: Likewise.
1980         * sysdeps/ia64/fpu/s_cosl.S: Likewise.
1981         * sysdeps/ia64/fpu/s_expm1.S: Likewise.
1982         * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
1983         * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
1984         * sysdeps/ia64/fpu/s_fabs.S: Likewise.
1985         * sysdeps/ia64/fpu/s_fabsf.S: Likewise.
1986         * sysdeps/ia64/fpu/s_fabsl.S: Likewise.
1987         * sysdeps/ia64/fpu/s_floor.S: Likewise.
1988         * sysdeps/ia64/fpu/s_floorf.S: Likewise.
1989         * sysdeps/ia64/fpu/s_floorl.S: Likewise.
1990         * sysdeps/ia64/fpu/s_frexp.c: Likewise.
1991         * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
1992         * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
1993         * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
1994         * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
1995         * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
1996         * sysdeps/ia64/fpu/s_log1p.S: Likewise.
1997         * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
1998         * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
1999         * sysdeps/ia64/fpu/s_logb.S: Likewise.
2000         * sysdeps/ia64/fpu/s_logbf.S: Likewise.
2001         * sysdeps/ia64/fpu/s_logbl.S: Likewise.
2002         * sysdeps/ia64/fpu/s_modf.S: Likewise.
2003         * sysdeps/ia64/fpu/s_modff.S: Likewise.
2004         * sysdeps/ia64/fpu/s_modfl.S: Likewise.
2005         * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
2006         * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
2007         * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
2008         * sysdeps/ia64/fpu/s_rint.S: Likewise.
2009         * sysdeps/ia64/fpu/s_rintf.S: Likewise.
2010         * sysdeps/ia64/fpu/s_rintl.S: Likewise.
2011         * sysdeps/ia64/fpu/s_round.S: Likewise.
2012         * sysdeps/ia64/fpu/s_roundf.S: Likewise.
2013         * sysdeps/ia64/fpu/s_roundl.S: Likewise.
2014         * sysdeps/ia64/fpu/s_significand.S: Likewise.
2015         * sysdeps/ia64/fpu/s_significandf.S: Likewise.
2016         * sysdeps/ia64/fpu/s_significandl.S: Likewise.
2017         * sysdeps/ia64/fpu/s_tan.S: Likewise.
2018         * sysdeps/ia64/fpu/s_tanf.S: Likewise.
2019         * sysdeps/ia64/fpu/s_tanl.S: Likewise.
2020         * sysdeps/ia64/fpu/s_trunc.S: Likewise.
2021         * sysdeps/ia64/fpu/s_truncf.S: Likewise.
2022         * sysdeps/ia64/fpu/s_truncl.S: Likewise.
2024         [BZ #592]
2025         * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+.
2026         * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
2027         * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
2028         * sysdeps/ia64/fpu/e_atanh.S: Likewise.
2029         * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
2030         * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
2031         * sysdeps/ia64/fpu/e_exp10.S: Likewise.
2032         * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
2033         * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
2034         * sysdeps/ia64/fpu/e_exp2.S: Likewise.
2035         * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
2036         * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
2037         * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise.
2038         * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise.
2039         * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise.
2040         * sysdeps/ia64/fpu/e_logl.S: Likewise.
2041         * sysdeps/ia64/fpu/libm_frexp.S: Likewise.
2042         * sysdeps/ia64/fpu/libm_frexpf.S: Likewise.
2043         * sysdeps/ia64/fpu/libm_frexpl.S: Likewise.
2044         * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
2045         * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
2046         * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
2047         * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
2048         * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
2049         * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
2050         * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
2051         * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
2052         * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
2053         * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
2054         * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
2055         * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
2056         * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
2057         * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
2058         * sysdeps/ia64/fpu/s_asinh.S: Likewise.
2059         * sysdeps/ia64/fpu/s_asinhf.S: Likewise.
2060         * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
2061         * sysdeps/ia64/fpu/s_erf.S: Likewise.
2062         * sysdeps/ia64/fpu/s_erfc.S: Likewise.
2063         * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
2064         * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
2065         * sysdeps/ia64/fpu/s_erff.S: Likewise.
2066         * sysdeps/ia64/fpu/s_erfl.S: Likewise.
2067         * sysdeps/ia64/fpu/s_fdim.S: Likewise.
2068         * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
2069         * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
2070         * sysdeps/ia64/fpu/s_fma.S: Likewise.
2071         * sysdeps/ia64/fpu/s_fmaf.S: Likewise.
2072         * sysdeps/ia64/fpu/s_fmal.S: Likewise.
2073         * sysdeps/ia64/fpu/s_fmax.S: Likewise.
2074         * sysdeps/ia64/fpu/s_fmaxf.S: Likewise.
2075         * sysdeps/ia64/fpu/s_fmaxl.S: Likewise.
2076         * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
2077         * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
2078         * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
2079         * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
2080         * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
2081         * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
2082         * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
2083         * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
2084         * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
2085         * sysdeps/ia64/fpu/s_tanh.S: Likewise.
2086         * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
2087         * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
2088         * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
2089         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
2090         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
2091         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
2092         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
2093         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
2094         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
2096         [BZ #592]
2097         * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file.
2098         * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise.
2099         * sysdeps/ia64/fpu/e_gammal_r.c: Likewise.
2100         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
2101         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
2102         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
2103         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
2104         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
2105         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
2106         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
2107         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
2108         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
2109         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
2110         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
2111         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
2112         * sysdeps/ia64/fpu/w_expl.c: Likewise.
2113         * sysdeps/ia64/fpu/e_expl.S: Likewise.
2114         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
2115         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
2116         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
2117         * sysdeps/ia64/fpu/w_log2.c: Likewise.
2118         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
2119         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
2120         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
2121         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
2122         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
2124         [BZ #592]
2125         * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove.
2126         * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
2127         * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
2128         * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
2129         * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
2130         * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
2131         * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
2133         [BZ #592]
2134         * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file.
2135         * sysdeps/ia64/fpu/s_sincosf.c: Likewise.
2136         * sysdeps/ia64/fpu/s_sincosl.c: Likewise.
2138         [BZ #592]
2139         * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment.
2141         [BZ #592]
2142         * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l}
2143         alias for use by libm_error.c
2145         [BZ #592]
2146         * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove
2147         libm_atan2_reg, libm_tan, libm_frexp4{f,l}.
2148         Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l},
2149         libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l},
2150         libm_scalbn{,f,l}, libm_scalblnf.
2151         (sysdep_routines): Remove libm_frexp4{,f,l}.
2152         Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}.
2153         (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__,
2154         _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and
2155         -DSIZE_LONG_LONG_INT_64.
2157 2005-01-05  Steven Munroe  <sjmunroe@us.ibm.com>
2159         [BZ #729]
2160         * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and
2161         l_text_end are set for a VDSO with a single PT_LOAD entry.
2163 2005-01-05  Ulrich Drepper  <drepper@redhat.com>
2165         [BZ #730]
2166         * libio/iofopncook.c (_IO_cookie_seekoff): Define.  Mark offset as
2167         invalid to disable optimizations in fileops which won't work here.
2168         (_IO_cookie_jumps): Use it.
2169         (_IO_old_cookie_jumps): Likewise.
2170         * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P,
2171         not the return value.
2172         * stdio-common/Makefile (tests): Add tst-fmemopen2.
2173         * stdio-common/tst-fmemopen2.c: New file.
2175         * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD.
2177 2005-01-05  Roland McGrath  <roland@redhat.com>
2179         * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ...
2180         * sysdeps/i386/configure.in: ... here.  New file.
2182 2005-01-03  Ulrich Drepper  <drepper@redhat.com>
2184         [BZ #727]
2185         * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
2186         initialize __environ again.
2187         * stdlib/Makefile: Add rules to build and run tst-putenv.
2188         * stdlib/tst-putenv.c: New file.
2189         * stdlib/tst-putenvmod.c: New file.
2191         * sysdeps/unix/sysv/linux/init-first.c: Clean file up.  Don't
2192         define unnecessary wrappers or aliases of static functions.
2194 2005-01-03  Andreas Jaeger  <aj@suse.de>
2196         * csu/Makefile (generated): Add start.os and start.ob.
2198         * elf/Makefile (tests): Change rule for tst-pie1 so that make
2199         clean works.
2201 2004-12-29  Roland McGrath  <roland@redhat.com>
2203         [BZ #626]
2204         * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
2205         than always up; when nearest is zero, round up to one.
2207 2004-12-28  Ulrich Drepper  <drepper@redhat.com>
2209         * po/es.po: Update from translation team.
2211         [BZ #726]
2212         * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
2214 2004-12-27  Ulrich Drepper  <drepper@redhat.com>
2216         [BZ #744]
2217         * include/signal.h: Define __sigemptyset.
2219 2004-04-27  Paolo Bonzini  <bonzini@gnu.org>
2221         * posix/regex_internal.h (struct re_dfastate_t): Make
2222         word_trtable a pointer to the 512-item transition table.
2223         * posix/regexec.c (build_trtable): Fill in either state->trtable
2224         or state->word_trtable.  Return a boolean indicating success.
2225         (transit_state): Expect state->trtable to be a 256-item
2226         transition table.  Reorganize code to have less tests in
2227         the common case, and to save an indentation level.
2228         * posix/regex_internal.c (free_state): Free word_trtable.
2230 2004-12-21  Jakub Jelinek  <jakub@redhat.com>
2232         [BZ #723]
2233         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when
2234         calling fn is 16 byte aligned.
2235         * sysdeps/i386/tst-stack-align.h: New file.
2237         [BZ #725]
2238         * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
2239         (ecvt_r): Special case denormals.
2240         * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
2241         * misc/tst-efgcvt.c: Include float.h.
2242         (ecvt_tests): Add 2 new tests.
2244 2004-12-20  Roland McGrath  <roland@frob.com>
2246         * version.h (RELEASE, VERSION): development, 2.3.90
2247         * include/features.h (__GLIBC_MINOR__): Now 4.
2250 See ChangeLog.15 for earlier changes.