| 152 | } |
| 153 | |
| 154 | bool WriteLoaderImportFileTableLength(decltype(XCOFF::ldhdr::l_istlen) x) |
| 155 | { |
| 156 | // FIXME: Add byte swapping if needed. |
| 157 | return static_cast<bool>( |
| 158 | this->Stream->write(reinterpret_cast<char const*>(&x), sizeof(x))); |
| 159 | } |
| 160 | |
| 161 | public: |
| 162 | Impl(cmXCOFF* external, std::unique_ptr<std::iostream> fin, |