diff options
Diffstat (limited to 'sysdeps/hppa/entry.h')
-rw-r--r-- | sysdeps/hppa/entry.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/hppa/entry.h b/sysdeps/hppa/entry.h new file mode 100644 index 0000000000..b024db2be7 --- /dev/null +++ b/sysdeps/hppa/entry.h @@ -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); |