mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
ENTRY_POINT is still needed for elf/rtld.c. Fixes commit 4fb4e7e821
("csu: Always use __executable_start in gmon-start.c").
8 lines
232 B
C
8 lines
232 B
C
#include <link.h>
|
|
#include <dl-fptr.h>
|
|
|
|
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 ELF_PTR_TO_FDESC (_start)->ip
|