mirror of
				https://github.com/netwide-assembler/nasm.git
				synced 2025-10-10 00:25:06 -04:00 
			
		
		
		
	It seems that the odd alignment-padding code was simply dead in older versions of NASM. This means that the COFF backend behavior really was the same as the other backends. Remove that stale code and revert to previous/common behavior. Reported-by: ig <glucksmann@avast.com> Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
		
			
				
	
	
		
			18 lines
		
	
	
		
			141 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			141 B
		
	
	
	
		
			NASM
		
	
	
	
	
	
| 	section .text align=64
 | |
| foo:
 | |
| 	nop
 | |
| 	nop
 | |
| 	nop
 | |
| 	ret
 | |
| 
 | |
| 	section .data align=64
 | |
| bar:
 | |
| 	db 0, 1, 2
 | |
| 
 | |
| 	section .text align=32
 | |
| baz:
 | |
| 	nop
 | |
| 	nop
 | |
| 	nop
 | |
| 	ret
 |