I didn't notice there was already an ObjectFile::GetEntryPoint. Move that over to GetEntryPointAddress 'cause that's more consistent with other functions in ObjectFile, do the mutatis mutandi and also in the ELF case I return a section offset address rather than a bare load address.

llvm-svn: 127205
This commit is contained in:
Jim Ingham
2011-03-08 01:54:01 +00:00
parent 52b3e38a1f
commit bd3f260698
3 changed files with 0 additions and 23 deletions

View File

@@ -158,15 +158,6 @@ ObjectFileELF::IsExecutable() const
return m_header.e_entry != 0;
}
Address
ObjectFileELF::GetEntryPoint() const
{
if (m_header.e_entry)
return Address(NULL, m_header.e_entry);
else
return Address();
}
ByteOrder
ObjectFileELF::GetByteOrder() const
{