diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2013-08-13 05:52:28 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2013-08-13 05:52:28 +0000 |
commit | f2b95a621a9fd41d222844eda237f607eb14d49c (patch) | |
tree | 38d62981cd1caedc3a6a01713c2e4266107b7220 /libexec/ld.so/alpha | |
parent | bee789b12305f3c5e594fe03c965e0786969eeb7 (diff) |
Switch time_t, ino_t, clock_t, and struct kevent's ident and data
members to 64bit types. Assign new syscall numbers for (almost
all) the syscalls that involve the affected types, including anything
with time_t, timeval, itimerval, timespec, rusage, dirent, stat,
or kevent arguments. Add a d_off member to struct dirent and replace
getdirentries() with getdents(), thus immensely simplifying and
accelerating telldir/seekdir. Build perl with -DBIG_TIME.
Bump the major on every single base library: the compat bits included
here are only good enough to make the transition; the T32 compat
option will be burned as soon as we've reached the new world are
are happy with the snapshots for all architectures.
DANGER: ABI incompatibility. Updating to this kernel requires extra
work or you won't be able to login: install a snapshot instead.
Much assistance in fixing userland issues from deraadt@ and tedu@
and build assistance from todd@ and otto@
Diffstat (limited to 'libexec/ld.so/alpha')
-rw-r--r-- | libexec/ld.so/alpha/ldasm.S | 8 | ||||
-rw-r--r-- | libexec/ld.so/alpha/syscall.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/libexec/ld.so/alpha/ldasm.S b/libexec/ld.so/alpha/ldasm.S index 5fb82ed6d0c..dc6fc431150 100644 --- a/libexec/ld.so/alpha/ldasm.S +++ b/libexec/ld.so/alpha/ldasm.S @@ -1,4 +1,4 @@ -/* $OpenBSD: ldasm.S,v 1.20 2013/06/01 09:57:57 miod Exp $ */ +/* $OpenBSD: ldasm.S,v 1.21 2013/08/13 05:52:18 guenther Exp $ */ /* * Copyright (c) 2001 Niklas Hallqvist @@ -276,11 +276,11 @@ LEAF_NOPROFILE(_dl_fcntl, 3) RET END(_dl_fcntl) -LEAF_NOPROFILE(_dl_getdirentries, 4) - ldiq v0, SYS_getdirentries +LEAF_NOPROFILE(_dl_getdents, 3) + ldiq v0, SYS_getdents call_pal PAL_OSF1_callsys RET -END(_dl_getdirentries) +END(_dl_getdents) /* _dl_sigprocmask does not support NULL new mask */ LEAF_NOPROFILE(_dl_sigprocmask, 4) diff --git a/libexec/ld.so/alpha/syscall.h b/libexec/ld.so/alpha/syscall.h index a510899e777..0475addb604 100644 --- a/libexec/ld.so/alpha/syscall.h +++ b/libexec/ld.so/alpha/syscall.h @@ -1,4 +1,4 @@ -/* $OpenBSD: syscall.h,v 1.22 2013/06/09 13:10:19 miod Exp $ */ +/* $OpenBSD: syscall.h,v 1.23 2013/08/13 05:52:18 guenther Exp $ */ /* * Copyright (c) 2001 Niklas Hallqvist @@ -48,7 +48,7 @@ int _dl_open(const char *, int); ssize_t _dl_read(int, const char *, size_t); int _dl_fstat(int, struct stat *); int _dl_fcntl(int, int, ...); -int _dl_getdirentries(int, char *, int, off_t *); +ssize_t _dl_getdents(int, char *, size_t); long _dl__syscall(quad_t, ...); int _dl_sigprocmask(int, const sigset_t *, sigset_t *); int _dl_sysctl(const int *, u_int, void *, size_t *, void *, size_t); |