[PATCH] D51027: [LLD][ELD] - Do not reject INFO output section type when used with a start address.

ben via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 21 04:20:45 PDT 2018


bd1976llvm added a comment.

In https://reviews.llvm.org/D51027#1207356, @grimar wrote:

> Also, note that we already support the following:
>
> > .stack address_expression (NOLOAD) :
> >  {
>
> but not the
>
> > .stack address_expression (INFO) :
> >  {
>
> yet. So I think it is worth to implement both for consistency and few users we have.


The difference is that NOLOAD is not a deprecated feature, and has an effect that would otherwise be difficult to achieve. INFO, OVERLAY etc.. are deprecated, and the user just needs to set section flags correctly to achieve the same effect.


https://reviews.llvm.org/D51027





More information about the llvm-commits mailing list