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

Add support to ARM64 #2

Closed
tonyredondo opened this issue Mar 24, 2020 · 6 comments · Fixed by #13
Closed

Add support to ARM64 #2

tonyredondo opened this issue Mar 24, 2020 · 6 comments · Fixed by #13
Assignees

Comments

@tonyredondo
Copy link
Contributor

We need to bring monkey patching support to AMR64, okteto is compiling in this architecture.

@drodriguezhdez
Copy link
Contributor

image

@drodriguezhdez
Copy link
Contributor

image

@Artoria2e5
Copy link

Artoria2e5 commented Aug 12, 2021

ARM and ARM64 takes more than one instruction to do the job, as the basic branch b instruction takes just an offset. To go anywhere in the address space, you need four instructions of mov immediate to set the address to a scratch register, and then a br to use the register to set PC. That's... 20 bytes? Should fit anywhere we want it to.

The scratch register choice will be more important in the future with registers coming into the calling convention.

I don't have any arm machines to test with, so forgive me for leaving a comment here and running away...

@alhamsya
Copy link

any update for this issue ?

@tonyredondo
Copy link
Contributor Author

tonyredondo commented Feb 16, 2023

any update for this issue ?

@alhamsya, support has been added in the last release.

@stefanopallicca-imagicle

Tag is wrong, it is 1.0.7 instead of v1.0.7

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 a pull request may close this issue.

5 participants