mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 07:20:11 +00:00
ca13ce66be
2001-07-25 Ulrich Drepper <drepper@redhat.com> * csu/gmon-start.c: Use ENTRY_POINT_DECL is defined instead of a declaration using ENTRY_POINT. * sysdeps/ia64/elf/entry.h (ENTRY_POINT_DECL): New definition. 2001-07-25 H.J. Lu <hjl@gnu.org> * csu/gmon-start.c: Include <entry.h> (_start): Replaced with ENTRY_POINT.
11 lines
325 B
C
11 lines
325 B
C
#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 (((long int *) _start)[0])
|
|
|
|
/* We have to provide a special declaration. */
|
|
#define ENTRY_POINT_DECL(class) class void _start (void);
|