- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can anyone point me to where to look up what gcc's function call semantics on the nios 2 are?
Specifically, I need to write the platform-dependent part of jamvm so that it knows how to pass arguments and take return values from function calls to native libraries. This is fairly similar to what libffi does, though I think less complicated than libffi. But basically I need to know whether arguments are passed by register, stack, or both, and how return values are returned. Any idea where I could find this out without having to resort to writing a short C program and using assembly to locate the values? :-) In particular, if this is documented anywhere, I'd be very grateful for a pointer to the documentation. Thanks.Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
An alternative way to ask the question: where is the nios2/uClinux C ABI documented?

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page