Back to index

cell-binutils  2.17cvs20070401
Classes | Defines | Enumerations
aout64.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  external_exec
struct  external_nlist
struct  internal_nlist
struct  reloc_std_external
struct  reloc_std_internal
struct  reloc_ext_external
struct  reloc_internal

Defines

#define BYTES_IN_WORD   4
#define EXEC_BYTES_SIZE   (4 + BYTES_IN_WORD * 7)
#define OMAGIC   0407 /* Object file or impure executable. */
#define NMAGIC   0410 /* Code indicating pure executable. */
#define ZMAGIC   0413 /* Code indicating demand-paged executable. */
#define BMAGIC   0415 /* Used by a b.out object. */
#define QMAGIC   0314
#define N_BADMAG(x)
#define N_IS_QMAGIC(x)   (N_MAGIC (x) == QMAGIC)
#define N_SEGSIZE(x)   SEGMENT_SIZE
#define N_HEADER_IN_TEXT(x)   (((x).a_entry & (TARGET_PAGE_SIZE-1)) >= EXEC_BYTES_SIZE)
#define N_SHARED_LIB(x)   ((x).a_entry < TEXT_START_ADDR)
#define N_TXTADDR(x)
#define ZMAGIC_DISK_BLOCK_SIZE   TARGET_PAGE_SIZE
#define N_DISK_BLOCK_SIZE(x)   (N_MAGIC(x) == ZMAGIC ? ZMAGIC_DISK_BLOCK_SIZE : TARGET_PAGE_SIZE)
#define N_TXTOFF(x)
#define N_TXTSIZE(x)
#define N_DATADDR(x)
#define N_BSSADDR(x)   (N_DATADDR (x) + (x).a_data)
#define N_DATOFF(x)   (N_TXTOFF (x) + N_TXTSIZE (x))
#define N_TRELOFF(x)   (N_DATOFF (x) + (x).a_data)
#define N_DRELOFF(x)   (N_TRELOFF (x) + (x).a_trsize)
#define N_SYMOFF(x)   (N_DRELOFF (x) + (x).a_drsize)
#define N_STROFF(x)   (N_SYMOFF (x) + (x).a_syms)
#define EXTERNAL_NLIST_SIZE   (BYTES_IN_WORD+4+BYTES_IN_WORD)
#define N_UNDF   0 /* Undefined symbol. */
#define N_ABS   2 /* Absolute symbol -- defined at particular addr. */
#define N_TEXT   4 /* Text sym -- defined at offset in text seg. */
#define N_DATA   6 /* Data sym -- defined at offset in data seg. */
#define N_BSS   8 /* BSS sym -- defined at offset in zero'd seg. */
#define N_COMM   0x12 /* Common symbol (visible after shared lib dynlink). */
#define N_FN   0x1f /* File name of .o file. */
#define N_FN_SEQ   0x0C /* N_FN from Sequent compilers (sigh). */
#define N_EXT   1 /* External symbol (as opposed to local-to-this-file). */
#define N_TYPE   0x1e
#define N_STAB   0xe0 /* If any of these bits are on, it's a debug symbol. */
#define N_INDR   0x0a
#define N_SETA   0x14 /* Absolute set element symbol. */
#define N_SETT   0x16 /* Text set element symbol. */
#define N_SETD   0x18 /* Data set element symbol. */
#define N_SETB   0x1A /* Bss set element symbol. */
#define N_SETV   0x1C /* Pointer to set vector in data area. */
#define N_WARNING   0x1e
#define N_WEAKU   0x0d /* Weak undefined symbol. */
#define N_WEAKA   0x0e /* Weak absolute symbol. */
#define N_WEAKT   0x0f /* Weak text symbol. */
#define N_WEAKD   0x10 /* Weak data symbol. */
#define N_WEAKB   0x11 /* Weak bss symbol. */
#define RELOC_STD_BITS_PCREL_BIG   ((unsigned int) 0x80)
#define RELOC_STD_BITS_PCREL_LITTLE   ((unsigned int) 0x01)
#define RELOC_STD_BITS_LENGTH_BIG   ((unsigned int) 0x60)
#define RELOC_STD_BITS_LENGTH_SH_BIG   5
#define RELOC_STD_BITS_LENGTH_LITTLE   ((unsigned int) 0x06)
#define RELOC_STD_BITS_LENGTH_SH_LITTLE   1
#define RELOC_STD_BITS_EXTERN_BIG   ((unsigned int) 0x10)
#define RELOC_STD_BITS_EXTERN_LITTLE   ((unsigned int) 0x08)
#define RELOC_STD_BITS_BASEREL_BIG   ((unsigned int) 0x08)
#define RELOC_STD_BITS_BASEREL_LITTLE   ((unsigned int) 0x10)
#define RELOC_STD_BITS_JMPTABLE_BIG   ((unsigned int) 0x04)
#define RELOC_STD_BITS_JMPTABLE_LITTLE   ((unsigned int) 0x20)
#define RELOC_STD_BITS_RELATIVE_BIG   ((unsigned int) 0x02)
#define RELOC_STD_BITS_RELATIVE_LITTLE   ((unsigned int) 0x40)
#define RELOC_STD_SIZE   (BYTES_IN_WORD + 3 + 1) /* Bytes per relocation entry. */
#define RELOC_EXT_BITS_EXTERN_BIG   ((unsigned int) 0x80)
#define RELOC_EXT_BITS_EXTERN_LITTLE   ((unsigned int) 0x01)
#define RELOC_EXT_BITS_TYPE_BIG   ((unsigned int) 0x1F)
#define RELOC_EXT_BITS_TYPE_SH_BIG   0
#define RELOC_EXT_BITS_TYPE_LITTLE   ((unsigned int) 0xF8)
#define RELOC_EXT_BITS_TYPE_SH_LITTLE   3
#define RELOC_EXT_SIZE   (BYTES_IN_WORD + 3 + 1 + BYTES_IN_WORD)

Enumerations

enum  reloc_type {
  R_SPARC_NONE = 0, R_SPARC_8, R_SPARC_16, R_SPARC_32,
  R_SPARC_DISP8, R_SPARC_DISP16, R_SPARC_DISP32, R_SPARC_WDISP30,
  R_SPARC_WDISP22, R_SPARC_HI22, R_SPARC_22, R_SPARC_13,
  R_SPARC_LO10, R_SPARC_GOT10, R_SPARC_GOT13, R_SPARC_GOT22,
  R_SPARC_PC10, R_SPARC_PC22, R_SPARC_WPLT30, R_SPARC_COPY,
  R_SPARC_GLOB_DAT, R_SPARC_JMP_SLOT, R_SPARC_RELATIVE, R_SPARC_UA32,
  R_SPARC_max, R_MN10200_NONE = 0, R_MN10200_32, R_MN10200_16,
  R_MN10200_8, R_MN10200_24, R_MN10200_PCREL8, R_MN10200_PCREL16,
  R_MN10200_PCREL24, R_MN10200_MAX, R_SPARC_NONE = 0, R_SPARC_8,
  R_SPARC_16, R_SPARC_32, R_SPARC_DISP8, R_SPARC_DISP16,
  R_SPARC_DISP32, R_SPARC_WDISP30, R_SPARC_WDISP22, R_SPARC_HI22,
  R_SPARC_22, R_SPARC_13, R_SPARC_LO10, R_SPARC_GOT10,
  R_SPARC_GOT13, R_SPARC_GOT22, R_SPARC_PC10, R_SPARC_PC22,
  R_SPARC_WPLT30, R_SPARC_COPY, R_SPARC_GLOB_DAT, R_SPARC_JMP_SLOT,
  R_SPARC_RELATIVE, R_SPARC_UA32, R_SPARC_max, RELOC_8,
  RELOC_16, RELOC_32, RELOC_DISP8, RELOC_DISP16,
  RELOC_DISP32, RELOC_WDISP30, RELOC_WDISP22, RELOC_HI22,
  RELOC_22, RELOC_13, RELOC_LO10, RELOC_SFA_BASE,
  RELOC_SFA_OFF13, RELOC_BASE10, RELOC_BASE13, RELOC_BASE22,
  RELOC_PC10, RELOC_PC22, RELOC_JMP_TBL, RELOC_SEGOFF16,
  RELOC_GLOB_DAT, RELOC_JMP_SLOT, RELOC_RELATIVE, RELOC_11,
  RELOC_WDISP2_14, RELOC_WDISP19, RELOC_HHI22, RELOC_HLO10,
  RELOC_JUMPTARG, RELOC_CONST, RELOC_CONSTH, NO_RELOC,
  RELOC_8, RELOC_16, RELOC_32, RELOC_DISP8,
  RELOC_DISP16, RELOC_DISP32, RELOC_WDISP30, RELOC_WDISP22,
  RELOC_HI22, RELOC_22, RELOC_13, RELOC_LO10,
  RELOC_SFA_BASE, RELOC_SFA_OFF13, RELOC_BASE10, RELOC_BASE13,
  RELOC_BASE22, RELOC_PC10, RELOC_PC22, RELOC_JMP_TBL,
  RELOC_SEGOFF16, RELOC_GLOB_DAT, RELOC_JMP_SLOT, RELOC_RELATIVE,
  RELOC_11, RELOC_WDISP2_14, RELOC_WDISP19, RELOC_HHI22,
  RELOC_HLO10, RELOC_JUMPTARG, RELOC_CONST, RELOC_CONSTH,
  RELOC_64, RELOC_DISP64, RELOC_WDISP21, RELOC_DISP21,
  RELOC_DISP14, NO_RELOC, RELOC_8, RELOC_16,
  RELOC_32, RELOC_DISP8, RELOC_DISP16, RELOC_DISP32,
  RELOC_WDISP30, RELOC_WDISP22, RELOC_HI22, RELOC_22,
  RELOC_13, RELOC_LO10, RELOC_SFA_BASE, RELOC_SFA_OFF13,
  RELOC_BASE10, RELOC_BASE13, RELOC_BASE22, RELOC_PC10,
  RELOC_PC22, RELOC_JMP_TBL, RELOC_SEGOFF16, RELOC_GLOB_DAT,
  RELOC_JMP_SLOT, RELOC_RELATIVE, RELOC_11, RELOC_WDISP2_14,
  RELOC_WDISP19, RELOC_HHI22, RELOC_HLO10, RELOC_JUMPTARG,
  RELOC_CONST, RELOC_CONSTH, RELOC_WDISP14, RELOC_WDISP21,
  NO_RELOC
}

