This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
hi,
I am trying to figure out the system call from user space to kernel space. So, I read glibc wrapper first. But I cannot figure out the exact meaning of INTERNAL_SYSCALL for execve system call on IA32 arch. In this macro, which function will be called by the following assmebly code ""call *%%gs:%P2\n\t"?
Is there anyone can help me clarify it?
1. Build the library 2. Look at the disassembled output for execve using objdump -ldr.
I would also recommend that you familiarize yourself with the GNU Assembler http://sourceware.org/binutils/docs-2.17/as/index.html
Cheers, Carlos.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |