toolsandutils/e32tools/elftools/elftran/elf_imp.cpp
changeset 0 83f4b4db085c
child 10 d4b442d23379
equal deleted inserted replaced
-1:000000000000 0:83f4b4db085c
       
     1 // Copyright (c) 1996-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 //
       
    15 
       
    16 #include <stdlib.h>
       
    17 #include <string.h>
       
    18 #include <e32std.h>
       
    19 #include <e32std_private.h>
       
    20 #include "h_utl.h"
       
    21 #include "e32ldfmt.h"
       
    22 #include "elftran.h"
       
    23 #include "elffile.h"
       
    24 
       
    25 char* E32ImageFile_ELF::CreateImportSection(ELFFile& aElfFile, TInt& aSize)
       
    26 //
       
    27 // get the ELFFile to do it for us.
       
    28 //
       
    29 	{
       
    30 	TInt size;
       
    31 	char * newSection = aElfFile.CreateImportSection(size);
       
    32 	aSize = size;
       
    33 	return newSection;
       
    34 	}
       
    35 
       
    36 
       
    37