Messages in this thread | | | Date | Sun, 03 Feb 2013 19:21:23 -0800 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH] arch: avr32: add dummy syscalls |
| |
On 02/03/2013 05:31 PM, Al Viro wrote: > > Unless I'm misreading ocavr32.pdf, that should be (R12, R10:R11, R9, R8) and > (R12, R10:R11, R9:R8, stack) resp., so fadvise64 doesn't need a wrapper, but > fadvise64_64 does. And something like (s32, s32, s64, s64) would turn into > (R12, R11, R9:R8, stack, stack); AFAICS, we don't have anything that ugly... > > Automating *that* is going to be interesting... I've not given up, but it's > not going to be fun ;-/ >
Feel free to steal machinery from klibc... it has scripts to autogenerate stubs for arbitrary ABIs.
-hpa
-- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.
| |