Back to index

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

Go to the source code of this file.

Classes

struct  xcoff_backend_data_rec

Defines

#define xcoff_link_hash_lookup(table, string, create, copy, follow)
#define xcoff_link_hash_traverse(table, func, info)
#define xcoff_hash_table(p)   ((struct xcoff_link_hash_table *) ((p)->hash))
#define xcoff_backend(abfd)   ((struct xcoff_backend_data_rec *) (abfd)->xvec->backend_data)
#define bfd_xcoff_magic_number(a)   ((xcoff_backend (a)->_xcoff_magic_number))
#define bfd_xcoff_architecture(a)   ((xcoff_backend (a)->_xcoff_architecture))
#define bfd_xcoff_machine(a)   ((xcoff_backend (a)->_xcoff_machine))
#define bfd_xcoff_swap_ldhdr_in(a, b, c)   ((xcoff_backend (a)->_xcoff_swap_ldhdr_in) ((a), (b), (c)))
#define bfd_xcoff_swap_ldhdr_out(a, b, c)   ((xcoff_backend (a)->_xcoff_swap_ldhdr_out) ((a), (b), (c)))
#define bfd_xcoff_swap_ldsym_in(a, b, c)   ((xcoff_backend (a)->_xcoff_swap_ldsym_in) ((a), (b), (c)))
#define bfd_xcoff_swap_ldsym_out(a, b, c)   ((xcoff_backend (a)->_xcoff_swap_ldsym_out) ((a), (b), (c)))
#define bfd_xcoff_swap_ldrel_in(a, b, c)   ((xcoff_backend (a)->_xcoff_swap_ldrel_in) ((a), (b), (c)))
#define bfd_xcoff_swap_ldrel_out(a, b, c)   ((xcoff_backend (a)->_xcoff_swap_ldrel_out) ((a), (b), (c)))
#define bfd_xcoff_ldhdrsz(a)   ((xcoff_backend (a)->_xcoff_ldhdrsz))
#define bfd_xcoff_ldsymsz(a)   ((xcoff_backend (a)->_xcoff_ldsymsz))
#define bfd_xcoff_ldrelsz(a)   ((xcoff_backend (a)->_xcoff_ldrelsz))
#define bfd_xcoff_function_descriptor_size(a)   ((xcoff_backend (a)->_xcoff_function_descriptor_size))
#define bfd_xcoff_small_aout_header_size(a)   ((xcoff_backend (a)->_xcoff_small_aout_header_size))
#define bfd_xcoff_ldhdr_version(a)   ((xcoff_backend (a)->_xcoff_ldhdr_version))
#define bfd_xcoff_put_symbol_name(a, b, c, d)   ((xcoff_backend (a)->_xcoff_put_symbol_name) ((a), (b), (c), (d)))
#define bfd_xcoff_put_ldsymbol_name(a, b, c, d)   ((xcoff_backend (a)->_xcoff_put_ldsymbol_name) ((a), (b), (c), (d)))
#define obj_xcoff_sym_hashes(bfd)   ((struct xcoff_link_hash_entry **) obj_coff_sym_hashes (bfd))
#define bfd_xcoff_dynamic_reloc_howto(a)   ((xcoff_backend (a)->_xcoff_dynamic_reloc))
#define bfd_xcoff_create_csect_from_smclas(a, b, c)   ((xcoff_backend (a)->_xcoff_create_csect_from_smclas((a), (b), (c))))
#define bfd_xcoff_is_lineno_count_overflow(a, b)   ((xcoff_backend (a)->_xcoff_is_lineno_count_overflow((a), (b))))
#define bfd_xcoff_is_reloc_count_overflow(a, b)   ((xcoff_backend (a)->_xcoff_is_reloc_count_overflow((a), (b))))
#define bfd_xcoff_loader_symbol_offset(a, b)   ((xcoff_backend (a)->_xcoff_loader_symbol_offset((a), (b))))
#define bfd_xcoff_loader_reloc_offset(a, b)   ((xcoff_backend (a)->_xcoff_loader_reloc_offset((a), (b))))
#define bfd_xcoff_glink_code(a, b)   ((xcoff_backend (a)->_xcoff_glink_code[(b)]))
#define bfd_xcoff_glink_code_size(a)   ((xcoff_backend (a)->_xcoff_glink_size))
#define bfd_xcoff_is_xcoff64(a)
#define bfd_xcoff_is_xcoff32(a)   (0x01DF == (bfd_xcoff_magic_number (a)))
#define bfd_xcoff_rtinit_size(a)   ((xcoff_backend (a)->_xcoff_rtinit_size))
#define bfd_xcoff_generate_rtinit(a, b, c, d)   ((xcoff_backend (a)->_xcoff_generate_rtinit ((a), (b), (c), (d))))
#define bfd_xcoff_text_align_power(a)   ((xcoff_data (a)->text_align_power))
#define bfd_xcoff_data_align_power(a)   ((xcoff_data (a)->data_align_power))
#define XCOFF_MAX_CALCULATE_RELOCATION   (0x1c)
#define XCOFF_MAX_COMPLAIN_OVERFLOW   (4)
#define N_ONES(n)   (((((bfd_vma) 1 << ((n) - 1)) - 1) << 1) | 1)
#define XCOFF_RELOC_FUNCTION_ARGS
#define XCOFF_COMPLAIN_FUNCTION_ARGS   bfd *, bfd_vma, bfd_vma, struct reloc_howto_struct *howto

