]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/glibc/glibc-2.3.2/50_glibc23-hppa-entry.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / glibc / glibc-2.3.2 / 50_glibc23-hppa-entry.patch
1 --- glibc/sysdeps/hppa/elf/entry.h      2003-05-15 22:29:52.000000000 -0700
2 +++ glibc/sysdeps/hppa/elf/entry.h      2003-05-15 22:29:52.000000000 -0700
3 @@ -0,0 +1,10 @@
4 +#ifndef __ASSEMBLY__
5 +extern void _start (void);
6 +#endif
7 +
8 +/* The function's entry point is stored in the first word of the
9 +   function descriptor (plabel) of _start().  */
10 +#define ENTRY_POINT (*(long *)(((long)_start) & ~2))
11 +
12 +/* We have to provide a special declaration.  */
13 +#define ENTRY_POINT_DECL(class) class void _start (void);