1998-07-27 Jason Molenda (jsm@bugshack.cygnus.com)

* config/d10v/tm-d10v.h (REGISTER_NAMES): sp -> r15.  The
        stack pointer et al are synthesized from the SP_REGNUM (etc)
        defines and should not be mentioned in REGISTER_NAMES.

There is a log discussion copied into PR 15966 about how this is not
handled consistently across all targets and we ought to clean it up
a bit.  I'm not tackling the general for this PR, though.
This commit is contained in:
Jason Molenda 1998-07-27 19:24:40 +00:00
parent 3e20223154
commit 2926766b79
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
1998-07-27 Jason Molenda (jsm@bugshack.cygnus.com)
* config/d10v/tm-d10v.h (REGISTER_NAMES): sp -> r15. The
stack pointer et al are synthesized from the SP_REGNUM (etc)
defines and should not be mentioned in REGISTER_NAMES.
start-sanitize-am33
Mon Jul 27 08:54:41 1998 Jeffrey A Law (law@cygnus.com)

View File

@ -64,7 +64,7 @@ extern CORE_ADDR d10v_skip_prologue ();
#define REGISTER_NAMES \
{ "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", \
"r8", "r9", "r10","r11","r12", "r13", "r14","sp",\
"r8", "r9", "r10","r11","r12", "r13", "r14","r15",\
"psw","bpsw","pc","bpc", "cr4", "cr5", "cr6", "rpt_c",\
"rpt_s","rpt_e", "mod_s", "mod_e", "cr12", "cr13", "iba", "cr15",\
"imap0","imap1","dmap","a0", "a1"\