Class Documentation

struct external_exec

Definition at line 28 of file adobe.h.

Class Members
unsigned char e_balign
bfd_byte e_bss
unsigned char e_bss
unsigned char e_dalign
bfd_byte e_data
unsigned char e_data
unsigned char e_dload
bfd_byte e_drsize
unsigned char e_drsize
bfd_byte e_entry
unsigned char e_entry
bfd_byte e_info
unsigned char e_info
unsigned char e_relaxable
bfd_byte e_syms
unsigned char e_syms
unsigned char e_talign
bfd_byte e_text
unsigned char e_text
unsigned char e_tload
bfd_byte e_trsize
unsigned char e_trsize
struct external_nlist

Definition at line 100 of file adobe.h.

Class Members
bfd_byte e_desc
bfd_byte e_other
bfd_byte e_strx
bfd_byte e_type
bfd_byte e_value
struct internal_nlist

Definition at line 110 of file adobe.h.

Class Members
unsigned short n_desc
unsigned char n_other
unsigned long n_strx
unsigned char n_type
bfd_vma n_value
struct reloc_std_external

Definition at line 180 of file adobe.h.

Class Members
bfd_byte r_address
bfd_byte r_index
bfd_byte r_type
struct reloc_std_internal

Definition at line 208 of file adobe.h.

Class Members
bfd_vma r_address
unsigned int r_baserel:1
unsigned int r_extern:1
unsigned int r_jmptable:1
unsigned int r_length:2
unsigned int r_pad:1
unsigned int r_pcrel:1
unsigned int r_relative:1
unsigned int r_symbolnum:24
struct reloc_ext_external

Definition at line 239 of file adobe.h.

Class Members
bfd_byte r_addend
bfd_byte r_address
bfd_byte r_index
bfd_byte r_type
struct reloc_internal

Definition at line 306 of file adobe.h.

Class Members
bfd_vma r_address
long r_index

Define Documentation

#define BMAGIC   0415 /* Used by a b.out object. */

Definition at line 59 of file aout64.h.

#define BYTES_IN_WORD   4

Definition at line 23 of file aout64.h.

#define EXEC_BYTES_SIZE   (4 + BYTES_IN_WORD * 7)

Definition at line 41 of file aout64.h.

Definition at line 265 of file aout64.h.

#define N_ABS   2 /* Absolute symbol -- defined at particular addr. */

