platform/upstream/glibc.git
29 years agoentered into RCS
Roland McGrath [Wed, 24 Aug 1994 22:57:24 +0000 (22:57 +0000)]
entered into RCS

29 years agoInitial revision
Roland McGrath [Wed, 24 Aug 1994 22:55:10 +0000 (22:55 +0000)]
Initial revision

29 years agoentered into RCS
Roland McGrath [Wed, 24 Aug 1994 13:54:00 +0000 (13:54 +0000)]
entered into RCS

29 years ago(SYSRETURN): New macro.
Roland McGrath [Mon, 22 Aug 1994 19:00:39 +0000 (19:00 +0000)]
(SYSRETURN): New macro.

29 years ago(__sigreturn): Arg is not const.
Roland McGrath [Mon, 22 Aug 1994 09:06:46 +0000 (09:06 +0000)]
(__sigreturn): Arg is not const.
After restoring SCP->sc_mask, check for pending signals (newly unblocked);
if any, set SS->context to SCP, clear SS->intr_port, and send sig_post
to the signal thread to deliver the pending signals.
Don't write $1 value into the user stack.  Instead, write it into the word
just past SCP->sc_pc; then point $1 at SCP->sc_pc and use `op_sigreturn'
pseudo-instruction to restore the PC and $1 from that.

29 years agoInclude "thread_state.h" instead of <mach/thread_status.h>.
Roland McGrath [Mon, 22 Aug 1994 05:02:49 +0000 (05:02 +0000)]
Include "thread_state.h" instead of <mach/thread_status.h>.
(struct mach_msg_trap_args): New type.
(trampoline): Function removed.
(_hurd_setup_sighandler): Take struct hurd_sigstate * arg instead of FLAGS
and SIGALTSTACK args; take new flag arg RPC_WAIT; use struct
machine_thread_all_state * for STATE arg.
New declared labels `trampoline', `rpc_wait_trampoline' mark asm code at
end of function (after return).
Add another struct sigcontext * to STACKFRAME after the first one, for the
arg to __sigreturn.
If SS->context is set, fill registers in SCP from that instead of STATE,
and reset SS->INTR_PORT from it.
If RPC_WAIT is set, set up to use rpc_wait_trampoline and frob args to
mach_msg_trap syscall in progress so that it will retry the receive
operation (but not resend!).
{rpc_wait_trampoline, trampoline}: New trampoline code.
(_hurd_rcv_interrupted_p): New function.

29 years agoDon't #include <mach/thread_status.h>.
Roland McGrath [Tue, 16 Aug 1994 06:06:18 +0000 (06:06 +0000)]
Don't #include <mach/thread_status.h>.

29 years agoAdd #include_next <thread_state.h> at end.
Roland McGrath [Tue, 16 Aug 1994 06:04:07 +0000 (06:04 +0000)]
Add #include_next <thread_state.h> at end.

29 years ago(sc_mips_thread_state, sc_mips_exc_state, sc_mips_float_state): New macros,
Roland McGrath [Tue, 16 Aug 1994 05:58:17 +0000 (05:58 +0000)]
(sc_mips_thread_state, sc_mips_exc_state, sc_mips_float_state): New macros,
marking members that correspond to thread_state.h structs.

29 years agoReplace uses of HOST_CC with BUILD_CC and native-CFLAGS with BUILD_CFLAGS.
Roland McGrath [Tue, 16 Aug 1994 00:52:22 +0000 (00:52 +0000)]
Replace uses of HOST_CC with BUILD_CC and native-CFLAGS with BUILD_CFLAGS.

29 years agoReplace all uses of __const with __CONSTVALUE.
Roland McGrath [Tue, 16 Aug 1994 00:42:48 +0000 (00:42 +0000)]
Replace all uses of __const with __CONSTVALUE.

29 years ago(elided-routines): New variable (append to it).
Roland McGrath [Tue, 16 Aug 1994 00:35:22 +0000 (00:35 +0000)]
(elided-routines): New variable (append to it).
(aux, routines): Don't set these.
(sysdep_routines): Append things here instead.

