[PATCH] D27516: [ELF] - Place ".text" to be first section if -Ttext is used.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 7 10:29:15 PST 2016


I think this is a case of someone using -TText to mean the load address.

But given that -N is also used, what exactly is the problem? The one and
only PT_LOAD will be at that address, no?

Cheers,
Rafael


Rui Ueyama via Phabricator <reviews at reviews.llvm.org> writes:

> 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


More information about the llvm-commits mailing list