~george-edison55/7basic/trunk

« back to all changes in this revision

Viewing changes to CParser.cpp

  • Committer: Nathan
  • Date: 2010-09-30 02:10:23 UTC
  • Revision ID: nathan@nathan-laptop-20100930021023-hovi8iciphs8x5hk
Added code to output ELF header.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
    case OT_ELF_ASSEMBLY:
17
17
        m_output = new CELFAssemblyOutput(o_filename);
18
18
        break;
19
 
    //case OT_ELF_MACHINE:
20
 
    //    m_output = new CELFMachineOutput(o_filename);
21
 
    //    break;
 
19
    case OT_ELF_MACHINE:
 
20
        m_output = new CELFMachineOutput(o_filename);
 
21
        break;
 
22
    case OT_WIN32_ASSEMBLY:
 
23
        break;
 
24
    case OT_WIN32_MACHINE:
 
25
        break;
22
26
    }
23
27
 
24
28
    m_symtab = new CSymbolTable(m_output->GetSymbolTableOffset());