mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:17:34 +00:00
LibELF+LibSymbolication: Remove i686 support
This commit is contained in:
parent
2f7443c900
commit
a4c87fac56
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