mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:47:35 +00:00
LibELF: Save the negative TLS offset in m_tls_offset
This makes it unnecessary to track the symbol size which just isn't available for unexported symbols (e.g. for 'static __thread').
This commit is contained in:
parent
a0a38e1e84
commit
5f6ee4c539
4 changed files with 8 additions and 8 deletions
|
@ -195,6 +195,7 @@ public:
|
|||
return m_dynamic.base_address().offset(offset());
|
||||
return VirtualAddress { offset() };
|
||||
}
|
||||
[[nodiscard]] DynamicObject const& dynamic_object() const { return m_dynamic; }
|
||||
|
||||
private:
|
||||
const DynamicObject& m_dynamic;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue