mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 09:42:45 +00:00 
			
		
		
		
	Loader: Add dynamic loader program
The dynamic loader exists as /usr/lib/Loader.so and is loaded by the kernel when ET_DYN programs are executed. The dynamic loader is responsible for loading the dependencies of the main program, allocating TLS storage, preparing all loaded objects for execution and finally jumping to the entry of the main program.
This commit is contained in:
		
							parent
							
								
									781aa424a9
								
							
						
					
					
						commit
						07b4957361
					
				
					 18 changed files with 962 additions and 104 deletions
				
			
		
							
								
								
									
										5
									
								
								Demos/DynamicObject/lib.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								Demos/DynamicObject/lib.h
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | |||
| 
 | ||||
| int func(); | ||||
| 
 | ||||
| extern __thread int g_tls1; | ||||
| extern __thread int g_tls2; | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Itamar
						Itamar