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

i#3544 RV64: Implement mangle_rel_addr() #6388

Merged
merged 4 commits into from
Oct 29, 2023

Conversation

ksco
Copy link
Contributor

@ksco ksco commented Oct 22, 2023

JAL is the only instruction in RISC-V with PC-relative address reference, which needs to be mangled. Loading a PC-relative address into the thread pointer (tp) register should be rare and we left it unimplemented for now.

JAL is the only instruction in RISC-V with PC-relative address reference, which needs to be mangled. Loading a PC-relative address into the thread pointer (tp) register should be rare and we left it unimplemented for now.
@bete0 bete0 requested review from bete0 and removed request for abhinav92003 October 24, 2023 16:06
core/arch/riscv64/mangle.c Outdated Show resolved Hide resolved
@bete0
Copy link
Contributor

bete0 commented Oct 24, 2023

Looks like code_api|api.rseq test failed bu that might be #6185.

@ksco ksco requested a review from bete0 October 25, 2023 05:07
@ksco
Copy link
Contributor Author

ksco commented Oct 25, 2023

Looks like code_api|api.rseq test failed bu that might be #6185.

Yes, it's an unstable test.

@ksco
Copy link
Contributor Author

ksco commented Oct 27, 2023

@bete0 Can this be merged now? There is still one unresolved conversation so I'm not sure.

@ksco
Copy link
Contributor Author

ksco commented Oct 29, 2023

Merging this as it’s already approved.

@ksco ksco merged commit 2f7a093 into DynamoRIO:master Oct 29, 2023
15 checks passed
@ksco ksco deleted the i3544-mangle-rel-addr branch October 29, 2023 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants