It is possible to use yaml2obj to create sections with overlapping sh_offset now.
This patch does that.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM, with one possible suggestion.
test/tools/llvm-objcopy/ELF/overlapping-sections-in-segments.test | ||
---|---|---|
7 | I don't mind if you want to keep it, but you can probably just get rid of the sanity check now. Now it is just a check that yaml2obj works as expected. | |
test/tools/llvm-objcopy/ELF/overlapping-sections.test | ||
6 | Ditto. |
test/tools/llvm-objcopy/ELF/overlapping-sections-in-segments.test | ||
---|---|---|
7 | Yeah, I thought about that too. I had no strong feeling. I'll remove then. |
I don't mind if you want to keep it, but you can probably just get rid of the sanity check now. Now it is just a check that yaml2obj works as expected.