ack.git
37 years agomerged the vax and mantra versions
erikb [Tue, 11 Nov 1986 13:47:58 +0000 (13:47 +0000)]
merged the vax and mantra versions

37 years agoInitial revision
ceriel [Tue, 11 Nov 1986 13:44:58 +0000 (13:44 +0000)]
Initial revision

37 years agoAdapted to use of GCIPM.
ceriel [Tue, 11 Nov 1986 13:44:13 +0000 (13:44 +0000)]
Adapted to use of GCIPM.

37 years agoAdapted to use General C Identifier processing Module (GCIPM).
ceriel [Tue, 11 Nov 1986 13:42:42 +0000 (13:42 +0000)]
Adapted to use General C Identifier processing Module (GCIPM).
Also changed so that output for "cid" or "cpp" is in alphabetical order.

37 years agoAdapted to new versions of programs
ceriel [Tue, 11 Nov 1986 13:42:16 +0000 (13:42 +0000)]
Adapted to new versions of programs

37 years agoInitial revision
ceriel [Tue, 11 Nov 1986 13:34:20 +0000 (13:34 +0000)]
Initial revision

37 years agocorrected the treatment of static functions declared on non-global level
erikb [Mon, 10 Nov 1986 09:16:27 +0000 (09:16 +0000)]
corrected the treatment of static functions declared on non-global level

37 years agouse programs and modules from ACK instead of local versions
erikb [Mon, 10 Nov 1986 09:14:29 +0000 (09:14 +0000)]
use programs and modules from ACK instead of local versions

37 years agoAvoid a bug in the C-optimizer of 4.1 BSD.
ceriel [Fri, 7 Nov 1986 17:54:30 +0000 (17:54 +0000)]
Avoid a bug in the C-optimizer of 4.1 BSD.

37 years agoConstants changed to more sensible values.
ceriel [Fri, 7 Nov 1986 16:20:33 +0000 (16:20 +0000)]
Constants changed to more sensible values.

37 years agoAdded "register" to a declaration.
ceriel [Fri, 7 Nov 1986 16:01:45 +0000 (16:01 +0000)]
Added "register" to a declaration.

37 years ago*** empty log message ***
ceriel [Wed, 5 Nov 1986 21:31:23 +0000 (21:31 +0000)]
*** empty log message ***

37 years agoSeveral bug fixes
ceriel [Wed, 5 Nov 1986 14:33:00 +0000 (14:33 +0000)]
Several bug fixes

37 years agoAdded some code to skip to EOF with LL_NEWMESS.
ceriel [Mon, 3 Nov 1986 14:09:28 +0000 (14:09 +0000)]
Added some code to skip to EOF with LL_NEWMESS.

37 years agoThat was: LL_NEWMESS, not LL_NEWMESSAGE!
ceriel [Mon, 3 Nov 1986 10:28:21 +0000 (10:28 +0000)]
That was: LL_NEWMESS, not LL_NEWMESSAGE!

37 years agoOutput was wrong with maxmembers<2
sater [Mon, 3 Nov 1986 09:13:32 +0000 (09:13 +0000)]
Output was wrong with maxmembers<2

37 years agoRemoved the integer overflow check, as it is'nt checked by
ceriel [Thu, 30 Oct 1986 15:44:25 +0000 (15:44 +0000)]
Removed the integer overflow check, as it is'nt checked by
"cg".

37 years agoforgot to restore return address in case ".trp" is called.
ceriel [Thu, 30 Oct 1986 15:01:16 +0000 (15:01 +0000)]
forgot to restore return address in case ".trp" is called.

37 years agoAdded code that calls LLmessage(-1) when needed, and when LL_NEWMESS is
ceriel [Wed, 29 Oct 1986 11:30:50 +0000 (11:30 +0000)]
Added code that calls LLmessage(-1) when needed, and when LL_NEWMESS is
defined.

37 years agoAdded "nflag".
ceriel [Wed, 29 Oct 1986 11:29:47 +0000 (11:29 +0000)]
Added "nflag".

