Browse Source

a68k: fix moveq #$FFFFFFFF,dn on 64-bit platforms.
Bump version number, update history.

git-svn-id: file:///var/svn/tigccpp/trunk@1365 9552661e-59e3-4036-b4f2-dbe53926924f

debrouxl 8 years ago
parent
commit
37e963167c

+ 1 - 1
external/a68k/source/A68kmain.c

@@ -25,7 +25,7 @@
 #include "A68kdef.h"
 #include "A68kglb.h"
 
-char *Version = "2.71.F3x (December 23, 2008)";
+char *Version = "2.71.F3z (July 29, 2009)";
 
 int main (argc,argv) int argc; char *argv[];
 {

+ 1 - 1
external/a68k/source/Codegen.c

@@ -136,7 +136,7 @@ void GetObjectCode (__NO_PARAMS__) /* using now void in v.2.71.F3d - Kevin Kofle
     }
 
     /* added by Kevin Kofler in v.2.71.F3l: */
-    SrcVal=Src.Value;
+    SrcVal=(long)((int)(Src.Value));
     {struct AddrDiff *p=SrcAddrDiffs;
      while (p) {
        SrcVal+=p->paddr-p->naddr;

+ 4 - 0
external/a68k/source/History.txt

@@ -1,5 +1,9 @@
        A 6 8 K    M A I N T E N A N C E    H I S T O R Y
 
+Version 2.71.F3z (Lionel Debroux, July 29, 2009)
+
+        Bugfix: Fix moveq #$FFFFFFFE,dn on 64-bit platforms.
+
 Version 2.71.F3y (Patrick Pelissier, June 27, 2009)
 
         Improved: The maximum length of a line has been raised from 256 to 65536.