[PATCH] D23215: [COFF][ARM] Fix typos in the relocation test

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 5 11:16:06 PDT 2016


mstorsjo created this revision.
mstorsjo added a subscriber: llvm-commits.
Herald added subscribers: samparker, rengolin, aemerson.

These relocations are obviously not AMD64.

https://reviews.llvm.org/D23215

Files:
  test/COFF/reloc-arm.test

Index: test/COFF/reloc-arm.test
===================================================================
--- test/COFF/reloc-arm.test
+++ test/COFF/reloc-arm.test
@@ -33,16 +33,16 @@
         Type:            2  # IMAGE_REL_ARM_ADDR32NB
       - VirtualAddress:  32
         SymbolName:      foo
-        Type:            17  # IMAGE_REL_AMD64_MOV32T
+        Type:            17  # IMAGE_REL_ARM_MOV32T
       - VirtualAddress:  48
         SymbolName:      foo
-        Type:            20  # IMAGE_REL_AMD64_BRANCH24T
+        Type:            20  # IMAGE_REL_ARM_BRANCH24T
       - VirtualAddress:  64
         SymbolName:      foo
         Type:            18  # IMAGE_REL_ARM_BRANCH20T
       - VirtualAddress:  80
         SymbolName:      foo
-        Type:            21  # IMAGE_REL_AMD64_BLX23T
+        Type:            21  # IMAGE_REL_ARM_BLX23T
       - VirtualAddress:  96
         SymbolName:      bar
         Type:            20  # IMAGE_REL_ARM_BRANCH24T


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23215.66981.patch
Type: text/x-patch
Size: 969 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160805/4e8669a3/attachment.bin>


More information about the llvm-commits mailing list