This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: m68k-openbsd -fpic fix
- To: Andreas Schwab <schwab at issan dot cs dot uni-dortmund dot de>
- Subject: Re: m68k-openbsd -fpic fix
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 28 Jun 1999 18:55:55 -0600
- cc: Richard Henderson <rth at cygnus dot com>, Marc Espie <espie at quatramaran dot ens dot fr>, egcs at egcs dot cygnus dot com, egcs-patches at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <vyzaetj7t7u.fsf@issan.cs.uni-dortmund.de>you write:
> That would be bad. Unlike other targets, on the m68k there is actually no
> fixed PIC register
Most targets do not have a PIC register either.
> (you can use any other address register instead), and a
> function that accesses no global data does not need it at all (function
> calls don't need the PIC register).
True, but the current state of our compiler is if you don't make the PIC
register fixed, then you're going to get incorrect code. The m68k is no
different.
jeff