]> gcc.gnu.org Git - gcc.git/commit
MSP430: Fix detection of assembler support for .mspabi_attribute
authorJozef Lawrynowicz <jozef.l@mittosystems.com>
Tue, 8 Sep 2020 10:31:02 +0000 (11:31 +0100)
committerJozef Lawrynowicz <jozef.l@mittosystems.com>
Tue, 8 Sep 2020 10:31:56 +0000 (11:31 +0100)
commitb75863a88ececd4fcce9e3b35df8d91b82cf4fc5
tree09a54f6faef5d0215796402f66b81572a99ca0b1
parent285d81be9725acc36dc8eca48d4df506cd5e6f6f
MSP430: Fix detection of assembler support for .mspabi_attribute

The assembly code ".mspabi_attribute 4,1" uses the object attribute
mechanism to indicate that the 430 ISA is in use. However, the default
ISA is 430X, so GAS fails to assemble this since the ISA wasn't also set
to 430 on the command line.

gcc/ChangeLog:

* config/msp430/msp430.c (msp430_file_end): Fix jumbled
HAVE_AS_MSPABI_ATTRIBUTE and HAVE_AS_GNU_ATTRIBUTE checks.
* configure: Regenerate.
* configure.ac: Use ".mspabi_attribute 4,2" to check for assembler
support for this object attribute directive.
gcc/config/msp430/msp430.c
gcc/configure
gcc/configure.ac
This page took 0.055469 seconds and 5 git commands to generate.