1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/MC/ARM/directive-eabi_attribute-overwrite.s
Saleem Abdulrasool b7bd80577f ARM ELF: ensure that the tag types are corrected
Ensure that the tag types are reflected on a replacement.  This is particularly
important for the compatibility tag which has multiple representations where the
last definition wins.

llvm-svn: 199577
2014-01-19 08:25:41 +00:00

19 lines
447 B
ArmAsm

@ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s | llvm-readobj -s -sd \
@ RUN: | FileCheck %s
.syntax unified
.thumb
.eabi_attribute Tag_compatibility, 1
.eabi_attribute Tag_compatibility, 1, "aeabi"
@ CHECK: Section {
@ CHECK: Name: .ARM.attributes
@ CHECK: Type: SHT_ARM_ATTRIBUTES
@ CHECK: SectionData (
@ CHECK: 0000: 41170000 00616561 62690001 0D000000
@ CHECK: 0010: 20014145 41424900
@ CHECK: )
@ CHECK: }