objdiff icon indicating copy to clipboard operation
objdiff copied to clipboard

ARM: Combine data/text sections does not pad sections to 4 byte alignment

Open LagoLunatic opened this issue 9 months ago • 0 comments

When data sections are combined, data symbols that are not a multiple of 4 bytes long, such as strings, are missing the padding they need: Image

When text sections are combiined, THUMB functions that have an odd number of instructions cause the next function after them to start at 2-byte alignment, which messes up data in constant pools at the end of that function: Image

LagoLunatic avatar Apr 26 '25 18:04 LagoLunatic