* mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat a

comment.
(mips_o64_push_dummy_call): Reformat a comment.
This commit is contained in:
Maciej W. Rozycki
2007-05-17 13:28:55 +00:00
parent c210d850a7
commit 436aafc4d1
2 changed files with 12 additions and 8 deletions

View File

@ -1,3 +1,9 @@
2007-05-17 Maciej W. Rozycki <macro@mips.com>
* mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat a
comment.
(mips_o64_push_dummy_call): Reformat a comment.
2007-05-17 Qinwei <qinwei@sunnorth.com.cn> 2007-05-17 Qinwei <qinwei@sunnorth.com.cn>
* score-tdep.c (score_frame_cache->fp, score_analyze_prologue) * score-tdep.c (score_frame_cache->fp, score_analyze_prologue)

View File

@ -2736,10 +2736,9 @@ mips_n32n64_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
register-sized pieces. Large arguments are split between register-sized pieces. Large arguments are split between
registers and stack. */ registers and stack. */
/* Note: structs whose size is not a multiple of MIPS64_REGSIZE /* Note: structs whose size is not a multiple of MIPS64_REGSIZE
mips_abi_regsize() are treated specially: Irix cc passes are treated specially: Irix cc passes them in registers
them in registers where gcc sometimes puts them on the where gcc sometimes puts them on the stack. For maximum
stack. For maximum compatibility, we will put them in compatibility, we will put them in both places. */
both places. */
int odd_sized_struct = (len > MIPS64_REGSIZE int odd_sized_struct = (len > MIPS64_REGSIZE
&& len % MIPS64_REGSIZE != 0); && len % MIPS64_REGSIZE != 0);
/* Note: Floating-point values that didn't fit into an FP /* Note: Floating-point values that didn't fit into an FP
@ -3535,10 +3534,9 @@ mips_o64_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
register-sized pieces. Large arguments are split between register-sized pieces. Large arguments are split between
registers and stack. */ registers and stack. */
/* Note: structs whose size is not a multiple of MIPS64_REGSIZE /* Note: structs whose size is not a multiple of MIPS64_REGSIZE
are treated specially: Irix cc passes are treated specially: Irix cc passes them in registers
them in registers where gcc sometimes puts them on the where gcc sometimes puts them on the stack. For maximum
stack. For maximum compatibility, we will put them in compatibility, we will put them in both places. */
both places. */
int odd_sized_struct = (len > MIPS64_REGSIZE int odd_sized_struct = (len > MIPS64_REGSIZE
&& len % MIPS64_REGSIZE != 0); && len % MIPS64_REGSIZE != 0);
while (len > 0) while (len > 0)