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

Nick Clifton nickc@redhat.com
Tue May 20 09:33:00 GMT 2014


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: msp430-hi.patch.xz
Type: application/x-xz
Size: 2772 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20140520/2d4c40e1/attachment.xz>


More information about the Binutils mailing list