ruiu added a comment. Isn't this an ad-hoc fix for that specific case? The real problem is that, if it --section-start (or equivalently -T{bss,data,text}) are used, we need to map them without overlapping to other sections. https://reviews.llvm.org/D27516