mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-15 17:40:06 +00:00
Remove ".set noreorder" et al; GCC already emits them.
This commit is contained in:
parent
a11dbdebf0
commit
157aaa4ee6
@ -196,8 +196,6 @@ __sigreturn (struct sigcontext *scp)
|
|||||||
How?); in user mode, `rei' demands that all other bits be zero. */
|
How?); in user mode, `rei' demands that all other bits be zero. */
|
||||||
rei_frame->ps = (usp_align << 56) | (3 << 3); /* XXX low 3 bits??? */
|
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
|
/* 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
|
are in the `rei' trap frame we set up above, and $30, which is the
|
||||||
SP which is popped by `rei'. */
|
SP which is popped by `rei'. */
|
||||||
@ -232,8 +230,6 @@ __sigreturn (struct sigcontext *scp)
|
|||||||
: : "r" (rei_frame), "i" (op_rei));
|
: : "r" (rei_frame), "i" (op_rei));
|
||||||
/* Firewall. */
|
/* Firewall. */
|
||||||
asm volatile ("call_pal %0" : : "i" (op_halt));
|
asm volatile ("call_pal %0" : : "i" (op_halt));
|
||||||
|
|
||||||
asm volatile (".set reorder; .set at;");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* NOTREACHED */
|
/* NOTREACHED */
|
||||||
|
@ -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
|
at ($28) points to the sc_regs[0] member of the sigcontext (saved v0
|
||||||
($0)). */
|
($0)). */
|
||||||
asm volatile
|
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 */
|
"lda $0, -25($31)\n" /* mach_msg_trap */
|
||||||
"call_pal %0\n" /* Magic system call instruction. */
|
"call_pal %0\n" /* Magic system call instruction. */
|
||||||
/* When the sigcontext was saved, v0 was MACH_RCV_INTERRUPTED. But
|
/* 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));
|
"jmp $31, %0" : : "i" (&__sigreturn));
|
||||||
|
|
||||||
/* NOTREACHED */
|
/* NOTREACHED */
|
||||||
asm volatile (".set reorder; .set at; .set macro");
|
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user