Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package asl for openSUSE:Factory checked in 
at 2026-06-09 14:26:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/asl (Old)
 and      /work/SRC/openSUSE:Factory/.asl.new.2375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "asl"

Tue Jun  9 14:26:23 2026 rev:36 rq:1358084 version:1.42_bld308

Changes:
--------
--- /work/SRC/openSUSE:Factory/asl/asl.changes  2026-06-01 18:02:32.310664659 
+0200
+++ /work/SRC/openSUSE:Factory/.asl.new.2375/asl.changes        2026-06-09 
14:28:50.085742735 +0200
@@ -1,0 +2,6 @@
+Mon Jun  8 07:52:27 UTC 2026 - Martin Hauke <[email protected]>
+
+- Update to version 142-bld308
+  * Add support for S390X, IA64 and HPPA as host.
+
+-------------------------------------------------------------------

Old:
----
  asl-current-142-bld307.tar.bz2

New:
----
  asl-current-142-bld308.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ asl.spec ++++++
--- /var/tmp/diff_new_pack.Ygb3tL/_old  2026-06-09 14:28:50.937778098 +0200
+++ /var/tmp/diff_new_pack.Ygb3tL/_new  2026-06-09 14:28:50.937778098 +0200
@@ -16,7 +16,7 @@
 #
 
 
-%define rev 307
+%define rev 308
 Name:           asl
 Version:        1.42_bld%{rev}
 Release:        0

++++++ asl-current-142-bld307.tar.bz2 -> asl-current-142-bld308.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asl-current/Makefile.def-samples/Makefile.def-alfred 
new/asl-current/Makefile.def-samples/Makefile.def-alfred
--- old/asl-current/Makefile.def-samples/Makefile.def-alfred    2026-04-27 
22:03:26.000000000 +0200
+++ new/asl-current/Makefile.def-samples/Makefile.def-alfred    2026-06-07 
14:56:33.000000000 +0200
@@ -37,9 +37,12 @@
 TARG_OBJDIR ?= x86_64-linux/
 #TARG_OBJDIR ?= i686-linux/
 #TARG_OBJDIR ?= ppc-linux/
+#TARG_OBJDIR ?= hppa-linux/
 #TARG_OBJDIR ?= m68k-linux/
+#TARG_OBJDIR ?= s390x-linux/
 #TARG_OBJDIR ?= i686-w32/
 #TARG_OBJDIR ?= x86_64-w64/
+#TARG_OBJDIR ?= x86_64-msvc-w64/
 
 # ...for the actual build targets.  This is the simple case for no cross-build:
 
@@ -136,6 +139,19 @@
  TARG_RUNCMD = qemu-ppc-static
 endif
 
+# S390X build
+# install qemu-system-misc, qemu-user-static, gcc-s390x-linux-gnu, 
libc6-dev-s390x-cross
+
+ifeq ($(TARG_OBJDIR),s390x-linux/)
+ TARG_CC = s390x-linux-gnu-gcc
+ TARG_CFLAGS = $(CFLAGS_GCC)
+ TARG_OBJEXTENSION = .o
+ TARG_LD = $(TARG_CC)
+ TARG_LDFLAGS = $(LDFLAGS) -static
+ TARG_EXEXTENSION =
+ TARG_RUNCMD = qemu-s390x-static
+endif
+
 # Similar for M68K
 
 ifeq ($(TARG_OBJDIR),m68k-linux/)
@@ -148,6 +164,18 @@
  TARG_RUNCMD = qemu-m68k-static
 endif
 
+# Similar for HPPA
+
+ifeq ($(TARG_OBJDIR),hppa-linux/)
+ TARG_CC = hppa-linux-gnu-gcc
+ TARG_CFLAGS = $(CFLAGS_GCC)
+ TARG_OBJEXTENSION = .o
+ TARG_LD = $(TARG_CC)
+ TARG_LDFLAGS = $(LDFLAGS) -static
+ TARG_EXEXTENSION =
+ TARG_RUNCMD = qemu-hppa-static
+endif
+
 # cross Build with MinGW32
 
 ifeq ($(TARG_OBJDIR),i686-w32/)
@@ -160,6 +188,7 @@
  TARG_RUNCMD = wine
  TEX2DOC_FLAGS=-codepage 1252
  RC_CC = i686-w64-mingw32-windres
+ TARG_ROBJ=-o$(BLANK)
  MAKEDEFS_RC = makedefs.rc
 endif
 
@@ -175,9 +204,31 @@
  TARG_RUNCMD = wine
  TEX2DOC_FLAGS=-codepage 1252
  RC_CC = x86_64-w64-mingw32-windres
