-
Notifications
You must be signed in to change notification settings - Fork 20.3k
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
crypto/bn256/cloudflare: fix asm for dynamic linking #24476
Conversation
when dynamic linking, R15 is clobbered by a global variable access and is used here; avoid them. Fixes: ethereum#24439
This should be fixed upstream first in https://github.com/cloudflare/bn256. We can pull the changes afterwards, but it's important to keep it consistent with upstream. |
Sent pull request to upstream repository. |
Pull request of upstream was merged. Can merge this pull request? |
I can confirm this change matches the change submitted upstream. |
When using -buildmode=shared, R15 is clobbered by a global variable access; use a different register instead. Fixes: ethereum#24439
When using -buildmode=shared, R15 is clobbered by a global variable access; use a different register instead. Fixes: ethereum#24439
When using -buildmode=shared, R15 is clobbered by a global variable access; use a different register instead. Fixes: ethereum#24439
When using -buildmode=shared, R15 is clobbered by a global variable access; use a different register instead. Fixes: ethereum#24439
when dynamic linking, R15 is clobbered by a global variable access and is used here; avoid them.(go1.17~)
refs
Fixes: #24439