Hello Ole,

On Mon, 05 May 2014 10:52:16 +0200
Ole Streicher <[email protected]> wrote:

[snip]

> Since I have no experience with s390 machines and no glue at all for
> their assembler and the (C) calling conventions: could someone help me here?

The s390(x) calling convention is that function parameters are passed in 
registers
R2-R6. Register 2 is used for the return code.

See "Function calling sequence" in the s390x (64 bit) ABI:

ftp://legacy.redhat.com/pub/redhat/linux/7.1/es/os/s390x/doc/lzsabi0.pdf

Here is the s390 (31 bit) ABI:

http://archive.download.redhat.com/pub/redhat/linux/7.2/de/os/s390/doc/l390abi0.pdf

Best Regards,
Michael


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/20140505165942.663d3002@holzheu

Reply via email to