+ TARG_ROBJ=-o$(BLANK)
+ MAKEDEFS_RC = makedefs.rc
+endif
+
+# See https://github.com/mstorsjo/msvc-wine
+# for how to get MSVC on Linux
+# Don't forget to export PATH=~/my_msvc/opt/msvc/bin/x64:$PATH
+
+ifeq ($(TARG_OBJDIR),x86_64-msvc-w64/)
+ TARG_CC = cl /nologo
+ TARG_CFLAGS = /O2
+ TARG_OBJEXTENSION = .obj
+ TARG_OOBJ=/Fo
+ TARG_EOBJ=/Fe
+ TARG_LD = $(TARG_CC)
+ TARG_LDFLAGS = 
+ TARG_EXEXTENSION = .exe
+ TARG_RUNCMD = wine
+ TEX2DOC_FLAGS=-codepage 1252
+ RC_CC = rc /nologo /d _MSC_VER
+ TARG_ROBJ=/fo
  MAKEDEFS_RC = makedefs.rc
 endif
 
+
 # -------------------------------------------------------------------------
 # directory where binaries, includes, and manpages should go during
 # installation:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/asl-current/Makefile.def-samples/Makefile.def-alfred-i686 
new/asl-current/Makefile.def-samples/Makefile.def-alfred-i686
--- old/asl-current/Makefile.def-samples/Makefile.def-alfred-i686       
2026-04-27 22:03:26.000000000 +0200
+++ new/asl-current/Makefile.def-samples/Makefile.def-alfred-i686       
2026-06-07 15:00:01.000000000 +0200
@@ -37,6 +37,7 @@
 TARG_OBJDIR ?= i686-linux/
 #TARG_OBJDIR ?= ppc-linux/
 #TARG_OBJDIR ?= m68k-linux/
+#TARG_OBJDIR ?= hppa-linux/
 #TARG_OBJDIR ?= i686-w32/
 
 # ...for the actual build targets.  This is the simple case for no cross-build:
@@ -103,6 +104,18 @@
  TARG_RUNCMD = qemu-m68k-static
 endif
 
+# Similar for HPPA
+
+ifeq ($(TARG_OBJDIR),hppa-linux/)
+ TARG_CC = hppa-linux-gnu-gcc
+ TARG_CFLAGS = $(CFLAGS_GCC)
+ TARG_OBJEXTENSION = .o
+ TARG_LD = $(TARG_CC)
+ TARG_LDFLAGS = $(LDFLAGS) -static
+ TARG_EXEXTENSION =
+ TARG_RUNCMD = qemu-hppa-static
+endif
+
 # cross Build with MinGW32
 
 ifeq ($(TARG_OBJDIR),i686-w32/)
@@ -115,6 +128,7 @@
  TARG_RUNCMD = wine
  TEX2DOC_FLAGS=-codepage 1252
  RC_CC = i686-w64-mingw32-windres
+ TARG_ROBJ=-o$(BLANK)
  MAKEDEFS_RC = makedefs.rc
 endif
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/asl-current/Makefile.def-samples/Makefile.def-i686-w32-on-linux 
new/asl-current/Makefile.def-samples/Makefile.def-i686-w32-on-linux
--- old/asl-current/Makefile.def-samples/Makefile.def-i686-w32-on-linux 
2026-04-27 22:03:26.000000000 +0200
+++ new/asl-current/Makefile.def-samples/Makefile.def-i686-w32-on-linux 
2026-06-04 20:48:58.000000000 +0200
@@ -21,6 +21,7 @@
 TARG_RUNCMD = wine
 TEX2DOC_FLAGS=-codepage 1252
 RC_CC = i686-w64-mingw32-windres
+TARG_ROBJ=-o$(BLANK)
 MAKEDEFS_RC = makedefs.rc
 
 # -------------------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asl-current/asmallg.c new/asl-current/asmallg.c
--- old/asl-current/asmallg.c   2026-05-29 20:12:10.000000000 +0200
+++ new/asl-current/asmallg.c   2026-06-04 16:57:18.000000000 +0200
@@ -1640,7 +1640,7 @@
           StrCompCopySub(pDest, pArg, offs, l);
       }
       else
-        strmaxcpy(pDest->str.p_str, FExpand(FoundFileName), STRINGSIZE - 1);
+        FExpand(pDest->str.p_str, STRINGSIZE, FoundFileName);
     }
     else
       return;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asl-current/asmstructs.c new/asl-current/asmstructs.c
--- old/asl-current/asmstructs.c        2026-05-10 12:56:01.000000000 +0200
+++ new/asl-current/asmstructs.c        2026-06-01 21:51:06.000000000 +0200
@@ -633,7 +633,7 @@
     {
       dimensions[Dim].Index = 0;
       dimensions[Dim].CompVarNameLen = strlen(CompVarName);
-      as_snprcatf(CompVarName, sizeof(CompVarName), "_%llu", 
(LargeWord)dimensions[Dim].Index);
+      as_snprcatf(CompVarName, sizeof(CompVarName), "_%lllu", 
(LargeWord)dimensions[Dim].Index);
     }
     while (dimensions[0].Index < dimensions[0].Dimension)
     {
@@ -660,7 +660,7 @@
       CompVarName[dimensions[Dim].CompVarNameLen] = '\0';
       for (; Dim < DimensionCnt; Dim++)
       {
-        as_snprcatf(CompVarName, sizeof(CompVarName), "_%llu", 
(LargeWord)dimensions[Dim].Index);
+        as_snprcatf(CompVarName, sizeof(CompVarName), "_%lllu", 
(LargeWord)dimensions[Dim].Index);
         if (Dim + 1 < DimensionCnt)
           dimensions[Dim + 1].CompVarNameLen = strlen(CompVarName);
       }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asl-current/asmsub.c new/asl-current/asmsub.c
--- old/asl-current/asmsub.c    2026-05-23 18:23:04.000000000 +0200
+++ new/asl-current/asmsub.c    2026-06-04 17:01:23.000000000 +0200
@@ -651,30 +651,6 @@
 }
 
 /*--------------------------------------------------------------------------*/
-/* Pfadanteil (Laufwerk+Verzeichnis) von einem Dateinamen abspalten */
-
-char *PathPart(char *Name)
-{
-  static String s;
-  char *p;
-
-  strmaxcpy(s, Name, STRINGSIZE);
-
-  p = strrchr(Name, PATHSEP);
-#ifdef DRSEP
-  if (!p)
-    p = strrchr(Name, DRSEP);
-#endif
-
-  if (!p)
-    *s = '\0';
-  else
-    s[1] = '\0';
-
-  return s;
-}
-
-/*--------------------------------------------------------------------------*/
 /* Namensanteil von einem Dateinamen abspalten */
 
 const char *NamePart(const char *Name)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asl-current/bpemu.c new/asl-current/bpemu.c
--- old/asl-current/bpemu.c     2026-05-10 12:56:01.000000000 +0200
+++ new/asl-current/bpemu.c     2026-06-04 16:57:18.000000000 +0200
@@ -30,16 +30,15 @@
 #include <direct.h>
 #endif
 
-char *FExpand(char *Src)
+void FExpand(char *p_dest, size_t dest_size, const char *p_src)
 {
-  static String CurrentDir;
   String Copy;
 #ifdef DRSEP
   String DrvPart;
 #endif /* DRSEP */
   char *p, *p2;
 
-  strmaxcpy(Copy, Src, STRINGSIZE);
+  strmaxcpy(Copy, p_src, sizeof(Copy));
 
 #ifdef DRSEP
   p = strchr(Copy,DRSEP);
@@ -66,7 +65,7 @@
     }
     else
       DrvNum = toupper(*DrvPart) - '@';
-    getcurdir(DrvNum, CurrentDir);
+    getcurdir(DrvNum, p_dest);
   }
 #elif (defined __EMX__) || (defined __IBMC__)
   {
@@ -81,9 +80,10 @@
     else
       DrvNum = toupper(*DrvPart) - '@';
     Dummy = 255;
-    DosQueryCurrentDir(DrvNum, (PBYTE) CurrentDir, &Dummy);
+    DosQueryCurrentDir(DrvNum, (PBYTE) p_dest, &Dummy);
   }
-#elif (defined __MINGW32__)
+#elif (defined _WIN32)
+# if (defined __MINGW32__) || (defined _MSC_VER)
   {
     int DrvNum;
 
@@ -95,28 +95,29 @@
     }
     else
       DrvNum = toupper(*DrvPart) - '@';
-    _getdcwd(DrvNum, CurrentDir, STRINGSIZE);
-    if (CurrentDir[1] == ':')
-      strmov(CurrentDir, CurrentDir + 2);
-  }
-#elif (defined _WIN32) /* CygWIN */
-  if (!getcwd(CurrentDir, STRINGSIZE))
-    0[CurrentDir] = '\0';
-  for (p = CurrentDir; *p; p++)
+    _getdcwd(DrvNum, p_dest, dest_size);
+    if (p_dest[1] == ':')
+      strmov(p_dest, p_dest + 2);
+  }
+# else /* CygWIN */
+  if (!getcwd(p_dest, dest_size))
+    0[p_dest] = '\0';
+  for (p = p_dest; *p; p++)
     if (*p == '/') *p = '\\';
+# endif
 #else /* UNIX */
-  if (!getcwd(CurrentDir, STRINGSIZE))
-    0[CurrentDir] = '\0';
+  if (!getcwd(p_dest, dest_size))
+    0[p_dest] = '\0';
 #endif
 
-  if ((*CurrentDir) && (CurrentDir[strlen(CurrentDir) - 1] != PATHSEP))
-    strmaxcat(CurrentDir, SPATHSEP, STRINGSIZE);
-  if (*CurrentDir!=PATHSEP)
-    strmaxprep(CurrentDir, SPATHSEP, STRINGSIZE);
+  if ((*p_dest) && (p_dest[strlen(p_dest) - 1] != PATHSEP))
+    strmaxcat(p_dest, SPATHSEP, dest_size);
+  if (*p_dest != PATHSEP)
+    strmaxprep(p_dest, SPATHSEP, dest_size);
 
   if (*Copy == PATHSEP)
   {
-    strmaxcpy(CurrentDir, SPATHSEP, STRINGSIZE);
+    strmaxcpy(p_dest, SPATHSEP, dest_size);
     strmov(Copy, Copy + 1);
   }
 
