glibc/sysdeps/ia64/elf/entry.h
Ulrich Drepper ca13ce66be Update.
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.
2001-07-25 22:15:17 +00:00

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);