aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ia64/entry.h
blob: e11b49fc53602eb8a0524119a49da9a9deb83f9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <link.h>
#include <dl-fptr.h>

#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 ELF_PTR_TO_FDESC (_start)->ip

/* We have to provide a special declaration.  */
#define ENTRY_POINT_DECL(class) class void _start (void);