Definition at line 280 of file aout64.h.

#define N_BADMAG (   x)
Value:
(N_MAGIC(x) != OMAGIC              \
                     && N_MAGIC(x) != NMAGIC            \
                     && N_MAGIC(x) != ZMAGIC \
                      && N_MAGIC(x) != QMAGIC)

Definition at line 67 of file aout64.h.

#define N_BSS   8 /* BSS sym -- defined at offset in zero'd seg. */

Definition at line 283 of file aout64.h.

#define N_BSSADDR (   x)    (N_DATADDR (x) + (x).a_data)

Definition at line 223 of file aout64.h.

#define N_COMM   0x12 /* Common symbol (visible after shared lib dynlink). */

Definition at line 284 of file aout64.h.

#define N_DATA   6 /* Data sym -- defined at offset in data seg. */

Definition at line 282 of file aout64.h.

#define N_DATADDR (   x)
Value:
(N_MAGIC (x) == OMAGIC                                         \
   ? (N_TXTADDR (x) + N_TXTSIZE (x))                                  \
   : (N_SEGSIZE (x) + ((N_TXTADDR (x) + N_TXTSIZE (x) - 1)            \
                     & ~ (bfd_vma) (N_SEGSIZE (x) - 1))))

Definition at line 215 of file aout64.h.

#define N_DATOFF (   x)    (N_TXTOFF (x) + N_TXTSIZE (x))

Definition at line 240 of file aout64.h.

Definition at line 180 of file aout64.h.

#define N_DRELOFF (   x)    (N_TRELOFF (x) + (x).a_trsize)

Definition at line 246 of file aout64.h.

#define N_EXT   1 /* External symbol (as opposed to local-to-this-file). */

Definition at line 290 of file aout64.h.

#define N_FN   0x1f /* File name of .o file. */

Definition at line 285 of file aout64.h.

#define N_FN_SEQ   0x0C /* N_FN from Sequent compilers (sigh). */

Definition at line 286 of file aout64.h.

#define N_HEADER_IN_TEXT (   x)    (((x).a_entry & (TARGET_PAGE_SIZE-1)) >= EXEC_BYTES_SIZE)

Definition at line 137 of file aout64.h.

#define N_INDR   0x0a

Definition at line 294 of file aout64.h.

#define N_IS_QMAGIC (   x)    (N_MAGIC (x) == QMAGIC)

Definition at line 77 of file aout64.h.

#define N_SEGSIZE (   x)    SEGMENT_SIZE

Definition at line 95 of file aout64.h.

#define N_SETA   0x14 /* Absolute set element symbol. */

Definition at line 308 of file aout64.h.

#define N_SETB   0x1A /* Bss set element symbol. */

Definition at line 311 of file aout64.h.

#define N_SETD   0x18 /* Data set element symbol. */

Definition at line 310 of file aout64.h.

#define N_SETT   0x16 /* Text set element symbol. */

Definition at line 309 of file aout64.h.

#define N_SETV   0x1C /* Pointer to set vector in data area. */

Definition at line 314 of file aout64.h.

#define N_SHARED_LIB (   x)    ((x).a_entry < TEXT_START_ADDR)

Definition at line 147 of file aout64.h.

#define N_STAB   0xe0 /* If any of these bits are on, it's a debug symbol. */

Definition at line 292 of file aout64.h.

#define N_STROFF (   x)    (N_SYMOFF (x) + (x).a_syms)

Definition at line 252 of file aout64.h.

#define N_SYMOFF (   x)    (N_DRELOFF (x) + (x).a_drsize)

Definition at line 249 of file aout64.h.

#define N_TEXT   4 /* Text sym -- defined at offset in text seg. */

Definition at line 281 of file aout64.h.

#define N_TRELOFF (   x)    (N_DATOFF (x) + (x).a_data)

Definition at line 243 of file aout64.h.

#define N_TXTADDR (   x)
Value:
(/* The address of a QMAGIC file is always one page in,        \
        with the header in the text.  */                       \
     N_IS_QMAGIC (x)                                           \
     ? (bfd_vma) TARGET_PAGE_SIZE + EXEC_BYTES_SIZE                   \
     : (N_MAGIC (x) != ZMAGIC                                         \
       ? (bfd_vma) 0 /* Object file or NMAGIC.  */                    \
       : (N_SHARED_LIB (x)                                     \
          ? (bfd_vma) 0                                        \
          : (N_HEADER_IN_TEXT (x)                              \
             ? (bfd_vma) TEXT_START_ADDR + EXEC_BYTES_SIZE            \
             : (bfd_vma) TEXT_START_ADDR))))

