bintools/checklib/object/coff/coff_file_header.h
author Mike Kinghan <mikek@symbian.org>
Mon, 21 Jun 2010 17:57:23 +0100
changeset 589 851206cea67b
parent 0 044383f39525
permissions -rw-r--r--
Add --asm option to elf2e32, so that GCCE builds can use --asm=gas with --dump=a and get a usable .s file (Bug 1405)

// Copyright (c) 2008-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:
//

#ifndef COFF_FILE_HEADER_H
#define COFF_FILE_HEADER_H

#include "coff.h"


namespace coff
{
    class File_header
    {
    public:
        File_header(const char*, const char*, bool = 0);
    public:
        unsigned get_symtab_offset() const;
        unsigned get_symcount() const;
    private:
        const coff_file_header_t* m_data;
    };
}

#endif