1 @ Test the .arch directive for armv5
3 @ This test case will check the default .ARM.attributes value for the
6 @ RUN: llvm-mc < %s -arch=arm -filetype=asm \
7 @ RUN: | FileCheck %s --check-prefix=CHECK-ASM
8 @ RUN: llvm-mc < %s -arch=arm -filetype=obj \
9 @ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
14 @ CHECK-ASM: .arch armv5
16 @ CHECK-OBJ: Name: .ARM.attributes
17 @ CHECK-OBJ: Type: SHT_ARM_ATTRIBUTES (0x70000003)
18 @ CHECK-OBJ: Flags [ (0x0)
20 @ CHECK-OBJ: Address: 0x0
21 @ CHECK-OBJ: Offset: 0x34
25 @ CHECK-OBJ: AddressAlignment: 1
26 @ CHECK-OBJ: EntrySize: 0
27 @ CHECK-OBJ: SectionData (
28 @ CHECK-OBJ: 0000: 41160000 00616561 62690001 0C000000 |A....aeabi......|
29 @ CHECK-OBJ: 0010: 05350006 030801 |.5.....|