public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Nick Clifton <nickc@redhat.com>
To: binutils@sourceware.org
Subject: Commit: MSP430: Add support for #hi(<symbol>)
Date: Tue, 20 May 2014 09:33:00 -0000	[thread overview]
Message-ID: <87fvk4dccb.fsf@redhat.com> (raw)

[-- 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 --]

                 reply	other threads:[~2014-05-20  9:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fvk4dccb.fsf@redhat.com \
    --to=nickc@redhat.com \
    --cc=binutils@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).