From: Ulrich Drepper Date: Mon, 19 Apr 2004 06:48:59 +0000 (+0000) Subject: Entry point definition for hppa. X-Git-Tag: glibc-2.16-ports-before-merge~1185 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5931923b659ce18e191e455551c899859df341c;p=thirdparty%2Fglibc.git Entry point definition for hppa. --- diff --git a/sysdeps/hppa/elf/entry.h b/sysdeps/hppa/elf/entry.h new file mode 100644 index 00000000000..b024db2be77 --- /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);