Home | History | Annotate | Download | only in gold

Lines Matching refs:oview

147   unsigned char* const oview = of->get_output_view(off, oview_size);
150 oview[0] = 1;
154 oview[1] = elfcpp::DW_EH_PE_pcrel | elfcpp::DW_EH_PE_sdata4;
159 elfcpp::Swap<32, big_endian>::writeval(oview + 4, eh_frame_offset);
167 oview[2] = elfcpp::DW_EH_PE_omit;
168 oview[3] = elfcpp::DW_EH_PE_omit;
174 oview[2] = elfcpp::DW_EH_PE_udata4;
175 oview[3] = elfcpp::DW_EH_PE_datarel | elfcpp::DW_EH_PE_sdata4;
177 elfcpp::Swap<32, big_endian>::writeval(oview + 8,
197 unsigned char* pfde = oview + 12;
209 gold_assert(pfde - oview == oview_size);
212 of->write_output_view(off, oview_size, oview);
328 // Write the FDE to OVIEW starting at OFFSET. CIE_OFFSET is the
329 // offset of the CIE in OVIEW. OUTPUT_OFFSET is the offset of the
332 // ADDRESS is the virtual address of OVIEW. Record the FDE pc for
337 Fde::write(unsigned char* oview, section_offset_type output_offset,
353 elfcpp::Swap<32, big_endian>::writeval(oview + offset,
359 elfcpp::Swap<32, big_endian>::writeval(oview + offset + 4,
365 memcpy(oview + offset + 8, this->contents_.data(), length);
371 gold_assert(memcmp(oview + offset + 8, "\0\0\0\0\0\0\0\0", 8) == 0);
375 oview + offset + 8,
384 elfcpp::Swap<32, big_endian>::writeval(oview + offset + 8, spoffset);
385 elfcpp::Swap<32, big_endian>::writeval(oview + offset + 12, upsize);
389 memset(oview + offset + length + 8, 0, aligned_full_length - (length + 8));
445 // Write the CIE to OVIEW starting at OFFSET. OUTPUT_OFFSET is the
447 // the bytes to ADDRALIGN. ADDRESS is the virtual address of OVIEW.
454 Cie::write(unsigned char* oview, section_offset_type output_offset,
471 elfcpp::Swap<32, big_endian>::writeval(oview + offset,
475 elfcpp::Swap<32, big_endian>::writeval(oview + offset + 4, 0);
478 memcpy(oview + offset + 8, this->contents_.data(), length);
481 memset(oview + offset + length + 8, 0, aligned_full_length - (length + 8));
494 offset = (*p)->write<size, big_endian>(oview, output_offset, offset,
1152 unsigned char* const oview = of->get_output_view(offset, oview_size);
1158 this->do_sized_write<32, false>(oview);
1163 this->do_sized_write<32, true>(oview);
1168 this->do_sized_write<64, false>(oview);
1173 this->do_sized_write<64, true>(oview);
1180 of->write_output_view(offset, oview_size, oview);
1187 Eh_frame::do_sized_write(unsigned char* oview)
1198 o = (*p)->write<size, big_endian>(oview, output_offset, o, address,
1204 o = (*p)->write<size, big_endian>(oview, output_offset, o, address,
1210 o = (*p).fde->write<size, big_endian>(oview, output_offset, o, address,