Skip to content

fix: use correct addend for relocs referencing STT_SECTION#1854

Merged
lapla-cogito merged 1 commit into
wild-linker:mainfrom
vishruth-thimmaiah:fix_section_relocs
Apr 20, 2026
Merged

fix: use correct addend for relocs referencing STT_SECTION#1854
lapla-cogito merged 1 commit into
wild-linker:mainfrom
vishruth-thimmaiah:fix_section_relocs

Conversation

@vishruth-thimmaiah

@vishruth-thimmaiah vishruth-thimmaiah commented Apr 19, 2026

Copy link
Copy Markdown
Member

When linking with the -r flag, we now correctly increment the addend of relocations referencing STT_SECTION, when multiple input sections are merged.

Signed-off-by: vishruth-thimmaiah <vishruththimmaiah@gmail.com>

@lapla-cogito lapla-cogito left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@lapla-cogito lapla-cogito merged commit 0473ef9 into wild-linker:main Apr 20, 2026
24 checks passed
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