Skip to content

Add support for weak elf symbols - #242

Merged
Kingcom merged 1 commit into
Kingcom:masterfrom
Amjad50:add-weak-support
Apr 30, 2024
Merged

Kingcom merged 1 commit into
Kingcom:masterfrom
Amjad50:add-weak-support

Conversation

@Amjad50

@Amjad50 Amjad50 commented Apr 29, 2024

Copy link
Copy Markdown
Contributor

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

Kingcom commented Apr 30, 2024

Copy link
Copy Markdown
Owner

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

fenhl commented Sep 14, 2024

Copy link
Copy Markdown

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