ack.git
39 years agoAdded ranlib commends.
keie [Thu, 24 Jan 1985 16:16:32 +0000 (16:16 +0000)]
Added ranlib commends.

39 years agoSome minor changes.
keie [Thu, 24 Jan 1985 15:34:23 +0000 (15:34 +0000)]
Some minor changes.

39 years agoChanged the line numbered 19 into a line numbered 190.
em [Thu, 24 Jan 1985 11:34:12 +0000 (11:34 +0000)]
Changed the line numbered 19 into a line numbered 190.
This seemed the correct thing to do.

39 years ago*** empty log message ***
em [Thu, 24 Jan 1985 11:27:36 +0000 (11:27 +0000)]
*** empty log message ***

39 years agobug fixed: the "incr" parameter of sbrk() is a 2-byte integer,
bal [Wed, 23 Jan 1985 16:31:51 +0000 (16:31 +0000)]
bug fixed: the "incr" parameter of sbrk() is a 2-byte integer,
not a 4-byte integer.

39 years agoparameter of fscanf changed from "%d" to "%hd" to read a short.
bal [Wed, 23 Jan 1985 16:28:58 +0000 (16:28 +0000)]
parameter of fscanf changed from "%d" to "%hd" to read a short.

39 years agocore allocation macros added.
bal [Wed, 23 Jan 1985 16:27:47 +0000 (16:27 +0000)]
core allocation macros added.

39 years agoovfl_harmful and arrbound_harmful turned into ints
bal [Wed, 23 Jan 1985 16:25:29 +0000 (16:25 +0000)]
ovfl_harmful and arrbound_harmful turned into ints

39 years agoInterface of tmplocal() changed: second parameter is a long now
bal [Wed, 23 Jan 1985 16:23:15 +0000 (16:23 +0000)]
Interface of tmplocal() changed: second parameter is a long now

39 years agointerface with tmplocal() changed: second parameter is a long now.
bal [Wed, 23 Jan 1985 16:18:33 +0000 (16:18 +0000)]
interface with tmplocal() changed: second parameter is a long now.

39 years agobug fixed in get_instrs(): instr should be an int rather than a Celem_t.
bal [Wed, 23 Jan 1985 16:16:49 +0000 (16:16 +0000)]
bug fixed in get_instrs(): instr should be an int rather than a Celem_t.

39 years agobug fixed in last_mnem(): test on nil-pointer.
bal [Wed, 23 Jan 1985 16:13:57 +0000 (16:13 +0000)]
bug fixed in last_mnem(): test on nil-pointer.
bug fixed in try_tail(): add line "if(l1==0||l2==0) return FALSE".

39 years agobug fixed in last_line() : assert(l!=0) should be assert(lines!=0).
bal [Wed, 23 Jan 1985 16:12:21 +0000 (16:12 +0000)]
bug fixed in last_line() : assert(l!=0) should be assert(lines!=0).

39 years agobug fixed in routine get_ca_lines(): test on nil-pointer.
bal [Wed, 23 Jan 1985 16:10:43 +0000 (16:10 +0000)]
bug fixed in routine get_ca_lines(): test on nil-pointer.

39 years agoinit_regcnt renamed initregcnt to avoid name conflict.
bal [Wed, 23 Jan 1985 16:07:09 +0000 (16:07 +0000)]
init_regcnt renamed initregcnt to avoid name conflict.
bug fixed in routine fits_in(): test on nil-pointer.
routine choose_location(): interface with tmplocal() changed, second
parameter now is a long, so a cast is added.

39 years agorules for itemtab.h and makeitems added.
bal [Wed, 23 Jan 1985 15:50:17 +0000 (15:50 +0000)]
rules for itemtab.h and makeitems added.

39 years agoclean_items renamed cleanitems to avoid name conflict.
bal [Wed, 23 Jan 1985 15:45:58 +0000 (15:45 +0000)]
clean_items renamed cleanitems to avoid name conflict.
clean_timeset renamed cleantimeset to avoid name conflict.
bugs fixed: calls to fscanf() with a pointer-to-short as argument
should provide a "%hd" instead of "%d".

39 years agosrc1 and src2 extended.
garde [Tue, 22 Jan 1985 19:55:11 +0000 (19:55 +0000)]
src1 and src2 extended.
Errors in 'p\ 1at loc cmi teq' and 'pat loc cmi tne' recovered.
Second stack-pattern for 'pat zlt' and 'pat zge' added.
Patterns for 'lil loc adi sil', 'lil inc sil', 'lil dec sil'
and 'sil lil' added.

39 years agoUser defined trap handling routine is called with calls instruction.
em [Tue, 22 Jan 1985 15:20:19 +0000 (15:20 +0000)]
User defined trap handling routine is called with calls instruction.
A message is printed if there is no routine at all.

39 years agoAdded `movl r3,ap' to restore the argument pointer before returning
em [Tue, 22 Jan 1985 13:10:35 +0000 (13:10 +0000)]
Added `movl r3,ap' to restore the argument pointer before returning
vi jmp (r0).

39 years agoNow using opder recommanded by 'lorder'.
em [Tue, 22 Jan 1985 02:17:13 +0000 (02:17 +0000)]
Now using opder recommanded by 'lorder'.

39 years agoPrintf does not return a truth value for failure.
keie [Mon, 21 Jan 1985 23:58:07 +0000 (23:58 +0000)]
Printf does not return a truth value for failure.
These -incorrect- tests were replaced by calls to ferror.

39 years agoAdded declaration of _newstr.
keie [Mon, 21 Jan 1985 23:57:44 +0000 (23:57 +0000)]
Added declaration of _newstr.

39 years agoAdded correct declaration of salloc, thereby preventing incorrect conversions.
keie [Mon, 21 Jan 1985 23:56:10 +0000 (23:56 +0000)]
Added correct declaration of salloc, thereby preventing incorrect conversions.
Removed now unnecessary casts from salloc to (char *).
Added a cast to (char *) for the argument of sfree in the second call.

39 years ago1 - Changed argument from int to unsigned.
keie [Mon, 21 Jan 1985 23:54:46 +0000 (23:54 +0000)]
1 - Changed argument from int to unsigned.
2 - The test for a failed malloc is changed from comparison to -1
    to comparison to 0.

39 years agoTests for EOF returned by stdio routines need the full int width.
keie [Mon, 21 Jan 1985 23:53:41 +0000 (23:53 +0000)]
Tests for EOF returned by stdio routines need the full int width.

39 years agoRemoved casts made superfluous by adding newstr to string.h
keie [Mon, 21 Jan 1985 23:53:01 +0000 (23:53 +0000)]
Removed casts made superfluous by adding newstr to string.h

39 years agoTest for EOF returned by stdio routines have to use the full int width.
keie [Mon, 21 Jan 1985 23:52:19 +0000 (23:52 +0000)]
Test for EOF returned by stdio routines have to use the full int width.

39 years agoRemoved cast made superfluous by added newstr to string.h
keie [Mon, 21 Jan 1985 23:51:33 +0000 (23:51 +0000)]
Removed cast made superfluous by added newstr to string.h

39 years agoAdded test for outcome of request for more core.
keie [Mon, 21 Jan 1985 23:48:06 +0000 (23:48 +0000)]
Added test for outcome of request for more core.
If no more core is available a fatal error message is produced.

39 years agoChanged #define's of newlbss of cst_fmt.
em [Mon, 21 Jan 1985 16:40:02 +0000 (16:40 +0000)]
Changed #define's of newlbss of cst_fmt.

39 years agoBug fix: redefined a Local local causing an INTERNAL ERROR from as.
em [Mon, 21 Jan 1985 15:49:22 +0000 (15:49 +0000)]
Bug fix: redefined a Local local causing an INTERNAL ERROR from as.

39 years agoDue to an 8 character identifier length limitation the identifier
keie [Mon, 21 Jan 1985 14:52:34 +0000 (14:52 +0000)]
Due to an 8 character identifier length limitation the identifier
"strcompare" is changed into "strcomp".

39 years agoDue to an 8 character identifiers limitation calls in EM
keie [Mon, 21 Jan 1985 14:51:29 +0000 (14:51 +0000)]
Due to an 8 character identifiers limitation calls in EM
the identifier "randomize" was changed into "randomi".

39 years agoDue to an 8 character identifiers limitation on EM calls to
keie [Mon, 21 Jan 1985 14:50:12 +0000 (14:50 +0000)]
Due to an 8 character identifiers limitation on EM calls to
"setchannel" were changed into "setchan" and the identifier
"seektable" is replaced by "seektab".

39 years agoChanged calls to "setrandom" into calls to "setrand" and
keie [Mon, 21 Jan 1985 14:48:16 +0000 (14:48 +0000)]
Changed calls to "setrandom" into calls to "setrand" and
calls to "randomize" inro calls to "randomi" to avoid
problems with routines compiled by C.

