[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / ELF / section-sym2.s
blobe763c81d96ef3e9c475148bab37d3309205b65df
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj --symbols -r --expand-relocs | FileCheck %s
3 // Test that we can forward reference a section.
5 mov .rodata, %rsi
6 .section .rodata
8 // CHECK:Relocations [
9 // CHECK: Section {{.*}} .rela.text {
10 // CHECK: Relocation {
11 // CHECK: Offset: 0x4
12 // CHECK: Type: R_X86_64_32S (11)
13 // CHECK: Symbol: .rodata
14 // CHECK: Addend: 0x0
15 // CHECK: }
16 // CHECK: }
17 // CHECK:]
19 // There is only one .rodata symbol
21 // CHECK:Symbols [
22 // CHECK: Type: Section (0x3)
23 // CHECK: Section: .rodata
24 // CHECK-NOT: Section: .rodata