2002-04-24 Roland McGrath <roland@frob.com>
authorRoland McGrath <roland@gnu.org>
Wed, 24 Apr 2002 18:16:54 +0000 (18:16 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 24 Apr 2002 18:16:54 +0000 (18:16 +0000)
* sysdeps/mach/alpha/sysdep.h (ENTRY): New macro.

sysdeps/mach/alpha/sysdep.h

index ddd98d6..84e21c8 100644 (file)
 #define ALIGN 3
 #include <sysdeps/mach/sysdep.h>
 
+/* Alpha needs the .ent and .frame magic that the generic version lacks.  */
+#undef ENTRY
+#define ENTRY(name)                            \
+  .globl name;                                 \
+  .align 3;                                    \
+  .ent name, 0;                                        \
+  name##:                                      \
+  .frame sp, 0, ra
+
 #include <mach/alpha/asm.h>
 #undef at
 #define at     28