Ulrich Drepper
5210321df8
(MEMORY_BARRIER): Define.
2002-04-02 22:28:27 +00:00
Roland McGrath
db6b51ada7
* hurd/hurdselect.c (_hurd_select): Fix
...
MACH_MSG_TYPE_INTEGER_T -> integer_t in sizeof.
Use a union rather than casts to compare mach_msg_type_t as int.
2002-03-25 Roland McGrath <roland@frob.com>
* hurd/hurdchdir.c (_hurd_change_directory_port_from_name): Don't
check off the end of NAME when it's shorter than 2 chars.
Reported by Ognyan Kulev <ogi@fmi.uni-sofia.bg>.
2002-03-17 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/i386/sys/io.h: New file.
* sysdeps/mach/hurd/i386/ioperm.c: New file.
* sysdeps/mach/hurd/i386/Dist: Add them.
* sysdeps/mach/hurd/i386/Versions
(libc: GLIBC_2.2.6): New set, add ioperm.
* sysdeps/mach/configure.in: New check to set HAVE_I386_IO_PERM_MODIFY.
(mach_interface_list): Check for mach_i386.defs.
* config.h.in (HAVE_I386_IO_PERM_MODIFY): #undef it.
* sysdeps/mach/configure: Regenerated.
2002-04-02 04:43:06 +00:00
Roland McGrath
96c4df5055
2002-03-25 Roland McGrath <roland@frob.com>
...
* hurd/hurdchdir.c (_hurd_change_directory_port_from_name): Don't
check off the end of NAME when it's shorter than 2 chars.
Reported by Ognyan Kulev <ogi@fmi.uni-sofia.bg>.
2002-04-02 04:41:43 +00:00
Ulrich Drepper
435824beb3
Update.
...
2002-03-22 Ulrich Drepper <drepper@redhat.com>
* po/fr.po: Update from translation team.
2002-03-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Remove
getpriority from syscalls list.
2002-03-28 23:49:09 +00:00
Andreas Jaeger
3cf01adb39
Update.
...
2002-03-28 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/x86_64/swapcontext.S: New.
* sysdeps/unix/sysv/linux/x86_64/getcontext.S: New.
* sysdeps/unix/sysv/linux/x86_64/setcontext.S: New.
* sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: New.
2002-03-28 19:07:58 +00:00
Andreas Jaeger
46a1b87510
Update.
...
2002-03-27 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct
sigcontext): Follow further kernel change.
* sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Follow further
kernel change.
* sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (GET_STACK):
Change for struct sigcontext change.
* sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
Follow changes in struct sigcontext.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Remove ptrace
sysycall, use wrapper instead.
2002-03-27 11:08:02 +00:00
Andreas Jaeger
49f8b030aa
Update.
...
* sysdeps/i386/i486/bits/string.h (__memcpy_by4): Describe memory
read and write accesses as detailed as possible.
(__memcpy_by2): Likewise.
(__memcpy_g): Likewise.
(memmove): Likewise.
(memcmp): Likewise.
(__memset_ccn_by4): Likewise.
(__memset_ccn_by2): Likewise.
(__memset_gcn_by4): Likewise.
(__memset_gcn_by2): Likewise.
(memchr): Likewise.
(__memrchr): Likewise.
(rawmemchr): Likewise.
(__strlen_g): Likewise.
(__strcpy_g): Likewise.
(__mempcpy_by4): Likewise.
(__mempcpy_by2): Likewise.
(__mempcpy_byn): Likewise.
(__stpcpy_g): Likewise.
(__strncpy_by4): Likewise.
(__strncpy_by2): Likewise.
(__strncpy_byn): Likewise.
(__strncpy_gg): Likewise.
(__strcat_c): Likewise.
(__strcat_g): Likewise.
(__strncat_g): Likewise.
(__strcmp_gg): Likewise.
(__strncmp_g): Likewise.
(__strchr_c): Likewise.
(__strchr_g): Likewise.
(__strchrnul_c): Likewise.
(__strchrnul_g): Likewise.
(__strrchr_c): Likewise.
(__strrchr_g): Likewise.
(__strrchr_c): Likewise.
(__strrchr_g): Likewise.
(__strcspn_c1): Likewise.
(__strcspn_cg): Likewise.
(__strcspn_g): Likewise.
(__strcspn_g): Likewise.
(__strspn_c1): Likewise.
(__strspn_cg): Likewise.
(__strspn_g): Likewise.
(__strspn_g): Likewise.
(__strpbrk_cg): Likewise.
(__strpbrk_g): Likewise.
(__strstr_cg): Likewise.
(__strstr_g): Likewise.
2002-03-26 19:45:43 +00:00
Andreas Jaeger
79468ba882
Update.
...
* sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Fix typo. Reported by
Michal Ludvig <mludvig@suse.cz>.
2002-03-26 16:52:39 +00:00
Andreas Jaeger
30ee7c7be0
Update.
...
2002-03-26 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Add 32-bit
compatibilty, adjust for kernel changes.
* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct
sigcontext): Adjust for kernel changes.
2002-03-26 12:38:27 +00:00
Andreas Jaeger
367b07fbae
Update.
...
2002-03-25 Andreas Jaeger <aj@suse.de>
* iconv/gconv_simple.c (ucs4le_internal_loop_single): Handle
little endian.
Reported by Artur Zaprzala <zybi@talex.com.pl>.
2002-03-25 17:07:27 +00:00
Andreas Jaeger
9ea2c1941c
(ucs4le_internal_loop_single): Handle little endian.
2002-03-25 17:07:14 +00:00
Roland McGrath
52755fadf7
Fix bogus regeneration.
2002-03-24 22:43:02 +00:00
Andreas Jaeger
8430ab40fb
Update.
...
2002-03-24 Andreas Jaeger <aj@suse.de>
* manual/memory.texi (Aligned Memory Blocks): Fix typo.
* stdio-common/tst-fdopen.c (main): Remove unused variable.
* iconv/tst-iconv3.c (main): Use correct printf strings.
2002-03-24 13:03:01 +00:00
Andreas Jaeger
671972156a
(Aligned Memory Blocks): Fix typo.
2002-03-24 12:58:23 +00:00
Roland McGrath
4e6117f399
* sysdeps/unix/bsd/bsd4.4/bits/socket.h (struct cmsgcred): New type.
...
(CMGROUP_MAX): New macro.
2002-03-24 03:44:57 +00:00
Roland McGrath
4caf4f3c25
* sysdeps/posix/shm_open.c (SHMDIR): /var/run/shm -> /dev/shm
...
* sysdeps/posix/shm_unlink.c: Likewise.
2002-03-24 02:05:40 +00:00
Roland McGrath
b2b1c59383
* shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu.*): Make 2.2.6 default.
...
* sysdeps/mach/hurd/configure.in: Default oldest ABI is 2.2.6
under --enable-libio.
* sysdeps/mach/hurd/configure: Regenerated.
2002-03-24 01:59:44 +00:00
Roland McGrath
67a6c02f1a
* sysdeps/mach/hurd/i386/Makefile
...
(sysdep_routines, shared-only-routines): Don't add framestate,
reverting 2001-10-02 change.
* sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
* sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
* sysdeps/generic/Makefile (sysdep_routines, shared-only-routines):
Do it here instead, only if [$(unwind-find-fde) = yes].
2002-03-24 01:56:33 +00:00
Roland McGrath
971174429d
2002-03-23 Roland McGrath <roland@frob.com>
...
* sysdeps/mach/hurd/i386/Makefile
(sysdep_routines, shared-only-routines): Don't add framestate,
reverting 2001-10-02 change.
* sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
* sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
* sysdeps/generic/Makefile (sysdep_routines, shared-only-routines):
Do it here instead, only if [$(unwind-find-fde) = yes].
2002-03-24 01:55:18 +00:00
Andreas Jaeger
7bae44c46f
Update.
...
2002-03-23 Andreas Jaeger <aj@suse.de>
* signal/signal.h: Fix typo. Patch by Steve Kemp
<skx@tardis.ed.ac.uk>.
2002-03-23 18:59:09 +00:00
Andreas Jaeger
0f8a3e9555
Update
...
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add getresgid and
getresuid.
_fpstate): Rename fwd to ftw, use _fpxreg and _xmmreg.
* sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct
user_fpregs_struct): Rename fwd.
2002-03-22 12:59:21 +00:00
Andreas Jaeger
904e1ba99d
Update
...
* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct
_fpstate): Rename fwd to ftw.
* sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct user_fpregs_struct): Likewise.
* sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
Follow sigcontext changes.
2002-03-22 Andreas Jaeger <aj@suse.de>
2002-03-22 12:17:21 +00:00
Andreas Jaeger
b2518ac295
Update.
...
2002-03-22 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/bits/nan.h: New file. Copy from generic one with
changes for NaNs on MIPS.
Patch by Hartvig Ekner <hartvige@mips.com>.
2002-03-22 10:09:55 +00:00
Ulrich Drepper
eab0f04c47
(Aligned Memory Blocks): Correct description of where memalign is declared [PR libc/3127].
2002-03-22 09:39:21 +00:00
Ulrich Drepper
fbaee91d72
Update.
...
2002-03-22 Jakub Jelinek <jakub@redhat.com>
* sysdeps/mips/pt-machine.h (MEMORY_BARRIER): Remove.
2002-03-22 08:40:35 +00:00
Ulrich Drepper
32fe4a9320
Update.
...
2002-03-22 Ulrich Drepper <drepper@redhat.com>
* internals.h (MEMORY_BARRIER): Define as asm with memory as clobber.
2002-03-22 08:29:10 +00:00
Ulrich Drepper
c7a9b6e2d3
Update.
...
2002-03-21 Ulrich Drepper <drepper@redhat.com>
* nscd/grpcache.c (addgrbyname): Improve buffer allocate with alloca.
Use realloc if too large.
(addgrbyid): Likewise.
* nscd/hstcache.c (addhstbyname): Likewise.
(addhstbyaddr): Likewise.
(addhstbynamev6): Likewise.
(addhstbyaddrv6): Likewise.
* nscd/pwdcache.c (addpwbyname): Likewise.
(addpwbyuid): Likewise.
2002-03-22 07:17:03 +00:00
Ulrich Drepper
0472723ab8
(addgrbyname): Improve buffer allocate with alloca. Use realloc if too large. (addgrbyid): Likewise.
2002-03-22 07:03:30 +00:00
Andreas Jaeger
3181d9d11f
Fix comment.
2002-03-21 16:11:18 +00:00
Andreas Jaeger
57d180fd26
Update.
...
2002-03-21 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (struct
_fpstate): Add separate struct for x86-64.
* sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct
user_fpregs_struct): Change member names to follow kernel.
2002-03-21 16:04:46 +00:00
Andreas Jaeger
943b72618e
(struct _fpstate): Add separate struct for x86-64.
2002-03-21 16:03:56 +00:00
Ulrich Drepper
973f52a010
Update.
...
2002-03-20 Ulrich Drepper <drepper@redhat.com>
* nis/ypclnt.c (yp_all): Remove the hack introduced on 1998-09-29.
Correctly close the UDP connection right away [PR libc/3120].
2002-03-21 00:45:32 +00:00
Ulrich Drepper
85939c7937
(yp_all): Remove the hack introduced on 1998-09-29. Correctly close the UDP connection right away.
2002-03-21 00:43:13 +00:00
Andreas Jaeger
cb50c2187f
Update.
...
2002-03-20 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/x86_64/sys/user.h (struct
user_fpregs_struct): Fix for changed kernel struct.
(struct user_regs_struct): Likewise.
(struct user): Likewise.
Add 32-bit x86 compatibility.
* sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Add more registers.
2002-03-20 10:18:29 +00:00
Andreas Jaeger
6340375b03
Update.
...
2002-03-19 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/x86_64/bits/types.h: Cleanup x86 types.
2002-03-19 09:46:21 +00:00
Andreas Jaeger
8a49e50930
Cleanup x86 types.
2002-03-19 09:45:56 +00:00
Ulrich Drepper
d8bd181ea4
Update.
...
* sysdeps/generic/unwind-dw2-fde-glibc.c: Add prototypes.
* sysdeps/generic/unwind-pe.h: Likewise.
* libio/iofdopen.c (_IO_new_fdopen): Pass parameter of correct
type to _IO_setb.
* include/aliases.h: Declare __getaliasent_r as hidden.
2002-03-18 23:40:37 +00:00
Ulrich Drepper
6d9c194a92
Declare __getaliasent_r as hidden.
2002-03-18 23:38:37 +00:00
Andreas Jaeger
8c5e5fa0f1
Update.
...
2002-03-18 Andreas Jaeger <aj@suse.de>
* iconvdata/Makefile: Only run tests when shared libs are
available.
2002-03-18 08:28:33 +00:00
Andreas Jaeger
f68137c94b
* sysdeps/i386/pt-machine.h: Add testandset and __compare_and_swap
...
prototpyes.
* sysdeps/alpha/pt-machine.h: Likewise.
* sysdeps/arm/pt-machine.h: Likewise.
* sysdeps/cris/pt-machine.h: Likewise.
* sysdeps/hppa/pt-machine.h: Likewise.
* sysdeps/i386/i686/pt-machine.h: Likewise.
* sysdeps/ia64/pt-machine.h: Likewise.
* sysdeps/m68k/pt-machine.h: Likewise.
* sysdeps/mips/pt-machine.h: Likewise.
* sysdeps/powerpc/pt-machine.h: Likewise.
* sysdeps/s390/s390-32/pt-machine.h: Likewise.
* sysdeps/s390/s390-64/pt-machine.h: Likewise.
* sysdeps/sh/pt-machine.h: Likewise.
* sysdeps/sparc/sparc32/pt-machine.h: Likewise.
* sysdeps/sparc/sparc64/pt-machine.h: Likewise.
* sysdeps/x86_64/pt-machine.h: Likewise.
* internals.h: Move testandset and __compare_and_swap prototypes
to pt-machine.h.
2002-03-17 Andreas Jaeger <aj@suse.de>
* sysdeps/i386/pt-machine.h: Add testandset and __compare_and_swap
prototpyes.
* sysdeps/alpha/pt-machine.h: Likewise.
* sysdeps/arm/pt-machine.h: Likewise.
* sysdeps/cris/pt-machine.h: Likewise.
* sysdeps/hppa/pt-machine.h: Likewise.
* sysdeps/i386/i686/pt-machine.h: Likewise.
* sysdeps/ia64/pt-machine.h: Likewise.
* sysdeps/m68k/pt-machine.h: Likewise.
* sysdeps/mips/pt-machine.h: Likewise.
* sysdeps/powerpc/pt-machine.h: Likewise.
* sysdeps/s390/s390-32/pt-machine.h: Likewise.
* sysdeps/s390/s390-64/pt-machine.h: Likewise.
* sysdeps/sh/pt-machine.h: Likewise.
* sysdeps/sparc/sparc32/pt-machine.h: Likewise.
* sysdeps/sparc/sparc64/pt-machine.h: Likewise.
* sysdeps/x86_64/pt-machine.h: Likewise.
* internals.h: Move testandset and __compare_and_swap prototypes
to pt-machine.h.
2002-03-17 12:10:08 +00:00
Andreas Jaeger
7f0244deed
Update.
...
2002-03-17 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/fpu/fraiseexcpt.c (__feraiseexcept): Set cause bits.
* sysdeps/mips/fpu/fgetexcptflg.c (__fegetexceptflag): Add comment.
* sysdeps/mips/fpu/fclrexcpt.c (__feclearexcept): Clear also cause
bits.
* sysdeps/mips/fpu/fenv_libc.h (CAUSE_MASK): New.
(CAUSE_SHIFT): New.
Patch by Hartvig Ekner <hartvige@mips.com>.
* sysdeps/generic/unwind-dw2-fde-glibc.c: Add prototypes.
* sysdeps/generic/unwind-pe.h: Likewise.
* libio/iofdopen.c (_IO_new_fdopen): Pass parameter of correct
type to _IO_setb.
* libio/stdio.c (AL2): Define variant when visibility attribute is
not supported.
* include/libc-symbols.h (_INTVARDEF): Define variant when
visibility attribute is not supported.
2002-03-17 12:09:12 +00:00
Andreas Jaeger
9ea502f95c
* sysdeps/mips/fpu/fraiseexcpt.c (__feraiseexcept): Set cause bits.
...
* sysdeps/mips/fpu/fgetexcptflg.c (__fegetexceptflag): Add comment.
* sysdeps/mips/fpu/fclrexcpt.c (__feclearexcept): Clear also cause
bits.
* sysdeps/mips/fpu/fenv_libc.h (CAUSE_MASK): New.
(CAUSE_SHIFT): New.
2002-03-17 12:07:44 +00:00
Ulrich Drepper
eea4471dd4
Update.
...
2002-03-16 Ulrich Drepper <drepper@redhat.com>
* po/fr.po: Update from translation team.
2002-03-17 03:02:56 +00:00
Ulrich Drepper
567fb07483
Update.
...
2002-02-25 Bruno Haible <bruno@clisp.org>
* MakeTAGS (extract): Use --sort-by-file instead of --sort-output.
2002-03-16 06:58:44 +00:00
Ulrich Drepper
2c617417f4
Update.
...
2002-03-15 Ulrich Drepper <drepper@redhat.com>
* libio/iofdopen.c (_IO_new_fdopen): Call _IO_setb to deallocate
buffers if _IO_file_attach failed.
* libio/fileops.c (_IO_file_open): Close file descriptor if
_IO_SEEKOFF call failed.
* iconv/gconv_conf.c: Add internal_function to __gconv_get_path
2002-03-16 04:00:20 +00:00
Ulrich Drepper
5241882ce2
Update.
...
2002-03-15 H.J. Lu <hjl@gnu.org>
Ulrich Drepper <drepper@redhat.com>
* configure.in: Check for availability of
init_array/fini_array/preinit_array handling in binutils.
* config.h.in (HAVE_INITFINI_ARRAY): New macro.
* config.make.in (have-initfini-array): New variable.
2002-03-16 02:47:08 +00:00
Ulrich Drepper
c06b947ef1
Update.
...
* stdio-common/tst-printf.c (main): Comment out one test which
checked the compiler's ability to fold floating-point constants
but not really printf.
(rfg3): Make s const.
* stdio-common/tst-printf.sh: Adjust for removed test.
2002-03-15 22:08:18 +00:00
Ulrich Drepper
dff07c4bd4
Update.
...
2002-03-15 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/i386-mcount.S: Just call __mcount_internal, it is an
internal function. Adjust for internal_function calling convention.
* sysdeps/i386/machine-gmon.h: Declare and define __mcount_internal
as internal_function.
* sysdeps/generic/framestate.c: Declare fallback_frame_state_for as
hidden.
* nss/XXX-lookup.c (DB_LOOKUP_FCT): Add internal_function to
declaration and definition.
* nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Add internal_function to
declaration.
* nss/getXXent_r.c: Likewise.
* nss/nsswitch.h (db_lookup_function): Add internal_function to
definition.
* include/time.h: Declare __localtime_r as hidden.
* include/grp.h: Declare __getgrent_r as hidden.
* include/netdb.h: Declare __gethostent_r, __getnetent_r,
__getservent_r, and __getprotoent_r as hidden.
* include/pwd.h: Declare __getpwent_r as hidden.
* include/shadow.h: Declare __getspent_r as hidden.
* include/rpc/netdb.h: Declare __getrpcent_r as hidden.
* iconv/gconv_int.h: Declare __gconv_read_conf, __gconv_alias_compare,
and __gconv_transliterate as hidden.
Add internal_function to __gconv_get_path declaration.
* iconv/gconv_int.h: Add internal_function to __gconv_get_path
definition. Add attribute_hidden to __gconv_read_conf definition.
2002-03-15 09:30:44 +00:00
Ulrich Drepper
9360906d42
Update.
...
* elf/rtld.c: Declare _environ as hidden.
* sysdeps/generic/dl-environ.c: Likewise.
* sysdeps/generic/dl-sysdep.c: Likewise.
* sysdeps/generic/ldsodefs.h: Declare _dl_debug_state_internal and
_dl_mcount_internal as hidden.
* elf/Makefile (rtld-routines): Add dl-sbrk and dl-brk.
* sysdeps/generic/dl-brk.c: New file.
* sysdeps/generic/dl-sbrk.c: New file.
* sysdeps/unix/sysv/linux/i386/dl-brk.c: New file.
* sysdeps/unix/sysv/linux/i386/dl-sbrk.c: New file.
2002-03-15 05:20:35 +00:00
Ulrich Drepper
5c82e15e86
Update.
...
2002-03-14 Ulrich Drepper <drepper@redhat.com>
* elf/dl-minimal.c (malloc): Declare _end as hidden.
(__errno_location): New function. Declare errno as hidden.
* elf/rtld.c (_dl_argc): Define as hidden.
(_dl_skip_args): Define as hidden.
(_begin, _end): Declare as hidden.
* sysdeps/generic/dl-sysdep.c (_end): Declare as hidden.
* sysdeps/generic/entry.h (_start): Declare as hidden.
* sysdeps/generic/ldsodefs.h (_dl_argc): Declare as hidden.
* sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Declare
_dl_runtime_resolve and _dl_runtime_profile as hidden.
(RTLD_START): Use GOTOFF to access _dl_skip_args and _dl_fini.
2002-03-15 03:16:52 +00:00