Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RV64: Implement TLSDESC #459

Open
rui314 opened this issue Apr 25, 2022 · 0 comments
Open

RV64: Implement TLSDESC #459

rui314 opened this issue Apr 25, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@rui314
Copy link
Owner

rui314 commented Apr 25, 2022

This is a bit stretch goal as it involves standardization, GCC hacking and adding a feature to the linker. But here goes.

Currently, RV64 uses the traditional TLS access model. On x86-64 and ARM64, there is a better TLS access model called TLSDESC. In order to make it available on RV64, we need to improve GCC and/or LLVM to emit code sequences for TLSDESC instead of the traditional one and implement a relaxation to our linker.

riscv-non-isa/riscv-elf-psabi-doc#94

@rui314 rui314 added the enhancement New feature or request label Apr 25, 2022
@rui314 rui314 assigned rui314 and unassigned rui314 Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant