mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 22:40:05 +00:00
(_start): Declared as "extern void". (etext): Likewise.
This commit is contained in:
parent
8b07d6a860
commit
dfcaa6429a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user