This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
nptl : sem_wait and cfa_offset
- From: Matthieu Castet <castet dot matthieu at free dot fr>
- To: libc-alpha at sources dot redhat dot com
- Date: Thu, 30 Jun 2005 14:42:25 +0200
- Subject: nptl : sem_wait and cfa_offset
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