diff options
Diffstat (limited to 'lib/Fragment/Relocation.cpp')
-rw-r--r-- | lib/Fragment/Relocation.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Fragment/Relocation.cpp b/lib/Fragment/Relocation.cpp index 293b1c9..fd042ea 100644 --- a/lib/Fragment/Relocation.cpp +++ b/lib/Fragment/Relocation.cpp @@ -143,10 +143,9 @@ void Relocation::setSymInfo(ResolveInfo* pSym) m_pSymInfo = pSym; } -size_t Relocation::size() const +Relocation::Size Relocation::size(Relocator& pRelocator) const { - // TODO: the size of Relocation fragment is handled by backend - return 0; + return pRelocator.getSize(m_Type); } void Relocation::updateAddend() |