<div dir="ltr">I wasn't thought enough when I wrote the comment to suggest using DefinedRegular, so I didn't notice there could be things like `. = ALIGN(8)`. My original intention was you could attach all symbols to beginning or ending of input sections. As it's not, I agree that the use of DefinedRegular doesn't make much sense here.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 29, 2016 at 12:55 PM, Rafael EspĂ­ndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> That was Rui's suggestion to use DefinedRegular. My initial suggestion<br>
> (though it contained a bug) was about using DefinedSynthetic and setting<br>
> offset within output section,<br>
> not input section. I hardly see difference between these approaches - to my<br>
> understanding they are of equal implementation complexity. May be Rui tell<br>
> us, what he thinks.<br>
<br>
</span>For now I think they are probably comparable, but avoiding<br>
OutputSection<ELFT>::assignOffsets and not creating a new input<br>
section type is probably more future proof for implementing ". =<br>
ALIGN" inside output sections.<br>
<br>
Cheers,<br>
Rafael<br>
</blockquote></div><br></div>