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