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

shim sev/sgx: remove the indirection of the inital function rust call #787

Merged
merged 1 commit into from Aug 5, 2020

Conversation

haraldh
Copy link
Member

@haraldh haraldh commented Aug 5, 2020

This was introduced with the static-pie rcrt1 dynamic symbol correction,
copying the behaviour of the musl lib rcrt1.o. Apparently it is not
necessary to use the indirection, as the code base is not big enough
yet, that it exceeds the maximum relative jmp/call distance.

If that is ever the case, we should revert this patch.

This was introduced with the static-pie rcrt1 dynamic symbol correction,
copying the behaviour of the musl lib rcrt1.o. Apparently it is not
necessary to use the indirection, as the code base is not big enough
yet, that it exceeds the maximum relative jmp/call distance.

If that is ever the case, we should revert this patch.
@haraldh haraldh added amd sev Issues related to AMD SEV intel sgx Issues related to Intel SGX labels Aug 5, 2020
@enarxbot enarxbot added this to Triage in Planning Aug 5, 2020
@enarxbot enarxbot added this to Reviewing in Sprint Aug 5, 2020
@mbestavros mbestavros moved this from Triage to Assigned in Planning Aug 5, 2020
@lkatalin
Copy link
Contributor

lkatalin commented Aug 5, 2020

@haraldh What do we gain by removing this? Easier to read code?

@haraldh
Copy link
Member Author

haraldh commented Aug 5, 2020

yes

@enarxbot enarxbot merged commit 2c55ba9 into enarx:master Aug 5, 2020
Sprint automation moved this from Reviewing to Done Aug 5, 2020
Planning automation moved this from Assigned to Done Aug 5, 2020
@haraldh haraldh deleted the shim_no_indirection branch August 26, 2020 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
amd sev Issues related to AMD SEV intel sgx Issues related to Intel SGX
Projects
No open projects
Planning
  
Done
Sprint
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

5 participants