Firstly,

To: [EMAIL PROTECTED], [EMAIL PROTECTED]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      ****** PLEASE ****** DO ****** NOT ****** DO ****** THIS ******

���إ� writes:
> 
> Does any body khow what kind of arguments passing convention
> arm-linux-gcc uses??

Arguments are passed in registers r0 (first argument) to r3, and then
on the stack.  The returned value is placed in r0.

> Which registers are used by gcc for arm to pass function arguments
> and which registers are used to store local variables, etc..?

r4 through to r9, and sometimes r10 can be used for local variables.
Local variables can also be stored on the stack.

> The ARM Software Development Toolkit from ARM LTD has specified so
> called APCS(ARM procedure call stabdard).  Does arm-linux-gcc
> conform this standard??

Yes.

> Or it has its own method??

No.
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       [EMAIL PROTECTED]      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++        Please use [EMAIL PROTECTED] for           ++
++                        kernel-related discussions.                      ++

Reply via email to