File asl-current.dif of Package asl
--- Makefile.def
+++ Makefile.def
@@ -0,0 +1,25 @@
+# -------------------------------------------------------------------------
+# choose your compiler (must be ANSI-compliant!) and linker command, plus
+# any additionally needed flags
+
+CC = gcc
+LD = gcc
+CFLAGS = -O2 -Wall
+LDFLAGS =
+
+# -------------------------------------------------------------------------
+# directories where binaries, includes, and manpages should go during
+# installation
+
+BINDIR = /usr/bin
+INCDIR = /usr/include/asl
+MANDIR = /usr/share/man
+LIBDIR = /usr/lib/asl
+DOCDIR = doc
+
+# -------------------------------------------------------------------------
+# character encoding to use (choose one of them)
+
+# CHARSET = CHARSET_ASCII7
+# CHARSET = CHARSET_IBM437
+CHARSET = CHARSET_ISO8859_1
--- asl-1.41r8.diff
+++ asl-1.41r8.diff
@@ -0,0 +1,68 @@
+diff -ur --new-file ../asl-1.41r8/Makefile.def ./Makefile.def
+--- ../asl-1.41r8/Makefile.def Thu Jan 1 01:00:00 1970
++++ ./Makefile.def Tue Aug 15 15:15:57 2000
+@@ -0,0 +1,25 @@
++# -------------------------------------------------------------------------
++# choose your compiler (must be ANSI-compliant!) and linker command, plus
++# any additionally needed flags
++
++CC = gcc
++LD = gcc
++CFLAGS = -O2 -Wall
++LDFLAGS =
++
++# -------------------------------------------------------------------------
++# directories where binaries, includes, and manpages should go during
++# installation
++
++BINDIR = /usr/bin
++INCDIR = /usr/include/asl
++MANDIR = /usr/share/man
++LIBDIR = /usr/lib/asl
++DOCDIR = doc
++
++# -------------------------------------------------------------------------
++# character encoding to use (choose one of them)
++
++# CHARSET = CHARSET_ASCII7
++# CHARSET = CHARSET_IBM437
++CHARSET = CHARSET_ISO8859_1
+diff -ur --new-file ../asl-1.41r8/install.sh ./install.sh
+--- ../asl-1.41r8/install.sh Sun Jan 4 17:40:22 1998
++++ ./install.sh Mon Aug 14 17:07:22 2000
+@@ -50,9 +50,9 @@
+ chmod 755 $5
+ for i in DE EN; do
+ echo $5/as-$i.doc
+- cp doc_$i/as.doc $5/as-$i.doc
++ cp doc_$i/as.doc $5/as-$i.txt
+ echo $5/as-$i.tex
+- cp doc_$i/as.tex $5/as-$i.tex
++ cp doc_$i/as.html $5/as-$i.html
+ if [ -f doc_$i/as.dvi ]; then
+ echo $5/as-$i.dvi
+ cp doc_$i/as.dvi $5/as-$i.dvi
+@@ -62,5 +62,8 @@
+ cp doc_$i/as.ps $5/as-$i.ps
+ fi
+ chmod 644 $5/as-$i.*
++ done
++ for i in README README.LANGS LICENSE BENCHES TODO ; do
++ cp $i $5/$i
+ done
+ fi
+diff -ur --new-file ../asl-1.41r8/nls.c ./nls.c
+--- ../asl-1.41r8/nls.c Mon Sep 13 19:24:27 1999
++++ ./nls.c Tue Aug 15 15:21:51 2000
+@@ -343,9 +343,9 @@
+ case 'S': FmtBuffer+=1; break;
+ case 'M': FmtBuffer+=2; break;
+ case 'H': FmtBuffer+=3; break;
+- case 'T': fprintf(stderr, "\nwarning, detected non-ANSI time format specifier '%%T'");
++ case 'T': /* fprintf(stderr, "\nwarning, detected non-ANSI time format specifier '%%T'\n"); */
+ run = "H:%M:%S"; break;
+- case 'R': fprintf(stderr, "\nwarning, detected non-ANSI time format specifier '%%R'");
++ case 'R': /* fprintf(stderr, "\nwarning, detected non-ANSI time format specifier '%%R'\n"); */
+ run = "H:%M"; break;
+ END
+ if (NLSInfo.TimeSep==Nil)
--- code78k2.c
+++ code78k2.c
@@ -428,7 +428,7 @@
AdrMode = ModShort; AdrCnt = 1;
AdrVals[0] = Lo(WordOp);
}
- else if ((Mask && MModSFR) && (!ForceLong) && ((WordOp >= 0xff00) && (WordOp <= 0xffff)))
+ else if ((Mask && MModSFR) && (!ForceLong) && (WordOp >= 0xff00))
{
AdrMode = ModSFR; AdrCnt = 1;
AdrVals[0] = Lo(WordOp);
--- code97c241.c
+++ code97c241.c
@@ -1610,7 +1610,7 @@
BEGIN
if (Format==' ')
BEGIN
- if (((Is2Absolute()) AND (IsShort))
+ if (((Is2Absolute()) AND (IsShort()))
OR ((Is2Short()) AND (IsAbsolute()))) Format='A';
else Format='G';
END;
--- install.sh
+++ install.sh
@@ -8,7 +8,6 @@
chmod 755 $1
for i in asl plist alink pbind p2hex p2bin; do
echo $1/$i
- strip $i
cp $i $1
chmod 755 $1/$i
done
@@ -50,9 +49,9 @@
chmod 755 $5
for i in DE EN; do
echo $5/as-$i.doc
- cp doc_$i/as.doc $5/as-$i.doc
+ cp doc_$i/as.doc $5/as-$i.txt
echo $5/as-$i.tex
- cp doc_$i/as.tex $5/as-$i.tex
+ cp doc_$i/as.html $5/as-$i.html
if [ -f doc_$i/as.dvi ]; then
echo $5/as-$i.dvi
cp doc_$i/as.dvi $5/as-$i.dvi
@@ -63,6 +62,9 @@
fi
chmod 644 $5/as-$i.*
done
+ for i in README README.LANGS LICENSE BENCHES TODO ; do
+ cp $i $5/$i
+ done
cp doc_DE/taborg*.tex $5
chmod 644 $5/taborg*.tex
cp doc_DE/ps*.tex $5
--- nls.c
+++ nls.c
@@ -355,12 +355,16 @@
case 'S': FmtBuffer+=1; break;
case 'M': FmtBuffer+=2; break;
case 'H': FmtBuffer+=3; break;
- case 'T': fflush(stdout);
+ case 'T': /* fflush(stdout);
fprintf(stderr, "\nwarning, detected non-ANSI time format specifier '%%T'\n");
- run = "H:%M:%S"; break;
- case 'R': fflush(stdout);
+ */
+ run = "H:%M:%S";
+ break;
+ case 'R': /* fflush(stdout);
fprintf(stderr, "\nwarning, detected non-ANSI time format specifier '%%R'\n");
- run = "H:%M"; break;
+ */
+ run = "H:%M";
+ break;
END
if (NLSInfo.TimeSep==Nil)
BEGIN
--- sysdefs.h
+++ sysdefs.h
@@ -942,6 +942,131 @@
#endif /* __i386 */
+#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 Integ8;
+typedef unsigned char Card8;
+typedef signed short Integ16;
+typedef unsigned short Card16;
+#define HAS16
+typedef signed int Integ32;
+typedef unsigned int Card32;
+typedef signed long long Integ64;
+typedef unsigned long long Card64;
+#define HAS64
+#define LOCALE_NLS
+#endif
+
+
+#endif /* __ia64__ */
+
+#ifdef __x86_64__
+
+#define ARCHPRNAME "x86_64"
+
+/*---------------------------------------------------------------------------*/
+/* AMD x86_64 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 Integ8;
+typedef unsigned char Card8;
+typedef signed short Integ16;
+typedef unsigned short Card16;
+#define HAS16
+typedef signed int Integ32;
+typedef unsigned int Card32;
+typedef signed long long Integ64;
+typedef unsigned long long Card64;
+#define HAS64
+#define LOCALE_NLS
+#endif
+
+
+#endif /* __x86_64__ */
+
+#if defined(__s390__) && !defined(__s390x__)
+
+#define ARCHPRNAME "S/390"
+
+/*---------------------------------------------------------------------------*/
+/* IBM S/390 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 Integ8;
+typedef unsigned char Card8;
+typedef signed short Integ16;
+typedef unsigned short Card16;
+#define HAS16
+typedef signed int Integ32;
+typedef unsigned int Card32;
+typedef signed long long Integ64;
+typedef unsigned long long Card64;
+#define HAS64
+#define LOCALE_NLS
+#endif
+
+
+#endif /* __s390__ */
+
+/*---------------------------------------------------------------------------*/
+/* IBM zSeries (S/390 G7) with Linux and GCC: */
+
+#ifdef __s390x__
+
+#define ARCHPRNAME "IBM zSeries"
+
+#ifdef __linux__
+#define ARCHSYSNAME "unknown-linux"
+#define DEFSMADE
+#define OPENRDMODE "r"
+#define OPENWRMODE "w"
+#define OPENUPMODE "r+"
+#define IEEEFLOAT
+typedef signed char Integ8;
+typedef unsigned char Card8;
+typedef signed short Integ16;
+typedef unsigned short Card16;
+#define HAS16
+typedef signed int Integ32;
+typedef unsigned int Card32;
+typedef signed long Integ64;
+typedef unsigned long Card64;
+#define HAS64
+#define LOCALE_NLS
+#endif
+
+
+#endif /* __s390x__ */
+
+
+
/*===========================================================================*/
/* ARM platform */