about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* (put16): Remove __const. Fix access index. (put32): Remove __const. Use ↵Ulrich Drepper2000-03-312-41/+41
| | | | uint32_t instead of uint16_t.
* * mach/Versions (libc: GLIBC_2.0)Roland McGrath2000-03-301-0/+19
| | | | | | | | | | | | | | | | | | [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize __vm_allocate on this. [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize mutex- and spinlock-related symbols on this. [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3): New version set. Lock-related symbols go here instead in this case. * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove _cthread_exit_routine, _cthread_init_routine, cthread_keycreate, cthread_getspecific, cthread_setspecific, __libc_getspecific. * hurd/Versions [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0): Put them here instead. [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3): New version set. Those cthreads symbols go here instead in this case. * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
* 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-304-9/+53
| | | | | | | | | | | | | | | | | | | * mach/Versions (libc: GLIBC_2.0) [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize __vm_allocate on this. [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize mutex- and spinlock-related symbols on this. [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3): New version set. Lock-related symbols go here instead in this case. * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove _cthread_exit_routine, _cthread_init_routine, cthread_keycreate, cthread_getspecific, cthread_setspecific, __libc_getspecific. * hurd/Versions [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0): Put them here instead. [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3): New version set. Those cthreads symbols go here instead in this case. * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
* Update.Ulrich Drepper2000-03-302-45/+27
| | | | | * elf/dl-init.c (_dl_init): We don't need to call constructors recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
* Update.Ulrich Drepper2000-03-3017-280/+422
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-03-30 Ulrich Drepper <drepper@redhat.com> Implement dynamic determination of constructor/destructor order in the dynamic linker. * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next. (GLIBC_2.2): Add _dl_init. * elf/dl-close.c: Also call all destructors in FINI_ARRAY. r_duplist is not anymore allocated separately. l_initfini is and therefore free it if necessary. * elf/dl-deps.c: If a searchlist has to be allocated, put all in one malloc block. Otherwise allocate l_initfini list only. Put dependencies for the object in l_initfini list. Sort dependencies for the object to be loaded topologically. * elf/dl-fini.c: Before running the destructors sort the topologically. * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to call constructors instead of iterating over the pointers. Get list of objects for which to run constructors from l_initfini element. Accept argc, argv, and env as parameters and pass them to the constructors. * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member with size of dynamic section. * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of _dl_init_next and calling constructors ourself. * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next. Take argc, argv, and env as parameters and pass them to the constructors. Rewrite to call all constructors and not iterate over the pointers. * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't precompute l_initcount and l_preinitcount. * elf/link.h (struct link_map): Add l_ldnum member. Make l_phdr_allocated part of the bitfield. Remove l_runcount, l_initcount, and l_preinitcount. Add l_initfini. * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with one for _dl_init. * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init function interface. * sysdeps/unix/sysv/linux/init-first.h: Removed. * sysdeps/unix/sysv/linux/Dist: Delete file here as well. * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling conventions now match. * sysdeps/generic/libc-start.c: Calling __libc_init_first has no effect for shared objects. Don't emit message and call only for static library.
* Update.Ulrich Drepper2000-03-293-0/+7
| | | | | | | | | 2000-03-29 Ulrich Drepper <drepper@redhat.com> * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from CSA_Z243.4-1985-1..UCS2. * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from ISO-8859-10..UCS2.
* Renamed to CSA_Z243.4-1985-1..UCS-2BE.Ulrich Drepper2000-03-291-0/+0
|
* Remove wildcards from entry for sysdeps/i386/fpu/bits/mathinline.h.Andreas Jaeger2000-03-291-3/+12
| | | | | | | | | | | | | | | (__inline_mathcodeNP): New macro without prototype (__inline_mathcodeNP2): Likewise. (__inline_mathcodeNP3): Likewise. (__inline_mathcodeNP_): Likewise. (__inline_mathcodeNP2_): Likewise. (__inline_mathcodeNP3_): Likewise. (__inline_mathopNP): Likewise. (__inline_mathop_declNP): Likewise. (__inline_mathop_declNP_): Likewise. (fabsf): Likewise. (fabsl): Likewise. (__fabsl): Likewise.
* Update.Andreas Jaeger2000-03-292-2/+4
| | | | | | * include/unistd.h: Remove duplicate entry for __rmdir. Remove declaration of __mkdir since __mkdir is declared in sys/stat.h.
* Update.Andreas Jaeger2000-03-292-1/+4
| | | | | * manual/creature.texi (Feature Test Macros): Fix typo, reported by Michael Deutschmann <michael@talamasca.ocis.net>.
* Update.Andreas Jaeger2000-03-291-0/+8
| | | | | | | | | | 2000-03-29 Andreas Jaeger <aj@suse.de> * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros. * sysdeps/mips/fpu/fegetenv.c: Likewise. * sysdeps/mips/fpu/fesetenv.c: Likewise. * sysdeps/mips/fpu/feupdateenv.c: Likewise. * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
* 2000-03-29 Andreas Jaeger <aj@suse.de>Andreas Jaeger2000-03-295-15/+30
| | | | | | | | * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros. * sysdeps/mips/fpu/fegetenv.c: Likewise. * sysdeps/mips/fpu/fesetenv.c: Likewise. * sysdeps/mips/fpu/feupdateenv.c: Likewise. * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
* Update.Ulrich Drepper2000-03-292-46/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-03-28 Andreas Jaeger <aj@suse.de> * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant declaration, the prototype is defined via bits/mathcalls.h. (__sincosf): Likewise. (__sincosl): Likewise. (ldexp): Likewise. (ldexpf): Likewise. (ldexpl): Likewise. (__finite): Likewise. (__inline_mathcode*NP*): New macros without prototype declarations. (__inline_mathop*NP*): Likewise. (__inline_mathcode_): Use __inline_mathcodeNP_. (__inline_mathcode2_): Use __inline_mathcodeNP2_. (__inline_mathcode3_): Use __inline_mathcodeNP3_. (__inline_mathop_decl_): Use __inline_mathop_declNP__. (__expm1l): Don't define prototype, the prototype is defined via bits/mathcalls.h. (exp): Likewise. (__expl): Likewise. (tan): Likewise. (atan2): Likewise. (__atan2l): Likewise. (fmod): Likewise. (pow): Likewise. (*fabs*): Likewise. (asin): Likewise. (acos): Likewise. (sinh): Likewise. (cosh): Likewise. (tanh): Likewise. (floor): Likewise. (ceil): Likewise. (expm1): Likewise. (log1p): Likewise. (asinh): Likewise. (acosh): Likewise. (atanh): Likewise. (hypot): Likewise. (logb): Likewise. (fma): Likewise. (drem): Likewise. (sqrt): Likewise. (__sqrtl): Likewise. (sin): Likewise. (cos): Likewise. (atan): Likewise. (log): Likewise. (log10): Likewise. (asinh): Likewise. (log2): Likewise. (rint): Likewise.
* Update.Ulrich Drepper2000-03-292-1/+13
| | | | | * Makerules: If make variable md5 is defined to yes after generating dependencies generate MD5 sum for the object.
* Update.Ulrich Drepper2000-03-283-101/+105
| | | | | * iconv/gconv_builtin.h: Fix length in transformation definition for UNICODEBIG.
* Update.Ulrich Drepper2000-03-2829-121/+311
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-03-28 Ulrich Drepper <drepper@redhat.com> * iconvdata/TESTS: Use UCS-2BE instead of UCS2. * iconv/loop.c: Define get16, get32, put16, and put32 macros to allow as well reading from/writing to unaligned addresses on machines which don't support this in hardware. Use FCTNAME macro to define function name. Include the file a second time for platforms which need special unaligned handling. * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros to access potentially unaligned addresses. These macros are intended to be used only outside the loops. (unaligned): New definition. In case the machine can handle unaligned access define as zero. Otherwise as a variable which is initialized as nonzero in case the buffer passed in at runtime is unaligned with respect to the character set encoding involved. Call aligned or unaligned looop functions according to unaligned variable. * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead of direct casting pointer to potentially handle unaligned memory accesses. * iconvdata/8bit-generic.c: Likewise. * iconvdata/ansi_x3.110.c: Likewise. * iconvdata/big5.c: Likewise. * iconvdata/euc-cn.c: Likewise. * iconvdata/euc-jp.c: Likewise. * iconvdata/euc-kr.c: Likewise. * iconvdata/euc-tw.c: Likewise. * iconvdata/gbk.c: Likewise. * iconvdata/iso-2022-cn.c: Likewise. * iconvdata/iso-2022-jp.c: Likewise. * iconvdata/iso-2022-kr.c: Likewise. * iconvdata/iso646.c: Likewise. * iconvdata/iso_6937-2.c: Likewise. * iconvdata/iso_6937.c: Likewise. * iconvdata/johab.c: Likewise. * iconvdata/sjis.c: Likewise. * iconvdata/t.61.c: Likewise. * iconvdata/uhc.c: Likewise. * iconvdata/unicode.c: Likewise. * iconvdata/utf-16.c: Likewise. * locale/programs/simple-hash.c: Little optimizations. Remove K&R prototypes. * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all. * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made public. * malloc/mcheck.h (mcheck_check_all): Declare. * stdio-common/Makefile (tests): Add tst-obprintf.
* Define get16, get32, put16, and put32 macros to allow as well reading ↵Ulrich Drepper2000-03-281-3/+95
| | | | from/writing to unaligned addresses on machines which don't support this in hardware. Use FCTNAME macro to define function name. Include the file a second time for platforms which need special unaligned handling.
* * sysdeps/generic/bits/sigthread.h: Clean up conditionals.Roland McGrath2000-03-283-10/+40
| | | | | | | Declare pthread_sigmask. * csu/version.c: Add 2000 to copyright years. Remove Emacs local variables section.
* 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-281-8/+2
| | | | | * csu/version.c: Add 2000 to copyright years. Remove Emacs local variables section.
* Update.Ulrich Drepper2000-03-284-52/+25
| | | | | | | | | | | 2000-03-23 Bruno Haible <haible@clisp.cons.org> * iconv/gconv_int.h (__gconv_transform_ucs2little_internal, __gconv_transform_internal_ucs2little): Remove declarations. * iconv/gconv_simple.c (__gconv_transform_ucs2_internal, __gconv_transform_internal_ucs2): Never need to bswap_16. (__gconv_transform_ucs2reverse_internal, __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
* Recognize ia64 platform. Recognize SGI's compiler.Ulrich Drepper2000-03-281-2/+3
|
* * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle theRoland McGrath2000-03-272-1/+6
| | | | | obsoleting version not being defined at all, in which case the result is always true.
* * Makeconfig (preprocess-versions): New canned sequence for runningRoland McGrath2000-03-272-3/+8
| | | | | | | cpp on shlib-versions and the like. (soversions.i): Use it. * Makerules (Versions.all, sysd-versions): Use it to preprocess the Versions.def and Versions files.
* 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-273-7/+20
| | | | | | | | * Makeconfig (preprocess-versions): New canned sequence for running cpp on shlib-versions and the like. (soversions.i): Use it. * Makerules (Versions.all, sysd-versions): Use it to preprocess the Versions.def and Versions files.
* Update.Ulrich Drepper2000-03-274-40/+50
| | | | | | * stdio-common/tst-obprintf.c (main): Add another check to see obstack_printf handling all possible beginnings of the block inside an obstack chunk.
* Update.Ulrich Drepper2000-03-272-3/+18
| | | | | | | | | | 2000-03-27 Ulrich Drepper <drepper@redhat.com> * locale/programs/localedef.c: Use __malloc_initialize_hook to install mcheck handler. * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory handling problem.
* (_IO_obstack_vprintf): Fix one more memory handling problem.Ulrich Drepper2000-03-271-12/+42
|
* * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.Roland McGrath2000-03-272-4/+5
|
* * include/shlib-compat.h: Conditionalize <abi-versions.h> includeRoland McGrath2000-03-271-0/+5
| | | | on [HAVE_ELF && DO_VERSIONING].
* 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-271-0/+2
| | | | | * include/shlib-compat.h: Conditionalize <abi-versions.h> include on [HAVE_ELF && DO_VERSIONING].
* (main): Make a bit more exciting.Ulrich Drepper2000-03-271-1/+3
|
* Update.Ulrich Drepper2000-03-272-0/+34
| | | | | | 2000-03-27 Ulrich Drepper <drepper@redhat.com> * stdio-common/tst-obprintf.c: New file.
* Update.Ulrich Drepper2000-03-272-2/+5
| | | | | * libio/genops.c (_IO_default_xsputn): Little optimization. Call _IO_OVERFLOW directly instead through __overflow.
* Update.Ulrich Drepper2000-03-274-4/+10
| | | | | * locale/programs/localedef.c (construct_output_path): If path contains a / compute the end of the directory name correctly.
* Update.Ulrich Drepper2000-03-279-8/+255
| | | | | | | | | | | | | | 2000-03-26 Ulrich Drepper <drepper@redhat.com> * include/features.h: Undef and document __USE_XOPEN2K. * malloc/mcheck.c: Implement pedantic checking of all allocated blocks whenever a function is called. Initiated by calling mcheck_pedantic instead of mcheck. * malloc/mcheck.h: Declare mcheck_pedantic. * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic. * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck for now.
* * semaphore.c (sem_timedwait): New function.Ulrich Drepper2000-03-271-0/+6
| | | | | Patch by Carl Mailloux <carlm@oricom.ca>. * semaphore.h: Declare sem_timedwait.
* Undef and document __USE_XOPEN2K.Ulrich Drepper2000-03-271-1/+3
|
* * dlfcn/dlopen.c: Use <shlib-compat.h> macros.Roland McGrath2000-03-2721-86/+145
| | | | | | | | | | | | | | | | | | | | | | * dlfcn/dlopenold.c: Likewise. * nss/getXXbyYY_r.c: Likewise. * nss/getXXent_r.c: Likewise. * hurd/hurdinit.c: Likewise. * hurd/compat-20.c: Likewise. * libio/oldiofopen.c: Likewise. * libio/oldiofclose.c: Likewise. * libio/oldiofdopen.c: Likewise. * libio/oldfileops.c: Likewise. * libio/oldstdfiles.c: Likewise. * libio/oldiofsetpos.c: Likewise. * libio/oldiofgetpos.c: Likewise. * libio/oldiofgetpos64.c: Likewise. * libio/oldiofsetpos64.c: Likewise. * libio/oldiopopen.c: Likewise. * libio/oldpclose.c: Likewise. * libio/oldtmpfile.c: Likewise. * libio/freopen.c (freopen): Likewise. * libio/iofclose.c (_IO_new_fclose): Likewise.
* * sysdeps/mach/sys/reboot.h: Include <features.h>.Roland McGrath2000-03-274-13/+37
| | | | (reboot): Declare it.
* * libio/Makefile (headers): Add bits/stdio-lock.h here.Roland McGrath2000-03-274-5/+68
| | | | * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
* * include/shlib-compat.h: Include <abi-versions.h> unconditionally.Roland McGrath2000-03-271-0/+2
|
* 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-271-2/+4
| | | | * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
* Update.Ulrich Drepper2000-03-262-2/+8
| | | | | | | | 2000-03-26 Roland McGrath <roland@baalperazim.frob.com> * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC || __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98]. We need this for the sbrk decl, which can be included without Unix98.
* Update.Ulrich Drepper2000-03-266-18/+88
| | | | | | | | | | | | | | | | 2000-03-20 Richard Henderson <rth@cygnus.com> * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last argument to yperr2nss is an int, not size_t. * posix/regex.c (print_partial_compiled_pattern): Cast all ptrdiff_t to long for printing. (print_compiled_pattern): Use Z for printing size_t. * posix/testfnm.c (tests): Avoid trigraphs. * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE): Use a C comment, not an assembly comment. * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use of __ASSUME_32BITUIDS.
* Update.Ulrich Drepper2000-03-261-0/+4
| | | | | | 2000-03-26 Ulrich Drepper <drepper@redhat.com> * libio/iofopncook.c: Remove K&R prototypes.
* Remove K&R prototypes.Ulrich Drepper2000-03-261-7/+6
|
* * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limitRoland McGrath2000-03-263-10/+20
| | | | | | | | | | an initial value of 1024 instead of RLIM_INFINITY. * Versions.def (libmachuser, libhurduser): Remove these sections, since these libraries do not presently use symbol versions. * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit is RLIM_INFINITY, return -1 instead.
* 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-261-2/+11
| | | | | * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit an initial value of 1024 instead of RLIM_INFINITY.
* Update.Ulrich Drepper2000-03-268-48/+282
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-03-24 Andreas Jaeger <aj@suse.de> * Makefile (postclean): Added soversions.i. 2000-03-24 Scott Bambrough <scottb@netwinder.org> * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM, _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT, and _FPU_IEEE. Change _FPU_RESERVED. 2000-03-24 Scott Bambrough <scottb@netwinder.org> * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file. 2000-03-24 Roland McGrath <roland@baalperazim.frob.com> * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex. (gaih_inet): Remove unused duplicate variable. * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN. Don't use __libc_sa_len, which only exists for Linux. Just handle AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the only flavors supported by this function anyway. 2000-03-24 Geoff Clare <gwc@unisoft.com> * stdlib/strfmon.c: corrected problems with missing signs and missing or extra spaces; allow for sign strings longer than one character; add padding to ensure positive and negative formats are aligned when a left precision is used. 2000-03-26 Ulrich Drepper <drepper@redhat.com> * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4. Patch by John Mizel <John.Mizel@msdw.com>.
* Update.Ulrich Drepper2000-03-262-8/+6
| | | | | | 2000-03-25 Ulrich Drepper <drepper@redhat.com> * manual/install.texi: Remove references to crypt add-on.