[ELF] - Fixed 3 testases failtures on win32 configuration.
authorGeorge Rimar <grimar@accesssoftek.com>
Thu, 21 Jul 2016 15:35:06 +0000 (15:35 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Thu, 21 Jul 2016 15:35:06 +0000 (15:35 +0000)
commite37dde8d18d932e70e00506d2fe707c6dbf5f166
treeb4f165a795cec7b2f6e8082c85ac4254837a3a06
parent667e245e38b0e2f6ea0c7fd6c59e322933740150
[ELF] - Fixed 3 testases failtures on win32 configuration.

Had 3 testcases failtures:
ELF/eh-frame-merge.s
ELF/gc-sections-eh.s
ELF/gc-sections-lsda.s​

Problem was that OutputOff is size_t, which is 32
for this configuration and next
condition never was checked correctly:

if (PieceI->OutputOff == (uintX_t)-1)
  continue;

llvm-svn: 276296
lld/ELF/Relocations.cpp