aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-03-31Update.Ulrich Drepper
2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch> * malloc/malloc.c: Declare bit flags UL so that they will not default to int size when being inverted. 2000-03-29 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros. * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise. 2000-03-29 Andreas Jaeger <aj@suse.de>, Ralf Baechle <ralf@uni-koblenz.de> * Makeconfig: Introduce new variable SHARED to mark code used in the shared library. * elf/dl-close.c: Use it instead of PIC. * elf/dl-load.c: Likewise. * elf/dl-open.c: Likewise. * hurd/geteuids.c: Likewise. * include/libc-symbols.h: Likewise. * include/shlib-compat.h: Likewise. * libio/freopen.c: Likewise. * linuxthreads/cancel.c: Likewise. * linuxthreads/pthread.c: Likewise. * linuxthreads/wrapsyscall.c: Likewise. * nss/nsswitch.c: Likewise. * stdio-common/vfprintf.c: Likewise. * sysdeps/arm/init-first.c: Likewise. * sysdeps/i386/init-first.c: Likewise * sysdeps/generic/init-first.c: Likewise. * sysdeps/generic/libc-start.c: Likewise. * sysdeps/mips/init-first.c: Likewise. * sysdeps/powerpc/elf/libc-start.c: Likewise. * sysdeps/unix/sysv/linux/init-first.c: Likewise. * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise. * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise. * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
2000-03-31Update.Ulrich Drepper
2000-03-29 Andreas Jaeger <aj@suse.de> * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup): Use D_PTR to access relocated entries in l_info. (elf_machine_rela): Likewise. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): Likewise. (elf_machine_rela): Likewise. * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup): Likewise. (__elf_machine_fixup_plt): Likewise. (__process_machine_rela): Likewise. * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise. (elf_machine_rela): Likewise. * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise. (elf_machine_rel): Likewise. * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise. (elf_machine_fixup_plt): Likewise. (elf_machine_rela): Likewise. 2000-03-29 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros. * sysdeps/unix/sysv/linux/semctl.c: Likewise. * sysdeps/unix/sysv/linux/shmctl.c: Likewise. * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise. * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise. * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise. * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise. * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise. * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise. * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise. * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise. * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise. * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise. * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise. * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat macros, remove K&R prototypes.
2000-03-31Update.Ulrich Drepper
2000-03-30 Ulrich Drepper <drepper@redhat.com> * posix/getopt.c (_getopt_internal): Return -1 if argc < 1. Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk> (PR libc/1677).
2000-03-31Update.Ulrich Drepper
2000-03-30 Andreas Jaeger <aj@suse.de> * misc/sys/cdefs.h: Remove K&R support.
2000-03-31Update.Ulrich Drepper
2000-03-30 Ulrich Drepper <drepper@redhat.com> * iconv/skeleton.c: Avoid compiling unaligned versions in some with size of dynamic sectionmore cases. * iconv/loop.c: Likewise.
2000-03-31Update.Ulrich Drepper
2000-03-29 Bruno Haible <haible@clisp.cons.org> * iconv/loop.c (put16): Remove __const. Fix access index. (put32): Remove __const. Use uint32_t instead of uint16_t. * iconv/skeleton.c: Likewise.
2000-03-31(put16): Remove __const. Fix access index. (put32): Remove __const. Use ↵Ulrich Drepper
uint32_t instead of uint16_t.
2000-03-30* mach/Versions (libc: GLIBC_2.0)Roland McGrath
[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-302000-03-30 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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.
2000-03-30Update.Ulrich Drepper
* 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.
2000-03-30Update.Ulrich Drepper
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.
2000-03-29Update.Ulrich Drepper
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.
2000-03-29Renamed to CSA_Z243.4-1985-1..UCS-2BE.Ulrich Drepper
2000-03-29Remove wildcards from entry for sysdeps/i386/fpu/bits/mathinline.h.Andreas Jaeger
(__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.
2000-03-29Update.Andreas Jaeger
* include/unistd.h: Remove duplicate entry for __rmdir. Remove declaration of __mkdir since __mkdir is declared in sys/stat.h.
2000-03-29Update.Andreas Jaeger
* manual/creature.texi (Feature Test Macros): Fix typo, reported by Michael Deutschmann <michael@talamasca.ocis.net>.
2000-03-29Update.Andreas Jaeger
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-292000-03-29 Andreas Jaeger <aj@suse.de>Andreas Jaeger
* 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-29Update.Ulrich Drepper
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.
2000-03-29Update.Ulrich Drepper
* Makerules: If make variable md5 is defined to yes after generating dependencies generate MD5 sum for the object.
2000-03-28Update.Ulrich Drepper
* iconv/gconv_builtin.h: Fix length in transformation definition for UNICODEBIG.
2000-03-28Update.Ulrich Drepper
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.
2000-03-28Define get16, get32, put16, and put32 macros to allow as well reading ↵Ulrich Drepper
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.
2000-03-28* sysdeps/generic/bits/sigthread.h: Clean up conditionals.Roland McGrath
Declare pthread_sigmask. * csu/version.c: Add 2000 to copyright years. Remove Emacs local variables section.
2000-03-282000-03-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* csu/version.c: Add 2000 to copyright years. Remove Emacs local variables section.
2000-03-28Update.Ulrich Drepper
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.
2000-03-28Recognize ia64 platform. Recognize SGI's compiler.Ulrich Drepper
2000-03-27* include/shlib-compat.h (SHLIB_COMPAT): Make the test handle theRoland McGrath
obsoleting version not being defined at all, in which case the result is always true.
2000-03-27* Makeconfig (preprocess-versions): New canned sequence for runningRoland McGrath
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-272000-03-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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.
2000-03-27Update.Ulrich Drepper
* stdio-common/tst-obprintf.c (main): Add another check to see obstack_printf handling all possible beginnings of the block inside an obstack chunk.
2000-03-27Update.Ulrich Drepper
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.
2000-03-27(_IO_obstack_vprintf): Fix one more memory handling problem.Ulrich Drepper
2000-03-27* stdio-common/tmpfile.c: Use <shlib-compat.h> macros.Roland McGrath
2000-03-27* include/shlib-compat.h: Conditionalize <abi-versions.h> includeRoland McGrath
on [HAVE_ELF && DO_VERSIONING].
2000-03-272000-03-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* include/shlib-compat.h: Conditionalize <abi-versions.h> include on [HAVE_ELF && DO_VERSIONING].
2000-03-27(main): Make a bit more exciting.Ulrich Drepper
2000-03-27Update.Ulrich Drepper
2000-03-27 Ulrich Drepper <drepper@redhat.com> * stdio-common/tst-obprintf.c: New file.
2000-03-27Update.Ulrich Drepper
* libio/genops.c (_IO_default_xsputn): Little optimization. Call _IO_OVERFLOW directly instead through __overflow.
2000-03-27Update.Ulrich Drepper
* locale/programs/localedef.c (construct_output_path): If path contains a / compute the end of the directory name correctly.
2000-03-27Update.Ulrich Drepper
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.
2000-03-27* semaphore.c (sem_timedwait): New function.Ulrich Drepper
Patch by Carl Mailloux <carlm@oricom.ca>. * semaphore.h: Declare sem_timedwait.
2000-03-27Undef and document __USE_XOPEN2K.Ulrich Drepper
2000-03-27* dlfcn/dlopen.c: Use <shlib-compat.h> macros.Roland McGrath
* 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.
2000-03-27* sysdeps/mach/sys/reboot.h: Include <features.h>.Roland McGrath
(reboot): Declare it.
2000-03-27* libio/Makefile (headers): Add bits/stdio-lock.h here.Roland McGrath
* sysdeps/mach/hurd/bits/stdio-lock.h: New file.
2000-03-27* include/shlib-compat.h: Include <abi-versions.h> unconditionally.Roland McGrath
2000-03-272000-03-26 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* include/shlib-compat.h: Include <abi-versions.h> unconditionally.
2000-03-26Update.Ulrich Drepper
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.
2000-03-26Update.Ulrich Drepper
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.