MIPS: elf2ecoff: Ignore PT_MIPS_ABIFLAGS program headers.
These are generated by very recent toolchains and result in an error message when attenpting to convert a kernel from ELF to ECOFF. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
		
					parent
					
						
							
								06a40ed186
							
						
					
				
			
			
				commit
				
					
						26f7c4bd05
					
				
			
		
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -50,6 +50,7 @@
 | 
			
		|||
 * Some extra ELF definitions
 | 
			
		||||
 */
 | 
			
		||||
#define PT_MIPS_REGINFO 	0x70000000	/* Register usage information */
 | 
			
		||||
#define PT_MIPS_ABIFLAGS	0x70000003	/* Records ABI related flags  */
 | 
			
		||||
 | 
			
		||||
/* -------------------------------------------------------------------- */
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -354,6 +355,7 @@ int main(int argc, char *argv[])
 | 
			
		|||
		case PT_NOTE:
 | 
			
		||||
		case PT_PHDR:
 | 
			
		||||
		case PT_MIPS_REGINFO:
 | 
			
		||||
		case PT_MIPS_ABIFLAGS:
 | 
			
		||||
			continue;
 | 
			
		||||
 | 
			
		||||
		case PT_LOAD:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue