mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 14:50:05 +00:00
6b0978c14a
ENTRY_POINT is still needed for elf/rtld.c. Fixes commit 4fb4e7e821
("csu: Always use __executable_start in gmon-start.c").
9 lines
374 B
C
9 lines
374 B
C
extern void _start (void);
|
|
|
|
/* Lives in libgcc.so and canonicalizes function pointers for comparison. */
|
|
extern unsigned int __canonicalize_funcptr_for_compare (unsigned int fptr);
|
|
|
|
/* The function's entry point is stored in the first word of the
|
|
function descriptor (plabel) of _start(). */
|
|
#define ENTRY_POINT __canonicalize_funcptr_for_compare((unsigned int)_start)
|