aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-04-24 18:16:54 +0000
committerRoland McGrath <roland@gnu.org>2002-04-24 18:16:54 +0000
commit2ee700db50930fd1189407488eb127cb6fdc65fa (patch)
treeeb8360a6bdcc0db01e1070ec20dc47385958289d
parent337ca8062e5bed786b42772fdb17bfa4ffd733d6 (diff)
downloadglibc-2ee700db50930fd1189407488eb127cb6fdc65fa.tar.xz
glibc-2ee700db50930fd1189407488eb127cb6fdc65fa.zip
2002-04-24 Roland McGrath <roland@frob.com>
* sysdeps/mach/alpha/sysdep.h (ENTRY): New macro.
-rw-r--r--sysdeps/mach/alpha/sysdep.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/mach/alpha/sysdep.h b/sysdeps/mach/alpha/sysdep.h
index ddd98d666a..84e21c8d5d 100644
--- a/sysdeps/mach/alpha/sysdep.h
+++ b/sysdeps/mach/alpha/sysdep.h
@@ -43,6 +43,15 @@
#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