39 years agoAdded a few /*NOSTRICT*/ comments to indicate awareness of lint complaints.
keie [Mon, 21 Jan 1985 14:30:55 +0000 (14:30 +0000)]
Added a few /*NOSTRICT*/ comments to indicate awareness of lint complaints.

39 years ago1 - Changed the defintion of a local 's' into 'Sym' to avoid naming conflict.
keie [Mon, 21 Jan 1985 14:26:29 +0000 (14:26 +0000)]
1 - Changed the defintion of a local 's' into 'Sym' to avoid naming conflict.
2 - Added .integer, .Sptr and .cptr at appropiate places to uses of yylval.
3 - Removed unnecessary casts.
4 - Added a few /*NOSTRICT*/ comments to indicate awareness of lint
    complaints.

39 years ago1 - Added comment to indicate awareness of lint complaints.
keie [Mon, 21 Jan 1985 14:23:49 +0000 (14:23 +0000)]
1 - Added comment to indicate awareness of lint complaints.
2 - Added/Removed some casts used with core allocation/deallocation.

39 years agoChanged the argument of salloc from an int into an unsigned.
keie [Mon, 21 Jan 1985 14:22:07 +0000 (14:22 +0000)]
Changed the argument of salloc from an int into an unsigned.
Just to shut up lint.

39 years agoAdded a declaration of gosublabel.
keie [Mon, 21 Jan 1985 14:21:52 +0000 (14:21 +0000)]
Added a declaration of gosublabel.

39 years agoAdded a few comments to indicate awareness of lint complaints.
keie [Mon, 21 Jan 1985 14:20:11 +0000 (14:20 +0000)]
Added a few comments to indicate awareness of lint complaints.

39 years ago1 - Removed definition of POINTERSIZE.
keie [Mon, 21 Jan 1985 14:18:47 +0000 (14:18 +0000)]
1 - Removed definition of POINTERSIZE.
2 - Defined void as int, some compilers don't know void.
3 - Added declarations of the routines proclabel, salloc, strcpy, strcat, malloc.

39 years agocase 8 and case 6 deleted in switch of function 'prolog'
garde [Mon, 21 Jan 1985 14:17:11 +0000 (14:17 +0000)]
case 8 and case 6 deleted in switch of function 'prolog'

39 years agoNow using a union for YYSTYPE and typed (non-)terminals.
keie [Mon, 21 Jan 1985 14:15:06 +0000 (14:15 +0000)]
Now using a union for YYSTYPE and typed (non-)terminals.
Changed values $n(intvalue) to ival in definition of filelist.
Changed one asp,$n(midparms) into several asp,...SIZE in the definition
that uses MIDSYM.

39 years ago1 added lint entry.
keie [Mon, 21 Jan 1985 14:14:22 +0000 (14:14 +0000)]
1 added lint entry.
2 changed calls to cc into $(CC)

39 years agoTo have a file preprocessed, it must start with a # in column o1.
em [Mon, 21 Jan 1985 12:56:09 +0000 (12:56 +0000)]
To have a file preprocessed, it must start with a # in column o1.
The RCSid is replaced to accomplish this.

39 years agoNow using correct RCS identification
em [Mon, 21 Jan 1985 12:47:04 +0000 (12:47 +0000)]
Now using correct RCS identification

39 years agoRenaming due to 8 character C compiler limit.
em [Mon, 21 Jan 1985 12:37:26 +0000 (12:37 +0000)]
Renaming due to 8 character C compiler limit.

39 years agoUsed a correct definition of malloc.
em [Mon, 21 Jan 1985 12:35:53 +0000 (12:35 +0000)]
Used a correct definition of malloc.

39 years agoReplaced RCSid so that file starts with # in column 0 so it gets preprocessed.
em [Mon, 21 Jan 1985 12:28:59 +0000 (12:28 +0000)]
Replaced RCSid so that file starts with # in column 0 so it gets preprocessed.

39 years agoCorrected type; forgot closing ".
em [Mon, 21 Jan 1985 12:14:59 +0000 (12:14 +0000)]
Corrected type; forgot closing ".

39 years agoRemoved #define IDFIRST because fmt_id() replaces it.
em [Mon, 21 Jan 1985 12:09:44 +0000 (12:09 +0000)]
Removed #define IDFIRST because fmt_id() replaces it.

39 years agoInitial revision
em [Fri, 18 Jan 1985 16:06:21 +0000 (16:06 +0000)]
Initial revision

