mirror of
				https://github.com/netwide-assembler/nasm.git
				synced 2025-10-10 00:25:06 -04:00 
			
		
		
		
	Fix elf vs elf32 stabs generation bug
When invoked as -f elf -g, stabs info was not being generated.
This commit is contained in:
		| @@ -230,6 +230,8 @@ static int32_t elf_sym_sect; | ||||
|  | ||||
| static void elf_init(FILE * fp, efunc errfunc, ldfunc ldef, evalfunc eval) | ||||
| { | ||||
|     if (of_elf.current_dfmt != &null_debug_form) | ||||
|         of_elf32.current_dfmt = of_elf.current_dfmt; | ||||
|     elffp = fp; | ||||
|     error = errfunc; | ||||
|     evaluate = eval; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user