about summary refs log tree commit diff
path: root/sysdeps/ia64
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-07-25 22:15:17 +0000
committerUlrich Drepper <drepper@redhat.com>2001-07-25 22:15:17 +0000
commitca13ce66be1bb4d218c89b1680e7aa177a3275cd (patch)
treee3789e80df94ee38392971b6863f7d9d027aba2b /sysdeps/ia64
parent6ef77f193e623585ccc8af005df956c5e10e01ca (diff)
downloadglibc-ca13ce66be1bb4d218c89b1680e7aa177a3275cd.tar.gz
glibc-ca13ce66be1bb4d218c89b1680e7aa177a3275cd.tar.xz
glibc-ca13ce66be1bb4d218c89b1680e7aa177a3275cd.zip
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.
Diffstat (limited to 'sysdeps/ia64')
-rw-r--r--sysdeps/ia64/elf/entry.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/ia64/elf/entry.h b/sysdeps/ia64/elf/entry.h
index 53ea9a2297..b93e1b6a57 100644
--- a/sysdeps/ia64/elf/entry.h
+++ b/sysdeps/ia64/elf/entry.h
@@ -5,3 +5,6 @@ extern void _start (void);
 /* 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);