MIPS JAL/JALR to BAL transformation for Linux (o32 ABI)

Richard Sandiford rdsandiford@googlemail.com
Wed Aug 5 21:41:00 GMT 2009


"Fu, Chao-Ying" <fu@mips.com> writes:
>   To check output_bfd, we need to add a new parameter of output_bfd to
> mips_elf_perform_relocation.  But now because JALR_TO_BAL_P is true for all
> and JAL_TO_BAL_P is true for RM9000, checking input_bfd should be the same
> as checking output_bfd for non-RM9000 objects.  We still can change to check
> output_bfd later.

The output bfd is also available via info->output_bfd.  (bfd has
a habit of passing both around, but the info parameter makes the
output_bfd parameter redundant.)

Richard



More information about the Binutils mailing list