37 years agoAdded nflag, that allows the LLmessage(-1) call, to indicate garbage
ceriel [Wed, 29 Oct 1986 11:27:47 +0000 (11:27 +0000)]
Added nflag, that allows the LLmessage(-1) call, to indicate garbage
at end of program.

37 years agoBug fix. Error recovery did not always work as expected. The generated
ceriel [Wed, 29 Oct 1986 11:16:55 +0000 (11:16 +0000)]
Bug fix. Error recovery did not always work as expected. The generated
parser sometimes assumed that a token would not be deleted, and inserted
tokens in front of it, and then deleted the token after all. It should
at each error, first delete, and then insert.

37 years agoSome name changes in ../../modules/lib.
ceriel [Tue, 28 Oct 1986 17:04:40 +0000 (17:04 +0000)]
Some name changes in ../../modules/lib.

37 years agoMade the trap message more readable.
ceriel [Mon, 27 Oct 1986 10:17:36 +0000 (10:17 +0000)]
Made the trap message more readable.

37 years agoDid not work properly, printed wrong trap number. Does not work
ceriel [Mon, 27 Oct 1986 09:57:42 +0000 (09:57 +0000)]
Did not work properly, printed wrong trap number. Does not work
properly now, because it does no save the registers.

37 years agoTypo corrected
sater [Fri, 24 Oct 1986 16:58:46 +0000 (16:58 +0000)]
Typo corrected

37 years agonewer version with some bug fixes
ceriel [Wed, 22 Oct 1986 15:38:24 +0000 (15:38 +0000)]
newer version with some bug fixes

37 years agoError messages are printed differently now. A '%' in an error message
ceriel [Wed, 22 Oct 1986 15:30:46 +0000 (15:30 +0000)]
Error messages are printed differently now. A '%' in an error message
used to cause difficulties.

37 years agoBug fix involving '\\'.
ceriel [Wed, 22 Oct 1986 13:36:22 +0000 (13:36 +0000)]
Bug fix involving '\\'.

37 years agominor simplification.
ceriel [Wed, 22 Oct 1986 13:36:04 +0000 (13:36 +0000)]
minor simplification.

37 years agominor fix to LLlex.c
ceriel [Tue, 21 Oct 1986 14:45:43 +0000 (14:45 +0000)]
minor fix to LLlex.c

37 years agonewer version
ceriel [Mon, 20 Oct 1986 17:40:41 +0000 (17:40 +0000)]
newer version

37 years agoAdded an entry for the util/cmisc directory.
ceriel [Mon, 20 Oct 1986 15:00:14 +0000 (15:00 +0000)]
Added an entry for the util/cmisc directory.

37 years agoImproved the "clean"-entry
ceriel [Mon, 20 Oct 1986 14:58:25 +0000 (14:58 +0000)]
Improved the "clean"-entry

37 years agoInitial revision
ceriel [Mon, 20 Oct 1986 14:56:37 +0000 (14:56 +0000)]
Initial revision

37 years ago*** empty log message ***
ceriel [Mon, 20 Oct 1986 14:42:41 +0000 (14:42 +0000)]
*** empty log message ***

37 years agoAdded "Modules"
ceriel [Mon, 20 Oct 1986 14:09:09 +0000 (14:09 +0000)]
Added "Modules"

37 years agoAdapted to the use of ../../modules/lib/libstr.a
ceriel [Mon, 20 Oct 1986 13:59:14 +0000 (13:59 +0000)]
Adapted to the use of ../../modules/lib/libstr.a

37 years agoUse our own string-routines "strindex" and "strrindex". At least we
ceriel [Mon, 20 Oct 1986 13:52:16 +0000 (13:52 +0000)]
Use our own string-routines "strindex" and "strrindex". At least we
know their name!

37 years agoUse our own string routines strindex and strrindex. At least we know
ceriel [Mon, 20 Oct 1986 13:48:26 +0000 (13:48 +0000)]
Use our own string routines strindex and strrindex. At least we know
their name!

