[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.10 Relocation support

The `BFD_JUMP_TABLE_RELOCS' macro is used for functions which deal with relocations.

`_get_reloc_upper_bound'
Return a sensible upper bound on the amount of memory which will be required to read the relocations for a section. In practice most targets return the amount of memory required to hold `arelent' pointers for all the relocations plus a trailing `NULL' entry, and store the actual relocation information in BFD private data. This is called via `bfd_get_reloc_upper_bound'.

`_canonicalize_reloc'
Return the relocation information for a section. This is called via `bfd_canonicalize_reloc'. The corresponding field in the target vector is named `_bfd_canonicalize_reloc'.

`_bfd_reloc_type_lookup'
Given a relocation code, return the corresponding howto structure (see section 6.3 BFD relocation codes). This is called via `bfd_reloc_type_lookup'. The corresponding field in the target vector is named `reloc_type_lookup'.



This document was generated by system on December, 2 2004 using texi2html