]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(CALL_WITH_SP): Put parens around jmp target register.
authorRoland McGrath <roland@gnu.org>
Thu, 15 Dec 1994 00:09:43 +0000 (00:09 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 15 Dec 1994 00:09:43 +0000 (00:09 +0000)
sysdeps/mach/alpha/sysdep.h

index 4ef23ae21b0f9b8e195ecd77d251d37500dd5ea9..a32766270b6be0dc72b78c545748a8a795536521 100644 (file)
@@ -31,7 +31,7 @@ Cambridge, MA 02139, USA.  */
 
 #define CALL_WITH_SP(fn, sp) \
   ({ register long int __fn = (long int) fn, __sp = (long int) sp; \
-     asm volatile ("mov %0,$30; jmp $31, %1; ldgp $29, 0(%1)" \
+     asm volatile ("mov %0,$30; jmp $31, (%1); ldgp $29, 0(%1)" \
                   : : "r" (__sp), "r" (__fn)); })
 
 #define ENTRY(name) LEAF(name, ***loser no arg count***)