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

Redo globals #19

Merged
merged 2 commits into from
Aug 16, 2024
Merged

Redo globals #19

merged 2 commits into from
Aug 16, 2024

Conversation

SupernaviX
Copy link
Owner

Explicitly assign "small data" (AKA all data on V810, no data (yet) on other targets) to "small data" sections. We're now gonna put everything in .sdata and .sbss instead of .data or .bss, which should make the behavior of GP-relative access more predictable and extensible down the road.

Also adds support for .sdata and .sbss directives in assembly files, just because MIPS did it and it was easy to copy.

@SupernaviX SupernaviX merged commit 9a5636b into main Aug 16, 2024
3 checks passed
@SupernaviX SupernaviX deleted the redo-globals branch August 16, 2024 00:53
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.

1 participant