Bug ID: 41126
Summary: Move sections partially overlapping segments with
OS: Windows NT
This is obviously not likely going to be an issue in practice, but the current
behaviour is still incorrect. There is nothing in the ELF gABI prohibiting any
of the following three ELF layouts:
At the moment, llvm-objcopy moves the section to after the segment, because the
segment is not treated as a parent, i.e. they both become:
(possibly with some alignment-related padding between Segment and Section).
This is incorrect: it should move the section along with the segment. I'm not
really sure what a suitable fix is for this.
You are receiving this mail because:
You are on the CC list for the bug.
llvm-bugs mailing list