diff options
Diffstat (limited to 'sysdeps/hppa/entry.h')
-rw-r--r-- | sysdeps/hppa/entry.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/hppa/entry.h b/sysdeps/hppa/entry.h new file mode 100644 index 0000000000..f88bb5689d --- /dev/null +++ b/sysdeps/hppa/entry.h @@ -0,0 +1,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) |