From 157aaa4ee6cbe712ff16556596e72fb4bb189112 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 9 Dec 1994 03:42:31 +0000 Subject: [PATCH] Remove ".set noreorder" et al; GCC already emits them. --- sysdeps/mach/hurd/alpha/sigreturn.c | 4 ---- sysdeps/mach/hurd/alpha/trampoline.c | 5 +---- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/sysdeps/mach/hurd/alpha/sigreturn.c b/sysdeps/mach/hurd/alpha/sigreturn.c index db6e873..265a4f7 100644 --- a/sysdeps/mach/hurd/alpha/sigreturn.c +++ b/sysdeps/mach/hurd/alpha/sigreturn.c @@ -196,8 +196,6 @@ __sigreturn (struct sigcontext *scp) How?); in user mode, `rei' demands that all other bits be zero. */ rei_frame->ps = (usp_align << 56) | (3 << 3); /* XXX low 3 bits??? */ - asm volatile (".set noreorder; .set noat;"); - /* Restore the other general registers: everything except $2..$7, which are in the `rei' trap frame we set up above, and $30, which is the SP which is popped by `rei'. */ @@ -232,8 +230,6 @@ __sigreturn (struct sigcontext *scp) : : "r" (rei_frame), "i" (op_rei)); /* Firewall. */ asm volatile ("call_pal %0" : : "i" (op_halt)); - - asm volatile (".set reorder; .set at;"); } /* NOTREACHED */ diff --git a/sysdeps/mach/hurd/alpha/trampoline.c b/sysdeps/mach/hurd/alpha/trampoline.c index 730439f..9b32284 100644 --- a/sysdeps/mach/hurd/alpha/trampoline.c +++ b/sysdeps/mach/hurd/alpha/trampoline.c @@ -193,8 +193,7 @@ _hurd_setup_sighandler (struct hurd_sigstate *ss, __sighandler_t handler, at ($28) points to the sc_regs[0] member of the sigcontext (saved v0 ($0)). */ asm volatile - (".set noat; .set noreorder; .set nomacro\n" - /* Retry the interrupted mach_msg system call. */ + (/* Retry the interrupted mach_msg system call. */ "lda $0, -25($31)\n" /* mach_msg_trap */ "call_pal %0\n" /* Magic system call instruction. */ /* When the sigcontext was saved, v0 was MACH_RCV_INTERRUPTED. But @@ -235,8 +234,6 @@ _hurd_setup_sighandler (struct hurd_sigstate *ss, __sighandler_t handler, "jmp $31, %0" : : "i" (&__sigreturn)); /* NOTREACHED */ - asm volatile (".set reorder; .set at; .set macro"); - return NULL; } -- 2.7.4