@@ -127,8 +128,8 @@
   if (*DrvPart)
 #endif
   {
-    strmaxprep(CurrentDir, SDRSEP, STRINGSIZE);
-    strmaxprep(CurrentDir, DrvPart, STRINGSIZE);
+    strmaxprep(p_dest, SDRSEP, dest_size);
+    strmaxprep(p_dest, DrvPart, dest_size);
   }
 #endif
 
@@ -139,22 +140,20 @@
       break;
     *p = '\0';
     if (!strcmp(Copy, "."));
-    else if ((!strcmp(Copy, "..")) && (strlen(CurrentDir) > 1))
+    else if ((!strcmp(Copy, "..")) && (strlen(p_dest) > 1))
     {
-      CurrentDir[strlen(CurrentDir) - 1] = '\0';
-      p2 = strrchr(CurrentDir, PATHSEP); p2[1] = '\0';
+      p_dest[strlen(p_dest) - 1] = '\0';
+      p2 = strrchr(p_dest, PATHSEP); p2[1] = '\0';
     }
     else
     {
-      strmaxcat(CurrentDir, Copy, STRINGSIZE);
-      strmaxcat(CurrentDir, SPATHSEP, STRINGSIZE);
+      strmaxcat(p_dest, Copy, dest_size);
+      strmaxcat(p_dest, SPATHSEP, dest_size);
     }
     strmov(Copy, p + 1);
   }
 
-  strmaxcat(CurrentDir, Copy, STRINGSIZE);
-
-  return CurrentDir;
+  strmaxcat(p_dest, Copy, dest_size);
 }
 
 /*!------------------------------------------------------------------------
@@ -203,6 +202,11 @@
   Boolean Absolute = (*pFileToSearch == '/');
   const char *pPos, *pStart;
 
+#if 0
+  fprintf(stderr, "FSearch(..., %u, \"%s\", \"%s\", \"%s\")\n",
+          (unsigned)DestSize, pFileToSearch, pCurrFileName, pSearchPath);
+#endif
+
 #if (defined _WIN32) || (defined __EMX__) || (defined __IBMC__) || (defined 
__MSDOS__)
   if (*pFileToSearch == PATHSEP)
     Absolute = True;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asl-current/bpemu.h new/asl-current/bpemu.h
--- old/asl-current/bpemu.h     2026-04-27 22:03:26.000000000 +0200
+++ new/asl-current/bpemu.h     2026-06-04 16:57:18.000000000 +0200
@@ -12,13 +12,16 @@
 /*                                                                           */
 /*****************************************************************************/
 
+#include <stddef.h>
+#include "datatypes.h"
+
 typedef void (*charcallback)(
 #ifdef __PROTOS__
 char *Name
 #endif
 );
 
-extern char *FExpand(char *Src);
+extern void FExpand(char *p_dest, size_t dest_size, const char *p_src);
 
 extern int FSearch(char *pDest, size_t DestSize, const char *FileToSearch, 
const char *pCurrFileName, const char *SearchPath);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asl-current/changelog new/asl-current/changelog
--- old/asl-current/changelog   2026-05-29 20:14:02.000000000 +0200
+++ new/asl-current/changelog   2026-06-07 16:36:33.000000000 +0200
@@ -1,3 +1,9 @@
+2026-06-07 [1.42 Bld 308]
+
+- Addition    : Add support for S390X, IA64 and HPPA as host
+- Change      : A few changes to make compilation with
+                MSVC simpler
+
 2026-05-29 [1.42 Bld 307]
 
 - Addition    : Add register symbols for 8080/8085
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asl-current/decpseudo.c new/asl-current/decpseudo.c
--- old/asl-current/decpseudo.c 2026-04-27 22:03:27.000000000 +0200
+++ new/asl-current/decpseudo.c 2026-06-01 21:51:06.000000000 +0200
@@ -74,7 +74,7 @@
     case TempNone:
       break;
     case TempInt:
-      as_snprintf(tmp_dec_str, sizeof(tmp_dec_str), "%lld", 
value.Contents.Int);
+      as_snprintf(tmp_dec_str, sizeof(tmp_dec_str), "%llld", 
value.Contents.Int);
       p_str = tmp_dec_str;
       goto writeout;
     case TempString:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asl-current/install.bat new/asl-current/install.bat
--- old/asl-current/install.bat 2026-04-27 22:03:27.000000000 +0200
+++ new/asl-current/install.bat 2026-06-07 14:16:29.000000000 +0200
@@ -54,8 +54,12 @@
 for %%i in (%docdirs%) do copy doc_%%i\as.doc %6\%5\as_%%i.doc
 for %%i in (%docdirs%) do copy doc_%%i\as.tex %6\%5\as_%%i.tex
 for %%i in (%docdirs%) do copy doc_%%i\as.htm %6\%5\as_%%i.htm
