This is the mail archive of the libc-alpha@sources.redhat.com 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]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]