mirror of
				https://sourceware.org/git/glibc.git
				synced 2025-11-03 20:53:13 +03:00 
			
		
		
		
	ENTRY_POINT is still needed for elf/rtld.c.  Fixes commit 4fb4e7e821
("csu: Always use __executable_start in gmon-start.c").
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			232 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			9 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
 |