[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/12198] New: SVC in thumb assembler forces M-profile attribute
From: |
rearnsha at gcc dot gnu.org |
Subject: |
[Bug gas/12198] New: SVC in thumb assembler forces M-profile attribute |
Date: |
Sat, 6 Nov 2010 16:30:07 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=12198
Summary: SVC in thumb assembler forces M-profile attribute
Product: binutils
Version: 2.21 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: address@hidden
ReportedBy: address@hidden
CC: address@hidden
Target: arm-eabi
Assemble the following testcase using the assemblers auto-selection of
attributes mode (ie no CPU/arch selection on the command line, and no
directives in sources).
.thumb
.global f
.type f, %function
f:
svc 0xab
bx lr
arm-none-eabi-as -o t1.o t1.s
arm-none-eabi-readelf -A t1.o
Attribute Section: aeabi
File Attributes
Tag_CPU_arch: v6S-M
Tag_CPU_arch_profile: Microcontroller
Tag_THUMB_ISA_use: Thumb-1
Tag_DIV_use: Not allowed
There's nothing in this file that forces this to M-profile. Indeed, it can
even do this if the object file contains ARM assembly instructions.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- [Bug gas/12198] New: SVC in thumb assembler forces M-profile attribute,
rearnsha at gcc dot gnu.org <=