You copied the Doc URL to your clipboard.

Restrictions on reordering of tail calling sections

There are some restrictions on the reordering of tail calling sections.

The linker:

  • Can only move one tail calling section for each tail call target. If there are multiple tail calls to a single section, the tail calling section with an identical section name is moved before the target. If no section name is found in the tail calling section that has a matching name, then the linker moves the first section it encounters.

  • Cannot move a tail calling section out of its execution region.

  • Does not move tail calling sections before inline veneers.