Definition at line 157 of file aout64.h.

#define N_TXTOFF (   x)
Value:
(/* For {O,N,Q}MAGIC, no padding.  */                          \
     N_MAGIC (x) != ZMAGIC                                     \
     ? EXEC_BYTES_SIZE                                                \
     : (N_SHARED_LIB (x)                                       \
       ? 0                                                     \
       : (N_HEADER_IN_TEXT (x)                                        \
          ? EXEC_BYTES_SIZE        /* No padding.  */          \
          : ZMAGIC_DISK_BLOCK_SIZE /* A page of padding.  */)))

Definition at line 185 of file aout64.h.

#define N_TXTSIZE (   x)
Value:
(/* For QMAGIC, we don't consider the header part of the text section.  */\
   N_IS_QMAGIC (x)                                             \
   ? (x).a_text - EXEC_BYTES_SIZE                              \
   : ((N_MAGIC (x) != ZMAGIC || N_SHARED_LIB (x))                     \
      ? (x).a_text                                             \
      : (N_HEADER_IN_TEXT (x)                                         \
        ? (x).a_text - EXEC_BYTES_SIZE    /* No padding.  */          \
        : (x).a_text               /* A page of padding.  */ )))

Definition at line 201 of file aout64.h.

#define N_TYPE   0x1e

Definition at line 291 of file aout64.h.

#define N_UNDF   0 /* Undefined symbol. */

Definition at line 279 of file aout64.h.

#define N_WARNING   0x1e

Definition at line 320 of file aout64.h.

#define N_WEAKA   0x0e /* Weak absolute symbol. */

Definition at line 328 of file aout64.h.

#define N_WEAKB   0x11 /* Weak bss symbol. */

Definition at line 331 of file aout64.h.

#define N_WEAKD   0x10 /* Weak data symbol. */

Definition at line 330 of file aout64.h.

#define N_WEAKT   0x0f /* Weak text symbol. */

Definition at line 329 of file aout64.h.

#define N_WEAKU   0x0d /* Weak undefined symbol. */

Definition at line 327 of file aout64.h.

#define NMAGIC   0410 /* Code indicating pure executable. */

Definition at line 57 of file aout64.h.

#define OMAGIC   0407 /* Object file or impure executable. */

Definition at line 56 of file aout64.h.

#define QMAGIC   0314

Definition at line 64 of file aout64.h.

#define RELOC_EXT_BITS_EXTERN_BIG   ((unsigned int) 0x80)

Definition at line 418 of file aout64.h.

#define RELOC_EXT_BITS_EXTERN_LITTLE   ((unsigned int) 0x01)

Definition at line 422 of file aout64.h.

#define RELOC_EXT_BITS_TYPE_BIG   ((unsigned int) 0x1F)

Definition at line 426 of file aout64.h.

#define RELOC_EXT_BITS_TYPE_LITTLE   ((unsigned int) 0xF8)

Definition at line 434 of file aout64.h.

Definition at line 430 of file aout64.h.

Definition at line 438 of file aout64.h.

#define RELOC_EXT_SIZE   (BYTES_IN_WORD + 3 + 1 + BYTES_IN_WORD)

Definition at line 442 of file aout64.h.

#define RELOC_STD_BITS_BASEREL_BIG   ((unsigned int) 0x08)

Definition at line 367 of file aout64.h.

Definition at line 368 of file aout64.h.

#define RELOC_STD_BITS_EXTERN_BIG   ((unsigned int) 0x10)

Definition at line 364 of file aout64.h.

#define RELOC_STD_BITS_EXTERN_LITTLE   ((unsigned int) 0x08)

Definition at line 365 of file aout64.h.

#define RELOC_STD_BITS_JMPTABLE_BIG   ((unsigned int) 0x04)

Definition at line 370 of file aout64.h.

Definition at line 371 of file aout64.h.

#define RELOC_STD_BITS_LENGTH_BIG   ((unsigned int) 0x60)

Definition at line 359 of file aout64.h.

#define RELOC_STD_BITS_LENGTH_LITTLE   ((unsigned int) 0x06)