39 years agoRoutines are now called with calls instead of jsb. We use ap as argument
em [Fri, 18 Jan 1985 15:39:07 +0000 (15:39 +0000)]
Routines are now called with calls instead of jsb. We use ap as argument
pointer register. EM_BSIZE is required to be a constant.

39 years agoChanged label generators and added fmt_id().
em [Fri, 18 Jan 1985 15:36:51 +0000 (15:36 +0000)]
Changed label generators and added fmt_id().

39 years agoRoutines are called with calls instead of jsb. EM_BSIZE is required to
em [Fri, 18 Jan 1985 15:33:44 +0000 (15:33 +0000)]
Routines are called with calls instead of jsb. EM_BSIZE is required to
be a constant.

39 years agoInitial revision
duk [Fri, 18 Jan 1985 14:30:03 +0000 (14:30 +0000)]
Initial revision

39 years agoInitial revision
bal [Fri, 18 Jan 1985 09:59:09 +0000 (09:59 +0000)]
Initial revision

39 years agoInitial revision
garde [Thu, 17 Jan 1985 14:31:34 +0000 (14:31 +0000)]
Initial revision

39 years agoInitial revision
duk [Thu, 17 Jan 1985 14:20:52 +0000 (14:20 +0000)]
Initial revision

39 years agoChecking in Martin's changes.
em [Thu, 17 Jan 1985 14:10:27 +0000 (14:10 +0000)]
Checking in Martin's changes.

39 years agoAdded some documentation for the interface between C and Pascal.
keie [Thu, 17 Jan 1985 13:22:49 +0000 (13:22 +0000)]
Added some documentation for the interface between C and Pascal.
This was necessary because the format of Pascal and C procedure
pointers differ from now on.

39 years agoAdded the test program for the C<=>Pascal interface.
keie [Thu, 17 Jan 1985 12:43:51 +0000 (12:43 +0000)]
Added the test program for the C<=>Pascal interface.

39 years ago*** empty log message ***
keie [Thu, 17 Jan 1985 12:43:04 +0000 (12:43 +0000)]
*** empty log message ***

39 years agoThe EM runtime routines are reentrant now, so the remark about
bal [Thu, 17 Jan 1985 10:39:33 +0000 (10:39 +0000)]
The EM runtime routines are reentrant now, so the remark about
reentrancy is removed from this file.

39 years agoBug fixed: a0 is changed by call to _brk, so it should be saved & restored.
bal [Thu, 17 Jan 1985 10:33:23 +0000 (10:33 +0000)]
Bug fixed: a0 is changed by call to _brk, so it should be saved & restored.

39 years agoAdded RCS id.
keie [Fri, 11 Jan 1985 17:03:53 +0000 (17:03 +0000)]
Added RCS id.

39 years agoAllows optional second argument.
keie [Fri, 11 Jan 1985 16:46:02 +0000 (16:46 +0000)]
Allows optional second argument.
This is the name of the destination file. The destination directory
is determined by compare.

39 years ago1 - Allows 2 arguments, 1 - name of source in current directory.
keie [Fri, 11 Jan 1985 16:43:56 +0000 (16:43 +0000)]
1 - Allows 2 arguments, 1 - name of source in current directory.
   2 - name of destination file(!path), default arg 1.
2 - Make the necessary dirctory.
3 - runs ranlib if "ar t ... | grep SYMDEF succeeds.

39 years agoAdded RCS id.
keie [Fri, 11 Jan 1985 16:28:30 +0000 (16:28 +0000)]
Added RCS id.

39 years agoThe previous fix produced an array in which the values were one off.
keie [Fri, 11 Jan 1985 13:42:51 +0000 (13:42 +0000)]
The previous fix produced an array in which the values were one off.
This has been fixed.

39 years ago*** empty log message ***
keie [Fri, 11 Jan 1985 13:20:36 +0000 (13:20 +0000)]
*** empty log message ***

39 years agoThe recursive call of setp1 initialized elements 0...ASIZE.
keie [Fri, 11 Jan 1985 13:17:26 +0000 (13:17 +0000)]
The recursive call of setp1 initialized elements 0...ASIZE.
This is out of bounds and now altered into 0..ASIZE-1.

39 years ago*** empty log message ***
keie [Fri, 11 Jan 1985 13:13:56 +0000 (13:13 +0000)]
*** empty log message ***

39 years agoRREMOVE section updated.
sater [Fri, 11 Jan 1985 09:44:34 +0000 (09:44 +0000)]
RREMOVE section updated.

