mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
Restore ENTRY_POINT definition on hppa, ia64 (bug 28749)
ENTRY_POINT is still needed for elf/rtld.c. Fixes commit 4fb4e7e821
("csu: Always use __executable_start in gmon-start.c").
This commit is contained in:
parent
acbaad31e8
commit
6b0978c14a
8
sysdeps/hppa/entry.h
Normal file
8
sysdeps/hppa/entry.h
Normal file
@ -0,0 +1,8 @@
|
||||
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)
|
8
sysdeps/ia64/entry.h
Normal file
8
sysdeps/ia64/entry.h
Normal file
@ -0,0 +1,8 @@
|
||||
#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
|
Loading…
Reference in New Issue
Block a user