LibELF: Change copy_initial_tls_data_into argument type to Bytes

This commit is contained in:
Sönke Holz 2024-04-15 18:07:42 +02:00 committed by Andrew Kaster
parent 8f0ebce404
commit aa44fe860d
Notes: sideshowbarker 2024-07-17 02:37:08 +09:00
2 changed files with 2 additions and 2 deletions

View File

@ -755,7 +755,7 @@ void DynamicLoader::do_relr_relocations()
});
}
void DynamicLoader::copy_initial_tls_data_into(ByteBuffer& buffer) const
void DynamicLoader::copy_initial_tls_data_into(Bytes buffer) const
{
image().for_each_program_header([this, &buffer](ELF::Image::ProgramHeader program_header) {
if (program_header.type() != PT_TLS)

View File

@ -86,7 +86,7 @@ public:
bool is_dynamic() const { return image().is_dynamic(); }
static Optional<DynamicObject::SymbolLookupResult> lookup_symbol(const ELF::DynamicObject::Symbol&);
void copy_initial_tls_data_into(ByteBuffer& buffer) const;
void copy_initial_tls_data_into(Bytes buffer) const;
DynamicObject const& dynamic_object() const;