[COFF] Use the correct size of the TLS directory
authorDavid Majnemer <david.majnemer@gmail.com>
Tue, 15 Mar 2016 06:41:02 +0000 (06:41 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Tue, 15 Mar 2016 06:41:02 +0000 (06:41 +0000)
commit22a19a9aceeaa5fa0560d58f701b01e7b753a1b0
treeec55581359193de20f3f8d5355d8bece6fa067e0
parent0c2adbc7a081dc554283836f82b6850f19499ed5
[COFF] Use the correct size of the TLS directory

The TLS directory has a different layout depending on the bitness of the
machine the image will run on.  LLD would always use the 64-bit TLS
directory for the data directory entry instead of an appropriately sized
TLS directory.

llvm-svn: 263539
lld/COFF/Writer.cpp
lld/test/COFF/tls32.test