This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Why does mips define elf_backend_sign_extend_vma to true?
On Tue, Aug 07, 2001 at 10:46:22PM -0700, Richard Henderson wrote:
> On Tue, Aug 07, 2001 at 10:04:51PM -0700, H . J . Lu wrote:
> > I think the better fix is to check the EF_MIPS field to only
> > do sign extension for MIPS III/IV. But we don't support such encoding.
>
> There are too many odd combinations of mips chips for
> something so simplistic to work.
>
> Besides, things aren't broken. Use a 64-bit BFD and
> you _should_ get sign-extension for MIPS.
>
That is wrong for MIPS I/II even if BFD is 64bit for whatever reason.
In any case, I won't bother with any patches. But I will fix it in my
Linux binutils.
H.J.