29 years ago(struct sigcontext): Renamed member `sc_err' to `sc_error'.
Roland McGrath [Thu, 11 Aug 1994 00:26:03 +0000 (00:26 +0000)]
(struct sigcontext): Renamed member `sc_err' to `sc_error'.

29 years ago(_hurd_exception2signal): Take new arg `int *error'; set it.
Roland McGrath [Mon, 8 Aug 1994 22:54:44 +0000 (22:54 +0000)]
(_hurd_exception2signal): Take new arg `int *error'; set it.

29 years ago(struct sigcontext): Added member `sc_err'.
Roland McGrath [Mon, 8 Aug 1994 07:58:38 +0000 (07:58 +0000)]
(struct sigcontext): Added member `sc_err'.

29 years ago(struct machine_thread_all_state): New type.
Roland McGrath [Mon, 8 Aug 1994 07:39:58 +0000 (07:39 +0000)]
(struct machine_thread_all_state): New type.

29 years agoRearranged structure so machine-dependent portion is laid out like `struct
Roland McGrath [Wed, 3 Aug 1994 16:32:47 +0000 (16:32 +0000)]
Rearranged structure so machine-dependent portion is laid out like `struct
mips_thread_state; struct mips_exc_state; struct mips_float_state;'.

29 years agoCompare *reply_port to MACH_PORT_NULL, not implicit zero.
Roland McGrath [Wed, 3 Aug 1994 06:45:59 +0000 (06:45 +0000)]
Compare *reply_port to MACH_PORT_NULL, not implicit zero.
(restore_gpr): Use N-1 as subscript into sc_gpr (sc_gpr[0] => $1).
Before general regs, restore from sc_mdlo and sc_mdhi.
Don't treat sp, fp specially; use restore_gpr for them too.
For final return, store user $1 value beyond top of user stack ahead of
time; Then use $1 to hold the user PC, and restore it from the stack in the
delay slot.

29 years ago(_hurd_setup_sighandler): Copy TS to SCP all at once.
Roland McGrath [Wed, 3 Aug 1994 01:38:43 +0000 (01:38 +0000)]
(_hurd_setup_sighandler): Copy TS to SCP all at once.

29 years ago(struct sigcontext): sc_gpr has 31 elts; sc_gpr, sc_pc, sc_mdlo, sc_mdhi
Roland McGrath [Wed, 3 Aug 1994 01:36:31 +0000 (01:36 +0000)]
(struct sigcontext): sc_gpr has 31 elts; sc_gpr, sc_pc, sc_mdlo, sc_mdhi
are arranged in that order to mimic struct mips_thread_state.

29 years ago[__sgi__]: Use `fp' instead of `$fp'.
Roland McGrath [Wed, 3 Aug 1994 01:03:35 +0000 (01:03 +0000)]
[__sgi__]: Use `fp' instead of `$fp'.

29 years ago(_hurd_setup_sighandler): Save mdlo and mdhi.
Roland McGrath [Tue, 2 Aug 1994 00:15:34 +0000 (00:15 +0000)]
(_hurd_setup_sighandler): Save mdlo and mdhi.

29 years ago(struct sigcontext): Add members sc_mdlo, sc_mdhi.
Roland McGrath [Tue, 2 Aug 1994 00:12:17 +0000 (00:12 +0000)]
(struct sigcontext): Add members sc_mdlo, sc_mdhi.

29 years agoIncorporated from BSD 4.4-Lite.
Roland McGrath [Sun, 31 Jul 1994 20:01:52 +0000 (20:01 +0000)]
Incorporated from BSD 4.4-Lite.

