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

Re: basic system call question



** Reply to message from "Joseph A. Knapka" <jknapka@earthlink.net> on Tue, 15
May 2001 12:58:46 -0600


> I just read the "Extended Asm" section of the GCC info
> pages, but didn't find anything about "anonymous" parameters. There
> must be some machine-dependent docs somewhere. The "i386 Dependencies"
> section of the "gas" info was not helpful either :-(

Anonymous parameters are news to me, also, and I consider myself an inline asm
wizard.  However, the asm code clearly shows the correct value going into eax:

.LM155:
        movl $120,%eax

__NR_clone is defined as 120, so this code is correct.

I'm posting a question to gnu.gcc.help.


-- 
Timur Tabi - ttabi@interactivesi.com
Interactive Silicon - http://www.interactivesi.com

-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/