1# RUN: llvm-mc -filetype=obj -triple=aarch64-unknown-freebsd %s -o %t 2# RUN: llvm-objdump -d %t | FileCheck %s 3 4.section .mysection,"ax",@progbits 5.globl _start 6_start: 7 adr x1,msg 8msg: .asciz "Hello, world\n" 9msgend: 10 11.section .myothersection,"ax",@progbits 12 adrp x1,mystr 13mystr: 14 .asciz "blah" 15 .size mystr, 4 16 17# CHECK: Disassembly of section .mysection: 18# CHECK: _start: 19# CHECK: 0: 21 00 00 10 adr x1, #4 20# CHECK: msg: 21# CHECK: 4: 48 65 6c 6c .word 22# CHECK: 8: 6f 2c 20 77 .word 23# CHECK: c: 6f 72 6c 64 .word 24# CHECK: 10: 0a 00 .short 25# CHECK: Disassembly of section .myothersection: 26# CHECK: $x.2: 27# CHECK: 0: 01 00 00 90 adrp x1, #0 28# CHECK: mystr: 29# CHECK: 4: 62 6c 61 68 .word 30# CHECK: 8: 00 .byte 31