ld/gold allow using linker generated sections as inputs to create some other output sections, for example:
SECTIONS { .got : { *(.got.plt) *(.got) } }
This will create single output section .got with contents of linker generated .got and .got.plt section. This patch makes it possible to do the same
This is done by means of using 'proxy' input section, which holds pointer to linker generated section and can be added to OutputSection<ELFT>,
just like any other regular input section can. In future this can also be used to create single output section for mergeable/non-mergeable inputs,
if linker script demands this.