From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Jacobowitz To: "H . J . Lu" Cc: Andrew Cagney , "Maciej W. Rozycki" , Richard Henderson , 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: Wed, 08 Aug 2001 11:02:00 -0000 Message-id: <20010808110159.A26252@nevyn.them.org> References: <20010807232102.A19636@lucon.org> <20010808072922.C26704@lucon.org> <3B7151C1.4030203@cygnus.com> <20010808080306.C26983@lucon.org> <3B71582D.4050003@cygnus.com> <20010808090249.A28467@lucon.org> <20010808095401.B23955@nevyn.them.org> <20010808100228.A29503@lucon.org> X-SW-Source: 2001-08/msg00076.html On Wed, Aug 08, 2001 at 10:02:28AM -0700, H . J . Lu wrote: > The gdb I checked out from the 5.1 branch yesterday doesn't do it. BTW, > what > > (gdb) print printk Not sign extended. > # gdb yourgdb > ..... > (top-gdb) print sizeof (CORE_ADDR) 8 (64-bit). That's why I was confused. I'm going to go figure out what want64 at configure time accomplishes that MIPS doesn't always do. I don't have a "64-bit-bfd" built, but CORE_ADDR is always 64-bit on MIPS. Wait... --enable-64-bit-bfd should not have any effect on MIPS. All it does is force wordsize=64, as far as I can see, and wordsize=64 is forced by the inclusion of the elf64 vectors in $selvecs for mips*-*-linux-gnu. Does not using it have any effect on your problem? -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer