mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-13 17:57:12 +08:00
coff: Allow alignment greater then 64 bytes on win
On win32/64 we have no 64 bytes limit so hit it on "coff" target only. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
7c8c258cdd
commit
3834305507
@ -1035,7 +1035,11 @@ static void coff_sectalign(int32_t seg, unsigned int value)
|
||||
}
|
||||
}
|
||||
|
||||
if (!s || !is_power2(value) || value > 64)
|
||||
if (!s || !is_power2(value))
|
||||
return;
|
||||
|
||||
/* DOS has limitation on 64 bytes */
|
||||
if (!(win32 | win64) && value > 64)
|
||||
return;
|
||||
|
||||
align = (s->flags & 0x00F00000L);
|
||||
|
Loading…
x
Reference in New Issue
Block a user