blob: 8c7dfbff0a6b97232bedc0c751bb2835b9dffda4 [file] [log] [blame]
Nirav Dave588fad42018-05-18 17:45:48 +00001// RUN: llvm-mc --triple=thumbv7eb-linux-gnueabihf %s -filetype=obj | llvm-objdump -triple=thumbv7eb-linux-gnueabihf -s - | FileCheck %s
2
3// CHECK: Contents of section .text
4// CHECK-NEXT: 0000 d000bf00
5
6// Make sure we emit in correct endianness.
7
8// CHECK: Contents of section .data
9// CHECK-NEXT: 0000 12341234 1234
10
11 .syntax unified
12 .text
13 .thumb
14 .thumb_func
15.L1:
16 beq Label
17.L2:
18 nop
19Label:
20
21 .data
22 .short 0x1234
23 .fill (.L2 - .L1), 2, 0x1234