This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Patch to change ARM register name set
- To: Nick Clifton <nickc@cygnus.com>
- Subject: Re: Patch to change ARM register name set
- From: Richard Earnshaw <rearnsha@arm.com>
- Date: Tue, 15 Jun 1999 14:15:04 +0100
- Cc: binutils@sourceware.cygnus.com
- Cc: richard.earnshaw@arm.com
- Organization: ARM Ltd.
- Reply-To: richard.earnshaw@arm.com
A couple of niggles rather than anything consequential.
Despite what I said about APCS reg names, the usage of r13, r14 and r15 is
so tightly defined by the architecture that I think it is worth preserving
the apcs-style names (sp, lr & pc respectively) for these even if using
the standard names. Use of 'fp' for r11 is more debatable since this
really is an apcs option.
Second, the option to select this is, I think, a little unobvious unless
you already know what it is all about (what does "-M standard-names"
mean?). I'd prefer the option to be
--disassembler-options=reg-names-std
or
--disassembler-options=reg-names-apcs
That way it is clear that the option refers to the register names and not
to some other feature of disassembly.
Maybe there should be a
--disassembler-options=reg-names-raw
as well, that only uses r0-r15 as the names.