This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] MIPS/BFD: Add microMIPS instruction access helpers
- From: Richard Sandiford <rdsandiford at googlemail dot com>
- To: "Maciej W. Rozycki" <macro at codesourcery dot com>
- Cc: <binutils at sourceware dot org>
- Date: Thu, 17 Nov 2011 18:58:34 +0000
- Subject: Re: [PATCH] MIPS/BFD: Add microMIPS instruction access helpers
- References: <alpine.DEB.1.10.1110250036450.28657@tp.orcam.me.uk>
"Maciej W. Rozycki" <macro@codesourcery.com> writes:
> 2011-10-25 Maciej W. Rozycki <macro@codesourcery.com>
>
> bfd/
> * elfxx-mips.c (LA25_LUI_MICROMIPS_1, LA25_LUI_MICROMIPS_2):
> Remove macros, folding them into...
> (LA25_LUI_MICROMIPS): ... this new macro.
> (LA25_J_MICROMIPS_1, LA25_J_MICROMIPS_2): Likewise into...
> (LA25_J_MICROMIPS): ... this new macro.
> (LA25_ADDIU_MICROMIPS_1, LA25_ADDIU_MICROMIPS_2): Likewise
> into...
> (LA25_ADDIU_MICROMIPS): ... this new macro.
> (bfd_put_micromips_32, bfd_get_micromips_32): New functions.
> (mips_elf_create_la25_stub): Use them.
> (check_br32_dslot, check_br32, check_relocated_bzc): Likewise.
> (_bfd_mips_elf_relax_section): Likewise.
OK, thanks.
Richard