|
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 DllSymbol for the elf2e32 tool |
|
15 // @internalComponent |
|
16 // @released |
|
17 // |
|
18 // |
|
19 |
|
20 #include "pl_dllsymbol.h" |
|
21 |
|
22 |
|
23 /** |
|
24 Constructor for class DllSymbol |
|
25 @param aName - symbol name |
|
26 @param aType - symbol type |
|
27 @param aElfSym - elf symbol |
|
28 @param aSymbolIndex - index in the symbol table |
|
29 @internalComponent |
|
30 @released |
|
31 */ |
|
32 DllSymbol::DllSymbol(char* aName, SymbolType aType, Elf32_Sym* aElfSym, \ |
|
33 PLUINT32 aSymbolIndex): Symbol(aName, aType), iElfSym(aElfSym), iSymbolIndex(aSymbolIndex) |
|
34 { |
|
35 } |
|
36 |
|
37 /** |
|
38 Constructor for class DllSymbol |
|
39 @param aSymbol - symbol name |
|
40 @param aType - symbol type |
|
41 @param aAbsent - flag if the symbol is marked absent |
|
42 @internalComponent |
|
43 @released |
|
44 */ |
|
45 DllSymbol::DllSymbol(Symbol* aSymbol, SymbolType aType, bool aAbsent): Symbol(*aSymbol, aType, aAbsent), iElfSym(NULL), iSymbolIndex(0) |
|
46 { |
|
47 } |
|
48 |
|
49 /** |
|
50 Destructor for class DllSymbol |
|
51 @internalComponent |
|
52 @released |
|
53 */ |
|
54 DllSymbol::~DllSymbol(){ |
|
55 |
|
56 } |
|
57 |
|
58 |
|
59 |
|
60 |
|
61 |
|
62 |
|
63 |