mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-04 21:30:49 +00:00
3660a847f1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129850 91177308-0d34-0410-b5e6-96231b3b80d8
29 lines
665 B
ArmAsm
29 lines
665 B
ArmAsm
// RUN: llvm-mc -filetype=obj -triple i686-pc-mingw32 %s | coff-dump.py | FileCheck %s
|
|
|
|
.def _foobar;
|
|
.scl 2;
|
|
.type 32;
|
|
.endef
|
|
.text
|
|
.globl _foobar
|
|
.align 16, 0x90
|
|
_foobar: # @foobar
|
|
# BB#0:
|
|
ret
|
|
|
|
.data
|
|
.globl _rust_crate # @rust_crate
|
|
.align 4
|
|
_rust_crate:
|
|
.long _foobar-_rust_crate
|
|
|
|
|
|
// CHECK: Relocations = [
|
|
// CHECK-NEXT: 0 = {
|
|
// CHECK-NEXT: VirtualAddress = 0x0
|
|
// CHECK-NEXT: SymbolTableIndex =
|
|
// CHECK-NEXT: Type = IMAGE_REL_I386_REL32 (20)
|
|
// CHECK-NEXT: SymbolName = .text
|
|
// CHECK-NEXT: }
|
|
// CHECK-NEXT: ]
|