aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ia64/elf/entry.h
blob: b93e1b6a57dfee8a096d602669964d3aadfce54f (plain)
1
2
3
4
5
6
7
8
9
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);