Remove dead code for ARM semihosting commandline handling
There are some bits in the code which were used to store the commandline for the semihosting call. These bits are now write-only and can be removed. Signed-off-by: Wolfgang Schildbach <wschi@dolby.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
This commit is contained in:
		
							parent
							
								
									2e8785acc6
								
							
						
					
					
						commit
						67af42ac5a
					
				|  | @ -176,8 +176,6 @@ int loader_exec(const char * filename, char ** argv, char ** envp, | |||
| 
 | ||||
|     retval = prepare_binprm(&bprm); | ||||
| 
 | ||||
|     infop->host_argv = argv; | ||||
| 
 | ||||
|     if(retval>=0) { | ||||
|         if (bprm.buf[0] == 0x7f | ||||
|                 && bprm.buf[1] == 'E' | ||||
|  |  | |||
|  | @ -50,7 +50,6 @@ struct image_info { | |||
|     abi_ulong entry; | ||||
|     abi_ulong code_offset; | ||||
|     abi_ulong data_offset; | ||||
|     char      **host_argv; | ||||
|     int       personality; | ||||
| }; | ||||
| 
 | ||||
|  |  | |||
|  | @ -174,8 +174,6 @@ int loader_exec(const char * filename, char ** argv, char ** envp, | |||
| 
 | ||||
|     retval = prepare_binprm(bprm); | ||||
| 
 | ||||
|     infop->host_argv = argv; | ||||
| 
 | ||||
|     if(retval>=0) { | ||||
|         if (bprm->buf[0] == 0x7f | ||||
|                 && bprm->buf[1] == 'E' | ||||
|  |  | |||
|  | @ -50,7 +50,6 @@ struct image_info { | |||
|         abi_ulong       saved_auxv; | ||||
|         abi_ulong       arg_start; | ||||
|         abi_ulong       arg_end; | ||||
|         char            **host_argv; | ||||
| 	int		personality; | ||||
| }; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Wolfgang Schildbach
						Wolfgang Schildbach