37 years agoFixed a bug: ack could not see the difference between ".mod" and ".m".
ceriel [Mon, 20 Oct 1986 13:47:26 +0000 (13:47 +0000)]
Fixed a bug: ack could not see the difference between ".mod" and ".m".
This is corrected.

37 years agoCaused a core dump on 68000-based machines (read: non-VAX) when called
ceriel [Mon, 20 Oct 1986 13:28:59 +0000 (13:28 +0000)]
Caused a core dump on 68000-based machines (read: non-VAX) when called
at a certain (high) level of verbosity, -v5 for instance.
Cause: a null-reference. This is fixed.

37 years agoReplaced a few "bss 2" by "bss EM_WSIZE".
ceriel [Mon, 20 Oct 1986 11:28:29 +0000 (11:28 +0000)]
Replaced a few "bss 2" by "bss EM_WSIZE".

37 years agoA new version, that no longer tries to move all null parts to the end
ceriel [Mon, 20 Oct 1986 10:17:57 +0000 (10:17 +0000)]
A new version, that no longer tries to move all null parts to the end
of a segment. It also uses the "object" library to read and write ACK-
object files and libraries.

37 years agoI don't really know why, but the file was changed.
ceriel [Mon, 20 Oct 1986 09:35:51 +0000 (09:35 +0000)]
I don't really know why, but the file was changed.

37 years agoDeleted the #ifdef JOHAN stuff, and
ceriel [Thu, 16 Oct 1986 16:36:00 +0000 (16:36 +0000)]
Deleted the #ifdef JOHAN stuff, and
added a #define MAXSECT.

37 years agoRemoved some ridiculous code.
ceriel [Wed, 15 Oct 1986 13:58:51 +0000 (13:58 +0000)]
Removed some ridiculous code.

37 years agoRemoved part of test 127. It tried a LFR after doing a LOC and an ASS.
ceriel [Mon, 13 Oct 1986 14:45:18 +0000 (14:45 +0000)]
Removed part of test 127. It tried a LFR after doing a LOC and an ASS.
This is of course not allowed.

37 years agoAdded a NOFLOAT define. (Taken from Koen Langendoen)
ceriel [Mon, 13 Oct 1986 14:42:31 +0000 (14:42 +0000)]
Added a NOFLOAT define. (Taken from Koen Langendoen)

37 years agoApparently, ex_ap disappeared. Put it in again.
ceriel [Fri, 10 Oct 1986 15:21:35 +0000 (15:21 +0000)]
Apparently, ex_ap disappeared. Put it in again.

37 years agoOops, forgot to remove the id_first definition.
ceriel [Fri, 10 Oct 1986 15:09:34 +0000 (15:09 +0000)]
Oops, forgot to remove the id_first definition.

37 years agoAdded a "fmt_id" define, to prevent that no '_' is placed in front
ceriel [Fri, 10 Oct 1986 15:05:10 +0000 (15:05 +0000)]
Added a "fmt_id" define, to prevent that no '_' is placed in front
of an identifier longer than 8 characters.

37 years agoempty string was returned when it was not so good.
sater [Thu, 9 Oct 1986 16:15:00 +0000 (16:15 +0000)]
empty string was returned when it was not so good.

37 years agonullpointer and empty string were confused.
sater [Thu, 9 Oct 1986 16:12:24 +0000 (16:12 +0000)]
nullpointer and empty string were confused.
Long live the PDP and VAX

37 years agoAdded RANLIB
ceriel [Thu, 9 Oct 1986 13:21:33 +0000 (13:21 +0000)]
Added RANLIB

37 years agoRemoved the "wordsize" variable. it was'nt needed, as we also have
ceriel [Thu, 9 Oct 1986 11:44:28 +0000 (11:44 +0000)]
Removed the "wordsize" variable. it was'nt needed, as we also have
EM_WSIZE.

37 years agoAddition of some changes by Kees Visser.
ceriel [Thu, 9 Oct 1986 11:09:27 +0000 (11:09 +0000)]
Addition of some changes by Kees Visser.
In packed structures, subrange types now occupy 1 byte if they fit in
1 byte, they occupy 2 bytes if they fit in 2, etc.

