nptl : sem_wait and cfa_offset

Matthieu Castet castet.matthieu@free.fr
Thu Jun 30 13:16:00 GMT 2005


Hi,

I have a question in i386 sem_wait 
implementation(http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S?annotate=1.5.4.1&cvsroot=glibc)

For cfi_adjust_cfa_offset :
at line 18-42 we add 4*3 = 12
at line 73 remove -12 as we return
but why at line 76 we add 8 instead of 12 ?
and at line 123 we remove 12.

regards,

matthieu



More information about the Libc-alpha mailing list