(src is only few kilobytes)
Linux is very sensitive to versions. Used tools:
Ubuntu 12.0/ kernel 3.2.0 (64 bit- don't matter)
gcc-ia64-linux-gnu-4.7.1-0.1.20120606.fc18.1.x86_64.rpm //64 bit versions! -32 bit exist too
binutils-ia64-linux-gnu-22.214.171.124.3-3.fc18.x86_64.rpm // 64 bit versions! - 32 bit exist too
>bs T7_sub and >bs sem_wait
See testing documentation (binary sources come with the semaphore test version tasks 5,6)
See ./build map. Tasks variables are on region 4 and kernel region 0.
This means that for example contents of correct can be seen as:
dj 4000000000056098 not dj 56098
(.sbss 0x0000000000056098 0x28 T7_task.o
regards: Tuomo Kortesmaa
Comments and feedback are appreciated: isosika (AT) live.com.