This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: static link with gold + gc-sections does not flush stdout buffer to file.
Sriraman Tallam <tmsriram@google.com> writes:
> I am not sure I understand this. The output_sections are not assigned
> in the first pass of do_layout and I need to find the orphaned
> sections well before gc can start its transitive closure, right ?
> add_input_section kicks in only after gc is finished and during when
> do_layout is called the second time.
Oh yeah, I forgot about that. Your idea sounds good, though.
Ian