37 years agoChanged a test that was word_size and alignment dependant.
ceriel [Thu, 9 Oct 1986 10:37:56 +0000 (10:37 +0000)]
Changed a test that was word_size and alignment dependant.

37 years agonewer version
ceriel [Mon, 6 Oct 1986 20:36:30 +0000 (20:36 +0000)]
newer version

38 years agoThere was an error in test 026. It used local variables but declared none.
ceriel [Tue, 30 Sep 1986 11:13:44 +0000 (11:13 +0000)]
There was an error in test 026. It used local variables but declared none.
This is corrected.

38 years agomodified the treatment of op=, ++ and -- operators
erikb [Mon, 29 Sep 1986 14:01:34 +0000 (14:01 +0000)]
modified the treatment of op=, ++ and -- operators

38 years agomodified the treatment of op=, ++ and -- operators
erikb [Mon, 29 Sep 1986 13:16:11 +0000 (13:16 +0000)]
modified the treatment of op=, ++ and -- operators

38 years agosome very minor changes
dick [Sun, 28 Sep 1986 20:33:15 +0000 (20:33 +0000)]
some very minor changes

38 years agomany bug fixes
ceriel [Thu, 25 Sep 1986 19:39:06 +0000 (19:39 +0000)]
many bug fixes

38 years agoput heavily used pointer variables in registers
erikb [Wed, 24 Sep 1986 13:53:16 +0000 (13:53 +0000)]
put heavily used pointer variables in registers

38 years agoAdded a pattern for "ldc ads".
ceriel [Wed, 24 Sep 1986 12:17:25 +0000 (12:17 +0000)]
Added a pattern for "ldc ads".

38 years agoInitial revision
ceriel [Wed, 24 Sep 1986 11:24:37 +0000 (11:24 +0000)]
Initial revision

38 years agoAddition of new patterns.
ceriel [Tue, 23 Sep 1986 09:41:47 +0000 (09:41 +0000)]
Addition of new patterns.

38 years agochanged ad2str function not to add +0 at labels
sater [Mon, 22 Sep 1986 13:15:15 +0000 (13:15 +0000)]
changed ad2str function not to add +0 at labels

38 years agomade debiug output better
sater [Mon, 22 Sep 1986 13:14:54 +0000 (13:14 +0000)]
made debiug output better

38 years agoif NOPP: made #line directives treated correctly
erikb [Mon, 22 Sep 1986 13:04:04 +0000 (13:04 +0000)]
if NOPP: made #line directives treated correctly

38 years agosome minor fixes
erikb [Wed, 17 Sep 1986 12:31:45 +0000 (12:31 +0000)]
some minor fixes

38 years agochanged some large static data structures into STATIC
erikb [Mon, 15 Sep 1986 08:47:53 +0000 (08:47 +0000)]
changed some large static data structures into STATIC

38 years agoadded one byte to ibuf
erikb [Fri, 12 Sep 1986 12:58:22 +0000 (12:58 +0000)]
added one byte to ibuf

38 years agobuilt in the compile time flag NOFLOAT to get rid of the float stuff
erikb [Fri, 12 Sep 1986 09:16:07 +0000 (09:16 +0000)]
built in the compile time flag NOFLOAT to get rid of the float stuff

38 years agoBug fix: The "cmp.l" instruction was sometimes used in an illegal way.
ceriel [Wed, 10 Sep 1986 16:03:11 +0000 (16:03 +0000)]
Bug fix: The "cmp.l" instruction was sometimes used in an illegal way.

38 years agocorrected the treatment of the <<= and >>= operators
erikb [Wed, 10 Sep 1986 10:23:26 +0000 (10:23 +0000)]
corrected the treatment of the <<= and >>= operators

38 years agosimplified the return expression in loadbuf()
erikb [Tue, 9 Sep 1986 13:49:46 +0000 (13:49 +0000)]
simplified the return expression in loadbuf()

38 years agoset limit on optimization passes to prevent loop
em [Tue, 9 Sep 1986 13:10:15 +0000 (13:10 +0000)]
set limit on optimization passes to prevent loop
in optimizer in case of bad table.