39 years agoextra define added to aid in generation of DO_RREMOVE
sater [Fri, 11 Jan 1985 09:42:17 +0000 (09:42 +0000)]
extra define added to aid in generation of DO_RREMOVE

39 years agocode was added to generate DO_RREMOVE
sater [Fri, 11 Jan 1985 09:41:47 +0000 (09:41 +0000)]
code was added to generate DO_RREMOVE

39 years agocode was added to cause generation of DO_RREMOVE in some cases
sater [Fri, 11 Jan 1985 09:41:13 +0000 (09:41 +0000)]
code was added to cause generation of DO_RREMOVE in some cases

39 years agodiffs were applied to make default register property at stacking rule
sater [Fri, 11 Jan 1985 09:40:40 +0000 (09:40 +0000)]
diffs were applied to make default register property at stacking rule
-1 instead of 0.

39 years agoOptional register property in stacking rules must be -1 when absent.
sater [Thu, 10 Jan 1985 16:30:09 +0000 (16:30 +0000)]
Optional register property in stacking rules must be -1 when absent.
Fixed this.

39 years agoMaybe some minor changes.
duk [Thu, 10 Jan 1985 13:35:39 +0000 (13:35 +0000)]
Maybe some minor changes.

39 years agoAdded call to trap signals.
duk [Thu, 10 Jan 1985 13:24:36 +0000 (13:24 +0000)]
Added call to trap signals.

39 years agoHeader and section table now allocated statically.
duk [Thu, 10 Jan 1985 13:22:04 +0000 (13:22 +0000)]
Header and section table now allocated statically.

39 years agoInline expansion of index_adjust() and compute_origins().
duk [Thu, 10 Jan 1985 13:19:47 +0000 (13:19 +0000)]
Inline expansion of index_adjust() and compute_origins().
Section table now allocated statically.

39 years agoAdded routine to check signals.
duk [Thu, 10 Jan 1985 13:17:22 +0000 (13:17 +0000)]
Added routine to check signals.

39 years ago*** empty log message ***
sater [Tue, 8 Jan 1985 15:34:54 +0000 (15:34 +0000)]
*** empty log message ***

39 years agoInitial revision
sater [Tue, 8 Jan 1985 15:28:26 +0000 (15:28 +0000)]
Initial revision

39 years ago*** empty log message ***
keie [Tue, 8 Jan 1985 13:52:58 +0000 (13:52 +0000)]
*** empty log message ***

39 years agoAdded provisions for copying everything after the string area into the
duk [Tue, 8 Jan 1985 11:54:57 +0000 (11:54 +0000)]
Added provisions for copying everything after the string area into the
resulting object file. Because this is most likely symbolic debugging
information, these are parametrized by #ifdef SYMDBUG.

39 years ago*** empty log message ***
keie [Tue, 8 Jan 1985 11:48:43 +0000 (11:48 +0000)]
*** empty log message ***

39 years ago*** empty log message ***
sater [Tue, 8 Jan 1985 09:59:28 +0000 (09:59 +0000)]
*** empty log message ***

39 years ago*** empty log message ***
keie [Mon, 7 Jan 1985 15:54:38 +0000 (15:54 +0000)]
*** empty log message ***

39 years ago*** empty log message ***
keie [Mon, 7 Jan 1985 15:43:50 +0000 (15:43 +0000)]
*** empty log message ***

39 years ago*** empty log message ***
keie [Mon, 7 Jan 1985 14:39:27 +0000 (14:39 +0000)]
*** empty log message ***

39 years ago*** empty log message ***
keie [Mon, 7 Jan 1985 14:26:46 +0000 (14:26 +0000)]
*** empty log message ***

39 years ago*** empty log message ***
keie [Mon, 7 Jan 1985 14:15:47 +0000 (14:15 +0000)]
*** empty log message ***

39 years ago*** empty log message ***
keie [Mon, 7 Jan 1985 13:57:25 +0000 (13:57 +0000)]
*** empty log message ***

39 years ago15-5-83 EGK
keie [Mon, 7 Jan 1985 13:51:36 +0000 (13:51 +0000)]
15-5-83         EGK
                The coercion from rm1 to register contained
                allocate(%[1],GENREG).
                The %[1] here is incorrect and has been removed.
16-5-83         EGK
                The word before the movb was cleared by a xor.
                Now we clear the upper byte after the movb.
                This allows the %[1] to be added to the allocate.

39 years ago*** empty log message ***
keie [Mon, 7 Jan 1985 13:49:31 +0000 (13:49 +0000)]
*** empty log message ***