>Couldn't you do it with the extended form of the asm statement that
>GCC supports?  That gives a whole lot of control over how parameters
>are passed in and out of the asm block.  If the asm block in turn is a 
>function call (or syscall) instruction, that may do the job.

Yes, you can do more or less anything with an asm.  I thought Adam wanted a 
"clean" way to do this with function attributes or the like.

(Actually, an asm that clobbers all registers might well bring the compiler to 
a sticky end.  It can't always handle that sort of situation properly.)

p.


unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to