8000 fix(linker-diff): ignore .got.plt sh_entsize by default by deepakshirkem · Pull Request #2914 · wild-linker/wild · GitHub
[go: up one dir, main page]

Skip to content

fix(linker-diff): ignore .got.plt sh_entsize by default - #2914

Open
deepakshirkem wants to merge 1 commit into
wild-linker:mainfrom
deepakshirkem:linker-diff-got-plt-entsize
Open

deepakshirkem wants to merge 1 commit into
wild-linker:mainfrom
deepakshirkem:linker-diff-got-plt-entsize

Conversation

@deepakshirkem
Copy link
Copy Markdown
Member

Wild sets sh_entsize to 8 for .got.plt, as it already does for .got and .plt (both in --wild-defaults), while GNU ld and lld leave it 0. This showed up in every Rust link checked with WILD_REFERENCE_LINKER=ld.

23 tests already ignored this with DiffIgnore, including some diffed against lld; this removes those, and they now pass via the default instead. Without the new default, 29 x86_64 and 19 aarch64 test configs fail with section.got.plt.entsize, e.g. hash-style, shared/symbolic-non-weak and ifunc-shared/lld.

Part of #2380

Wild sets sh_entsize to 8 for .got.plt, as it does for .got and .plt,
while GNU ld and lld leave it 0. 23 tests already ignored this
individually; remove those now that --wild-defaults covers it.
@deepakshirkem
deepakshirkem marked this pull request as ready for review November 6, 2026 18:49
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

0