-copy doc_COM\taborg*.tex %6\%5
-copy doc_COM\ps*.tex %6\%5
 copy doc_COM\biblio.tex %6\%5
+copy doc_COM\taborg.tex %6\%5
+copy doc_COM\tabids.tex %6\%5
+copy doc_COM\pscpu.tex %6\%5
+copy doc_COM\pscomm.tex %6\%5
 copy doc_COM\cp3finst.tex %6\%5
-copy COPYING %6\%5
+copy doc_COM\78z80inst.tex %6\%5
+copy doc_COM\recstruct.tex %6\%5
+copy COPYING README README.LANGS %6\%5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asl-current/install.sh new/asl-current/install.sh
--- old/asl-current/install.sh  2026-04-27 22:03:27.000000000 +0200
+++ new/asl-current/install.sh  2026-06-07 14:13:48.000000000 +0200
@@ -116,7 +116,7 @@
  ${MKDIRHIER} ${DOCPATH}
  chmod 755 ${DOCPATH}
  for i in DE EN; do
-  for ext in doc html dvi ps pdf; do
+  for ext in tex doc html pdf; do
    if [ -f doc_$i/as.${ext} ]; then
     #echo copy doc_$i/as.${ext} to ${DOCPATH}/as-$i.${ext} ...
     cp doc_$i/as.${ext} ${DOCPATH}/as_$i.${ext}
@@ -124,14 +124,12 @@
   done
   chmod 644 ${DOCPATH}/as_$i.*
  done
- cp doc_COM/taborg*.tex ${DOCPATH}
- chmod 644 ${DOCPATH}/taborg*.tex
- cp doc_COM/ps*.tex ${DOCPATH}
- chmod 644 ${DOCPATH}/ps*.tex
- cp doc_COM/biblio.tex ${DOCPATH}
- chmod 644 ${DOCPATH}/biblio.tex
- cp doc_COM/cp3finst.tex ${DOCPATH}
- chmod 644 ${DOCPATH}/cp3finst.tex
- cp COPYING ${DOCPATH}
- chmod 644 ${DOCPATH}/COPYING
+ for i in biblio.tex taborg.tex tabids.tex pscpu.tex pscomm.tex cp3finst.tex 
78z80inst.tex recstruct.tex; do
+   cp doc_COM/$i ${DOCPATH}
+   chmod 644 ${DOCPATH}/$i
+ done
+ for i in COPYING README README.LANGS; do
+   cp $i ${DOCPATH}/$i
+   chmod 644 ${DOCPATH}/$i
+ done
 fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asl-current/sysdefs.h new/asl-current/sysdefs.h
--- old/asl-current/sysdefs.h   2026-04-27 22:03:27.000000000 +0200
+++ new/asl-current/sysdefs.h   2026-06-07 16:36:33.000000000 +0200
@@ -38,8 +38,9 @@
  */
 
 #ifdef _MSC_VER
-# define __PROTOS__
-# define UNUSED(x) (void)x
+
+#define __PROTOS__
+#define AS_UNUSED_TO_VOID
 
 /*
  * Windows systems using Microsoft Visual Studio.
@@ -162,6 +163,12 @@
 # endif
 #endif
 
+#ifdef __powerpc64__
+# ifndef _POWER64
+#  define _POWER64
+# endif
+#endif
+
 /*---------------------------------------------------------------------------*/
 /* ditto for ARM platforms */
 
@@ -176,9 +183,7 @@
 
 #ifdef __STDC__
 # define __PROTOS__
-# define UNUSED(x) (void)x
-#else
-# define UNUSED(x) {}
+# define AS_UNUSED_TO_VOID
 #endif
 
 /*---------------------------------------------------------------------------*/
@@ -226,7 +231,7 @@
 #endif
 
 /*===========================================================================*/
-/* 68K platforms */
+/* 68K Platform(s): */
 
 #ifdef __m68k
 
@@ -346,7 +351,7 @@
 #endif /* __m68k */
 
 /*===========================================================================*/
-/* SPARC platforms */
+/* SPARC Platform(s) */
 
 #ifdef __sparc
 
@@ -469,7 +474,7 @@
 #endif /* __sparc */
 
 /*===========================================================================*/
-/* Mips platforms */
+/* Mips Platform(s) */
 
 #ifdef __mips
 
@@ -582,7 +587,7 @@
 #endif /* __mips */
 
 /*===========================================================================*/
-/* HP-PA platforms */
+/* HP-PA Platform(s) */
 
 #ifdef __hppa
 
@@ -610,10 +615,32 @@
 #define LOCALE_NLS
 #endif
 
