From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H . J . Lu" To: Richard Sandiford Cc: binutils@sourceware.cygnus.com Subject: Re: Does -march=r5000 imply HAVE_64BIT_GPRS? Date: Tue, 14 Aug 2001 08:58:00 -0000 Message-id: <20010814085833.A2229@lucon.org> References: <20010813164639.A20371@lucon.org> <20010814082537.A1719@lucon.org> X-SW-Source: 2001-08/msg00290.html On Tue, Aug 14, 2001 at 04:54:06PM +0100, Richard Sandiford wrote: > "H . J . Lu" writes: > > > It doesn't work. Try -march=r5000 -mips2 and run > > > > # gcc -march=r5000 -mips2 -c foo.s > > # readelf -h foo.o > > > > I got > > .... > > Flags: 0x30000102, pic, mips4 UNKNOWN > > ^^^^^^^ > > .... > > Oh, I see what you mean. FWIW, you do get 32-bit code, despite what the > header says... It looks like the case. But I don't know for sure. Assuming I do get 32-bit code, why is mips4 set? When the binary loaded into memory, bad things may happen when the mips4 flag is set. H.J.