(self, val, section_alignment, file_alignment)
| 7398 | # architecture." |
| 7399 | # |
| 7400 | def adjust_SectionAlignment(self, val, section_alignment, file_alignment): |
| 7401 | if file_alignment < FILE_ALIGNMENT_HARDCODED_VALUE: |
| 7402 | if ( |
| 7403 | file_alignment != section_alignment |
| 7404 | and self.SectionAlignment_Warning is False |
| 7405 | ): |
| 7406 | self.__warnings.append( |
| 7407 | "If FileAlignment(%x) < 0x200 it should equal SectionAlignment(%x)" |
| 7408 | % (file_alignment, section_alignment) |
| 7409 | ) |
| 7410 | self.SectionAlignment_Warning = True |
| 7411 | |
| 7412 | return cache_adjust_SectionAlignment(val, section_alignment, file_alignment) |
| 7413 | |
| 7414 | |
| 7415 | def main(): |
no test coverage detected