mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
e18ad3d4c8
Replace -arch with -triple so that we can guarantee that ELF object files can be generated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197062 91177308-0d34-0410-b5e6-96231b3b80d8
31 lines
981 B
ArmAsm
31 lines
981 B
ArmAsm
@ Test the .arch directive for armv5te
|
|
|
|
@ This test case will check the default .ARM.attributes value for the
|
|
@ armv5te architecture.
|
|
|
|
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \
|
|
@ RUN: | FileCheck %s --check-prefix=CHECK-ASM
|
|
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \
|
|
@ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
|
|
|
|
.syntax unified
|
|
.arch armv5te
|
|
|
|
@ CHECK-ASM: .arch armv5te
|
|
|
|
@ CHECK-OBJ: Name: .ARM.attributes
|
|
@ CHECK-OBJ: Type: SHT_ARM_ATTRIBUTES (0x70000003)
|
|
@ CHECK-OBJ: Flags [ (0x0)
|
|
@ CHECK-OBJ: ]
|
|
@ CHECK-OBJ: Address: 0x0
|
|
@ CHECK-OBJ: Offset: 0x34
|
|
@ CHECK-OBJ: Size: 27
|
|
@ CHECK-OBJ: Link: 0
|
|
@ CHECK-OBJ: Info: 0
|
|
@ CHECK-OBJ: AddressAlignment: 1
|
|
@ CHECK-OBJ: EntrySize: 0
|
|
@ CHECK-OBJ: SectionData (
|
|
@ CHECK-OBJ: 0000: 411A0000 00616561 62690001 10000000 |A....aeabi......|
|
|
@ CHECK-OBJ: 0010: 05355445 00060408 010901 |.5TE.......|
|
|
@ CHECK-OBJ: )
|