arm-asm, arm64-link: Silence warnings for unused functions
The code needs to be fixed: use the functions or remove them. arm-asm.c: asm_parse_vfp_regvar() arm64-link: gotplt_entry_type() create_plt_entry() Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
This commit is contained in:
		
							parent
							
								
									ac42d6826b
								
							
						
					
					
						commit
						aea68dbb40
					
				
					 2 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -77,6 +77,7 @@ static int asm_parse_vfp_regvar(int t, int double_precision)
 | 
			
		|||
    return -1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
__attribute__((unused))
 | 
			
		||||
static int asm_parse_vfp_status_regvar(int t)
 | 
			
		||||
{
 | 
			
		||||
    switch (t) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -90,6 +90,7 @@ int gotplt_entry_type (int reloc_type)
 | 
			
		|||
    return -1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
__attribute__((unused))
 | 
			
		||||
ST_FUNC unsigned create_plt_entry(TCCState *s1, unsigned got_offset, struct sym_attr *attr)
 | 
			
		||||
{
 | 
			
		||||
    Section *plt = s1->plt;
 | 
			
		||||
| 
						 | 
				
			
			@ -109,6 +110,7 @@ ST_FUNC unsigned create_plt_entry(TCCState *s1, unsigned got_offset, struct sym_
 | 
			
		|||
 | 
			
		||||
/* relocate the PLT: compute addresses and offsets in the PLT now that final
 | 
			
		||||
   address for PLT and GOT are known (see fill_program_header) */
 | 
			
		||||
__attribute__((unused))
 | 
			
		||||
ST_FUNC void relocate_plt(TCCState *s1)
 | 
			
		||||
{
 | 
			
		||||
    uint8_t *p, *p_end;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue