[llvm-commits] [llvm] r133823 - /llvm/trunk/test/MC/MachO/thumb2-movt-fixup.s
Jim Grosbach
grosbach at apple.com
Fri Jun 24 13:59:01 PDT 2011
Author: grosbach
Date: Fri Jun 24 15:59:01 2011
New Revision: 133823
URL: http://llvm.org/viewvc/llvm-project?rev=133823&view=rev
Log:
Testcase for r133818
Added:
llvm/trunk/test/MC/MachO/thumb2-movt-fixup.s
Added: llvm/trunk/test/MC/MachO/thumb2-movt-fixup.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/thumb2-movt-fixup.s?rev=133823&view=auto
==============================================================================
--- llvm/trunk/test/MC/MachO/thumb2-movt-fixup.s (added)
+++ llvm/trunk/test/MC/MachO/thumb2-movt-fixup.s Fri Jun 24 15:59:01 2011
@@ -0,0 +1,17 @@
+@ RUN: llvm-mc -mcpu=cortex-a8 -triple thumbv7-apple-darwin10 -filetype=obj -o - < %s | macho-dump | FileCheck %s
+
+_fred:
+ movt r3, :upper16:(_wilma-(LPC0_0+4))
+LPC0_0:
+
+_wilma:
+ .long 0
+
+@ CHECK: ('_relocations', [
+@ CHECK: # Relocation 0
+@ CHECK: (('word-0', 0xb9000000),
+@ CHECK: ('word-1', 0x4)),
+@ CHECK: # Relocation 1
+@ CHECK: (('word-0', 0xb100fffc),
+@ CHECK: ('word-1', 0x4)),
+
More information about the llvm-commits
mailing list