COFF: Fix SECREL and SECTION relocations.
SECREL should sets the 32-bit offset of the target from the beginning of *target's* output section. Previously, the offset from the beginning of source's output section was used instead. SECTION means the target section's index, and not the source section's index. This patch fixes that issue too. llvm-svn: 243535
Loading
Please sign in to comment