Skip to content

Conversation

LagoLunatic
Copy link
Collaborator

Fixes #175. The issue seems to be that the mapping symbols are read from the object file itself when it's first read, before objdiff combines any sections, so only the first function has accurate mappings.

To fix this, I added a post_init step to the Arch trait that now reads the mapping symbols from the combined text section instead. If other arches have similar issues with combined sections, post_init might help for those as well.

image

@encounter encounter merged commit e1c51ac into encounter:main Apr 26, 2025
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.

"Combine text sections" gets confused by ARM constant pools

2 participants