38 years agocorrected the compile-time evaluation of ~<unsigned value>
erikb [Tue, 9 Sep 1986 09:47:43 +0000 (09:47 +0000)]
corrected the compile-time evaluation of ~<unsigned value>

38 years agoAn improvement to prevent calls to the .cuu routine.
ceriel [Fri, 5 Sep 1986 16:35:12 +0000 (16:35 +0000)]
An improvement to prevent calls to the .cuu routine.

38 years agovarious null-dereference problems fixed
erikb [Tue, 2 Sep 1986 15:22:54 +0000 (15:22 +0000)]
various null-dereference problems fixed

38 years agoadded some LINT facilities
erikb [Tue, 2 Sep 1986 15:00:50 +0000 (15:00 +0000)]
added some LINT facilities

38 years agoError fixed where w==2 was assumed
sater [Thu, 28 Aug 1986 10:28:42 +0000 (10:28 +0000)]
Error fixed where w==2 was assumed

38 years agofirst operand to intexpr is arith typed
erikb [Tue, 26 Aug 1986 14:59:36 +0000 (14:59 +0000)]
first operand to intexpr is arith typed

38 years agonewer version with bug fixes
ceriel [Tue, 26 Aug 1986 14:33:24 +0000 (14:33 +0000)]
newer version with bug fixes

38 years agounknown-sized locals retain their type
erikb [Tue, 26 Aug 1986 10:30:39 +0000 (10:30 +0000)]
unknown-sized locals retain their type

38 years agogenerate a con instruction for each character in a string constant
erikb [Mon, 25 Aug 1986 08:47:07 +0000 (08:47 +0000)]
generate a con instruction for each character in a string constant

38 years agosome minor bugs
erikb [Fri, 22 Aug 1986 09:20:13 +0000 (09:20 +0000)]
some minor bugs

38 years agomade less environ and machine dependent
erikb [Fri, 22 Aug 1986 09:10:12 +0000 (09:10 +0000)]
made less environ and machine dependent

38 years agorevised the treatment of "e op= f" expression
erikb [Wed, 13 Aug 1986 10:05:39 +0000 (10:05 +0000)]
revised the treatment of "e op= f" expression

38 years agoadded some #ifdef USE_TMP lines
erikb [Tue, 29 Jul 1986 12:49:38 +0000 (12:49 +0000)]
added some #ifdef USE_TMP lines

38 years agoadded -T<path> option: create temporary file(s) in directory <path>
erikb [Tue, 29 Jul 1986 11:46:00 +0000 (11:46 +0000)]
added -T<path> option: create temporary file(s) in directory <path>

38 years agoAdded a test for BLS with a blockmove of wordsize bytes.
ceriel [Fri, 25 Jul 1986 16:08:56 +0000 (16:08 +0000)]
Added a test for BLS with a blockmove of wordsize bytes.

38 years agoBug fix: the BLS instruction did'nt work with block moves of one word.
ceriel [Fri, 25 Jul 1986 15:57:03 +0000 (15:57 +0000)]
Bug fix: the BLS instruction did'nt work with block moves of one word.

38 years agoinn and set must be word-orientated, not byte-orientated.
ceriel [Fri, 25 Jul 1986 15:01:15 +0000 (15:01 +0000)]
inn and set must be word-orientated, not byte-orientated.

38 years agoBug fix
ceriel [Fri, 25 Jul 1986 14:17:23 +0000 (14:17 +0000)]
Bug fix

38 years agoBug fix
ceriel [Fri, 25 Jul 1986 13:19:51 +0000 (13:19 +0000)]
Bug fix

38 years agoMade tail_mon dependant on tail_mon.a
ceriel [Wed, 23 Jul 1986 11:06:29 +0000 (11:06 +0000)]
Made tail_mon dependant on tail_mon.a

38 years agoAdded a ".sect .text". The text "landed" in the bss segment.
ceriel [Wed, 23 Jul 1986 11:04:40 +0000 (11:04 +0000)]
Added a ".sect .text". The text "landed" in the bss segment.