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 for weak elf symbols #242

Merged
merged 1 commit into from
Apr 30, 2024
Merged

Conversation

Amjad50
Copy link
Contributor

@Amjad50 Amjad50 commented Apr 29, 2024

This is a quick fix for crashes when importing file that contain weak symbols.

This only treats it as GLOBAL, and a better implementation would be to handle precedence more appropriately

This is a quick fix for crashes when importing file that contain `weak` symbols.

This only treats it as `GLOBAL`, and a better implementation would be to
handle precedence more appropriately
@Kingcom
Copy link
Owner

Kingcom commented Apr 30, 2024

Yeah, that's definitely better than not working at all - thanks! I guess it will work as long as the symbol only appears in one translation unit, though for more realistic template and inline function usage scenarios deduplication would need to be implemented... in general the linking armips performs is extremely primitive, so it would need a bigger rework.

@Kingcom Kingcom merged commit 0febea0 into Kingcom:master Apr 30, 2024
@fenhl
Copy link

fenhl commented Sep 14, 2024

Any chance we could get a release with this? It's been a while since the last one.

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.

3 participants