home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1999 February / MACPOWER-1999-02.ISO.7z / MACPOWER-1999-02.ISO / 9902⁄AMUG / UTILITY / mac06-0.95.sit / mac06-0.95 / usr / include / coff / reloc.h < prev    next >
Text File  |  1997-11-01  |  540b  |  32 lines

  1. /* mac06ゥ1997 by HNS/DSITRI hns@computer.org
  2. ** reloc.h
  3. */
  4.  
  5. #ifdef __SC__    /* Symantec C++ for PowerPC 8.0 */
  6. #pragma options align=mac68k
  7. #endif
  8.  
  9. struct reloc
  10.     {
  11.     long    r_vaddr;    /* address of reference */
  12.     long    r_symndx;    /* index into symbol table */
  13.     unsigned short    r_type;    /* relocation type */
  14.     };
  15.  
  16. enum reloc_flags
  17.     {
  18.     R_LBYTE = 0,
  19.     R_HBYTE = 1,
  20.     R_WORD = 2,
  21.     R_LONG = 3,
  22.     R_BRANCH
  23.     };
  24.  
  25. #define RELOC    struct reloc
  26. #define RELSZ    sizeof(RELOC)
  27.  
  28. #ifdef __SC__    /* Symantec C++ for PowerPC 8.0 */
  29. #pragma options align=reset
  30. #endif
  31.  
  32. /* EOF */