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: unassig...@sources.redhat.com ReportedBy: rearn...@gcc.gnu.org CC: mgret...@sourceware.org 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-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils