[PATCH] MIPS/GAS: Fix branch swapping with relaxed macros
Richard Sandiford
rdsandiford@googlemail.com
Sun Nov 13 11:03:00 GMT 2011
Sorry for the delay, been away. Hope to get to the other patches soon,
but as for the ones relevant to the branch.
"Maciej W. Rozycki" <macro@codesourcery.com> writes:
> I had to add the #pass (which as you may know I'm a bit opposed to) at
> the end of the MIPS16 test case as MIPS16 code uses odd alignment rules --
> apparently twice the amount used for standard or microMIPS code (not sure
> where it comes from offhand) -- and then pads with the 0x6500 16-byte NOP
> opcode. Perhaps we could use:
>
> .align 4
> .space 16
>
> to deal with that, but let's keep the change as it is for now; I'll have a
> more systematic look into it as my time permits to see if that's worth the
> hassle in the first place.
I wouldn't bother. As you know, I generally prefer #pass to alignment
games anyway.
Patch is OK, thanks.
Richard
More information about the Binutils
mailing list