From e5931923b659ce18e191e455551c899859df341c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 19 Apr 2004 06:48:59 +0000 Subject: [PATCH] Entry point definition for hppa. --- sysdeps/hppa/elf/entry.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sysdeps/hppa/elf/entry.h diff --git a/sysdeps/hppa/elf/entry.h b/sysdeps/hppa/elf/entry.h new file mode 100644 index 0000000..b024db2 --- /dev/null +++ b/sysdeps/hppa/elf/entry.h @@ -0,0 +1,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 __canonicalize_funcptr_for_compare(_start) + +/* We have to provide a special declaration. */ +#define ENTRY_POINT_DECL(class) class void _start (void); -- 2.7.4