mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
Merge remote-tracking branch 'johannkoenig/master'
This commit is contained in:
commit
ed70640526
@ -324,15 +324,6 @@ static inline uint32_t coff_sectalign_flags(unsigned int align)
|
||||
return (alignlog2_32(align) + 1) << 20;
|
||||
}
|
||||
|
||||
/*
|
||||
* Get the alignment value from a flags field.
|
||||
* Returns 0 if no alignment defined.
|
||||
*/
|
||||
static inline unsigned int coff_alignment(uint32_t flags)
|
||||
{
|
||||
return (1U << ((flags & IMAGE_SCN_ALIGN_MASK) >> 20)) >> 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* Get the default section flags (based on section name)
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user