Skip to content

fix: Resolve __real_foo in --wrap even without __wrap_foo#1419

Merged
lapla-cogito merged 1 commit into
wild-linker:mainfrom
lapla-cogito:fix_wrap
Jan 5, 2026
Merged

fix: Resolve __real_foo in --wrap even without __wrap_foo#1419
lapla-cogito merged 1 commit into
wild-linker:mainfrom
lapla-cogito:fix_wrap

Conversation

@lapla-cogito

Copy link
Copy Markdown
Member

The --wrap option should independently handle both symbol redirections:

  • foo -> __wrap_foo (when __wrap_foo is defined)
  • __real_foo -> foo (when foo is defined)

Previously, both mappings were skipped if __wrap_foo didn't exist, causing undefined symbol errors for __real_foo references.

@lapla-cogito lapla-cogito merged commit fc26936 into wild-linker:main Jan 5, 2026
21 checks passed
@lapla-cogito lapla-cogito deleted the fix_wrap branch January 5, 2026 00:25
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.

2 participants