diff options
author | Roland McGrath <roland@gnu.org> | 1994-12-15 00:12:48 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1994-12-15 00:12:48 +0000 |
commit | 2dd96b9d86cf027a212098bab043265a344ad767 (patch) | |
tree | e89be4931e31a69bef579f1cd3a1ef0c567b7c16 | |
parent | fe38a07c78fc51f22b856247ea4feda648b4a9c3 (diff) |
(_hurd_setup_sighandler): Remove A macro; just use `asm volatile' with
proper quotes in each line.
-rw-r--r-- | sysdeps/mach/hurd/alpha/trampoline.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sysdeps/mach/hurd/alpha/trampoline.c b/sysdeps/mach/hurd/alpha/trampoline.c index 455aa57c20..85f4964e14 100644 --- a/sysdeps/mach/hurd/alpha/trampoline.c +++ b/sysdeps/mach/hurd/alpha/trampoline.c @@ -234,14 +234,13 @@ _hurd_setup_sighandler (struct hurd_sigstate *ss, __sighandler_t handler, clobbered by running the handler). We use this saved value to pass to __sigreturn, so the handler can clobber the argument registers if it likes. */ -#define A(line) asm volatile (#line) /* Call the handler function, saving return address in ra ($26). */ - A (jsr $26, $26); + asm volatile ("jsr $26, ($26)"); /* Reset gp ($29) from the return address (here) in ra ($26). */ - A (ldgp $29, 0($26)); - A (mov $25, $16); /* Move saved SCP to argument register. */ + asm volatile ("ldgp $29, 0($26)"); + asm volatile ("mov $25, $16"); /* Move saved SCP to argument register. */ /* Call __sigreturn (SCP); this cannot return. */ - A (jmp $31, $27); + asm volatile ("jmp $31, ($27)"); /* NOTREACHED */ return NULL; |