[RFC] Removing DefinedSynthetic

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 22 11:52:49 PST 2017


Dave Bozier <seifsta at gmail.com> writes:

>> DefinedSynthetic is being used to define linker-synthesized symbols that
> are relative to output sections. _end or _edata are a few examples.
>
> Given that SyntheticSection are InputSections, wouldn't it make sense to
> make DefinedSynthetic to be defined relative to input sections to be
> consistent?

That is what a DefinedRegular is.

Cheers,
Rafael


More information about the llvm-commits mailing list