riscv64 elf flags should be configurable
This commit is contained in:
		
							parent
							
								
									d87801bd50
								
							
						
					
					
						commit
						c71415b543
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		
							
								
								
									
										1
									
								
								tccelf.c
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								tccelf.c
									
										
									
									
									
								
							|  | @ -2504,6 +2504,7 @@ static int tcc_output_elf(TCCState *s1, FILE *f, int phnum, ElfW(Phdr) *phdr, | |||
| #elif defined TCC_TARGET_ARM | ||||
|     ehdr.e_ident[EI_OSABI] = ELFOSABI_ARM; | ||||
| #elif defined TCC_TARGET_RISCV64 | ||||
|     /* XXX should be configurable */ | ||||
|     ehdr.e_flags = EF_RISCV_FLOAT_ABI_DOUBLE; | ||||
| #endif | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue