diff options
Diffstat (limited to 'libc/ports/sysdeps/ia64/entry.h')
-rw-r--r-- | libc/ports/sysdeps/ia64/entry.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libc/ports/sysdeps/ia64/entry.h b/libc/ports/sysdeps/ia64/entry.h new file mode 100644 index 000000000..b93e1b6a5 --- /dev/null +++ b/libc/ports/sysdeps/ia64/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 (((long int *) _start)[0]) + +/* We have to provide a special declaration. */ +#define ENTRY_POINT_DECL(class) class void _start (void); |