Ulrich Drepper
f83c716436
Update.
...
2002-12-16 Art Haas <ahaas@airmail.net>
* io/ftw.c: Convert GCC extension initializer syntax to C99.
2002-12-17 00:06:01 +00:00
Ulrich Drepper
ad3bf20cba
Update.
...
* sysdeps/unix/sysv/linux/syscalls.list: Add epoll_create,
epoll_ctl, and epoll_wait.
* sysdeps/unix/sysv/linux/Versions [libc: GLIBC_2.3.2]: Add
epoll_create, epoll_ctl, and epoll_wait.
* sysdeps/unix/sysv/linux/sys/epoll.h: New file.
* sysdeps/unix/sysv/linux/Dist: Add sys/epoll.h.
* sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
Add sys/epoll.h.
2002-12-16 Art Haas <ahaas@airmail.net>
* sysdeps/generic/bp-semctl.h: Convert GCC extension initializer
syntax to C99
* sysdeps/unix/sysv/aix/settimer.c: Same.
* sysdeps/unix/sysv/aix/sleep.c: Same.
* sysdeps/unix/sysv/aix/usleep.c: Same.
2002-12-16 Ulrich Drepper <drepper@redhat.com>
2002-12-16 23:38:42 +00:00
Ulrich Drepper
9634cf9d4f
Update.
...
2002-12-16 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/i386/socket.S: Use CENABLE and CDISABLE
macros instead of doing the calls directly.
* sysdeps/unix/make-syscalls.sh: Add ptw-*.$o target name to rules.
* Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for ptw-%
targets.
2002-12-16 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/fpu/bits/mathinline.h: Backout last change.
* sysdeps/ieee754/bits/nan.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list (__syscall_open,
__syscall_wait4, __syscall_ioctl, __syscall_write): Add.
2002-12-16 20:52:36 +00:00
Roland McGrath
344b1fe559
* sunrpc/xdr_mem.c (xdrmem_inline): Fix argument type.
...
* sunrpc/xdr_rec.c (xdrrec_inline): Likewise.
* sunrpc/xdr_stdio.c (xdrstdio_inline): Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Add getpmsg, putpmsg.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Remove s_getpmsg,
s_putpmsg.
* sysdeps/unix/sysv/linux/i386/getpmsg.c: File removed.
* sysdeps/unix/sysv/linux/i386/putpmsg.c: File removed.
* sysdeps/unix/sysv/linux/m68k/getpmsg.c: File removed.
* sysdeps/unix/sysv/linux/m68k/putpmsg.c: File removed.
* sysdeps/unix/sysv/linux/mips/getpmsg.c: File removed.
* sysdeps/unix/sysv/linux/mips/putpmsg.c: File removed.
* sysdeps/unix/sysv/linux/powerpc/getpmsg.c: File removed.
* sysdeps/unix/sysv/linux/powerpc/putpmsg.c: File removed.
2002-12-16 10:25:45 +00:00
Roland McGrath
0274d73c41
* iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99.
...
* iconvdata/gap.awk: Likewise.
* iconvdata/gen-8bit-gap-1.sh: Likewise.
* iconvdata/gen-8bit-gap.sh: Likewise.
* locale/C-address.c: Likewise.
* locale/C-collate.c: Likewise.
* locale/C-ctype.c: Likewise.
* locale/C-identification.c: Likewise.
* locale/C-measurement.c: Likewise.
* locale/C-messages.c: Likewise.
* locale/C-monetary.c: Likewise.
* locale/C-name.c: Likewise.
* locale/C-numeric.c: Likewise.
* locale/C-paper.c: Likewise.
* locale/C-telephone.c: Likewise.
* locale/C-time.c: Likewise.
* nscd/connections.c: Likewise.
* nscd/grpcache.c: Likewise.
* nscd/hstcache.c: Likewise.
* nscd/pwdcache.c: Likewise.
* stdio-common/vfprintf.c: Likewise.
* stdlib/random.c: Likewise.
* sysdeps/generic/siglist.c: Likewise.
* sysdeps/i386/fpu/bits/mathinline.h: Likewise.
* sysdeps/ieee754/bits/nan.h: Likewise.
* sysdeps/posix/sprofil.c: Likewise.
* sysdeps/unix/sysv/linux/sleep.c: Likewise.
* sysdeps/unix/sysv/linux/sysctl.c: Likewise.
* sysdeps/unix/sysv/linux/usleep.c: Likewise.
2002-12-16 02:05:36 +00:00
Roland McGrath
c2e131128b
* sysdeps/unix/sysv/linux/readv.c (do_readv): Use prototype defn.
...
* sysdeps/unix/sysv/linux/wait.c: Don't include <nptl/pthreadP.h> or
<tls.h> here, no need for it.
* sysdeps/unix/sysv/linux/waitpid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fcntl.c (do_fcntl): Take ARG as void *
parameter, not varargs parameter.
* sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_RESET): Evaluate the
argument so it's not an unused variable.
* resolv/resolv.h (__p_key_syms, __p_cert_syms, __p_class_syms,
__p_type_syms, __p_rcode_syms): Remove decls, never really intended
for users.
* resolv/Versions (libresolv: GLIBC_2.3.2): New set, add __p_rcode.
2002-12-15 Art Haas <ahaas@airmail.net>
* nscd/connections.c: C99 initializer conversion.
* nscd/grpcache.c: Same.
* nscd/hstcache.c: Same.
* nscd/pwdcache.c: Same.
2002-12-15 23:23:24 +00:00
Roland McGrath
67d27eba63
2002-12-15 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/readv.c (do_readv): Use prototype defn.
2002-12-15 23:22:47 +00:00
Ulrich Drepper
f3015aa5ff
Update.
...
2002-12-15 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/fcntl.c (do_fcntl): This is the
original __libc_fcntl code. Just renamed.
* sysdeps/unix/sysv/linux/m68k/clone.S: Make inline syscall to _exit.
2002-12-14 Olaf Hering <olh@suse.de>
* sysdeps/powerpc/bits/setjmp.h: Include <bits/wordsize.h>.
* sysdeps/powerpc/powerpc64/setjmp.S: Fix typo in r18 load.
2002-12-15 22:05:51 +00:00
Andreas Schwab
cb6e94a4b8
Make inline syscall to _exit.
2002-12-15 21:39:21 +00:00
Ulrich Drepper
0d5f4929fe
Update.
...
* sysdeps/unix/sysv/linux/libc_fatal.c: New file.
2002-12-15 11:24:42 +00:00
Ulrich Drepper
6ee8d33456
Update.
...
2002-12-15 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/sysdep-cancel.h: Add dummy definitions for
SINGLE_THREAD_P, LIBC_CANCEL_ASYNC, and LIBC_CANCEL_RESET.
* sysdeps/unix/sysv/linux/open64.c: New file.
* sysdeps/generic/pselect.c: Add support for cancellation handling.
* sysdeps/posix/open64.c: Likewise.
* sysdeps/posix/sigpause.c: Likewise.
* sysdeps/posix/sigwait.c: Likewise.
* sysdeps/posix/system.c: Likewise.
* sysdeps/posix/waitid.c: Likewise.
* sysdeps/unix/sysv/linux/accept.S: Likewise.
* sysdeps/unix/sysv/linux/connect.S: Likewise.
* sysdeps/unix/sysv/linux/llseek.c: Likewise.
* sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
* sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
* sysdeps/unix/sysv/linux/poll.c: Likewise.
* sysdeps/unix/sysv/linux/pread.c: Likewise.
* sysdeps/unix/sysv/linux/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/readv.c: Likewise.
* sysdeps/unix/sysv/linux/recv.S: Likewise.
* sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
* sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
* sysdeps/unix/sysv/linux/send.S: Likewise.
* sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
* sysdeps/unix/sysv/linux/sendto.S: Likewise.
* sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
* sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
* sysdeps/unix/sysv/linux/sigwait.c: Likewise.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
* sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
* sysdeps/unix/sysv/linux/wait.c: Likewise.
* sysdeps/unix/sysv/linux/waitpid.c: Likewise.
* sysdeps/unix/sysv/linux/writev.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2002-12-15 10:26:23 +00:00
Ulrich Drepper
86b2dc4072
Update.
...
* sysdeps/generic/sysdep-cancel.h: New file.
* sysdeps/unix/make-syscalls.sh: Handle C at start of args as
cancelable syscall.
* sysdeps/unix/inet/syscalls.list (accept, connect, recv, recvfrom,
recvmsg, send, sendmsg, sendto): Make cancelable.
* sysdeps/unix/mman/syscalls.list (msync): Likewise.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (llseek, pread,
pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
sendto, osf_select): Likewise.
* sysdeps/unix/sysv/linux/hppa/syscalls.list (accept, connect, recv,
recvfrom, recvmsg, send, sendmsg, sendto): Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list (llseek, pread,
pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
sendto): Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list (accept, connect, recv,
recvfrom, recvmsg, send, sendmsg, sendto): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (llseek, pread,
pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
sendto): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (llseek, pread,
pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
sendto, select): Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list (llseek, pread,
pwrite, accept, connect, recvfrom, recvmsg, sendmsg, sendto):
Likewise.
* sysdeps/unix/sysv/linux/syscalls.list (creat, nanosleep, pause,
select, fcntl): Likewise.
* sysdeps/unix/sysv/syscalls.list (pause, poll): Likewise.
* sysdeps/unix/syscalls.list (close, fcntl, fsync, lseek, open,
read, readv, select, sigsuspend, write, writev): Likewise.
2002-12-14 Jakub Jelinek <jakub@redhat.com>
2002-12-15 01:00:22 +00:00
Ulrich Drepper
22f2067436
Update.
...
2002-12-12 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Correct
access to __libc_locking_needed for PIC.
2002-12-12 18:26:13 +00:00
Ulrich Drepper
dce8f2b62a
Update.
...
2002-12-10 Jakub Jelinek <jakub@redhat.com>
* include/libc-symbols.h: Fix a comment typo.
* sysdeps/unix/sysv/linux/alpha/select.S (__libc_select): New alias.
* sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__libc_sigsuspend):
Likewise.
* sysdeps/unix/sysv/linux/ia64/sigsuspend.c (__libc_sigsuspend):
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c
(__libc_sigsuspend): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c
(__libc_sigsuspend): Likewise.
* sysdeps/generic/creat.c (__libc_creat): Renamed from creat.
(creat): New weak alias.
2002-12-10 20:35:58 +00:00
Roland McGrath
4e71f81ec2
2002-12-10 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Refer to
and move contents to ...
(EXTRA_LD_ENVVARS_LINUX): ... this new macro. Add break for nonmatch.
* sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS): Use
it instead of duplicating its contents.
(EXTRA_LD_ENVVARS): Likewise. Add break for nonmatch.
2002-12-09 Jakub Jelinek <jakub@redhat.com>
* elf/dl-support.c (_dl_non_dynamic_init): Add DL_OSVERSION_INIT if
defined.
* sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init): New
function.
(EXTRA_LD_ENVVARS): Use it.
(DL_OSVERSION_INIT): Define.
* sysdeps/unix/sysv/linux/i386/dl-librecon.h: Include linux
dl-librecon.h.
(EXTRA_LD_ENVVARS): Undef before defining. Use _dl_osversion_init.
2002-12-10 10:30:54 +00:00
Ulrich Drepper
f90b426a8a
(__closedir): Remove __libc_lock_lock call. It is not allowed to destroy pthread mutexes which are still in use even though it is safe for our implementations. If somebody still uses the descriptor it is a bug.
2002-12-10 09:59:25 +00:00
Ulrich Drepper
e5e45b5337
Update.
...
2002-12-09 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/syscalls.list: Add __libc_creat and
__libc_select aliases.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: Define __libc_sigwaitinfo
alias.
* sysdeps/unix/sysv/linux/sigwait.c: Define __libc_sigwait alias.
* sysdeps/unix/sysv/linux/sigsuspend.c: Define __libc_sigsuspend alias.
* sysdeps/unix/sysv/linux/poll.c: Define __libc_poll alias.
* sysdeps/unix/syscalls.list: Define __libc_select alias.
* sysdeps/posix/waitid.c: Define __libc_waitid alias.
* sysdeps/posix/sigpause.c: Define __libc_sigpause and
__libc___xpg_sigpause aliases.
* sysdeps/generic/pselect.c: Define __libc_pselect alias.
* misc/error.c: Remove use of USE_IN_LIBIO.
2002-12-10 04:05:39 +00:00
Ulrich Drepper
f92921c5cf
Update.
...
2002-12-07 Carlos O'Donell <carlos@baldric.uwo.ca>
* sysdeps/unix/sysv/linux/hppa/bits/shm.h: Added SHMLBA #define.
2002-12-08 22:55:19 +00:00
Ulrich Drepper
9bd9c81528
Update.
...
2002-12-07 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h [RTLD_PRIVATE_ERRNO]
(SYSCALL_ERROR_HANDLER): Fix a pasto.
Reported by Jeff Bailey <jbailey@nisa.net>.
2002-12-07 02:12:17 +00:00
Ulrich Drepper
13ece8977b
Update.
...
* include/wctype.h: Define iswalnum with libc_hidden_proto.
* include/signal.h: Define raise with libc_hidden_proto.
* sysdeps/unix/sysv/linux/fexecve.c (fexecve): Use __snprintf and
__execve instead of snprintf and execve.
2002-12-06 23:38:01 +00:00
Roland McGrath
9cf6fef171
* sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Change
...
args to i:iipi.
(readahead): Change args to i:iii.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list (readahead):
Change args to i:iii.
* sysdeps/unix/sysv/linux/mips/syscalls.list (readahead): Change
args to i:iiii.
2002-12-05 23:47:33 +00:00
Ulrich Drepper
33b5d0cc7f
Update.
...
2002-12-05 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/tls.h: Include stdlib.h.
* sysdeps/x86_64/tls.h: Likewise.
2002-12-05 00:44:01 +00:00
Roland McGrath
91c0a70cc5
2002-12-02 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/alpha/syscalls.list (readahead): Change
caller from EXTRA to -.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2002-12-03 07:28:09 +00:00
Roland McGrath
3c69e3d802
2002-12-01 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Fix condition
testing getdents64 return value.
2002-12-02 21:01:50 +00:00
Roland McGrath
dde2652bb6
* sysdeps/generic/libc-start.c (__libc_start_main): Do
...
DL_SYSDEP_OSCHECK here.
* sysdeps/unix/sysv/linux/init-first.c (init): Not here.
* sysdeps/unix/sysv/linux/dl-osinfo.h: Include <fcntl.h>.
* sysdeps/generic/libc-tls.c (__libc_setup_tls): Bail if
argument TCBSIZE <= TLS_INIT_TCB_SIZE, not just if it's zero.
* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Check l_tls_offset
instead of l_type to decide whether to use TLS_DTV_UNALLOCATED.
* include/link.h: Comment typo fix.
2002-12-01 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_FSYNC): Set to 200112L.
(_POSIX_SPAWN, _POSIX_MAPPED_FILES, _POSIX_MEMLOCK_RANGE,
_POSIX_MEMORY_PROTECTION): Likewise.
(_POSIX_POLL, _POSIX_SELECT): Removed.
2002-12-01 22:14:57 +00:00
Ulrich Drepper
d7fc4c6250
Define macros which require it to 200112L. Remove _POSIX_POLL and _POSIX_SELECT.
2002-11-29 01:45:10 +00:00
Ulrich Drepper
ddf4ffadf6
Update.
...
2002-11-28 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/alpha/sysdep.S: Change defined(USE___THREAD) to
USE___THREAD.
* sysdeps/unix/sysv/linux/alpha/sysdep.h (inline_syscall*): Avoid
"=v" constraints.
2002-11-28 23:01:45 +00:00
Ulrich Drepper
acd42b7893
Update.
...
2002-11-28 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/x86_64/vfork.S: Don't trash the CPU's
branch prediction buffers by using unpaired call/ret.
2002-11-28 08:32:24 +00:00
Ulrich Drepper
d08bef807b
Update.
...
2002-11-27 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/sysdep.h (ASMFMT_2): Fix typo in
first parameters constraint string.
(ASMFMT_3): Likewise. Patch by stefan.lauterbach@mincom.de .
2002-11-28 05:23:05 +00:00
Roland McGrath
13a571a747
* configure.in: Skip AUTOCONF check under --without-cvs.
...
* configure: Regenerated.
* posix/Makefile (headers): Add bits/pthreadtypes.h.
* sysdeps/unix/sysv/linux/Makefile (sysdep_heaers): Don't add it here.
* sysdeps/unix/sysv/linux/Dist: Remove it from the list.
2002-11-24 23:11:32 +00:00
Andreas Schwab
511e04f3b6
Support inline syscall with six arguments.
2002-11-24 19:41:42 +00:00
Andreas Schwab
8a97d03fbf
Regenerated: autoconf sysdeps/unix/configure.in
2002-11-24 17:39:46 +00:00
Roland McGrath
4a32f19d57
* sysdeps/unix/sysv/linux/powerpc/bits/msq.h (msqid_ds)
...
[__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2,
and __unused3 fields.
* sysdeps/unix/sysv/linux/powerpc/bits/sem.h (semid_ds)
[__WORDSIZE == 32]: Only PPC32 requires __unused1
and __unused2 fields.
* sysdeps/unix/sysv/linux/powerpc/bits/shm.h (shmid_ds)
[__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2,
__unused3,and __unused4 fields.
2002-11-22 05:23:51 +00:00
Roland McGrath
1c120cb8e7
* sysdeps/unix/sysv/linux/ia64/syscalls.list (s_exit_group): Add it.
...
From Ian Wienand <ianw@gelato.unsw.edu.au>.
* sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_pread): Define to
__NR_pread64 if not defined.
(__NR_pwrite): Define to __NR_pwrite64 if not defined.
From Ian Wienand <ianw@gelato.unsw.edu.au>.
2002-11-22 01:27:01 +00:00
Roland McGrath
294ec901bf
2002-11-21 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/ia64/syscalls.list (s_exit_group): Add it.
From Ian Wienand <ianw@gelato.unsw.edu.au>.
2002-11-22 01:26:53 +00:00
Ulrich Drepper
755e51bee0
Update.
...
2002-11-21 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags.
* sysdeps/unix/sysv/linux/i386/clone.S: Add support for
CLONE_CHILD_*TID flags.
2002-11-22 00:09:11 +00:00
Ulrich Drepper
56c910668c
Add support for CLONE_CHILD_*TID flags.
2002-11-22 00:01:03 +00:00
Andreas Jaeger
94c90399ca
* sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
...
We pass struct ucontext on x86-64.
(GET_PC): Adjust.
(GET_FRAME): Adjust.
(GET_STACK): Adjust.
2002-11-21 11:09:28 +00:00
Roland McGrath
2674f2a35b
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_FILE_OFFSET64]
...
(F_GETLK, F_SETLK, F_SETLKW): Define to F_*64 versions.
* sysdeps/unix/sysv/linux/hppa/fcntl.c: New file.
2002-11-19 09:27:04 +00:00
Roland McGrath
0bf5c0507e
* sysdeps/hppa/fpu/libm-test-ulps: New file (generated).
...
* sysdeps/hppa/Makefile (CFLAGS-rtld.c): New variable.
Set -mdisable-fpregs for this file.
2002-11-11 Carlos O'Donell <carlos@baldric.uwo.ca>
* sysdeps/unix/sysv/linux/configure.in:
Make 2.4.19 minimum linux kernel for hppa, and add unwind symbols
from gcc-3.0 era for backwards compatibility.
* sysdeps/unix/sysv/linux/configure: Regenerate.
* sysdeps/unix/sysv/linux/hppa/sys/ucontext.h:
Define mcontext_t as a sigcontext.
* dlfcn/dlerror.c (fini): New function, __attribute__ ((destructor)).
Free memory in `last_result' if it was used.
* resolv/nss_dns/dns-network.c (getanswer_r): In BYNAME case, search
all aliases for one that matches the "<dotted-quad>.IN-ADDR.ARPA" form.
Do the parsing inline instead of copying strings and calling
inet_network, and properly skip all alias names not matching the form.
2002-11-19 06:41:14 +00:00
Ulrich Drepper
dde36a31c0
Initialize word in the childs stack which will be loaded into the %esi register.
2002-11-18 07:41:00 +00:00
Ulrich Drepper
42c6bd6199
Regenerated: autoconf sysdeps/unix/common/configure.in
2002-11-15 00:01:53 +00:00
Ulrich Drepper
ba8d2ba8c3
Regenerated: autoconf sysdeps/unix/sysv/linux/configure.in
2002-11-15 00:01:40 +00:00
Andreas Jaeger
1ad5bec8cd
Check for visibility attribute.
2002-11-13 09:30:43 +00:00
Roland McGrath
adee0e1f17
* sysdeps/unix/make-syscalls.sh: Insert $(make-target-directory) at
...
the beginning of generated target commands.
* csu/Makefile ($(objpfx)crti.o, $(objpfx)crtn.o): Add explicit
dependencies for these in case implicit rule search skipped the
nonexistent source directory.
* sysdeps/gnu/Makefile ($(objpfx)errlist.d): Give this rule all the
files with $(object-suffixes) as targets too.
* Makerules [no_deps && objpfx] (before-compile): Add $(objpfx).
and a target for it using $(make-target-directory).
* Rules (before-compile): Add $(common-objpfx)bits/stdio-lim.h.
* sysdeps/unix/sysv/linux/bits/pthreadtypes.h: Moved to ...
* sysdeps/generic/bits/pthreadtypes.h: ... here.
2002-11-11 02:34:36 +00:00
Roland McGrath
02f64dd9c0
2002-11-10 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/bits/pthreadtypes.h: Moved to ...
* sysdeps/generic/bits/pthreadtypes.h: ... here.
2002-11-10 23:22:35 +00:00
Andreas Jaeger
09b4d75f76
Update.
...
* sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h (enum): Add
REG_OLDMASK and REG_CR2 to synch with kernel header.
(NGREG): Increase.
2002-11-10 11:10:49 +00:00
Roland McGrath
9372c95824
* string/test-strspn.c (do_test): Ensure zero termination.
...
* string/test-strpbrk.c (do_test): Likewise.
* string/test-strncmp.c (stupid_strncmp): Use strnlen, not strlen.
* string/test-strncpy.c (stupid_strncpy): Likewise.
* string/test-stpncpy.c (stupid_stpncpy): Likewise.
2002-10-08 Roland McGrath <roland@redhat.com>
* string/test-string.h (test_init): Fill BUF1 and BUF2 with
nonzero characters.
2002-09-22 H.J. Lu <hjl@gnu.org>
* sysdeps/unix/sysv/linux/mmap64.c (MMAP2_PAGE_SHIFT): Renamed
from PAGE_SHIFT. Define if not defined. Check MMAP2_PAGE_SHIFT
only if __NR_mmap2 is defined.
* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Moved to ...
* sysdeps/unix/sysv/linux/mmap64.c: ... here.
* sysdeps/unix/sysv/linux/hppa/mmap64.c: File removed.
* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: FIle removed,
2002-11-09 00:36:21 +00:00
Roland McGrath
c6481412ff
* configure.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove test.
...
* configure: Regenerated.
* config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove #undef.
* sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Use !samegp.
(RTLD_START): Likewise. Access _dl_skip_args, _rtld_local, and
_dl_fini via gp-relative relocations.
* sysdeps/alpha/fpu/e_sqrt.c: Use !samegp.
* elf/tls-macros.h: Add alpha versions.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle TLS relocs.
* sysdeps/unix/alpha/sysdep.S: Support USE___THREAD.
* sysdeps/unix/alpha/sysdep.h: Likewise. Add SYSCALL_ERROR_HANDLER.
* sysdeps/unix/sysv/linux/alpha/brk.S: Use it.
* sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/sysdep.h: Re-include protect.
Kill argument registers across the inline syscall.
* sysdeps/unix/sysv/linux/alpha/clone.S: Add user_tid and tls args.
* linuxthreads/sysdeps/alpha/tls.h: New file.
* sysdeps/alpha/dl-tls.h: New file.
2002-11-08 02:20:41 +00:00
Roland McGrath
131473ce5b
2002-11-06 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/mips/configure.in: File removed.
* sysdeps/unix/sysv/linux/mips/configure: Likewise.
2002-11-06 22:14:25 +00:00