From a69df6f843ce8f6ce22bbe1b36f642ab8c42ba4f Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 11 Jul 2017 22:56:51 +0000 Subject: [PATCH] Update now that the llvm-mc bug is fixed. llvm-svn: 307728 --- lld/test/ELF/arm-mov-relocs.s | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/lld/test/ELF/arm-mov-relocs.s b/lld/test/ELF/arm-mov-relocs.s index 31ccba4cceaf..7e3ce67e0615 100644 --- a/lld/test/ELF/arm-mov-relocs.s +++ b/lld/test/ELF/arm-mov-relocs.s @@ -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