[PECOFF] Change sectionChoice attribute.

Change the attribute from sectionBasedOnContent to sectionCustomRequired
because its the right attribute for atoms read from COFF files to have.
COFF atoms should basically be emitted to the section having the same name
as input. Permissions/attributes should not affect that.

There's no functionality change because the writer doesn't yet use the
section name. The writer will be modified in a following patch, so that atoms
are written to its customSectionName()'s section.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@195595 91177308-0d34-0410-b5e6-96231b3b80d8
[Gnu] Set the type of binary that lld would generate.

This is needed before any of the search paths are searched for.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@195596 91177308-0d34-0410-b5e6-96231b3b80d8
[Gnu] Ignore unknown arguments, and print message.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@195597 91177308-0d34-0410-b5e6-96231b3b80d8
[Gnu] Set the defaults in the ELFLinkingContext.

Comment from Rui Ueyema.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@195598 91177308-0d34-0410-b5e6-96231b3b80d8