public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
* gas-950726/ss-950728/powerpc*-*-eabi: addis 9,0,a-400000@ha ???
@ 1995-08-01  0:41 Andrew Cagney
  1995-08-09 12:38 ` Michael Meissner
  1995-08-11 10:31 ` Michael Meissner
  0 siblings, 2 replies; 3+ messages in thread
From: Andrew Cagney @ 1995-08-01  0:41 UTC (permalink / raw)
  To: gas2; +Cc: meissner

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:

cagney@puddin$ powerpc-unknown-eabi-gcc -v index-1.c
...
GNU assembler version 950726 (powerpc-unknown-eabi), using BFD version
cygnus-2.5
/usr/tmp/cca29430.s: Assembler messages:
/usr/tmp/cca29430.s:62: Error: Value of -400000 too large for field of 2
bytes at 34
/usr/tmp/cca29430.s:63: Error: Value of -400000 too large for field of 2
bytes at 38

			Andrew


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1995-08-11 10:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-08-01  0:41 gas-950726/ss-950728/powerpc*-*-eabi: addis 9,0,a-400000@ha ??? Andrew Cagney
1995-08-09 12:38 ` Michael Meissner
1995-08-11 10:31 ` Michael Meissner

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).