bintools/elftools/elftran/elf_imp.cpp
changeset 0 044383f39525
child 590 360bd6b35136
equal deleted inserted replaced
-1:000000000000 0:044383f39525
       
     1 /*
       
     2 * Copyright (c) 1996-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <stdlib.h>
       
    20 #include <string.h>
       
    21 #include <e32std.h>
       
    22 #include <h_utl.h>
       
    23 #include "e32ldfmt.h"
       
    24 #include "elftran.h"
       
    25 #include "elffile.h"
       
    26 
       
    27 char* E32ImageFile_ELF::CreateImportSection(ELFFile& aElfFile, TInt& aSize)
       
    28 //
       
    29 // get the ELFFile to do it for us.
       
    30 //
       
    31 	{
       
    32 	TInt size;
       
    33 	char * newSection = aElfFile.CreateImportSection(size);
       
    34 	aSize = size;
       
    35 	return newSection;
       
    36 	}
       
    37 
       
    38 
       
    39