request: calling conventions documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I hope I’m right here, I wasn’t sure whether Bugzilla is also for
feature requests.

syscall(2) on my Debian systems has these wonderful tables for the
calling conventions on all kinds of CPU architectures. I often have
to debug various things in various libcs on various platforms for
various bugs ☺ and would love it if this information could somehow
be extended by the relevant userspace calling conventions (so I can
read “foreign”, i.e. not i8086/i386 Intel, assembly more easily,
figure out the bugs in their {,sig}{set,long}jmp implementations,
write patches without extra digging, etc.

I’m aware that linux-man is probably more kernel-oriented and
conventions can differ by libcs (e.g. I’ve seen libcs that use
a regparm convention on i386), but the “standard” case should
be sufficiently on topic (especially as I think the vDSO would
also use these conventions).

Things like, what arguments go into which registers, which are
saved by who, etc.

Thanks in advance,
//mirabilos
-- 
FWIW, I'm quite impressed with mksh interactively. I thought it was much
*much* more bare bones. But it turns out it beats the living hell out of
ksh93 in that respect. I'd even consider it for my daily use if I hadn't
wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux