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 joeq.Assembler; 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 1465 2004-03-10 22:40:47Z jwhaley $ 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 }