mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 06:31:18 +00:00
Testcase for r133818
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133823 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0f03782d16
commit
56fc642000
17
test/MC/MachO/thumb2-movt-fixup.s
Normal file
17
test/MC/MachO/thumb2-movt-fixup.s
Normal file
@ -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)),
|
||||
|
Loading…
x
Reference in New Issue
Block a user