| 76 | static const char Section_address_table_name[] = ".addrtab"; |
| 77 | |
| 78 | static ASMJIT_INLINE void Section_init_name( |
| 79 | Section* section, |
| 80 | char c0 = 0, char c1 = 0, char c2 = 0, char c3 = 0, |
| 81 | char c4 = 0, char c5 = 0, char c6 = 0, char c7 = 0) noexcept { |
| 82 | |
| 83 | section->_name.u32[0] = Support::bytepack32_4x8(uint8_t(c0), uint8_t(c1), uint8_t(c2), uint8_t(c3)); |
| 84 | section->_name.u32[1] = Support::bytepack32_4x8(uint8_t(c4), uint8_t(c5), uint8_t(c6), uint8_t(c7)); |
| 85 | section->_name.u32[2] = 0u; |
| 86 | section->_name.u32[3] = 0u; |
| 87 | } |
| 88 | |
| 89 | static ASMJIT_INLINE void Section_init_data(Section* section, uint32_t section_id, SectionFlags flags, uint32_t alignment, int order) noexcept { |
| 90 | section->_section_id = section_id; |
no test coverage detected