This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [m68k] -pcrel fix for TARGET_COLDFIRE
- From: Daniel Jacobowitz <drow at false dot org>
- To: Bernardo Innocenti <bernie at develer dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, Andreas Schwab <schwab at suse dot de>,Peter Barada <peter at the-baradas dot com>,"Tarani, Andrea" <andrea dot tarani at gilbarco dot com>
- Date: Sat, 30 Jul 2005 14:30:49 -0400
- Subject: Re: [m68k] -pcrel fix for TARGET_COLDFIRE
- References: <42E9D1F1.8000409@develer.com> <20050729125847.GA26274@nevyn.them.org> <42EB9D58.8040208@develer.com>
On Sat, Jul 30, 2005 at 05:31:36PM +0200, Bernardo Innocenti wrote:
> We can't factor code like this since we need to say
> "%o0" with -mpcrel and "%0" with -fpic/-fPIC.
>
> %o is an m68k-specific formatting code:
>
> 'o' for operands to go directly to output_operand_address (bypassing
> print_operand_address--used only for SYMBOL_REFs under TARGET_PCREL)
Thanks - I missed that. In any case, I'd appreciate it if you fixed
the bsr.l for the !TARGET_PCREL case too. Otherwise I'll eventually
find a way to test a fix myself, but it's going to be a while.
--
Daniel Jacobowitz
CodeSourcery, LLC