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

Use 32 bit addressing on ARM #29

Merged
merged 1 commit into from
May 23, 2024
Merged

Use 32 bit addressing on ARM #29

merged 1 commit into from
May 23, 2024

Conversation

potuz
Copy link
Collaborator

@potuz potuz commented May 13, 2024

Consumers of the library, if they insert a lot of data between text and .rodata may hit a relocation issue when linking. Rather than tweaking the linker, this PR fixes the addressing modes by adding a couple of cycles when loading symbols allowing them to be separated to 32 bits.

Fixes #28

Consumers of the library, if they insert a lot of data between text and
.rodata may hit a relocation issue when linking. Rather than tweaking
the linker, this PR fixes the addressing modes by adding a couple of
cycles when loading symbols allowing them to be separated to 32 bits.

Fixes #28
@potuz potuz merged commit a116e77 into main May 23, 2024
6 checks passed
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.

Linking fails with relocation truncated to fit on linux/arm64
3 participants