+/*---------------------------------------------------------------------------*/
+/* HP-PA 1.x with Linux: */
+
+#ifdef __linux__
+#define ARCHSYSNAME "unknown-linux"
+#define DEFSMADE
+#define OPENRDMODE "r"
+#define OPENWRMODE "w"
+#define OPENUPMODE "r+"
+#define IEEEFLOAT_8_DOUBLE
+typedef signed char as_int8_t;
+typedef unsigned char as_uint8_t;
+typedef signed short as_int16_t;
+typedef unsigned short as_uint16_t;
+#define HAS16
+typedef signed int as_int32_t;
+#define PRIas_int32_t "d"
+typedef unsigned int as_uint32_t;
+#define AS_64_IS_LONGLONG
+#define LOCALE_NLS
+#endif
+
 #endif /* __hppa */
 
 /*===========================================================================*/
-/* POWER 64 bit platforms */
+/* POWER 64 Bit Platform(s): */
 
 #ifdef _POWER64
 
@@ -643,7 +670,7 @@
 #endif
 
 /*===========================================================================*/
-/* POWER(32) platforms */
+/* POWER(32) Platform(s): */
 
 #elif defined _POWER
 
@@ -668,8 +695,7 @@
 #define PRIas_int32_t "d"
 typedef unsigned int as_uint32_t;
 #undef AS_HAS_LONGLONG
-#define AS_HAS_LONGLONG
-#define AS_64_IS_LONGLONG
+#define AS_HAS_LONGLONG 0
 #define LOCALE_NLS
 #endif
 
@@ -715,7 +741,7 @@
 #define PRIas_int32_t "d"
 typedef unsigned int as_uint32_t;
 #undef AS_HAS_LONGLONG
-#define AS_HAS_LONGLONG
+#define AS_HAS_LONGLONG 1
 #define AS_64_IS_LONGLONG
 #define NO_NLS
 #endif
@@ -723,29 +749,22 @@
 #endif /* _POWER */
 
 /*===========================================================================*/
-/* VAX platforms */
+/* POWER64 Platform(s): */
 
-#ifdef __vax__
+#ifdef _POWER64
 
-#define ARCHPRNAME "vax"
+#define ARCHPRNAME "ppc64"
 
 /*---------------------------------------------------------------------------*/
-/* VAX with Ultrix: */
+/* POWER64 with Linux */
 
-#ifdef __ultrix
-#ifndef __GNUC__
-# undef AS_HAS_LONGLONG
-# define AS_HAS_LONGLONG 0
-#endif
-#define ARCHSYSNAME "dec-ultrix"
+#ifdef __linux__
+#define ARCHSYSNAME "unknown-linux"
 #define DEFSMADE
 #define OPENRDMODE "r"
 #define OPENWRMODE "w"
 #define OPENUPMODE "r+"
-#define HOST_DECFLOAT
-#define NEEDS_STRDUP
-#define NEED_GETTIMEOFDAY
-#define BKOKEN_SPRINTF
+#define IEEEFLOAT_8_DOUBLE
 typedef signed char as_int8_t;
 typedef unsigned char as_uint8_t;
 typedef signed short as_int16_t;
@@ -754,44 +773,56 @@
 typedef signed int as_int32_t;
 #define PRIas_int32_t "d"
 typedef unsigned int as_uint32_t;
+#undef AS_HAS_LONGLONG
+#define AS_HAS_LONGLONG 1
 #define AS_64_IS_LONGLONG
-#define NO_NLS
+#define LOCALE_NLS
 #endif
 
+#endif /* _POWER64 */
+
+/*===========================================================================*/
+/* S390 Platform(s): */
+
+#if defined(__s390__) && !defined(__s390x__)
+
+#define ARCHPRNAME "s390"
+
 /*---------------------------------------------------------------------------*/
-/* VAX with NetBSD 1.x:
+/* IBM S/390 with Linux and GCC:                                             */
 
-   quite a normal 32-Bit-UNIX system - except for the float format... */
 
-#ifdef __NetBSD__
-#define ARCHSYSNAME "vax-netbsd"
+#ifdef __linux__
+#define ARCHSYSNAME "unknown-linux"
 #define DEFSMADE
 #define OPENRDMODE "r"
 #define OPENWRMODE "w"
 #define OPENUPMODE "r+"
-#define HOST_DECFLOAT
+#define IEEEFLOAT
 typedef signed char as_int8_t;
 typedef unsigned char as_uint8_t;
 typedef signed short as_int16_t;
 typedef unsigned short as_uint16_t;
 #define HAS16
 typedef signed int as_int32_t;
-#define PRIas_int32_t "d"
 typedef unsigned int as_uint32_t;
+#undef AS_HAS_LONGLONG
+#define AS_HAS_LONGLONG 1
 #define AS_64_IS_LONGLONG
 #define LOCALE_NLS
 #endif
 
-#endif /* vax */
+#endif /* __s390__ */
 
-#ifdef __aarch64__
+/*===========================================================================*/
+/* S390X Platform(s): */
 
-#define ARCHPRNAME "aarch64"
+#ifdef __s390x__
 
