This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Why does mips define elf_backend_sign_extend_vma to true?
- To: "H . J . Lu" <hjl at lucon dot org>
- Subject: Re: Why does mips define elf_backend_sign_extend_vma to true?
- From: Richard Henderson <rth at redhat dot com>
- Date: Tue, 7 Aug 2001 22:46:22 -0700
- Cc: David B Anderson <davea at quasar dot engr dot sgi dot com>, gdb at sourceware dot cygnus dot com, binutils at sourceware dot cygnus dot com
- References: <200108080326.UAA19167@quasar.engr.sgi.com> <20010807220451.A18294@lucon.org>
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.
r~