Definition at line 361 of file aout64.h.

Definition at line 360 of file aout64.h.

Definition at line 362 of file aout64.h.

#define RELOC_STD_BITS_PCREL_BIG   ((unsigned int) 0x80)

Definition at line 356 of file aout64.h.

#define RELOC_STD_BITS_PCREL_LITTLE   ((unsigned int) 0x01)

Definition at line 357 of file aout64.h.

#define RELOC_STD_BITS_RELATIVE_BIG   ((unsigned int) 0x02)

Definition at line 373 of file aout64.h.

Definition at line 374 of file aout64.h.

#define RELOC_STD_SIZE   (BYTES_IN_WORD + 3 + 1) /* Bytes per relocation entry. */

Definition at line 376 of file aout64.h.

#define ZMAGIC   0413 /* Code indicating demand-paged executable. */

Definition at line 58 of file aout64.h.

Definition at line 177 of file aout64.h.


Enumeration Type Documentation

enum reloc_type
Enumerator:
R_SPARC_NONE 
R_SPARC_8 
R_SPARC_16 
R_SPARC_32 
R_SPARC_DISP8 
R_SPARC_DISP16 
R_SPARC_DISP32 
R_SPARC_WDISP30 
R_SPARC_WDISP22 
R_SPARC_HI22 
R_SPARC_22 
R_SPARC_13 
R_SPARC_LO10 
R_SPARC_GOT10 
R_SPARC_GOT13 
R_SPARC_GOT22 
R_SPARC_PC10 
R_SPARC_PC22 
R_SPARC_WPLT30 
R_SPARC_COPY 
R_SPARC_GLOB_DAT 
R_SPARC_JMP_SLOT 
R_SPARC_RELATIVE 
R_SPARC_UA32 
R_SPARC_max 
R_MN10200_NONE 
R_MN10200_32 
R_MN10200_16 
R_MN10200_8 
R_MN10200_24 
R_MN10200_PCREL8 
R_MN10200_PCREL16 
R_MN10200_PCREL24 
R_MN10200_MAX 
R_SPARC_NONE 
R_SPARC_8 
R_SPARC_16 
R_SPARC_32 
R_SPARC_DISP8 
R_SPARC_DISP16 
R_SPARC_DISP32 
R_SPARC_WDISP30 
R_SPARC_WDISP22 
R_SPARC_HI22 
R_SPARC_22 
R_SPARC_13 
R_SPARC_LO10 
R_SPARC_GOT10 
R_SPARC_GOT13 
R_SPARC_GOT22 
R_SPARC_PC10 
R_SPARC_PC22 
R_SPARC_WPLT30 
R_SPARC_COPY 
R_SPARC_GLOB_DAT 
R_SPARC_JMP_SLOT 
R_SPARC_RELATIVE 
R_SPARC_UA32 
R_SPARC_max 
RELOC_8 
RELOC_16 
RELOC_32 
RELOC_DISP8 
RELOC_DISP16 
RELOC_DISP32 
RELOC_WDISP30 
RELOC_WDISP22 
RELOC_HI22 
RELOC_22 
RELOC_13 
RELOC_LO10 
RELOC_SFA_BASE 
RELOC_SFA_OFF13 
RELOC_BASE10 
RELOC_BASE13 
RELOC_BASE22 
RELOC_PC10 
RELOC_PC22 
RELOC_JMP_TBL 
RELOC_SEGOFF16 
RELOC_GLOB_DAT 
RELOC_JMP_SLOT 
RELOC_RELATIVE 
RELOC_11 
RELOC_WDISP2_14 
RELOC_WDISP19 
RELOC_HHI22 
RELOC_HLO10 
RELOC_JUMPTARG 
RELOC_CONST 
RELOC_CONSTH 
NO_RELOC 
RELOC_8 
RELOC_16 
RELOC_32 
RELOC_DISP8 
RELOC_DISP16 
RELOC_DISP32 
RELOC_WDISP30 
RELOC_WDISP22 
RELOC_HI22 
RELOC_22 
RELOC_13 
RELOC_LO10 
RELOC_SFA_BASE 
RELOC_SFA_OFF13 
RELOC_BASE10 
RELOC_BASE13 
RELOC_BASE22 
RELOC_PC10 
RELOC_PC22 
RELOC_JMP_TBL 
RELOC_SEGOFF16 
RELOC_GLOB_DAT 
RELOC_JMP_SLOT 
RELOC_RELATIVE 
RELOC_11 
RELOC_WDISP2_14 
RELOC_WDISP19 
RELOC_HHI22 
RELOC_HLO10 
RELOC_JUMPTARG 
RELOC_CONST 
RELOC_CONSTH 
RELOC_64 
RELOC_DISP64 
RELOC_WDISP21 
RELOC_DISP21 
RELOC_DISP14 
NO_RELOC 
RELOC_8 
RELOC_16 
RELOC_32 
RELOC_DISP8 
RELOC_DISP16 
RELOC_DISP32 
RELOC_WDISP30 
RELOC_WDISP22 
RELOC_HI22 
RELOC_22 
RELOC_13 
RELOC_LO10 
RELOC_SFA_BASE 
RELOC_SFA_OFF13 
RELOC_BASE10 
RELOC_BASE13 
RELOC_BASE22 
RELOC_PC10 
RELOC_PC22 
RELOC_JMP_TBL 
RELOC_SEGOFF16 
RELOC_GLOB_DAT 
RELOC_JMP_SLOT 
RELOC_RELATIVE 
RELOC_11 
RELOC_WDISP2_14 
RELOC_WDISP19 
RELOC_HHI22 
RELOC_HLO10 
RELOC_JUMPTARG 
RELOC_CONST 
RELOC_CONSTH 
RELOC_WDISP14 
RELOC_WDISP21 
NO_RELOC 

