diff -r af1ed19cc0e4 -r 5a90ee674b42 toolsandutils/e32tools/elf2e32/source/pl_elfimportrelocation.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/toolsandutils/e32tools/elf2e32/source/pl_elfimportrelocation.h Tue Jul 06 16:25:46 2010 +0100 @@ -0,0 +1,47 @@ +// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// Implementation of the Class ElfImportRelocation for the elf2e32 tool +// @internalComponent +// @released +// +// + +#if !defined(_PL_ELFIMPORTRELOCATION_H_) +#define _PL_ELFIMPORTRELOCATION_H_ + +#include "pl_elfrelocation.h" + +/** +This class represents relocation entries corresponding to the import symbols. +@internalComponent +@released +*/ +class ElfImportRelocation : public ElfRelocation +{ + +public: + ElfImportRelocation(ElfExecutable *aElfExec, PLMemAddr32 aAddr, \ + PLUINT32 aAddend, PLUINT32 aIndex, PLUCHAR aRelType, \ + Elf32_Rel* aRel); + ~ElfImportRelocation(); + bool IsImportRelocation(); + void Add(); + + VersionInfo *iVerRecord; +}; + + + + +#endif // !defined(_PL_ELFIMPORTRELOCATION_H_)