(_start): Declared as "extern void". (etext): Likewise.

This commit is contained in:
Ulrich Drepper 2000-04-21 03:38:54 +00:00
parent 8b07d6a860
commit dfcaa6429a

View File

@ -22,8 +22,11 @@
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
/* Beginning and end of our code segment. */ /* Beginning and end of our code segment. We cannot declare them
extern void _start (void), etext (void); 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 _start, etext;
#ifndef HAVE_INITFINI #ifndef HAVE_INITFINI
/* This function gets called at startup by the normal constructor /* This function gets called at startup by the normal constructor