[PECOFF] Ignore sections with IMAGE_SCN_LNK_REMOVE attribute.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@187211 91177308-0d34-0410-b5e6-96231b3b80d8
[PECOFF] Simplicy object allocation code. No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@187214 91177308-0d34-0410-b5e6-96231b3b80d8
Make local variables to start with a lowercase character for consistency with the LLD coding style.

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

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@187216 91177308-0d34-0410-b5e6-96231b3b80d8
[PECOFF] Fixed a bug which caused DataDirectoryChunk to write to a wrong offset in the file buffer

Patch by Ron Ofir.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@187219 91177308-0d34-0410-b5e6-96231b3b80d8
[PECOFF] Replace magic number with llvm::COFF::DataDirectoryIndex value

Patch by Ron Ofir.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@187220 91177308-0d34-0410-b5e6-96231b3b80d8
[PECOFF] Don't set IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE if "-fixed" is provided

Based on Ron Ofir's patch.

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