This commit is contained in:
Brian Carroll 2021-10-30 17:52:38 +01:00
parent 7fdaa5b91f
commit b0e0c14dd8
2 changed files with 2 additions and 5 deletions

View file

@ -210,7 +210,7 @@ pub struct RelocationSection<'a> {
impl<'a> Serialize for RelocationSection<'a> {
fn serialize<T: SerialBuffer>(&self, buffer: &mut T) {
let header_indices = write_custom_section_header(buffer, &self.name);
let header_indices = write_custom_section_header(buffer, self.name);
buffer.encode_u32(self.target_section_index);
serialize_vector_with_count(buffer, self.entries);
update_section_size(buffer, header_indices);