mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
LibELF: Keep track of whether the PLT contains REL or RELA relocations
This commit is contained in:
parent
ed5f110b40
commit
4d5965bd2c
Notes:
sideshowbarker
2024-07-17 11:25:30 +09:00
Author: https://github.com/BertalanD
Commit: 4d5965bd2c
Pull-request: https://github.com/SerenityOS/serenity/pull/13238
Reviewed-by: https://github.com/ADKaster
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ DynamicObject::RelocationSection DynamicObject::relocation_section() const
|
|||
|
||||
DynamicObject::RelocationSection DynamicObject::plt_relocation_section() const
|
||||
{
|
||||
return RelocationSection(Section(*this, m_plt_relocation_offset_location, m_size_of_plt_relocation_entry_list, m_size_of_relocation_entry, "DT_JMPREL"sv), false);
|
||||
return RelocationSection(Section(*this, m_plt_relocation_offset_location, m_size_of_plt_relocation_entry_list, m_size_of_relocation_entry, "DT_JMPREL"sv), m_procedure_linkage_table_relocation_type & DT_RELA);
|
||||
}
|
||||
|
||||
DynamicObject::Section DynamicObject::relr_relocation_section() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue