[CMake] Apply llvm_update_compile_flags() in add_lld_library().

Sorry for the breakage.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@200306 91177308-0d34-0410-b5e6-96231b3b80d8
[Mips] Declare MipsDynamicTable class in a separate header file.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@200328 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF][Hexagon] typeZeroFillQuick is not associated with bss section.

We need to increase the memory and the filesize when we add a typeZeroFillQuick
atom.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@200369 91177308-0d34-0410-b5e6-96231b3b80d8
Update for llvm api change.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@200443 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF] Make private all DynamicTable class fields which are not used in
the descendant classes.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@200467 91177308-0d34-0410-b5e6-96231b3b80d8
[PECOFF] Default image base address for PE32+ is 0x140000000, not 0x400000.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@200511 91177308-0d34-0410-b5e6-96231b3b80d8
Replace magic numbers with enums.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@200512 91177308-0d34-0410-b5e6-96231b3b80d8
[PECOFF] Do not emit a section if it's empty.

The PE32+ loader does not seem to like an executable with an empty section, so
we should not emit a section if it's empty.

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