Entry point definition for hppa.
authorUlrich Drepper <drepper@redhat.com>
Mon, 19 Apr 2004 06:48:59 +0000 (06:48 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 19 Apr 2004 06:48:59 +0000 (06:48 +0000)
sysdeps/hppa/elf/entry.h [new file with mode: 0644]

diff --git a/sysdeps/hppa/elf/entry.h b/sysdeps/hppa/elf/entry.h
new file mode 100644 (file)
index 0000000..b024db2
--- /dev/null
@@ -0,0 +1,10 @@
+#ifndef __ASSEMBLY__
+extern void _start (void);
+#endif
+
+/* The function's entry point is stored in the first word of the
+   function descriptor (plabel) of _start().  */
+#define ENTRY_POINT __canonicalize_funcptr_for_compare(_start)
+
+/* We have to provide a special declaration.  */
+#define ENTRY_POINT_DECL(class) class void _start (void);