Definition at line 444 of file aout64.h.

{
  /* Simple relocations.  */
  RELOC_8,                  /* data[0:7] = addend + sv         */
  RELOC_16,                 /* data[0:15] = addend + sv               */
  RELOC_32,                 /* data[0:31] = addend + sv               */
  /* PC-rel displacement.  */
  RELOC_DISP8,                     /* data[0:7] = addend - pc + sv    */
  RELOC_DISP16,                    /* data[0:15] = addend - pc + sv   */
  RELOC_DISP32,                    /* data[0:31] = addend - pc + sv   */
  /* Special.  */
  RELOC_WDISP30,            /* data[0:29] = (addend + sv - pc)>>2     */
  RELOC_WDISP22,            /* data[0:21] = (addend + sv - pc)>>2     */
  RELOC_HI22,               /* data[0:21] = (addend + sv)>>10  */
  RELOC_22,                 /* data[0:21] = (addend + sv)             */
  RELOC_13,                 /* data[0:12] = (addend + sv)             */
  RELOC_LO10,               /* data[0:9] = (addend + sv)              */
  RELOC_SFA_BASE,           
  RELOC_SFA_OFF13,
  /* P.I.C. (base-relative).  */
  RELOC_BASE10,             /* Not sure - maybe we can do this the */
  RELOC_BASE13,                    /* right way now */
  RELOC_BASE22,
  /* For some sort of pc-rel P.I.C. (?)  */
  RELOC_PC10,
  RELOC_PC22,
  /* P.I.C. jump table.  */
  RELOC_JMP_TBL,
  /* Reputedly for shared libraries somehow.  */
  RELOC_SEGOFF16,
  RELOC_GLOB_DAT,
  RELOC_JMP_SLOT,
  RELOC_RELATIVE,

  RELOC_11,   
  RELOC_WDISP2_14,
  RELOC_WDISP19,
  RELOC_HHI22,                     /* data[0:21] = (addend + sv) >> 42     */
  RELOC_HLO10,                     /* data[0:9] = (addend + sv) >> 32      */
  
  /* 29K relocation types.  */
  RELOC_JUMPTARG,
  RELOC_CONST,
  RELOC_CONSTH,
  
  /* All the new ones I can think of, for sparc v9.  */
  RELOC_64,                 /* data[0:63] = addend + sv               */
  RELOC_DISP64,                    /* data[0:63] = addend - pc + sv   */
  RELOC_WDISP21,            /* data[0:20] = (addend + sv - pc)>>2     */
  RELOC_DISP21,                    /* data[0:20] = addend - pc + sv        */
  RELOC_DISP14,                    /* data[0:13] = addend - pc + sv   */
  /* Q .
     What are the other ones,
     Since this is a clean slate, can we throw away the ones we dont
     understand ? Should we sort the values ? What about using a
     microcode format like the 68k ?  */
  NO_RELOC