This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] MIPS gas: Reallow branches to global file-internal labels
Alexandre Oliva wrote:
> On Feb 13, 2003, Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de> wrote:
>
> > It loses performance and enlarges the code, because conditional branches
> > have to be converted to branch-and-jump sequences.
>
> Nope. Just turn:
>
> .globl foo
> foo:
> ...
> b foo
>
> into
>
> .globl foo
> foo:
> .Lfoo:
> ...
> b .Lfoo
>
> No additional branches, no additional symbols, no differences in the
> resulting object, and you're now clear that you really really mean to
> branch to that symbol, and not to whatever symbol might override it.
Ah, that's the trick! Thanks! This rests my concerns.
Thiemo