From 55446c7e557773390aac5cea0ecc2227c254423a Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Mon, 25 Mar 2013 15:54:30 +0100 Subject: [PATCH] * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__. From-SVN: r197050 --- libgcc/ChangeLog | 4 ++++ libgcc/config/i386/cygwin.S | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index e0556b4..d7bab0e 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,7 @@ +2013-03-25 Kai Tietz + + * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__. + 2013-03-20 Robert Mason * config/vxlib-tls.c (__gthread_get_tsd_data,) diff --git a/libgcc/config/i386/cygwin.S b/libgcc/config/i386/cygwin.S index a72375a..45341a8 100644 --- a/libgcc/config/i386/cygwin.S +++ b/libgcc/config/i386/cygwin.S @@ -32,7 +32,7 @@ # define cfi_adjust_cfa_offset(X) .cfi_adjust_cfa_offset X # define cfi_def_cfa_register(X) .cfi_def_cfa_register X # define cfi_register(D,S) .cfi_register D, S -# ifdef _WIN64 +# ifdef __x86_64__ # define cfi_push(X) .cfi_adjust_cfa_offset 8; .cfi_rel_offset X, 0 # define cfi_pop(X) .cfi_adjust_cfa_offset -8; .cfi_restore X # else @@ -57,7 +57,7 @@ .global ___chkstk .global __alloca -#ifdef _WIN64 +#ifdef __x86_64__ /* __alloca is a normal function call, which uses %rcx as the argument. */ cfi_startproc() __alloca: @@ -123,7 +123,7 @@ __alloca: pushl 4(%eax) ret cfi_endproc() -#endif /* _WIN64 */ +#endif /* __x86_64__ */ #endif /* L_chkstk */ #ifdef L_chkstk_ms @@ -131,7 +131,7 @@ __alloca: We avoid clobbering any registers. Unlike ___chkstk, it just probes the stack and does no stack allocation. */ .global ___chkstk_ms -#ifdef _WIN64 +#ifdef __x86_64__ cfi_startproc() ___chkstk_ms: pushq %rcx /* save temps */ @@ -183,5 +183,5 @@ ___chkstk_ms: cfi_pop(%ecx) ret cfi_endproc() -#endif /* _WIN64 */ +#endif /* __x86_64__ */ #endif /* L_chkstk_ms */ -- 2.7.4