about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
...
* Update.Ulrich Drepper2000-09-051-2/+2
| | | | | | | | | | | | | | | | | | | 2000-09-03 Bruno Haible <haible@clisp.cons.org> * charmaps/EUC-TW: Add commented non-reversible mappings. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * charmaps/CP949: New file. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * charmaps/GB2312: Remove 0x80..0xA0, 0xAA..0xAF, 0xF8..FF. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * charmaps/EUC-JP: Nonreversibly map 0xA1C0 to U+005C and 0x8FA2B7 to U+007E.
* It's __fegetenv.Andreas Jaeger2000-09-041-1/+1
|
* Fixes for fcntl64.Andreas Jaeger2000-09-021-11/+16
|
* Update.Andreas Jaeger2000-09-011-150/+2
| | | | | | | | 2000-09-01 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/bits/fcntl.h: Always fail. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: New file.
* Linux/PPC specific version.Andreas Jaeger2000-09-011-0/+160
|
* Update.Ulrich Drepper2000-09-012-3/+3
| | | | | * math/Makefile (tests): Add tst-defintions. * math/tst-definitions.c: New file.
* Update.Ulrich Drepper2000-09-0121-123/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * stdlib/Makefile (headers): Add bits/wchar.h. * sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file. * sysdeps/generic/bits/wchar.h: New file. * sysdeps/generic/stdint.h: Include <bits/wchar.h>. Use values in this file to define WCHAR_MIN and WCHAR_MAX. Change UINT*8_MAX and UIN*16_MAX value to type int. * wcsmbs/wchar.h: Include <bits/wchar.h>. Use values in this file to define WCHAR_MIN and WCHAR_MAX. * sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN int values. * sysdeps/arm/fpu/bits/mathdef.h: Likewise. * sysdeps/generic/bits/mathdef.h: Likewise. * sysdeps/i386/fpu/bits/mathdef.h: Likewise. * sysdeps/m68k/fpu/bits/mathdef.h: Likewise. * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise. * sysdeps/sparc/fpu/bits/mathdef.h: Likewise. * locale/locale.h (struct lconv): Add __ prefix to the new members if not C99. * sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and imaxdiv optimizations. * sysdeps/wordsize-32/lldiv.c: Add hack to make alias work. * sysdeps/wordsize-64/ldiv.c: Likewise. * sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to const fenv_t*. * sysdeps/generic/bits/fenv.h: Likewise. * sysdeps/i386/fpu/bits/fenv.h: Likewise. * sysdeps/ia64/bits/fenv.h: Likewise. * sysdeps/m68k/fpu/bits/fenv.h: Likewise. * sysdeps/mips/bits/fenv.h: Likewise. * sysdeps/s390/fpu/bits/fenv.h: Likewise. * sysdeps/sparc/fpu/bits/fenv.h: Likewise. Reported by Joseph S. Myers <jsm28@cam.ac.uk>. * catgets/open_catalog.c: Likewise.
* Update.Ulrich Drepper2000-09-0112-46/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * inet/rcmd.c: Use *stat64 instead of *stat internally. * inet/ruserpass.c: Likewise. * intl/loadmsgcat.c: Likewise. * io/getdirname.c: Likewise. * locale/loadlocale.c: Likewise. * misc/getusershell.c: Likewise. * stdlib/canonicalize.c: Likewise. * sysdeps/posix/euidaccess.c: Likewise. * sysdeps/posix/isfdtype.c: Likewise. * sysdeps/posix/posix_fallocate.c: Likewise. * sysdeps/posix/tempname.c: Likewise. * sysdeps/unix/grantpt.c: Likewise. * sysdeps/unix/opendir.c: Likewise. * sysdeps/unix/sysv/linux/fstatvfs.c: Likewise. * sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise. * sysdeps/unix/sysv/linux/ptsname.c: Likewise. * sysdeps/unix/sysv/linux/statvfs.c: Likewise. * sysdeps/unix/sysv/linux/ttyname.c: Likewise. * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise. * sysvipc/ftok.c: Likewise. * time/getdate.c: Likewise. * time/getdate.c: Add extra access test. 2000-08-31 Ulrich Drepper <drepper@redhat.com>
* Update. glibc-2.1.93 cvs/glibc-2_1_93Ulrich Drepper2000-08-312-0/+2
| | | | | * sysdeps/unix/sysv/linux/powerpc/Dist: Add fe_nomask.c. * sysdeps/unix/sysv/linux/i386/Dist: Add olddirent.h.
* Update.Ulrich Drepper2000-08-311-1/+14
| | | | | * sysdeps/generic/setenv.c (free_mem): New function. Free all allocated memory.
* Update.Ulrich Drepper2000-08-311-27/+22
| | | | | | * sysdeps/i386/dl-machine.h (elf_machine_rel): For the version to relocate ld.so don't add supprt for relocations which should not appear in ld.so.
* Update.Ulrich Drepper2000-08-311-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/generic/ldsodefs.h: Add declaration for _dl_all_dirs and _dl_all_init_dirs. * include/link.h (struct r_search_path_struct): New. (struct link_map): Use it for l_rpath_dirs and l_runpath_dirs. * elf/Versions [ld] (GLIBC_2.2): Add _dl_all_dirs and _dl_all_init_dirs. * elf/dl-close.c (_dl_close): Free l_rpath_dirs and l_runpath_dirs. * elf/dl-libc.c (free_mem): Free _dl_all_dirs list except elements added at startup time. * elf/dl-load.c: Fix memory handling. r_search_path_struct contains element to remember fact that we can free memory. (all_dirs): Renamed to _dl_all_dirs. Made global. (_dl_init_all_dirs): New variable. (fillin_rpath): Save one malloc call. (decompose_rpath): Change interface. New first parameter points to r_search_path_struct. (_dl_init_paths): Adjust for changes. Mark all memory as not deletable. Set _dl_init_all_paths value. (open_path): Remove may_free_dirs parameter. r_search_path_elem *** parameter replaced with r_search_path_struct *. Information about freeing now contained in r_search_path_struct. (_dl_map_object): Adjust for above changes. * elf/dl-open.c (dl_open_worker): Change format of debug info a bit.
* Update.Ulrich Drepper2000-08-301-1/+1
| | | | | * sysdeps/posix/getaddrinfo.c (gaih_local): uname does not everywhere return 0 for success but always < 0 on failure.
* Update.Ulrich Drepper2000-08-291-0/+5
| | | | | * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: Prevent double inclusion. Patch by Jes Sorensen <jes@linuxcare.com>.
* Update.Ulrich Drepper2000-08-293-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-08-27 Bruno Haible <haible@clisp.cons.org> * string/strxfrm.c (strxfrm, wcsxfrm): Include <sys/param.h>. If nrules == 0 and srclen < n, copy only srclen + 1 characters. * sysdeps/generic/getdomain.c (getdomainname): Include <sys/param.h>. If the result is fits in the buffer, copy only as many bytes as needed. * sysdeps/generic/_strerror.c (__strerror_r): Don't zero-fill the buffer after copying numbuf into it. * sysdeps/mach/_strerror.c (__strerror_r): Likewise. 2000-08-27 Bruno Haible <haible@clisp.cons.org> * posix/confstr.c (confstr): When string_len > len, NUL-terminate the result. When string_len < len, don't clear the rest of the buffer. 2000-08-27 Bruno Haible <haible@clisp.cons.org> Support for new LC_COLLATE format. * locale/coll-lookup.h: New file. * locale/weightwc.h (findidx): When size == 0, call collidx_table_lookup. * wcsmbs/wcscoll.c: Include coll-lookup.h. * wcsmbs/wcsxfrm.c: Likewise. * posix/fnmatch.c: Likewise. * posix/fnmatch_loop.c (internal_fnwmatch): When size == 0, call collseq_table_lookup. * locale/programs/3level.h: New file. * locale/programs/ld-ctype.c: (wcwidth_table, wctrans_table): Define by including "3level.h". * locale/programs/ld-collate.c (wchead_table, collidx_table, collseq_table): New types, defined by including "3level.h". (locale_collate_t): New wcheads_3level, wcseqorder_3level fields. (encoding_mask, encoding_byte): Remove. (utf8_encode): Use simple shifts instead. (collate_finish): When !oldstyle_tables, set plane_size and plane_cnt to 0, and initialize and fill wcheads_3level and wcseqorder_3level. (collate_output): New local variable tablewc_3level. When !oldstyle_tables, set table_size to 0 and names to NULL and fill tablewc_3level instead of tablewc. Change format of TABLEWC and COLLSEQWC entries written to the file. * locale/C-collate.c (collseqwc): Change format. (_nl_C_LC_COLLATE): Set HASH_SIZE and HASH_LAYERS to 0, change format of COLLSEQWC. * locale/Makefile (distribute): Add coll-lookup.h, programs/3level.h. 2000-08-27 Bruno Haible <haible@clisp.cons.org> * locale/programs/ld-ctype.c (MAX_CHARNAMES_IDX): New macro. (locale_ctype_t): New charnames_idx field. (ctype_startup): Initialize charnames_idx field. (find_idx): Speed up dramatically by using charnames_idx inverse table. 2000-08-27 Bruno Haible <haible@clisp.cons.org> * locale/C-ctype.c: Switch to new locale format. (_nl_C_LC_CTYPE_names): Remove array. (STRUCT_CTYPE_CLASS): New macro. (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print, graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}): New three-level tables. (_nl_C_LC_CTYPE_width): Change from array to three-level table. (_nl_C_LC_CTYPE): Fix nstrings value. Set HASH_SIZE and HASH_LAYERS to 0. Change WIDTH format. Set CLASS_OFFSET and MAP_OFFSET. Add 12 class tables and 2 map tables at the end. * ctype/ctype-info.c (_nl_C_LC_CTYPE_names): Remove declaration. (_nl_C_LC_CTYPE_class_{upper,lower,alpha,digit,xdigit,space,print, graph,blank,cntrl,punct,alnum}, _nl_C_LC_CTYPE_map_{toupper,tolower}): New declarations. (b): Remove trailing semicolon. (__ctype_names, __ctype_width): Don't initialize. (__ctype32_wctype, __ctype32_wctrans, __ctype32_width): Initialize. 2000-08-27 Bruno Haible <haible@clisp.cons.org> * elf/dl-load.c (open_path): Add a argument telling whether *dirsp is guaranteed to be allocated with the same malloc() and may be passed to free(). (_dl_map_object): Update open_path calls. If rtld_search_dirs has been set to empty by an earlier open_path call, don't pass it again.
* Update.Ulrich Drepper2000-08-281-1/+6
| | | | | * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Protect against double inclusion.
* Tweaks for AMD Athlon.Andreas Jaeger2000-08-281-4/+6
|
* * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from getpeername. ↵Mark Kettenis2000-08-282-12/+11
| | | | | | | | | | | | | Use ISO C style function definition. (getpeername): Provide weak alias. * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from setrlimit. Use ISO C style function definition. (setrlimit): Provide weak alias. 2000-08-28 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from getpeername. Use ISO C style function definition. (getpeername): Provide weak alias. * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from setrlimit. Use ISO C style function definition. (setrlimit): Provide weak alias.
* Update.Andreas Jaeger2000-08-2819-0/+174
| | | | | | | | | | | | | | | | | | | | | | | | | 2000-08-28 Martin Schwidefsky <schwidefsky@de.ibm.com> * shlib-versions: Add a rule for S/390 to the libm version list. * sysdeps/s390/Versions: New file. * sysdeps/unix/sysv/linux/s390/Dist: Add oldgetrlimit64.c. * sysdeps/unix/sysv/linux/s390/Makefile: Add oldgetrlimit64. * sysdeps/unix/sysv/linux/s390/Versions: New file. * sysdeps/unix/sysv/linux/s390/alphasort64.c: New file. * sysdeps/unix/sysv/linux/s390/chown.c: New file. * sysdeps/unix/sysv/linux/s390/fxstat.c: New file. * sysdeps/unix/sysv/linux/s390/getdents64.c: New file. * sysdeps/unix/sysv/linux/s390/getrlimit.c: New file. * sysdeps/unix/sysv/linux/s390/getrlimit64.c: New file. * sysdeps/unix/sysv/linux/s390/lxstat.c: New file. * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: New file. * sysdeps/unix/sysv/linux/s390/readdir64.c: New file. * sysdeps/unix/sysv/linux/s390/readdir64_r.c: New file. * sysdeps/unix/sysv/linux/s390/scandir64.c: New file. * sysdeps/unix/sysv/linux/s390/setrlimit.c: New file. * sysdeps/unix/sysv/linux/s390/syscalls.list: New file. * sysdeps/unix/sysv/linux/s390/versionsort64.c: New file. * sysdeps/unix/sysv/linux/s390/xstat.c: New file.
* Update.Ulrich Drepper2000-08-281-0/+4
| | | | | * sysdeps/unix/sysv/linux/powerpc/Makefile [$(subdir)==csu] (CFLAGS-initfini.s): Add -DWEAK_GMON_START.
* * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.Geoff Keating2000-08-281-2/+2
| | | | * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
* * sysdeps/powerpc/fpu/fedisblxcpt.c: New file. Geoff Keating2000-08-284-0/+199
| | | | | | | | | | | | * sysdeps/powerpc/fpu/feenablxcpt.c: New file. * sysdeps/powerpc/fpu/fegetexcept.c: New file. * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file. 2000-08-27 Geoff Keating <geoffk@cygnus.com> * sysdeps/powerpc/fpu/fedisblxcpt.c: New file. * sysdeps/powerpc/fpu/feenablxcpt.c: New file. * sysdeps/powerpc/fpu/fegetexcept.c: New file. * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: New file.
* Update.Ulrich Drepper2000-08-271-2/+2
| | | | | | | 2000-08-27 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/sys/io.h (outw): Fix __INLINE -> __inline.
* Update.Ulrich Drepper2000-08-271-0/+1
| | | | | * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getdents64 syscall.
* Update.Ulrich Drepper2000-08-271-0/+4
| | | | | * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir)==resource] (sysdep_routines): Add oldgetrlimit64.
* Update.Ulrich Drepper2000-08-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-08-26 Ulrich Drepper <drepper@redhat.com> * elf/Makefile (distribute): Add unloadmod.c, reldepmod1.c, reldepmod2.c, reldepmod3.c, and reldepmod4.c. (tests): Add unload, reldep, reldep2, and reldep3. (modules-names): Add unloadmod, reldepmod1, reldepmod2, reldepmod3, and reldepmod4. Add rules to build and run unload, reldep, reldep2, and reldep3. * elf/dl-lookup.c (_dl_lookup_symbol): Add new parameter explicit. Don't create relocation dependency if it is nonzero. (_dl_lookup_symbol_skip): Remove relocation dependency stuff. This can never happen here. (_dl_lookup_versioned_symbol): Add new parameter explicit. Don't create relocation dependency if it is nonzero. (_dl_lookup_versioned_symbol_skip): Remove relocation dependency stuff. This can never happen here. * sysdeps/generic/ldsodefs.h: Change prototypes. * elf/dl-reloc.c (RESOLVE_MAP): Pass 0 in explicit parameter to _dl_lookup_up and _dl_lookup_versioned_symbol. (RESOLV): Likewise. * elf/dl-runtime.c (fixup): Likewise. (profile_fixup): Likewise. * elf/dl-libc.c (do_dlsym): Pass 1 in explicit parameter to _dl_lookup_symbol. * elf/dl-symbol.c (_dl_symbol_value): Likewise. * elf/rtld.c (dl_main): Likewise. * elf/dl-sym.c (_dl_sym): Pass 1 in explicit parameter to _dl_lookup_symbol if handle is not RTLD_DEFAULT. Always compute and pass down the caller map. (_dl_vsym): Likewise. * elf/reldep.c: New file. * elf/reldep2.c: New file. * elf/reldep3.c: New file. * elf/reldepmod1.c: New file. * elf/reldepmod2.c: New file. * elf/reldepmod3.c: New file. * elf/reldepmod4.c: New file. * elf/unload.c: New file. * elf/unloadmod.c: New file. * elf/do-lookup.h: Remove unused undef_name parameter. * elf/dl-lookup.c: Adjust callers.
* * sysdeps/i386/memchr.S: Check high bound against Greg McGary2000-08-253-6/+9
| | | | | | | chars actually scanned. * sysdeps/i386/memcmp.S: Likewise. * sysdeps/i386/stpncpy.S: Adjust high-bound check to account for pointers that lie one beyond end-of-buffer.
* Update.Ulrich Drepper2000-08-253-2/+4
| | | | | | | | | | | | 2000-08-21 Jes Sorensen <jes@linuxcare.com> * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add getrlimit and getrlimit to the list. 2000-08-18 Jes Sorensen <jes@linuxcare.com> * sysdeps/ia64/Implies: gcc now has support for the Intel 80 bit long double format so use ldbl-96 instead of ldbl-128.
* Update.Ulrich Drepper2000-08-252-2/+2
| | | | | | * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL even if bits 10 a 11 are non-zero. * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise.
* Update.Ulrich Drepper2000-08-251-3/+3
| | | | | | | 2000-08-25 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/system.c (__libc_system): We cannot use vfork here since we call sigaction in the child.
* Use __setrlimit as strong name.Andreas Jaeger2000-08-241-1/+1
|
* Update.Andreas Jaeger2000-08-244-6/+110
| | | | | | | | | | 2000-08-24 Denis Joseph Barrow <djbarrow@de.ibm.com> * sysdeps/s390/fpu/fedisblxcpt.c: New file. * sysdeps/s390/fpu/feenablxcpt.c: New file. * sysdeps/s390/fpu/fegetexcept.c: New file. * sysdeps/s390/fpu/fenv_libc.h: Some reordering, new definition FPC_VALID_MASK.
* Use __setrlimit as strong name.Andreas Jaeger2000-08-241-1/+1
|
* Update.Ulrich Drepper2000-08-242-0/+2
| | | | | | | 2000-08-24 Ulrich Drepper <drepper@redhat.com> * sysdeps/s390/Dist: Add fpu/fenv_libc.h. * sysdeps/alpha/Dist: Likewise.
* (_EXTERN_INLINE): Remove. Use static __inline instead of _EXTERN_INLINE.Andreas Jaeger2000-08-231-23/+18
|
* Update.Andreas Jaeger2000-08-232-2/+2
| | | | | | | | | | 2000-08-23 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Use __setrlimit as strong name. Takes only 2 arguments. * sysdeps/unix/sysv/linux/sh/syscalls.list: __syscall_setrlimit takes only 2 arguments.
* Update.Andreas Jaeger2000-08-232-20/+20
| | | | * sysdeps/s390/__longjmp.c: Add __ to JB_GPR*.
* Add __ to JB_GPR* defines.Andreas Jaeger2000-08-231-11/+11
|
* Use __setrlimit as strong name.Andreas Jaeger2000-08-232-2/+2
|
* Update.Ulrich Drepper2000-08-231-0/+5
| | | | | | | | 2000-08-23 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/dl-osinfo.h: Include "kernel-features.h", otherwise __LINUX_KERNEL_VERSION might not be defined. (MIN): Define if not already defined.
* (_dl_sysdep_start): Move DL_SYSDEP_OSCHECK before the use of the first ↵Ulrich Drepper2000-08-222-4/+9
| | | | system call.
* Update.Ulrich Drepper2000-08-224-65/+115
| | | | | | | | | | * elf/Makefile (distribute): Add dl-osinfo.h. * sysdeps/generic/dl-osinfo.h: New file. * sysdeps/unix/sysv/linux/dl-osinfo.h: New file. * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Use DL_SYSDEP_OSCHECK if defined. * sysdeps/unix/sysv/linux/init-first.c: Perform kernel version test only for !SHARED case. Get the code from dl-osinfo.h.
* * sysdeps/unix/sysv/linux/s390/getmsg.c: Remove. * ↵Andreas Jaeger2000-08-224-4/+0
| | | | sysdeps/unix/sysv/linux/s390/getpmsg.c: Remove. * sysdeps/unix/sysv/linux/s390/putmsg.c: Remove. * sysdeps/unix/sysv/linux/s390/putpmsg.c: Remove.
* Update.Ulrich Drepper2000-08-222-2/+1
| | | | | | | | 2000-08-22 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/alpha/syscalls.list (sysctl): Remove. * sysdeps/unix/sysv/linux/ia64/syscalls.list (sysctl): Remove. (__syscall__sysctl): Add.
* Update.Ulrich Drepper2000-08-212-2/+0
| | | | | | | | | | | * sysdeps/i370/Implies: Removed. * sysdeps/mvs/Implies: Removed. * catgets/catgets.c (catopen): Filter out env_var values with / if necessary. * locale/findlocale.c (_nl_find_locale): Move test for unusable locale name after all getenvs.
* Update.Ulrich Drepper2000-08-211-3/+11
| | | | | * sysdeps/posix/getaddrinfo.c (gethosts): Handle TRY_AGAIN error of gethostbyname2_r call.
* S390 specific ftestexcept implementation.Andreas Jaeger2000-08-211-0/+33
|
* Linux/S390 specific <sys/procfs.h> version.Andreas Jaeger2000-08-211-0/+134
|
* Move elf definitions to sys/procfs.h as proposed by Mark Kettenis.Andreas Jaeger2000-08-211-4/+2
|
* Linux/S390 implmentation of lchown.Andreas Jaeger2000-08-211-0/+75
|