-/*---------------------------------------------------------------------------*/
-/* AArch64 with Linux and GCC: */
+#define ARCHPRNAME "s390x"
 
 #ifdef __linux__
+
 #define ARCHSYSNAME "unknown-linux"
 #define DEFSMADE
 #define OPENRDMODE "r"
@@ -808,18 +839,41 @@
 typedef unsigned int as_uint32_t;
 #define AS_64_IS_LONG
 #define LOCALE_NLS
+
+#ifdef __SIZEOF_INT128__
+typedef __uint128_t as_uint128_t;
+typedef __int128_t as_int128_t;
+# define HAS128
 #endif
 
+#endif /* __linux__ */
+
+#endif /* __s390x__ */
+
+/*===========================================================================*/
+/* VAX Platform(s): */
+
+#ifdef __vax__
+
+#define ARCHPRNAME "vax"
+
 /*---------------------------------------------------------------------------*/
-/* AArch64 with macOS (Apple M-series CPU) */
+/* VAX with Ultrix: */
 
-#ifdef __APPLE__
-#define ARCHSYSNAME "apple-darwin"
+#ifdef __ultrix
+#ifndef __GNUC__
+# undef AS_HAS_LONGLONG
+# define AS_HAS_LONGLONG 0
+#endif
+#define ARCHSYSNAME "dec-ultrix"
 #define DEFSMADE
 #define OPENRDMODE "r"
 #define OPENWRMODE "w"
 #define OPENUPMODE "r+"
-#define IEEEFLOAT_8_DOUBLE
+#define HOST_DECFLOAT
+#define NEEDS_STRDUP
+#define NEED_GETTIMEOFDAY
+#define BKOKEN_SPRINTF
 typedef signed char as_int8_t;
 typedef unsigned char as_uint8_t;
 typedef signed short as_int16_t;
@@ -828,14 +882,38 @@
 typedef signed int as_int32_t;
 #define PRIas_int32_t "d"
 typedef unsigned int as_uint32_t;
-#define AS_64_IS_LONG
+#define AS_64_IS_LONGLONG
+#define NO_NLS
+#endif
+
+/*---------------------------------------------------------------------------*/
+/* VAX with NetBSD 1.x:
+
+   quite a normal 32-Bit-UNIX system - except for the float format... */
+
+#ifdef __NetBSD__
+#define ARCHSYSNAME "vax-netbsd"
+#define DEFSMADE
+#define OPENRDMODE "r"
+#define OPENWRMODE "w"
+#define OPENUPMODE "r+"
+#define HOST_DECFLOAT
+typedef signed char as_int8_t;
+typedef unsigned char as_uint8_t;
+typedef signed short as_int16_t;
+typedef unsigned short as_uint16_t;
+#define HAS16
+typedef signed int as_int32_t;
+#define PRIas_int32_t "d"
+typedef unsigned int as_uint32_t;
+#define AS_64_IS_LONGLONG
 #define LOCALE_NLS
 #endif
 
-#endif /* __aarch64__ */
+#endif /* vax */
 
 /*===========================================================================*/
-/* DEC Alpha platforms */
+/* DEC Alpha Platform(s): */
 
 #ifdef __alpha
 
@@ -936,7 +1014,7 @@
 #endif /* __alpha */
 
 /*===========================================================================*/
-/* Intel i386 platforms */
+/* Intel i386 Platform(s): */
 
 #ifdef __i386
 
@@ -1195,8 +1273,7 @@
 #define AS_HAS_LONGLONG 0
 #define DOS_NLS
 #define __PROTOS__
-#undef UNUSED
-#define UNUSED(x) (void)x
+#define AS_UNUSED_TO_VOID
 #endif
 #endif
 
@@ -1204,7 +1281,7 @@
 
 
 /*===========================================================================*/
-/* Intel x86_64 platforms */
+/* Intel x86_64 Platform(s): */
 
 #if  (defined __k8__) || (defined __x86_64) || (defined __x86_64__)
 
@@ -1298,7 +1375,42 @@
 #endif /* __k8__ || __x86_64 || __x86_64__ */
 
 /*===========================================================================*/
-/* ARM platform */
+/* IA64/Itamium Platform(s): */
+
+#ifdef __ia64__
+
+#define ARCHPRNAME "ia64"
+
+/*---------------------------------------------------------------------------*/
+/* Intel ia64 with Linux and GCC:                                            */
+
+#ifdef __linux__
+
+#define ARCHSYSNAME "unknown-linux"
+#define DEFSMADE
+#define OPENRDMODE "r"
+#define OPENWRMODE "w"
+#define OPENUPMODE "r+"
+#define IEEEFLOAT
+typedef signed char as_int8_t;
+typedef unsigned char as_uint8_t;
+typedef signed short as_int16_t;
+typedef unsigned short as_uint16_t;
+#define HAS16
+typedef signed int as_int32_t;
+#define PRIas_int32_t "d"
+typedef unsigned int as_uint32_t;
+typedef signed long long Integ64;
+typedef unsigned long long Card64;
+#define AS_64_IS_LONGLONG
+#define LOCALE_NLS
+
+#endif /* __linux__ */
+
+#endif /* __ia64__ */
+
+/*===========================================================================*/
+/* ARM Platform(s) */
 
 #ifdef __arm
 
