remove unused coff_alignment()
Usage was removed in b6ba0a23f9
Fixes:
output/outcoff.c:302:28: warning: unused function 'coff_alignment' [-Wunused-function]
static inline unsigned int coff_alignment(uint32_t flags)
^
This commit is contained in:
parent
3f9fc2a3a7
commit
47918f6920
1 changed files with 0 additions and 9 deletions
|
@ -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 a new issue