Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Prevent link failure when there are multiple alias definitions pointing to the same symbol#1021

Merged
lapla-cogito merged 1 commit intodavidlattimore:mainfrom
lapla-cogito:nonweak_sameaddr
Aug 4, 2025
Merged

Prevent link failure when there are multiple alias definitions pointing to the same symbol#1021
lapla-cogito merged 1 commit intodavidlattimore:mainfrom
lapla-cogito:nonweak_sameaddr

Conversation

@lapla-cogito
Copy link
Collaborator

In the current implementation, if copy relocations exist for non-weak symbols with the same address, wild will bail with the error. However, since this would incorrectly treat multiple alias definitions pointing to the same symbol as invalid code (see copyrel.sh), it would be better to simply issue a warning instead.

@lapla-cogito lapla-cogito changed the title Prevent link failure when there are copy relocations for non-weak symbols with the same address Prevent link failure when there are multiple alias definitions pointing to the same symbol Aug 3, 2025
@lapla-cogito lapla-cogito merged commit 2cb866a into davidlattimore:main Aug 4, 2025
23 checks passed
@lapla-cogito lapla-cogito deleted the nonweak_sameaddr branch August 4, 2025 00:05
AadiWaghray pushed a commit to AadiWaghray/wild that referenced this pull request Aug 10, 2025
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

Comments