Changed call to symTab.SetEntries(SYMH_SIZE)
This commit is contained in:
parent
53a7e6b37d
commit
ecf6f0512d
@ -72,7 +72,7 @@
|
||||
/// A symbol defined in the current component is protected if it is visible in other components but not preemptable, meaning that any reference to such a symbol from within the defining component must be resolved to the definition in that component, even if there is a definition in another component that would preempt by the default rules. A symbol with STB_LOCAL binding may not have STV_PROTECTED visibility. If a symbol definition with STV_PROTECTED visibility from a shared object is taken as resolving a reference from an executable or another shared object, the SHN_UNDEF symbol table entry created has STV_DEFAULT visibility.
|
||||
#define SYM_VIS_PROTECTED 0x03
|
||||
|
||||
#define SYM_SIZE 24
|
||||
#define SYMH_SIZE 24
|
||||
|
||||
class ELF64_Sym
|
||||
{
|
||||
|
@ -45,7 +45,7 @@ ehs::SInt_32 Main(ehs::Str_8* appName, ehs::Str_8* appVerId, ehs::Version* appVe
|
||||
ELF64_Section symTab(".symtab", 0, SECH_TYPE_SYMTAB, 0, 0, 8);
|
||||
symTab.SetLink(3);
|
||||
symTab.SetInfo(2);
|
||||
symTab.SetEntries(24);
|
||||
symTab.SetEntries(SYMH_SIZE);
|
||||
ehs::Serializer<ehs::UInt_64>& symTabData = symTab.GetData();
|
||||
|
||||
ELF64_Sym nullSym;
|
||||
|
Loading…
Reference in New Issue
Block a user