This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Problems compiling pic code with egcs-1.0.2 at m68k-hp-hpux9.00 with-gas
- To: egcs-bugs at cygnus dot com
- Subject: Problems compiling pic code with egcs-1.0.2 at m68k-hp-hpux9.00 with-gas
- From: Guido Dietz <guido at aia dot RWTH-Aachen dot DE>
- Date: Mon, 20 Apr 1998 11:15:30 +0200
Hi folks!
I had problems compiling pic code with egcs-1.0.2 at m68k-hp-hpux9.00
with-gas, either using binutils 2.8.n or 2.9. I got error messages from
as about wrong arguments to jbsr .. so I found the dirty Sun solution in
gcc/insn-output.c. I didn't check wether the new binutils ignore the ",a1"
at Sun, so before applying the patch one should do so or playing with
defines ;-)
Thanx
G.
----Cut here---------------------------------------------------------------
*** insn-output.c.ori Mon Apr 20 10:21:14 1998
--- insn-output.c Mon Apr 20 10:54:14 1998
***************
*** 4503,4509 ****
#else
/* The ',a1' is a dummy argument telling the Sun assembler we want PIC,
GAS just plain ignores it. */
! return "jbsr %0,a1";
#endif
return "jsr %0";
--- 4503,4510 ----
#else
/* The ',a1' is a dummy argument telling the Sun assembler we want PIC,
GAS just plain ignores it. */
! /* The f***ing dummy argument is not ignored by GAS at m68k HP-UX */
! return "jbsr %0";
#endif
return "jsr %0";
***************
*** 4549,4555 ****
#else
/* The ',a1' is a dummy argument telling the Sun assembler we want PIC
GAS just plain ignores it. */
! return "jbsr %1,a1";
#endif
return "jsr %1";
--- 4550,4557 ----
#else
/* The ',a1' is a dummy argument telling the Sun assembler we want PIC
GAS just plain ignores it. */
! /* The f***ing dummy argument is not ignored by GAS at m68k HP-UX */
! return "jbsr %1";
#endif
return "jsr %1";
------------------------------------------------------------------AIA-RWTH--
Guido Dietz Email: dietz@aia.rwth-aachen.de
Aerodynamisches Institut der RWTH-Aachen WWW: http://www.aia.rwth-aachen.de
Wuellnerstr. zw. 5 u. 7 Ftp: ftp://ftp.aia.rwth-aachen.de
D-52062 Aachen, Germany Phone: +49-241-80-5426 Fax: +49-241-8888-257
----------------------------------------------------------------------------
!!!!!!!!!!!!!! Sending unsolicited commercial e-mail (UCE) to this address
!Legal Notice! is indication of your consent to pay me $120/hour for 1 hour
!!!!!!!!!!!!!! minimum for professional proofreading& technical assessment.
----------------------------------------------------------------------------