This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix compilation to native x86-64 compiler


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]