2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>

* CRT_fp8.c: Add PCC alternative to GCC-specific constructs.
        * CRT_fp10.c: Ditto.
This commit is contained in:
Chris Sutcliffe 2009-07-18 15:09:18 +00:00
parent ab4b248152
commit affde4a6b3
3 changed files with 13 additions and 0 deletions

View File

@ -13,4 +13,8 @@
void _fpreset (void)
{ __asm__ ( "fninit" ) ;}
#if defined(__PCC__)
void _Pragma("alias _fpreset") fpreset(void);
#else
void __attribute__ ((alias ("_fpreset"))) fpreset(void);
#endif

View File

@ -15,4 +15,8 @@ extern void (*_imp___fpreset)(void) ;
void _fpreset (void)
{ (*_imp___fpreset)(); }
#if defined(__PCC__)
void _Pragma("alias _fpreset") fpreset(void);
#else
void __attribute__ ((alias ("_fpreset"))) fpreset(void);
#endif

View File

@ -1,3 +1,8 @@
2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
* CRT_fp8.c: Add PCC alternative to GCC-specific constructs.
* CRT_fp10.c: Ditto.
2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
* cpu_features.c: replace gcc-specific construct with portable alternative