This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: MIPS gas relaxation still doesn't work
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>
- Cc: "H. J. Lu" <hjl at lucon dot org>, "David S. Miller" <davem at redhat dot com>, rsandifo at redhat dot com, linux-mips at linux-mips dot org, gcc at gcc dot gnu dot org, binutils at sources dot redhat dot com
- Date: 16 Oct 2002 10:36:28 -0300
- Subject: Re: MIPS gas relaxation still doesn't work
- Organization: GCC Team, Red Hat
- References: <Pine.GSO.3.96.1021016130338.14774E-100000@delta.ds2.pg.gda.pl>
On Oct 16, 2002, "Maciej W. Rozycki" <macro@ds2.pg.gda.pl> wrote:
> On 15 Oct 2002, Alexandre Oliva wrote:
>> Except that, with the current implementation of branch relaxation,
>> when you enable it, each branch will mark the end of a frag, so the
>> assembler will be effectively unable to fill delay slots anyway, since
>> it won't bring instructions from the previous frag to the beginning of
>> the new frag.
> Too bad. But the marking could get disabled if ".set nomacro" was on for
> a branch, couldn't it?
Err... Yes, indeed, this is already the case, now that I think of
it. Only when the branch is a relaxation candidate does it become the
end of a variable-sized frag. Branches within nomacro sections are
not relaxed in the current implementation, so we handle them just as
before.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer