As was discussed in D37736 thread, we can drop SHF_LINK_ORDER
and do that early enough, so that this flag will not affect on
flags of sections that contains only symbol assignments and created in
adjustSectionsBeforeSorting().
It also looks there is no reason to keep this flag when doing final link.
this patch preserves it only when -r is given.
This is not something I meant by "drop it early when it is processed". It just drops the flag at an arbitrary point instead of when SHF_LINK_ORDER is processed. Also, this kind of code shouldn't be in the driver.