public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Commit: MSP430: Add support for #hi(<symbol>)
@ 2014-05-20  9:33 Nick Clifton
  0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2014-05-20  9:33 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: text/plain, Size: 606 bytes --]

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 #2: msp430-hi.patch.xz --]
[-- Type: application/x-xz, Size: 2772 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-05-20  9:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-20  9:33 Commit: MSP430: Add support for #hi(<symbol>) Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).