toolsandutils/e32tools/elf2e32/source/pl_elfimportrelocation.h
changeset 0 83f4b4db085c
child 1 d4b442d23379
equal deleted inserted replaced
-1:000000000000 0:83f4b4db085c
       
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Implementation of the Class ElfImportRelocation for the elf2e32 tool
       
    15 // @internalComponent
       
    16 // @released
       
    17 // 
       
    18 //
       
    19 
       
    20 #if !defined(_PL_ELFIMPORTRELOCATION_H_)
       
    21 #define _PL_ELFIMPORTRELOCATION_H_
       
    22 
       
    23 #include "pl_elfrelocation.h"
       
    24 
       
    25 /**
       
    26 This class represents relocation entries corresponding to the import symbols.
       
    27 @internalComponent
       
    28 @released
       
    29 */
       
    30 class ElfImportRelocation : public ElfRelocation
       
    31 {
       
    32 
       
    33 public:
       
    34 	ElfImportRelocation(ElfExecutable *aElfExec, PLMemAddr32 aAddr, \
       
    35 			PLUINT32 aAddend, PLUINT32 aIndex, PLUCHAR aRelType, \
       
    36 			Elf32_Rel* aRel);
       
    37 	~ElfImportRelocation();
       
    38 	bool IsImportRelocation();
       
    39 	void Add();
       
    40 	
       
    41 	VersionInfo *iVerRecord;
       
    42 };
       
    43 
       
    44 
       
    45 
       
    46 
       
    47 #endif // !defined(_PL_ELFIMPORTRELOCATION_H_)