Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: Assembler/x86/Reloc.java


1   // Reloc.java, created Tue Feb 27  2:59:43 2001 by joewhaley
2   // Copyright (C) 2001-3 John Whaley <jwhaley@alum.mit.edu>
3   // Licensed under the terms of the GNU LGPL; see COPYING for details.
4   package Assembler.x86;
5   
6   import java.io.DataOutput;
7   import java.io.IOException;
8   
9   /**
10   * Reloc
11   *
12   * @author  John Whaley <jwhaley@alum.mit.edu>
13   * @version $Id: Reloc.java,v 1.8 2003/05/12 10:04:52 joewhaley Exp $
14   */
15  public abstract class Reloc {
16  
17      public static final char RELOC_ADDR32 = (char)0x0006;
18      public static final char RELOC_REL32  = (char)0x0014;
19      
20      public abstract void dumpCOFF(DataOutput out) throws IOException;
21      public abstract void patch();
22  }