Functions

bfd_boolean xcoff_reloc_type_noop (XCOFF_RELOC_FUNCTION_ARGS)
bfd_boolean xcoff_reloc_type_fail (XCOFF_RELOC_FUNCTION_ARGS)
bfd_boolean xcoff_reloc_type_pos (XCOFF_RELOC_FUNCTION_ARGS)
bfd_boolean xcoff_reloc_type_neg (XCOFF_RELOC_FUNCTION_ARGS)
bfd_boolean xcoff_reloc_type_rel (XCOFF_RELOC_FUNCTION_ARGS)
bfd_boolean xcoff_reloc_type_toc (XCOFF_RELOC_FUNCTION_ARGS)
bfd_boolean xcoff_reloc_type_ba (XCOFF_RELOC_FUNCTION_ARGS)
bfd_boolean xcoff_reloc_type_crel (XCOFF_RELOC_FUNCTION_ARGS)

Variables

bfd_boolean(* xcoff_calculate_relocation [XCOFF_MAX_CALCULATE_RELOCATION])(XCOFF_RELOC_FUNCTION_ARGS)
bfd_boolean(* xcoff_complain_overflow [XCOFF_MAX_COMPLAIN_OVERFLOW])(XCOFF_COMPLAIN_FUNCTION_ARGS)

Define Documentation

#define bfd_xcoff_architecture (   a)    ((xcoff_backend (a)->_xcoff_architecture))

Definition at line 125 of file libxcoff.h.

#define bfd_xcoff_create_csect_from_smclas (   a,
  b,
  c 
)    ((xcoff_backend (a)->_xcoff_create_csect_from_smclas((a), (b), (c))))

Definition at line 169 of file libxcoff.h.

#define bfd_xcoff_data_align_power (   a)    ((xcoff_data (a)->data_align_power))

Definition at line 201 of file libxcoff.h.

#define bfd_xcoff_dynamic_reloc_howto (   a)    ((xcoff_backend (a)->_xcoff_dynamic_reloc))

Definition at line 166 of file libxcoff.h.

#define bfd_xcoff_function_descriptor_size (   a)    ((xcoff_backend (a)->_xcoff_function_descriptor_size))

Definition at line 149 of file libxcoff.h.

#define bfd_xcoff_generate_rtinit (   a,
  b,
  c,
  d 
)    ((xcoff_backend (a)->_xcoff_generate_rtinit ((a), (b), (c), (d))))

Definition at line 197 of file libxcoff.h.

#define bfd_xcoff_glink_code (   a,
  b 
)    ((xcoff_backend (a)->_xcoff_glink_code[(b)]))

Definition at line 184 of file libxcoff.h.

#define bfd_xcoff_glink_code_size (   a)    ((xcoff_backend (a)->_xcoff_glink_size))

Definition at line 185 of file libxcoff.h.

#define bfd_xcoff_is_lineno_count_overflow (   a,
  b 
)    ((xcoff_backend (a)->_xcoff_is_lineno_count_overflow((a), (b))))

Definition at line 172 of file libxcoff.h.

#define bfd_xcoff_is_reloc_count_overflow (   a,
  b 
)    ((xcoff_backend (a)->_xcoff_is_reloc_count_overflow((a), (b))))

Definition at line 175 of file libxcoff.h.

#define bfd_xcoff_is_xcoff32 (   a)    (0x01DF == (bfd_xcoff_magic_number (a)))

Definition at line 194 of file libxcoff.h.

#define bfd_xcoff_is_xcoff64 (   a)
Value:
(   (0x01EF == (bfd_xcoff_magic_number (a))) \
   || (0x01F7 == (bfd_xcoff_magic_number (a))))

Definition at line 189 of file libxcoff.h.

#define bfd_xcoff_ldhdr_version (   a)    ((xcoff_backend (a)->_xcoff_ldhdr_version))

Definition at line 154 of file libxcoff.h.

#define bfd_xcoff_ldhdrsz (   a)    ((xcoff_backend (a)->_xcoff_ldhdrsz))

Definition at line 146 of file libxcoff.h.

#define bfd_xcoff_ldrelsz (   a)    ((xcoff_backend (a)->_xcoff_ldrelsz))

Definition at line 148 of file libxcoff.h.

#define bfd_xcoff_ldsymsz (   a)    ((xcoff_backend (a)->_xcoff_ldsymsz))

