forked from Imagelibrary/binutils-gdb
Fix MSP430 assembler to support #hi(<symbol>).
* config/tc-msp430.c (CHECK_RELOC_MSP430): Add OP parameter. Generate BFD_RELOC_MSP430_ABS_HI16 if vshift is 1. (msp430_srcoperand): Store vshift value in operand. * msp430.h (struct msp430_operand_s): Add vshift field. * gas/elf/struct.d: Expect extra output from some toolchains. * gas/symver/symver0.d: Likewise. * gas/symver/symver1.d: Likewise.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2014-05-19 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* msp430.h (struct msp430_operand_s): Add vshift field.
|
||||
|
||||
2014-05-07 Andrew Bennett <andrew.bennett@imgtec.com>
|
||||
|
||||
* mips.h (INSN_ISA_MASK): Updated.
|
||||
|
||||
@@ -26,7 +26,8 @@ struct msp430_operand_s
|
||||
int ol; /* Operand length words. */
|
||||
int am; /* Addr mode. */
|
||||
int reg; /* Register. */
|
||||
int mode; /* Pperand mode. */
|
||||
int mode; /* Operand mode. */
|
||||
int vshift; /* Number of bytes to shift operand down. */
|
||||
#define OP_REG 0
|
||||
#define OP_EXP 1
|
||||
#ifndef DASM_SECTION
|
||||
|
||||
Reference in New Issue
Block a user