mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibELF+LibSymbolication: Remove i686 support
This commit is contained in:
parent
2f7443c900
commit
a4c87fac56
Notes:
sideshowbarker
2024-07-17 10:31:19 +09:00
Author: https://github.com/supercomputer7
Commit: a4c87fac56
Pull-request: https://github.com/SerenityOS/serenity/pull/15467
Issue: https://github.com/SerenityOS/serenity/issues/15444
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/Hendiadyoin1
Reviewed-by: https://github.com/fuel-pcbox
7 changed files with 1 additions and 94 deletions
|
@ -65,19 +65,11 @@ public:
|
|||
FlatPtr value() const { return m_sym.st_value; }
|
||||
size_t size() const { return m_sym.st_size; }
|
||||
unsigned index() const { return m_index; }
|
||||
#if ARCH(I386)
|
||||
unsigned type() const
|
||||
{
|
||||
return ELF32_ST_TYPE(m_sym.st_info);
|
||||
}
|
||||
unsigned bind() const { return ELF32_ST_BIND(m_sym.st_info); }
|
||||
#else
|
||||
unsigned type() const
|
||||
{
|
||||
return ELF64_ST_TYPE(m_sym.st_info);
|
||||
}
|
||||
unsigned bind() const { return ELF64_ST_BIND(m_sym.st_info); }
|
||||
#endif
|
||||
|
||||
bool is_undefined() const
|
||||
{
|
||||
|
@ -167,19 +159,11 @@ public:
|
|||
|
||||
unsigned offset_in_section() const { return m_offset_in_section; }
|
||||
unsigned offset() const { return m_rel.r_offset; }
|
||||
#if ARCH(I386)
|
||||
unsigned type() const
|
||||
{
|
||||
return ELF32_R_TYPE(m_rel.r_info);
|
||||
}
|
||||
unsigned symbol_index() const { return ELF32_R_SYM(m_rel.r_info); }
|
||||
#else
|
||||
unsigned type() const
|
||||
{
|
||||
return ELF64_R_TYPE(m_rel.r_info);
|
||||
}
|
||||
unsigned symbol_index() const { return ELF64_R_SYM(m_rel.r_info); }
|
||||
#endif
|
||||
unsigned addend() const
|
||||
{
|
||||
VERIFY(m_addend_used);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue