This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Commit: MSP430: Add support for #hi(<symbol>)


Hi Guys,

  I am applying the attached patch to add support for using the #hi()
  pseudo-op on symbols.  Prior to the patch it would only work with
  constant values.

Cheers
  Nick

gas/ChangeLog
	* 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.

gas/testsuite/ChangeLog
	* gas/elf/struct.d: Expect extra output from some toolchains.
	* gas/symver/symver0.d: Likewise.
	* gas/symver/symver1.d: Likewise.

include/opcode/ChangeLog
	* msp430.h (struct msp430_operand_s): Add vshift field.

Attachment: msp430-hi.patch.xz
Description: application/xz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]