Skip to content

Allow unmatched weak symbols to be undefined - #14

Open
lateleite wants to merge 1 commit into
OpenOrbis:masterfrom
lateleite:allow-weak-symbols
Open

lateleite wants to merge 1 commit into
OpenOrbis:masterfrom
lateleite:allow-weak-symbols

Conversation

@lateleite

Copy link
Copy Markdown

This patch makes create-fself allow unmatched undefined weak symbols to be emitted to an OELF.

I needed it when working another patch that added weak symbols to the in-development libc's libcrt library, and it's supported in my console's system.

NOTE: the WriteString line was added to stop Orbis from printing (non-fatal) errors about out-of-bounds reads from the SELF's string table, but I'm not 100% sure it's correct.

Testing done:

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