about summary refs log tree commit diff
path: root/sysdeps/ia64/elf/entry.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ia64/elf/entry.h')
-rw-r--r--sysdeps/ia64/elf/entry.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/ia64/elf/entry.h b/sysdeps/ia64/elf/entry.h
index 53ea9a2297..b93e1b6a57 100644
--- a/sysdeps/ia64/elf/entry.h
+++ b/sysdeps/ia64/elf/entry.h
@@ -5,3 +5,6 @@ extern void _start (void);
 /* The function's entry point is stored in the first word of the
    function descriptor (plabel) of _start().  */
 #define ENTRY_POINT (((long int *) _start)[0])
+
+/* We have to provide a special declaration.  */
+#define ENTRY_POINT_DECL(class) class void _start (void);