Details
Details
- Reviewers
emaste andrew - Commits
- rS294912: Add pthread MD part for RISC-V.
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
lib/libthr/arch/riscv/include/pthread_md.h | ||
---|---|---|
64 | Why + 0x10? |
lib/libthr/arch/riscv/include/pthread_md.h | ||
---|---|---|
66 | it is TP_OFFSET (architecture specific) |
lib/libthr/arch/riscv/include/pthread_md.h | ||
---|---|---|
66 | Why is it needed? rtld-elf already takes the size of struct tcb into account. |
lib/libthr/arch/riscv/include/pthread_md.h | ||
---|---|---|
66 | So compiler expects that tp register points to the first static TLS block. In variant I it is located just after struct tcb. |