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

7.3.3 Other processor specific support options

There are many other macros which may be defined in `elfnn-cpu.c'. These macros may be found in `elfxx-target.h'.

Macros may be used to override some of the generic ELF target vector functions.

Several processor specific hook functions which may be defined as macros. These functions are found as function pointers in the `elf_backend_data' structure defined in `elf-bfd.h'. In general, a hook function is set by defining a macro `elf_backend_name'.

There are a few processor specific constants which may also be defined. These are again found in the `elf_backend_data' structure.

I will not define the various functions and constants here; see the comments in `elf-bfd.h'.

Normally any odd characteristic of a particular ELF processor is handled via a hook function. For example, the special `SHN_MIPS_SCOMMON' section number found in MIPS ELF is handled via the hooks `section_from_bfd_section', `symbol_processing', `add_symbol_hook', and `output_symbol_hook'.

Dynamic linking support, which involves processor specific relocations requiring special handling, is also implemented via hook functions.



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