home *** CD-ROM | disk | FTP | other *** search
/ Openstep 4.2 (Developer) / Openstep Developer 4.2.iso / NextDeveloper / Source / GNU / cctools / include / mach-o / m88k / reloc.h
Encoding:
C/C++ Source or Header  |  1995-06-24  |  922 b   |  20 lines

  1. /*
  2.  * Relocation types used in the m88k implementation.  Relocation entries for
  3.  * things other than instructions use the same generic relocation as discribed
  4.  * above and their r_type is RELOC_VANILLA.  The rest of the relocation types
  5.  * are for instructions.  Since they are for instructions the r_address field
  6.  * indicates the 32 bit instruction that the relocation is to be preformed on.
  7.  * The fields r_pcrel and r_length are ignored for non-RELOC_VANILLA r_types.
  8.  */
  9. enum reloc_type_m88k
  10. {
  11.     M88K_RELOC_VANILLA,    /* generic relocation as discribed above */
  12.     M88K_RELOC_PAIR,    /* the second relocation entry of a pair */
  13.     M88K_RELOC_PC16,
  14.     M88K_RELOC_PC26,
  15.     M88K_RELOC_HI16,    /* a PAIR follows with the low half */
  16.     M88K_RELOC_LO16,    /* a PAIR follows with the high half */
  17.     M88K_RELOC_SECTDIFF,/* a PAIR follows with subtract symbol value */
  18.     M88K_RELOC_PB_LA_PTR/* prebound lazy pointer */
  19. };
  20.