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