From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Henderson To: "H . J . Lu" Cc: David B Anderson , gdb@sourceware.cygnus.com, binutils@sourceware.cygnus.com Subject: Re: Why does mips define elf_backend_sign_extend_vma to true? Date: Tue, 07 Aug 2001 22:46:00 -0000 Message-id: <20010807224622.A25295@redhat.com> References: <200108080326.UAA19167@quasar.engr.sgi.com> <20010807220451.A18294@lucon.org> X-SW-Source: 2001-08/msg00060.html 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~