aosp-riscv / platform_bionic

1 stars 5 forks source link

Fix riscv's TLS implementation #3

Closed luxufan closed 2 years ago

luxufan commented 2 years ago

Fix bionic's tcb TLS slot index and the process of reserve exe segment and bionic_tcb.

Currently, the alignment was not considered carefully when reserve exe segment and bionic_tcb.

luxufan commented 2 years ago

This PR was merged partially in commit https://github.com/aosp-riscv/platform_bionic/commit/b144750c716d77f13fcd90d26dd3dee038ed74c3