mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-05 21:00:05 +00:00
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.
This commit is contained in:
parent
6ef77f193e
commit
ca13ce66be
11
ChangeLog
11
ChangeLog
@ -1,3 +1,14 @@
|
||||
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 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* sysdeps/unix/bsd/bsd4.4/bits/socket.h: New file.
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Code to enable profiling at program startup.
|
||||
Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
|
||||
Copyright (C) 1995, 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -28,7 +28,12 @@
|
||||
as the external functions since we want the addresses of those
|
||||
labels. Taking the address of a function may have different
|
||||
meanings on different platforms. */
|
||||
extern void ENTRY_POINT, etext;
|
||||
#ifdef ENTRY_POINT_DECL
|
||||
ENTRY_POINT_DECL(extern)
|
||||
#else
|
||||
extern void ENTRY_POINT;
|
||||
#endif
|
||||
extern void etext;
|
||||
|
||||
#ifndef HAVE_INITFINI
|
||||
/* This function gets called at startup by the normal constructor
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user