summaryrefslogtreecommitdiff
path: root/libgcc/config
diff options
context:
space:
mode:
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-25 14:54:30 +0000
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2013-03-25 14:54:30 +0000
commitd2adc174d6b603ba302813aef57c7ec3f99ae6c3 (patch)
tree649985d00efd2fae401a7e9183742fe573e2d8b1 /libgcc/config
parent1ff5fe3bb5917ee6b271caa4d9b1446f96b5f66b (diff)
downloadgcc-d2adc174d6b603ba302813aef57c7ec3f99ae6c3.tar.gz
* config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197050 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/config')
-rw-r--r--libgcc/config/i386/cygwin.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/libgcc/config/i386/cygwin.S b/libgcc/config/i386/cygwin.S
index a72375a26c7..45341a83cd9 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 */