1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:37:35 +00:00

LibELF: Swap the arguments for negative_offset_from_tls_block_end

Now that m_tls_offset points to the start of the TLS block the argument
order makes more sense this way.
This commit is contained in:
Gunnar Beutner 2021-07-04 00:11:29 +02:00 committed by Andreas Kling
parent 251eaad8f0
commit 371c852fc0
2 changed files with 4 additions and 4 deletions

View file

@ -131,7 +131,7 @@ private:
};
RelocationResult do_relocation(const DynamicObject::Relocation&, ShouldInitializeWeak should_initialize_weak);
size_t calculate_tls_size() const;
ssize_t negative_offset_from_tls_block_end(size_t value_of_symbol, ssize_t tls_offset) const;
ssize_t negative_offset_from_tls_block_end(ssize_t tls_offset, size_t value_of_symbol) const;
String m_filename;
String m_program_interpreter;