Commit: GAS MSP430: Add support for "<foo>.a" aliases of "<foo>a"

Nick Clifton nickc@redhat.com
Tue Oct 8 08:42:00 GMT 2013


Hi Guys,

  I am checking in the attached patch to extend the MSP430 assembler so
  that it will accept "<foo>.a" as an alias of "<foo>a".  So for example
  the programmer can write "mov.a" or "mova" and the assembler will
  accept both.  The patch also adds code to detect and report corrupt or
  unrecognised size extensions.

Cheers
  Nick

gas/ChangeLog
2013-10-08  Nick Clifton  <nickc@redhat.com>

	* config/tc-msp430.c (msp430_operands): Accept "<foo>.a" as an alias
	for "<foo>a".  Issue error messages for unrecognised or corrrupt
	size extensions.

gas/testsuite/ChangeLog
2013-10-08  Nick Clifton  <nickc@redhat.com>

	* gas/msp430/bad.s: New test: Checks erroneous size extensions.
	* gas/msp430/bad.d: New test command file.
	* gas/msp430/bad.l: New file: Expected error messages.
	* gas/msp430/msp430.exp: Run the new test.
	* gas/msp430/msp430x.s: Add "<foo>.a" aliases of "<foo>a"
	instructions.
	* gas/msp430/msp430x.d: Update expected disassembly.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: msp430.suffix.patch.xz
Type: application/x-xz
Size: 2120 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20131008/87fddfbd/attachment.xz>


More information about the Binutils mailing list