bintools/checklib/object/coff/coff.h
changeset 0 044383f39525
equal deleted inserted replaced
-1:000000000000 0:044383f39525
       
     1 // Copyright (c) 2008-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 #ifndef COFF_H
       
    17 #define COFF_H
       
    18 
       
    19 
       
    20 struct coff_file_header_t
       
    21 {
       
    22     unsigned short magic;
       
    23 
       
    24     unsigned short _junk1;
       
    25     unsigned long  _junk2;
       
    26 
       
    27     unsigned long  symtab;
       
    28     unsigned long  nsyms;
       
    29 
       
    30     unsigned short _junk3;
       
    31     unsigned short _junk4;
       
    32 };
       
    33 
       
    34 struct coff_symentry_t
       
    35 {
       
    36     unsigned long is_inline __attribute__((packed));
       
    37     unsigned long offset    __attribute__((packed));
       
    38     unsigned long _junk1    __attribute__((packed));
       
    39     
       
    40     short section;
       
    41 
       
    42     unsigned short _junk2;
       
    43 
       
    44     unsigned char  _junk3;
       
    45     unsigned char  aux_count;
       
    46 };
       
    47 
       
    48 
       
    49 #endif
       
    50 
       
    51