X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=device%2Flib%2F_fsgt.c;h=53df3022c473ee018491903e0251a81d81d4c664;hb=1efca62b20292a5ee6595f5ccab4337f6b38a374;hp=81b7cc8a76521fb3da115322ac5ccd5c4e095b30;hpb=bf1925f901a9f45ad2529874f41e1e2b01f5bc9f;p=fw%2Fsdcc diff --git a/device/lib/_fsgt.c b/device/lib/_fsgt.c index 81b7cc8a..53df3022 100644 --- a/device/lib/_fsgt.c +++ b/device/lib/_fsgt.c @@ -23,10 +23,10 @@ #ifdef FLOAT_ASM_MCS51 -// char __fsgt (float a, float b) reentrant -static void dummy(void) _naked +// char __fsgt (float a, float b) __reentrant +static void dummy(void) __naked { - _asm + __asm .globl ___fsgt ___fsgt: mov r7, a @@ -65,13 +65,11 @@ skip_invert: rlc a mov dpl, a ret - _endasm; + __endasm; } #else - - /* ** libgcc support for software floating point. ** Copyright (C) 1991 by Pipeline Associates, Inc. All rights reserved. @@ -90,7 +88,6 @@ skip_invert: /* (c)2000/2001: hacked a little by johan.knol@iduna.nl for sdcc */ - union float_long { float f;