Skip to content

Conversation

@AetiasHax
Copy link
Contributor

Since #274, released in objdiff v3.4.0, .word directives could be misaligned and placed on a 2-byte boundary in a Thumb function. This PR fixes that by only allowing .word when the address is aligned by 4 and instead using .hword if aligned by 2.

Closes #281

@encounter encounter merged commit 66da80f into encounter:main Nov 19, 2025
24 checks passed
@AetiasHax AetiasHax deleted the arm-misaligned-word branch November 20, 2025 22:21
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.

ARM/Thumb: Instructions/data not read properly.

2 participants