AnyPS5/core/libs/nid
MGXAe 049539ac3d fix(nid): reject libraries that define symbol versions
The patcher rewrites .dynstr in place and reorders .dynsym for
.gnu.hash, but .gnu.version_d kept pointing at name offsets that the
rewrite had recycled: a library carrying symbol version definitions
came out with renamed or blanked version names while its symbols
still advertised a version.

No library in the build defines symbol versions, so fail on
.gnu.version_d during the section scan and leave the input untouched
instead of carrying version remapping that nothing exercises. The
test covers the rejection and that a library without version
definitions is still patched.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
2026-10-08 03:04:07 +00:00
..
include/nid fix(nid): reject libraries that define symbol versions 2026-10-08 03:04:07 +00:00
src fix(nid): reject libraries that define symbol versions 2026-10-08 03:04:07 +00:00
tests fix(nid): reject libraries that define symbol versions 2026-10-08 03:04:07 +00:00