public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
From: Michael Meissner <meissner@cygnus.com>
To: cagney@highland.com.au
Cc: gas2@cygnus.com, meissner@cygnus.com
Subject: gas-950726/ss-950728/powerpc*-*-eabi: addis 9,0,a-400000@ha ???
Date: Wed, 09 Aug 1995 12:38:00 -0000	[thread overview]
Message-ID: <199508091939.PAA01047@wogglebug.tiac.net> (raw)
In-Reply-To: <kk7R4ob02QU6ReMY4t@highland.com.au>

| Hello,
| 
| 	c-torture-1.34/execute/index-1.c
| 
| from the lines:
| 
| 	int
| 	f (int n)
| 	{
| 	  return a[n - 100000];
| 	}
| 
| outputs the assembler:
| 
| 	addis 9,0,a-400000@ha
| 	addi 11,9,a-400000@l
| 
| quite simply, is this valid PowerPC assembler?  Gas doesn't think so:

It probably should be valid PowerPC assembler (given the semantics of
@ha and @l and the fact that the PowerPC elf uses RELA relocations
instead of the stupid REL relocations like the x86 does).  I'll look
into it.

-- 
Michael Meissner, Cygnus Support (East Coast)
Suite 105, 48 Grove Street, Somerville, MA 02144, USA
meissner@cygnus.com,	617-629-3016 (office),	617-629-3010 (fax)


  reply	other threads:[~1995-08-09 12:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-08-01  0:41 Andrew Cagney
1995-08-09 12:38 ` Michael Meissner [this message]
1995-08-11 10:31 ` Michael Meissner

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=199508091939.PAA01047@wogglebug.tiac.net \
    --to=meissner@cygnus.com \
    --cc=cagney@highland.com.au \
    --cc=gas2@cygnus.com \
    /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).