mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 12:26:52 +08:00
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