[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / AArch64 / arm64-small-data-fixups.s
blob9ecf47e96e675e2999b6109cb4804e74699488d8
1 ; RUN: llvm-mc -triple arm64-apple-darwin -filetype=obj -o - %s | llvm-readobj -r - | FileCheck %s
3 foo:
4 .long 0
5 .p2align 2
6 bar:
7 .long 1
9 baz:
10 .byte foo - bar
11 .short foo - bar
13 ; CHECK: File: <stdin>
14 ; CHECK: Format: Mach-O arm64
15 ; CHECK: Arch: aarch64
16 ; CHECK: AddressSize: 64bit
17 ; CHECK: Relocations [
18 ; CHECK: Section __text {
19 ; CHECK: 0x9 0 1 1 ARM64_RELOC_SUBTRACTOR 0 bar
20 ; CHECK: 0x9 0 1 1 ARM64_RELOC_UNSIGNED 0 foo
21 ; CHECK: 0x8 0 0 1 ARM64_RELOC_SUBTRACTOR 0 bar
22 ; CHECK: 0x8 0 0 1 ARM64_RELOC_UNSIGNED 0 foo
23 ; CHECK: }
24 ; CHECK: ]