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

Change linker script so gGameOverTimer can be in z_game_over.c #1939

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

cadmic
Copy link
Contributor

@cadmic cadmic commented Apr 8, 2024

Currently, gGameOverTimer is placed in z_message_PAL.c, which is wrong, and annoying because we have to manually adjust the padding for other versions. This introduces include_data_only_within_rodata and include_no_data spec directives to deal with it instead.

Additionally, I removed some ancient commented-out code in mkldscript.c because I didn't want to deal with it.

src/code/z_game_over.c Outdated Show resolved Hide resolved
spec Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants