This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi:
How can I compile a C code(wih GCC for 68k)
using only Stack to pass function arguments,but
dont' use registers?
Because I have a platform that run a OS which is
not compiled by GCC.
So when I write a C code and using m68k-coff-gcc to
compile,I found that gcc will generate assembly code (-S )
that pass some arguments with registers.
But according to the manual I got,the OS need AP use "only stack" to
pass arguments,but don't use any register?How can I do?
Thanks
Cliff
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |