msp430.c (msp430_asm_integer): Support addition and subtraction too.
* config/msp430/msp430.c (msp430_asm_integer): Support addition and subtraction too. From-SVN: r224182
This commit is contained in:
parent
9feddb7149
commit
2bc43588af
@ -1,3 +1,8 @@
|
||||
2015-06-06 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* config/msp430/msp430.c (msp430_asm_integer): Support addition
|
||||
and subtraction too.
|
||||
|
||||
2015-06-05 Kaz Kojima <kkojima@gcc.gnu.org>
|
||||
|
||||
PR target/66410
|
||||
|
@ -976,7 +976,8 @@ msp430_asm_integer (rtx x, unsigned int size, int aligned_p)
|
||||
switch (size)
|
||||
{
|
||||
case 4:
|
||||
if (c == SYMBOL_REF || c == CONST || c == LABEL_REF || c == CONST_INT)
|
||||
if (c == SYMBOL_REF || c == CONST || c == LABEL_REF || c == CONST_INT
|
||||
|| c == PLUS || c == MINUS)
|
||||
{
|
||||
fprintf (asm_out_file, "\t.long\t");
|
||||
output_addr_const (asm_out_file, x);
|
||||
|
Loading…
Reference in New Issue
Block a user