public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* gas produces a syntax error under sh (cc -pg)
@ 2000-08-02 19:49 SAITOH Masanobu
  0 siblings, 0 replies; only message in thread
From: SAITOH Masanobu @ 2000-08-02 19:49 UTC (permalink / raw)
  To: gcc-bugs; +Cc: SAITOH Masanobu

 gcc for Super-H with "-pg" produces a invalid addressing mode.
It caused syntax error when assembling.


--- gcc/config/sh/sh.h.orig	Wed Jun 14 06:47:44 2000
+++ gcc/config/sh/sh.h	Thu Aug  3 11:38:16 2000
@@ -1868,7 +1868,7 @@
 }
 
 #define ASM_OUTPUT_REG_PUSH(file, v) \
-  fprintf ((file), "\tmov.l\tr%d,-@r15\n", (v));
+  fprintf ((file), "\tmov.l\tr%d,@-r15\n", (v));
 
 #define ASM_OUTPUT_REG_POP(file, v) \
   fprintf ((file), "\tmov.l\t@r15+,r%d\n", (v));

----------------------------------------------------------
		SAITOH Masanobu (masanobu@iij.ad.jp
				  msaitoh@netbsd.org)
>From aoliva@redhat.com Wed Aug 02 20:16:00 2000
From: Alexandre Oliva <aoliva@redhat.com>
To: SAITOH Masanobu <masanobu@iij.ad.jp>
Cc: gcc-bugs@gcc.gnu.org
Subject: Re: gas produces a syntax error under sh (cc -pg)
Date: Wed, 02 Aug 2000 20:16:00 -0000
Message-id: <orittjowz8.fsf@guarana.lsd.ic.unicamp.br>
References: <200008030249.LAA06043@c4501.iij.ad.jp>
X-SW-Source: 2000-08/msg00052.html
Content-length: 603

On Aug  2, 2000, SAITOH Masanobu <masanobu@iij.ad.jp> wrote:

>  gcc for Super-H with "-pg" produces a invalid addressing mode.
> It caused syntax error when assembling.

Please post patches to gcc-patches@gcc.gnu.org, along with ChangeLog
entries.  Not everybody that can approve/install patches reads
gcc-bugs.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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

only message in thread, other threads:[~2000-08-02 19:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-02 19:49 gas produces a syntax error under sh (cc -pg) SAITOH Masanobu

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