@@ -1358,9 +1470,62 @@
 #endif /* __arm */
 
 /*===========================================================================*/
-/* RISC-V platform */
+/* AARCH Platform(s): */
+
+#ifdef __aarch64__
+
+#define ARCHPRNAME "aarch64"
+
+/*---------------------------------------------------------------------------*/
+/* AArch64 with Linux and GCC: */
+
+#ifdef __linux__
+#define ARCHSYSNAME "unknown-linux"
+#define DEFSMADE
+#define OPENRDMODE "r"
+#define OPENWRMODE "w"
+#define OPENUPMODE "r+"
+#define IEEEFLOAT_8_DOUBLE
+typedef signed char as_int8_t;
+typedef unsigned char as_uint8_t;
+typedef signed short as_int16_t;
+typedef unsigned short as_uint16_t;
+#define HAS16
+typedef signed int as_int32_t;
+#define PRIas_int32_t "d"
+typedef unsigned int as_uint32_t;
+#define AS_64_IS_LONG
+#define LOCALE_NLS
+#endif
+
+/*---------------------------------------------------------------------------*/
+/* AArch64 with macOS (Apple M-series CPU) */
+
+#ifdef __APPLE__
+#define ARCHSYSNAME "apple-darwin"
+#define DEFSMADE
+#define OPENRDMODE "r"
+#define OPENWRMODE "w"
+#define OPENUPMODE "r+"
+#define IEEEFLOAT_8_DOUBLE
+typedef signed char as_int8_t;
+typedef unsigned char as_uint8_t;
+typedef signed short as_int16_t;
+typedef unsigned short as_uint16_t;
+#define HAS16
+typedef signed int as_int32_t;
+#define PRIas_int32_t "d"
+typedef unsigned int as_uint32_t;
+#define AS_64_IS_LONG
+#define LOCALE_NLS
+#endif
+
+#endif /* __aarch64__ */
+
+/*===========================================================================*/
+/* RISC-V Platform(s): */
 
-#ifdef __riscv
+#if defined __riscv && __riscv_xlen == 32
 
 #define ARCHPRNAME "riscv"
 
@@ -1368,7 +1533,7 @@
 /* RISC-V linux with GCC */
 
 #ifdef __linux__
-#define ARCHSYSNAME "unknown-linux-riscv"
+#define ARCHSYSNAME "unknown-linux"
 #define DEFSMADE
 #define OPENRDMODE "r"
 #define OPENWRMODE "w"
@@ -1386,7 +1551,38 @@
 #define LOCALE_NLS
 #endif /* __linux__ */
 
-#endif /* __riscv */
+#endif /* __riscv __riscv_xlen == 32 */
+
+/*===========================================================================*/
+/* RISC-V 64 Bit Platform(s): */
+
+#if defined __riscv && __riscv_xlen == 64
+
+#define ARCHPRNAME "riscv64"
+
+/*---------------------------------------------------------------------------*/
+/* RISC-V 64-bit linux with GCC */
+
+#if defined __linux__
+#define ARCHSYSNAME "unknown-linux"
+#define DEFSMADE
+#define OPENRDMODE "r"
+#define OPENWRMODE "w"
+#define OPENUPMODE "r+"
+#define IEEEFLOAT
+typedef signed char as_int8_t;
+typedef unsigned char as_uint8_t;
+typedef signed short as_int16_t;
+typedef unsigned short as_uint16_t;
+#define HAS16
+typedef signed int as_int32_t;
+#define PRIInteg32 "d"
+typedef unsigned int as_uint32_t;
+#define AS_64_IS_LONG
+#define LOCALE_NLS
+#endif /* __linux__ */
+
+#endif /* __riscv && __riscv_xlen == 64 */
 
 /*===========================================================================*/
 /* Misc... */
@@ -1583,6 +1779,12 @@
 #error "please edit sysdefs.h!"
 #endif
 
+#ifdef AS_UNUSED_TO_VOID
+# define UNUSED(x) (void)x
+#else
+# define UNUSED(x) {}
+#endif
+
 #ifdef CKMALLOC
 #define malloc(s) ckmalloc(s)
 #define realloc(p,s) ckrealloc(p,s)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/asl-current/version.h new/asl-current/version.h
--- old/asl-current/version.h   2026-05-29 20:13:51.000000000 +0200
+++ new/asl-current/version.h   2026-06-07 16:36:33.000000000 +0200
@@ -14,7 +14,7 @@
 
 #define AS_VERSION_MAJOR 1
 #define AS_VERSION_MINOR 42
-#define AS_VERSION_BUILD 307
+#define AS_VERSION_BUILD 308
 
 /* The standard C stringification magic: */
 

Reply via email to