* PATCH: Doc fix for mn10300_analyze_prologue
2001-11-25 15:44 PATCH: Doc fix for mn10300_analyze_prologue Jim Blandy
@ 2001-11-11 8:58 ` Jim Blandy
0 siblings, 0 replies; 2+ messages in thread
From: Jim Blandy @ 2001-11-11 8:58 UTC (permalink / raw)
To: gdb-patches
2001-11-25 Jim Blandy <jimb@redhat.com>
* mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
Index: mn10300-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mn10300-tdep.c,v
retrieving revision 1.22
diff -c -c -b -F'^(' -r1.22 mn10300-tdep.c
*** mn10300-tdep.c 2001/10/10 21:22:44 1.22
--- mn10300-tdep.c 2001/11/25 23:42:57
***************
*** 294,300 ****
In gcc/config/mn13000/mn10300.c, the expand_prologue prologue
function is pretty readable, and has a nice explanation of how the
prologue is generated. The prologues generated by that code will
! have the following form:
+ If this is an old-style varargs function, then its arguments
need to be flushed back to the stack:
--- 294,301 ----
In gcc/config/mn13000/mn10300.c, the expand_prologue prologue
function is pretty readable, and has a nice explanation of how the
prologue is generated. The prologues generated by that code will
! have the following form (NOTE: the current code doesn't handle all
! this!):
+ If this is an old-style varargs function, then its arguments
need to be flushed back to the stack:
***************
*** 322,327 ****
--- 323,331 ----
fmov fsN,(OFFSETN,sp)
fmov fsM,(OFFSETM,sp)
...
+
+ Note that, if OFFSETN happens to be zero, you'll get the
+ different opcode: fmov fsN,(sp)
. Or, set a0 to the start of the save area, and then use
post-increment addressing to save the FP registers.
^ permalink raw reply [flat|nested] 2+ messages in thread
* PATCH: Doc fix for mn10300_analyze_prologue
@ 2001-11-25 15:44 Jim Blandy
2001-11-11 8:58 ` Jim Blandy
0 siblings, 1 reply; 2+ messages in thread
From: Jim Blandy @ 2001-11-25 15:44 UTC (permalink / raw)
To: gdb-patches
2001-11-25 Jim Blandy <jimb@redhat.com>
* mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
Index: mn10300-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mn10300-tdep.c,v
retrieving revision 1.22
diff -c -c -b -F'^(' -r1.22 mn10300-tdep.c
*** mn10300-tdep.c 2001/10/10 21:22:44 1.22
--- mn10300-tdep.c 2001/11/25 23:42:57
***************
*** 294,300 ****
In gcc/config/mn13000/mn10300.c, the expand_prologue prologue
function is pretty readable, and has a nice explanation of how the
prologue is generated. The prologues generated by that code will
! have the following form:
+ If this is an old-style varargs function, then its arguments
need to be flushed back to the stack:
--- 294,301 ----
In gcc/config/mn13000/mn10300.c, the expand_prologue prologue
function is pretty readable, and has a nice explanation of how the
prologue is generated. The prologues generated by that code will
! have the following form (NOTE: the current code doesn't handle all
! this!):
+ If this is an old-style varargs function, then its arguments
need to be flushed back to the stack:
***************
*** 322,327 ****
--- 323,331 ----
fmov fsN,(OFFSETN,sp)
fmov fsM,(OFFSETM,sp)
...
+
+ Note that, if OFFSETN happens to be zero, you'll get the
+ different opcode: fmov fsN,(sp)
. Or, set a0 to the start of the save area, and then use
post-increment addressing to save the FP registers.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-11-25 23:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-25 15:44 PATCH: Doc fix for mn10300_analyze_prologue Jim Blandy
2001-11-11 8:58 ` Jim Blandy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox