Blame sysdeps/ia64/entry.h
|
Packit |
6c4009 |
#include <link.h>
|
|
Packit |
6c4009 |
#include <dl-fptr.h>
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
#ifndef __ASSEMBLY__
|
|
Packit |
6c4009 |
extern void _start (void);
|
|
Packit |
6c4009 |
#endif
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
/* The function's entry point is stored in the first word of the
|
|
Packit |
6c4009 |
function descriptor (plabel) of _start(). */
|
|
Packit |
6c4009 |
#define ENTRY_POINT ELF_PTR_TO_FDESC (_start)->ip
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
/* We have to provide a special declaration. */
|
|
Packit |
6c4009 |
#define ENTRY_POINT_DECL(class) class void _start (void);
|