This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix compilation to native x86-64 compiler
- From: Andreas Schwab <schwab at suse dot de>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Bo Thorsen <bo at sonofthor dot dk>, gcc-patches at gcc dot gnu dot org,patches at x86-64 dot org
- Date: 03 Dec 2001 15:21:26 +0100
- Subject: Re: Fix compilation to native x86-64 compiler
- References: <20011130135050.948F1BF8D9@pluto.sonofthor.dk><20011130133539.F32134@redhat.com>
Richard Henderson <rth@redhat.com> writes:
|> On Fri, Nov 30, 2001 at 02:50:50PM +0100, Bo Thorsen wrote:
|> > * config/i386/i386.h (MACHINE_STATE_SAVE): Disable for x86-64.
|> > (MACHINE_STATE_RESTORE): Likewise.
|>
|> Not correct. You're controling based on the host, not the target.
MACHINE_STATE_SAVE is only used in libgcc2.c which is compiled with the
target compiler, thus __x86_64__ selects on the target.
Andreas.
--
Andreas Schwab "And now for something
Andreas.Schwab@suse.de completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5