29 years agoRename variable AT (which is the register's name) to SCPREG.
Roland McGrath [Fri, 29 Jul 1994 16:39:58 +0000 (16:39 +0000)]
Rename variable AT (which is the register's name) to SCPREG.
Fix some SCP references in register loads to use SCPREG instead.
Load SCPREG->sc_pc into $24 and jump to it, restoring $at in the delay slot.
This still leaves $24 clobbered.

29 years agoUse `unsigned int' consistently for port names.
Roland McGrath [Fri, 29 Jul 1994 15:53:52 +0000 (15:53 +0000)]
Use `unsigned int' consistently for port names.

29 years agoDon't set up args on the stack; pass them in registers.
Roland McGrath [Fri, 29 Jul 1994 15:46:10 +0000 (15:46 +0000)]
Don't set up args on the stack; pass them in registers.

30 years ago(PSEUDO): Remove ret at end.
Roland McGrath [Fri, 22 Jul 1994 23:54:43 +0000 (23:54 +0000)]
(PSEUDO): Remove ret at end.

30 years agoentered into RCS
Roland McGrath [Sat, 16 Jul 1994 21:16:53 +0000 (21:16 +0000)]
entered into RCS

30 years agoInitial revision
Roland McGrath [Sat, 16 Jul 1994 21:16:31 +0000 (21:16 +0000)]
Initial revision

30 years agoentered into RCS
Roland McGrath [Sat, 16 Jul 1994 04:43:42 +0000 (04:43 +0000)]
entered into RCS

30 years agoentered into RCS
Brendan Kehoe [Thu, 14 Jul 1994 22:21:57 +0000 (22:21 +0000)]
entered into RCS

30 years agoInitial revision
Brendan Kehoe [Thu, 14 Jul 1994 22:13:18 +0000 (22:13 +0000)]
Initial revision

30 years agoentered into RCS
Brendan Kehoe [Thu, 14 Jul 1994 19:43:12 +0000 (19:43 +0000)]
entered into RCS

30 years agoentered into RCS
Brendan Kehoe [Mon, 11 Jul 1994 21:49:56 +0000 (21:49 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Sat, 9 Jul 1994 07:24:37 +0000 (07:24 +0000)]
entered into RCS

30 years agoInitial revision
Roland McGrath [Sat, 9 Jul 1994 07:12:44 +0000 (07:12 +0000)]
Initial revision

30 years agoFormerly sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile.~3~
Brendan Kehoe [Sat, 9 Jul 1994 01:59:28 +0000 (01:59 +0000)]
Formerly sysdeps/unix/sysv/sysv4/solaris2/sparc/Makefile.~3~

30 years agoentered into RCS
Brendan Kehoe [Sat, 9 Jul 1994 01:59:20 +0000 (01:59 +0000)]
entered into RCS

30 years agoInitial revision
Brendan Kehoe [Sat, 9 Jul 1994 01:38:37 +0000 (01:38 +0000)]
Initial revision

30 years agoFormerly unix/sysv/sysv4/solaris2/Makefile.~3~
Brendan Kehoe [Sat, 9 Jul 1994 00:26:26 +0000 (00:26 +0000)]
Formerly unix/sysv/sysv4/solaris2/Makefile.~3~

30 years agoentered into RCS
Roland McGrath [Fri, 8 Jul 1994 18:39:48 +0000 (18:39 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Tue, 28 Jun 1994 20:31:20 +0000 (20:31 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Thu, 23 Jun 1994 05:17:22 +0000 (05:17 +0000)]
entered into RCS

30 years agoentered into RCS
Brendan Kehoe [Tue, 14 Jun 1994 18:09:31 +0000 (18:09 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Mon, 13 Jun 1994 23:50:11 +0000 (23:50 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Fri, 10 Jun 1994 22:43:23 +0000 (22:43 +0000)]
entered into RCS

30 years agoFormerly unix/sysv/sysv4/i386/sysdep.h.~2~
Roland McGrath [Tue, 24 May 1994 05:56:11 +0000 (05:56 +0000)]
Formerly unix/sysv/sysv4/i386/sysdep.h.~2~

30 years agoFormerly unix/sysv/sysv4/sigset.h.~5~
Roland McGrath [Sat, 21 May 1994 20:42:51 +0000 (20:42 +0000)]
Formerly unix/sysv/sysv4/sigset.h.~5~

30 years agoentered into RCS
Roland McGrath [Sat, 21 May 1994 01:33:03 +0000 (01:33 +0000)]
entered into RCS

30 years agoInitial revision
Roland McGrath [Sat, 21 May 1994 01:32:10 +0000 (01:32 +0000)]
Initial revision

30 years agoentered into RCS
Roland McGrath [Thu, 19 May 1994 15:29:10 +0000 (15:29 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Thu, 19 May 1994 03:36:32 +0000 (03:36 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Wed, 18 May 1994 23:30:27 +0000 (23:30 +0000)]
entered into RCS

30 years agoInitial revision
Roland McGrath [Wed, 18 May 1994 22:13:04 +0000 (22:13 +0000)]
Initial revision

30 years agoentered into RCS
Roland McGrath [Wed, 18 May 1994 21:54:10 +0000 (21:54 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Mon, 16 May 1994 22:43:49 +0000 (22:43 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Mon, 16 May 1994 20:39:16 +0000 (20:39 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Thu, 12 May 1994 03:08:56 +0000 (03:08 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Tue, 10 May 1994 21:47:20 +0000 (21:47 +0000)]
entered into RCS

30 years agoFormerly mips/setjmp.S.~4~
Roland McGrath [Tue, 10 May 1994 21:29:43 +0000 (21:29 +0000)]
Formerly mips/setjmp.S.~4~

30 years agoInitial revision
Roland McGrath [Tue, 10 May 1994 21:29:35 +0000 (21:29 +0000)]
Initial revision

30 years agoentered into RCS
Roland McGrath [Fri, 22 Apr 1994 22:17:17 +0000 (22:17 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Wed, 20 Apr 1994 03:12:09 +0000 (03:12 +0000)]
entered into RCS

30 years agoFormerly unix/sysv/sysv4/__sigact.c.~4~
Roland McGrath [Wed, 6 Apr 1994 01:26:12 +0000 (01:26 +0000)]
Formerly unix/sysv/sysv4/__sigact.c.~4~

30 years agoentered into RCS
Roland McGrath [Thu, 24 Mar 1994 20:03:52 +0000 (20:03 +0000)]
entered into RCS

30 years agoFormerly unix/sysv/sco3.2.4/__sigact.S.~2~
Roland McGrath [Thu, 24 Mar 1994 20:01:19 +0000 (20:01 +0000)]
Formerly unix/sysv/sco3.2.4/__sigact.S.~2~

30 years agoentered into RCS
Roland McGrath [Tue, 22 Mar 1994 03:11:12 +0000 (03:11 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Fri, 18 Mar 1994 06:02:48 +0000 (06:02 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Mon, 7 Mar 1994 22:46:41 +0000 (22:46 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Thu, 3 Mar 1994 22:35:49 +0000 (22:35 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Tue, 1 Mar 1994 16:44:24 +0000 (16:44 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Fri, 25 Feb 1994 01:04:05 +0000 (01:04 +0000)]
entered into RCS

30 years agoFormerly unix/mips/sysdep.S.~2~
Roland McGrath [Fri, 25 Feb 1994 00:58:57 +0000 (00:58 +0000)]
Formerly unix/mips/sysdep.S.~2~

30 years agoFormerly unix/sysv/irix4/signum.h.~2~
Roland McGrath [Fri, 25 Feb 1994 00:46:06 +0000 (00:46 +0000)]
Formerly unix/sysv/irix4/signum.h.~2~

30 years agoInitial revision
Roland McGrath [Fri, 25 Feb 1994 00:29:31 +0000 (00:29 +0000)]
Initial revision

30 years agoentered into RCS
Roland McGrath [Fri, 25 Feb 1994 00:03:44 +0000 (00:03 +0000)]
entered into RCS

30 years agoFormerly unix/sysv/irix4/__getgrps.c.~2~
Roland McGrath [Thu, 24 Feb 1994 23:55:30 +0000 (23:55 +0000)]
Formerly unix/sysv/irix4/__getgrps.c.~2~

30 years agoFormerly unix/bsd/sun/sunos4/sys/mman.h.~3~
Roland McGrath [Wed, 23 Feb 1994 02:50:58 +0000 (02:50 +0000)]
Formerly unix/bsd/sun/sunos4/sys/mman.h.~3~

30 years agoFormerly unix/sysv/sysv4/__sigact.c.~3~
Brendan Kehoe [Tue, 22 Feb 1994 01:47:51 +0000 (01:47 +0000)]
Formerly unix/sysv/sysv4/__sigact.c.~3~

30 years agoentered into RCS
Roland McGrath [Sun, 20 Feb 1994 19:18:22 +0000 (19:18 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Sun, 20 Feb 1994 05:46:12 +0000 (05:46 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Sat, 19 Feb 1994 22:39:32 +0000 (22:39 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Thu, 17 Feb 1994 23:44:17 +0000 (23:44 +0000)]
entered into RCS

30 years agoFormerly unix/sysv/sysv4/__sigact.c.~2~
Roland McGrath [Thu, 17 Feb 1994 01:59:39 +0000 (01:59 +0000)]
Formerly unix/sysv/sysv4/__sigact.c.~2~

30 years agoFormerly unix/sysv/sysv4/i386/sys-sig.S.~2~
Roland McGrath [Thu, 17 Feb 1994 01:59:26 +0000 (01:59 +0000)]
Formerly unix/sysv/sysv4/i386/sys-sig.S.~2~

30 years agoInitial revision
Roland McGrath [Thu, 17 Feb 1994 01:57:40 +0000 (01:57 +0000)]
Initial revision

30 years agoentered into RCS
Roland McGrath [Thu, 17 Feb 1994 01:57:33 +0000 (01:57 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Thu, 17 Feb 1994 00:34:24 +0000 (00:34 +0000)]
entered into RCS

30 years agoFormerly unix/bsd/sun/sunos4/sys/mman.h.~2~
Roland McGrath [Wed, 16 Feb 1994 23:49:29 +0000 (23:49 +0000)]
Formerly unix/bsd/sun/sunos4/sys/mman.h.~2~

30 years agoentered into RCS
Roland McGrath [Wed, 16 Feb 1994 23:13:37 +0000 (23:13 +0000)]
entered into RCS

30 years agoInitial revision
Roland McGrath [Wed, 16 Feb 1994 23:11:21 +0000 (23:11 +0000)]
Initial revision

30 years agoInitial revision
Roland McGrath [Tue, 15 Feb 1994 18:03:42 +0000 (18:03 +0000)]
Initial revision

30 years agoInitial revision
Roland McGrath [Tue, 15 Feb 1994 02:17:49 +0000 (02:17 +0000)]
Initial revision

30 years agoentered into RCS
Roland McGrath [Tue, 15 Feb 1994 02:04:46 +0000 (02:04 +0000)]
entered into RCS

30 years agoentered into RCS
Roland McGrath [Mon, 14 Feb 1994 16:04:07 +0000 (16:04 +0000)]
entered into RCS

30 years agoFormerly unix/bsd/m68k/sysdep.S.~6~
Roland McGrath [Mon, 14 Feb 1994 15:36:49 +0000 (15:36 +0000)]
Formerly unix/bsd/m68k/sysdep.S.~6~

30 years agoFormerly m68k/Makefile.~10~
Roland McGrath [Mon, 14 Feb 1994 03:10:48 +0000 (03:10 +0000)]
Formerly m68k/Makefile.~10~

30 years agoentered into RCS
Roland McGrath [Mon, 14 Feb 1994 03:10:44 +0000 (03:10 +0000)]
entered into RCS

30 years agoFormerly unix/bsd/sony/newsos/m68k/sysdep.h.~5~
Roland McGrath [Mon, 14 Feb 1994 03:10:40 +0000 (03:10 +0000)]
Formerly unix/bsd/sony/newsos/m68k/sysdep.h.~5~