blob: f88bb5689d297fd48dc8fb541d0b55ed9f8010df (
plain) (
blame)
1
2
3
4
5
6
7
8
|
extern void _start (void);
/* Lives in libgcc.so and canonicalizes function pointers for comparison. */
extern unsigned int __canonicalize_funcptr_for_compare (unsigned int fptr);
/* 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((unsigned int)_start)
|