-tune_relocations

Ensures that references made by the linker conform to the PowerPC EABI (Embedded Application Binary Interface) or position-independent ABI (Application Binary Interface).

Syntax
  -tune_relocations

  
Remarks

Use this option only with the -abi eabi and -abi sda_pic_pid option to ensure that references in the executable image conform to these ABIs.

To conform to both of these ABIs, the linker will modify relocations that do not reach the desired executable code. The linker first converts near branch instructions to far branch instructions. Then it will convert absolute branches to PC-relative branches. For branches that cannot be converted to far or PC-relative addressing, the linker will generate branch islands.

To conform to the SDA PIC/PID ABI, the linker will generate the appropriate style of addressing.

This option is global. This is a linker option.