Other changes:
- Implementation of OutputSection<ELFT>::finalize was refactored in order to work correctly with RelaPlt and RelaDyn input sections. This finalizer doesn't makes sense only when producing relocatable output. For non-relocatable links all it does is clearing SHF_LINK_ORDER flag.
- Check of SyntheticSection was moved to the beginning of InputSection<ELFT>::writeTo, because output section containing RelaDyn or RelaPlt has type SHT_REL[A]
Can you keep this comment?