* Merge in cygwin-64bit-branch.

This commit is contained in:
Corinna Vinschen
2013-04-23 09:44:36 +00:00
parent 1875ee55d3
commit 61522196c7
253 changed files with 10632 additions and 5055 deletions

21
winsup/cygwin/regparm.h Normal file
View File

@@ -0,0 +1,21 @@
/* regparm.h: Define macros for regparm functions and methods.
Copyright 2013 Red Hat, Inc.
This file is part of Cygwin.
This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
#pragma once
#if defined (__x86_64__) || defined (__CYGMAGIC__)
# define __reg1
# define __reg2
# define __reg3
#else
# define __reg1 __stdcall __attribute__ ((regparm (1)))
# define __reg2 __stdcall __attribute__ ((regparm (2)))
# define __reg3 __stdcall __attribute__ ((regparm (3)))
#endif