This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ColdFire -mxgot support
"Joseph S. Myers" <joseph@codesourcery.com> writes:
> 2008-06-03 Joseph Myers <joseph@codesourcery.com>
> Maxim Kuvyrkov <maxim@codesourcery.com>
>
> * config/m68k/m68k.opt (mxgot): New option.
> * config/m68k/m68k.c (legitimize_pic_address): Handle -mxgot.
> (m68k_output_addr_const_extra): New.
> * config/m68k/m68k.h (OUTPUT_ADDR_CONST_EXTRA): New.
> * config/m68k/m68k-protos.h (m68k_output_addr_const_extra): Declare.
> * config/m68k/m68k.md (UNSPEC_GOTOFF): Define.
> * doc/invoke.texi (M680x0 Options): Document -mxgot.
>
> testsuite:
> 2008-06-03 Joseph Myers <joseph@codesourcery.com>
> Maxim Kuvyrkov <maxim@codesourcery.com>
>
> * gcc.target/m68k/xgot-1.c: New test.
This is ok.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."