This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [needs GWP] Fix CFI directives for MIPS16
On Mon, Nov 24, 2008 at 08:22:34PM +0000, Richard Sandiford wrote:
> - As things stand, you need to define the user-visible FDE
> label in a nonobvious way in order to get correct code.
> Specifically, you need to write:
>
> $LFB1 = .
> .cfi_startproc
Oh right - this is because of different handling of labels
between MIPS16 and Thumb. Only with .thumb_func do Thumb
labels get their bottom bit set; otherwise labels are code
addresses, not ISA encoded addresses. That explains a lot.
> I'll do it your way though. GCC patch tested and imminent.
Thanks!
--
Daniel Jacobowitz
CodeSourcery