On Thu, Mar 26, 2020 at 12:01 PM lizekun (A) <lizek...@huawei.com> wrote:
>
> Hi,
> I have a question on function "get_symbol_initial_value" in lto-stream-out.c.
>
> When the initial value of symbol is constructor, it will be replaced by an 
> error_mark.
> What's the benefit of donging this? In some cases, it increases the size of 
> binary.

constructors are streamed into a separate section, the above just "marks" the
variable that there is one available.

> I would be grateful if anyone could help.
>
> Best regulars

Reply via email to