construction data essential for the linker to be able to
perform its job are:
- o asymbol
+ o asymbol -
The asymbol of the contructor entry point contains all the
information necessary to call the function.
- o table id
+ o table id -
The type of symbol, ie is it a contructor, a destructor or
something else someone dreamed up to make our lives difficult.
DESCRIPTION
This function is called with an a symbol describing the
function to be called, an string which descibes the xtor type,
- eg something like "CTOR" or "DTOR" would be fine. And the bfd
+ e.g., something like "CTOR" or "DTOR" would be fine. And the bfd
which owns the function. Its duty is to create a section
called "CTOR" or "DTOR" or whatever if the bfd doesn't already
have one, and grow a relocation table for the entry points as
rel_section->constructor_chain = reloc;
reloc->relent.address = rel_section->_cooked_size;
/* ask the cpu which howto to use */
- reloc->relent.howto =
- bfd_reloc_type_lookup(abfd->arch_info,
- BFD_RELOC_CTOR);
+ reloc->relent.howto = bfd_reloc_type_lookup(abfd, BFD_RELOC_CTOR);
rel_section->_cooked_size += sizeof(int *);
rel_section->reloc_count++;
}