This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] MIPS32 DSP instructions again


>>>>> "Eric" == Eric Christopher <echristo@redhat.com> writes:

 Eric> FWIW, I agree with Ian and Paul completely on what they've
 Eric> said.  This though:
 >> A final argument against labelling each and every ASE in the
 >> opcode tables, is that you might then argue yourself into saying
 >> that the ASEs also need to be recorded within the ELF header, so
 >> that the disassembler and debugger can decide whether or not to
 >> decode those instructions, or a kernel can decide whether or not
 >> to run an executable - but we're running out of spare bits in
 >> there! :-)

 Eric> True, and if we weren't running out of spare bits that's
 Eric> exactly what we'd be doing. The lack of bits is the only reason
 Eric> we've not done that to date.

Maybe I'm missing something... but debugger and disassembler have
information about the architecture set when the binary was compiled,
and do use that to disassemble.  You can override that with "set
architecture mips:foo" or "-mmips:foo" respectively, but it's
definitely passed, and it makes sense to do that.

	   paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]