Definition at line 147 of file libxcoff.h.

#define bfd_xcoff_loader_reloc_offset (   a,
  b 
)    ((xcoff_backend (a)->_xcoff_loader_reloc_offset((a), (b))))

Definition at line 181 of file libxcoff.h.

#define bfd_xcoff_loader_symbol_offset (   a,
  b 
)    ((xcoff_backend (a)->_xcoff_loader_symbol_offset((a), (b))))

Definition at line 178 of file libxcoff.h.

#define bfd_xcoff_machine (   a)    ((xcoff_backend (a)->_xcoff_machine))

Definition at line 126 of file libxcoff.h.

#define bfd_xcoff_magic_number (   a)    ((xcoff_backend (a)->_xcoff_magic_number))

Definition at line 124 of file libxcoff.h.

#define bfd_xcoff_put_ldsymbol_name (   a,
  b,
  c,
  d 
)    ((xcoff_backend (a)->_xcoff_put_ldsymbol_name) ((a), (b), (c), (d)))

Definition at line 159 of file libxcoff.h.

#define bfd_xcoff_put_symbol_name (   a,
  b,
  c,
  d 
)    ((xcoff_backend (a)->_xcoff_put_symbol_name) ((a), (b), (c), (d)))

Definition at line 156 of file libxcoff.h.

#define bfd_xcoff_rtinit_size (   a)    ((xcoff_backend (a)->_xcoff_rtinit_size))

Definition at line 196 of file libxcoff.h.

#define bfd_xcoff_small_aout_header_size (   a)    ((xcoff_backend (a)->_xcoff_small_aout_header_size))

Definition at line 151 of file libxcoff.h.

#define bfd_xcoff_swap_ldhdr_in (   a,
  b,
  c 
)    ((xcoff_backend (a)->_xcoff_swap_ldhdr_in) ((a), (b), (c)))

Definition at line 128 of file libxcoff.h.

#define bfd_xcoff_swap_ldhdr_out (   a,
  b,
  c 
)    ((xcoff_backend (a)->_xcoff_swap_ldhdr_out) ((a), (b), (c)))

Definition at line 131 of file libxcoff.h.

#define bfd_xcoff_swap_ldrel_in (   a,
  b,
  c 
)    ((xcoff_backend (a)->_xcoff_swap_ldrel_in) ((a), (b), (c)))

Definition at line 140 of file libxcoff.h.

#define bfd_xcoff_swap_ldrel_out (   a,
  b,
  c 
)    ((xcoff_backend (a)->_xcoff_swap_ldrel_out) ((a), (b), (c)))

Definition at line 143 of file libxcoff.h.

#define bfd_xcoff_swap_ldsym_in (   a,
  b,
  c 
)    ((xcoff_backend (a)->_xcoff_swap_ldsym_in) ((a), (b), (c)))

Definition at line 134 of file libxcoff.h.

#define bfd_xcoff_swap_ldsym_out (   a,
  b,
  c 
)    ((xcoff_backend (a)->_xcoff_swap_ldsym_out) ((a), (b), (c)))

Definition at line 137 of file libxcoff.h.

#define bfd_xcoff_text_align_power (   a)    ((xcoff_data (a)->text_align_power))

Definition at line 200 of file libxcoff.h.

#define N_ONES (   n)    (((((bfd_vma) 1 << ((n) - 1)) - 1) << 1) | 1)

Definition at line 210 of file libxcoff.h.

Definition at line 163 of file libxcoff.h.

#define xcoff_backend (   abfd)    ((struct xcoff_backend_data_rec *) (abfd)->xvec->backend_data)

Definition at line 121 of file libxcoff.h.

Definition at line 217 of file libxcoff.h.

#define xcoff_hash_table (   p)    ((struct xcoff_link_hash_table *) ((p)->hash))

Definition at line 118 of file libxcoff.h.

#define xcoff_link_hash_lookup (   table,
  string,
  create,
  copy,
  follow 
)
Value:
((struct xcoff_link_hash_entry *) \
   bfd_link_hash_lookup (&(table)->root, (string), (create), (copy),\
                      (follow)))

Definition at line 104 of file libxcoff.h.

#define xcoff_link_hash_traverse (   table,
  func,
  info 
)
Value:
(bfd_link_hash_traverse                                        \
   (&(table)->root,                                            \
    (bfd_boolean (*) (struct bfd_link_hash_entry *, void *)) (func),  \
    (info)))

Definition at line 110 of file libxcoff.h.

#define XCOFF_MAX_CALCULATE_RELOCATION   (0x1c)

Definition at line 204 of file libxcoff.h.

#define XCOFF_MAX_COMPLAIN_OVERFLOW   (4)

Definition at line 205 of file libxcoff.h.

Value:

Definition at line 212 of file libxcoff.h.


Function Documentation


Variable Documentation