[lld] r307728 - Update now that the llvm-mc bug is fixed.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 11 15:56:51 PDT 2017
Author: rafael
Date: Tue Jul 11 15:56:51 2017
New Revision: 307728
URL: http://llvm.org/viewvc/llvm-project?rev=307728&view=rev
Log:
Update now that the llvm-mc bug is fixed.
Modified:
lld/trunk/test/ELF/arm-mov-relocs.s
Modified: lld/trunk/test/ELF/arm-mov-relocs.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-mov-relocs.s?rev=307728&r1=307727&r2=307728&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-mov-relocs.s (original)
+++ lld/trunk/test/ELF/arm-mov-relocs.s Tue Jul 11 15:56:51 2017
@@ -26,14 +26,9 @@ _start:
.section .R_ARM_MOVT_ABS, "ax",%progbits
movt r0, :upper16:label
movt r1, :upper16:label1
-// FIXME: We shouldn't need to multiply by 65536.
-// arguably llvm-mc incorrectly assembles addends for
-// SHT_REL relocated movt instructions. When there is a relocation
-// the interpretation of the addend for SHT_REL is not shifted
- movt r2, :upper16:label2 + (4 * 65536)
+ movt r2, :upper16:label2 + 4
movt r3, :upper16:label3
-// FIXME: We shouldn't need to multiply by 65536 see comment above.
- movt r4, :upper16:label3 + (4 * 65536)
+ movt r4, :upper16:label3 + 4
// CHECK: Disassembly of section .R_ARM_MOVT_ABS
// CHECK: movt r0, #2
// CHECK: movt r1, #2
More information about the llvm-commits
mailing list