Commit graph

353 commits

Author SHA1 Message Date
ceriel f63613844b Added em_codeO.h 1989-10-11 15:13:07 +00:00
ceriel de6b8d9108 Added em_opt 1989-10-11 12:43:53 +00:00
ceriel 1525e12aee mkstrct.o ended up in the archive twice 1989-10-09 15:03:01 +00:00
ceriel 9197c959dc recursive calls to sametest routine were wrong; How could this ever work? 1989-10-06 14:53:49 +00:00
ceriel 10a379dc8a latest Makefile Version 1989-10-04 11:12:57 +00:00
ceriel 96562f964d This is the 4th distribution version 1989-10-04 11:02:39 +00:00
cvs2hg 42e84d8dd2 fixup commit for tag 'distr3' 1989-10-04 10:56:17 +00:00
ceriel 9a92f57752 Initial revision 1989-10-04 10:56:16 +00:00
ceriel 8ee1e318a3 Added em_codeCE.h to repository and to .distr file 1989-08-21 13:12:51 +00:00
ceriel 8279a37642 made more ANSI conformant 1989-08-09 16:25:50 +00:00
ceriel be3597ddbe fixed: arguments to fputs were the wrong way around 1989-08-09 16:22:59 +00:00
ceriel 94a4bbb268 some fixes: representation for 0, and corrected check for overflow 1989-08-01 16:34:01 +00:00
ceriel 3e194345cf Added #define for buffer size needed for flt_flt2str() 1989-07-31 13:05:51 +00:00
ceriel 990e7a67da Added some assertions 1989-07-31 12:55:33 +00:00
ceriel 53ce9da827 fixed some bugs, added flt_umin 1989-07-28 14:13:39 +00:00
ceriel b1ee8fe36b fixed a problem with the store: we sometimes lost some memory 1989-07-17 15:13:09 +00:00
ceriel b07825aee3 exponent was wrong in divide routine; corrected 1989-07-13 11:18:02 +00:00
ceriel 02c5bf9140 changed lay-out of manual page a bit 1989-07-12 09:48:15 +00:00
ceriel f62db3f3c6 Added #define for Free, improved text 1989-07-11 17:02:07 +00:00
ceriel c483664bb1 made names of some files shorter 1989-07-11 11:38:52 +00:00
ceriel 1e9c82d6e5 made to work, and added the b64 shift routines to the interface 1989-07-11 09:15:17 +00:00
ceriel 1c848c8db3 Added flt_arith 1989-07-10 11:25:02 +00:00
ceriel c20a2155fa Initial revision 1989-07-10 11:17:19 +00:00
ceriel 46b57440a0 made a bit more robust 1989-06-30 14:46:27 +00:00
ceriel 1205b95090 use different (better) hashing algorithm 1989-06-19 11:17:41 +00:00
ceriel c48f281b39 Avoid I/O buffering when using the checking malloc 1989-06-19 11:10:58 +00:00
ceriel e2b5163869 avoid a null-reference 1989-06-19 11:09:44 +00:00
ceriel 4220dc1479 some fixes 1989-05-16 14:48:47 +00:00
ceriel 948aa06740 fixed: signed divide by power of 2 not equivalent to shift-right 1989-05-02 18:00:37 +00:00
ceriel 6877184666 improved version with better PushBack 1989-04-04 14:49:31 +00:00
ceriel 4797a7d4ce make realloc behave like most Unix realloc versions when handed a
null pointer
1989-03-29 12:58:18 +00:00
ceriel 1e3877b595 documented null-string behaviour 1989-03-16 15:41:43 +00:00
ceriel 8aee01de95 made easier to compile with different compiler 1989-02-20 15:29:10 +00:00
ceriel 9751e398e3 Made easier to use other compiler 1989-02-16 16:33:29 +00:00
ceriel 188b1df96d fixed; the previous change was wrong 1989-02-16 11:14:22 +00:00
ceriel 9baa112ea1 Handle empty string in search path; It means: current directory 1989-02-16 10:48:06 +00:00
ceriel 5a4933ff7f Try to allocate to the next power of 2, instead of just aligning
with GRABSIZE; This way, malloc(1000000) followed by free() followed by
another malloc(1000000) will result in the same block being allocated,
because first_present will now find it
1989-02-10 09:18:19 +00:00
ceriel c64da88289 Added FORMAT information for our lint; Documented the _format routine 1989-02-07 11:17:22 +00:00
ceriel 1e9d815c92 Documented need of em_data.a for libeme.a 1989-02-07 11:11:57 +00:00
ceriel f3c29355f6 simplified a bit to make the resulting optimizer smaller; Added a
constant w2 that can be used in the patterns instead of 2*w
1989-02-02 11:41:31 +00:00
ceriel 2930ebb406 fixed bug: OO_halfflush did not work properly 1989-01-31 10:33:59 +00:00
ceriel f2d5f15e51 fixed wr_arhdr: date and size 1988-11-18 16:06:07 +00:00
ceriel 4b5e5a9764 fixed typo 1988-11-16 13:37:46 +00:00
ceriel 0e895422bc removed include: was already done in nopt.h 1988-11-03 10:03:45 +00:00
ceriel 7a6913dea1 some minor improvements 1988-10-28 13:37:48 +00:00
ceriel e71c873fc1 moved comment 1988-10-21 17:35:54 +00:00
ceriel 0d9daaa18d changed assert macro to also work with ANSI C compilers 1988-10-21 17:34:20 +00:00
ceriel 0f8489fe28 Added .distr 1988-10-14 16:47:39 +00:00
ceriel b909bb629b modified bts2str to also escape double quotes 1988-10-05 16:19:42 +00:00
ceriel 9c8e5b9217 corrected a bit 1988-09-30 09:36:26 +00:00
ceriel 391d115b4d fixes from bruce: there are four, not three types of pattern that the
routine findworst should look for
1988-09-27 11:16:04 +00:00
ceriel 751854f36a prevent multiple includes 1988-09-27 09:50:34 +00:00
ceriel 8a8d0d9151 prevent multiple includes 1988-09-26 15:11:25 +00:00
ceriel 2df4da50da made names more unique 1988-09-26 15:05:00 +00:00
ceriel b533b53690 some improvements to manual page and interface 1988-09-22 16:09:18 +00:00
ceriel f8a9f58006 Parameterize archiver 1988-08-23 13:16:38 +00:00
ceriel 9d6a005bb2 minor change: use int in array index 1988-08-23 12:54:16 +00:00
ceriel 7ee4487924 Added ChPushBack 1988-08-19 13:07:20 +00:00
ceriel e0fd12fd05 removed obsolete comment 1988-07-26 15:15:01 +00:00
ceriel b1dc8c8f52 fixed 1988-07-26 09:53:47 +00:00
ceriel b3efe7e46c should not result in commons; does not work with some ranlibs 1988-07-12 20:34:16 +00:00
ceriel 45bb3b1413 try another SBRK 1988-07-11 14:06:11 +00:00
ceriel 0505a65a74 check results in shell script 1988-07-08 16:10:17 +00:00
ceriel 32c3955be1 don't include too much 1988-07-08 15:51:27 +00:00
ceriel 87901b15ba declare mktemp 1988-07-08 15:31:32 +00:00
ceriel 7f6d1911e2 comment sign at begin of line 1988-07-05 12:56:43 +00:00
ceriel bb3dc913a2 improved; delayed frees did not work anyway 1988-07-05 11:50:11 +00:00
ceriel bbf9b03ef4 changed order in archive 1988-07-05 09:12:07 +00:00
ceriel 1f07fc05a4 fixed bug with linenumber counting 1988-06-29 14:05:37 +00:00
ceriel c03e25dc0d Added sys_rename 1988-06-28 11:12:18 +00:00
ceriel c68c06d0c3 only check duplicate ms_emx 1988-06-15 15:25:50 +00:00
ceriel 62c9bd14ce made to work for distribution 1988-04-19 18:58:08 +00:00
ceriel 347a183428 avoid installation order problem 1988-04-19 17:05:05 +00:00
ceriel 39ee09e442 order was wrong 1988-04-19 16:56:40 +00:00
ceriel 832e4c3e8d order was wrong 1988-04-19 16:55:51 +00:00
ceriel bbe4d39ddd improved stupid test 1988-04-19 16:45:19 +00:00
ceriel 0de242d9bb Added make.sh 1988-04-18 09:18:18 +00:00
ceriel f5be4dafc6 use varargs when needed 1988-04-15 15:34:19 +00:00
ceriel e53d23a925 some minor improvements 1988-04-13 13:05:38 +00:00
ceriel 24d7026a7a corrected comment message 1988-04-13 12:52:40 +00:00
ceriel cdda84eaab minor improvement 1988-04-13 12:40:48 +00:00
ceriel b0715c481b also make a makecalls for code expander 1988-04-11 09:48:59 +00:00
ceriel 7c4afedd26 split into separate include files 1988-04-11 09:47:33 +00:00
ceriel ea4b32d326 parameterize archiver used 1988-01-14 14:10:51 +00:00
ceriel b5d320392c parameterize archiver used 1988-01-14 13:58:44 +00:00
ceriel e873fd637d try to free mem as soon as possible 1988-01-14 13:53:58 +00:00
ceriel fb65cda40f make separate lib for code-expander 1988-01-14 13:50:43 +00:00
ceriel 1f3ad61fd5 parameterize archiver used 1988-01-14 13:44:36 +00:00
ceriel bf37d48ac5 Some minor corrections 1988-01-14 13:40:56 +00:00
ceriel 1ee5101ba7 Some corrections to make it work on small machines 1988-01-14 13:34:42 +00:00
ceriel 629fc3f824 adapted to new em_code module 1988-01-14 13:19:32 +00:00
ceriel d5c423adaf better check if a block was already freed 1988-01-14 11:35:07 +00:00
ceriel a726f7d49e adapted to use new em_code module, and a minor fix 1988-01-14 10:52:36 +00:00
ceriel 2e932ba803 fixed: used wrong index in em_flag 1987-11-23 13:35:34 +00:00
ceriel bffdad9cdc improved a bit 1987-11-17 16:22:13 +00:00
ceriel 4359c699dc completely new version 1987-11-12 12:26:36 +00:00
ceriel 0baf75f779 completely new version 1987-11-12 11:59:31 +00:00
ceriel 7b317f79e2 The 'ahead' mechanism was not right 1987-11-09 11:45:39 +00:00
ceriel 7d0a77821c fixed bug in reading of longs in archive header 1987-11-05 11:55:28 +00:00
ceriel 5f35f2b26b parameterized archiver used 1987-10-15 10:32:12 +00:00
ceriel 149a2abd07 some fixes 1987-09-29 16:07:10 +00:00
ceriel 1eda133f01 Added register decl, re-arranged some code 1987-09-23 14:22:39 +00:00
ceriel 1655b2521f Added a register decl 1987-09-22 16:14:38 +00:00
ceriel dd320002c2 time must be called with a 0-pointer, not with 0! Erikje toch! 1987-09-01 14:18:20 +00:00
ceriel a2d921040d first free-ing and then reallocing did not work properly.
Now, free does nothing, except remembering that a block was freed.
malloc, realloc and free check for this.
1987-08-14 11:52:17 +00:00
ceriel 34bcf4786b make two versions: one for new peephole optimizer 1987-08-06 19:00:21 +00:00
ceriel a5e33acf51 fixed manual page 1987-08-06 18:59:07 +00:00
ceriel a9392483b1 Added files for new peephole optimizer 1987-08-06 18:58:39 +00:00
ceriel 88eaeed762 code improvement 1987-08-06 14:24:08 +00:00
ceriel 5f6b6651e1 fixes 1987-08-06 14:21:01 +00:00
ceriel 912e362f11 minor mods 1987-08-06 14:20:11 +00:00
ceriel ce6a1b9cfc many re-arrangements 1987-08-06 10:48:14 +00:00
ceriel c37193b667 some cosmetic changes 1987-08-03 11:01:19 +00:00
ceriel a203a029cb some cosmetic changes 1987-08-03 09:16:20 +00:00
ceriel 3b038786ad removed the limitation of the next field 1987-08-03 09:07:25 +00:00
bruce 48a4d04b61 Corrected EMHOME in Makefile (yet again) 1987-07-30 09:42:39 +00:00
bruce bf63b12a93 Added removal of dead code patterns 1987-07-29 16:10:27 +00:00
bruce 9e55f02c3b Parser outputs some stats and fixed error is pseudo.r 1987-07-28 11:22:59 +00:00
bruce 545bed355d Converted dfa to use row displacement compaction 1987-07-28 09:37:09 +00:00
bruce 85053cf283 Remove strings library from Makefile 1987-07-22 12:41:46 +00:00
bruce 1c1eed4fd8 Major change: All queues now in same buffer 1987-07-21 13:23:09 +00:00
bruce 287a122d85 remove a couple pieces of trivial lint 1987-07-14 09:15:10 +00:00
bruce 40b9920f8f dfa.c now a routine for each state rather than nested switch statement 1987-07-13 15:03:27 +00:00
bruce dc8d6ce37b Remove free queue and use st_alloc/free from alloc module 1987-07-13 10:07:33 +00:00
bruce c8aaa59e1c New patterns, man page changes, other little fixes 1987-07-10 14:16:32 +00:00
bruce 1b28d14dcb added manual pages for library and stand alone program 1987-07-10 09:08:31 +00:00
bruce e5dd1249b2 Added lint entry to Makefile and removed some things lint complained about 1987-07-09 15:04:03 +00:00
bruce 65aab404ba Corrected clean option in Makefile 1987-07-09 09:14:43 +00:00
bruce 64578a3afd Changed trans.c from switch statement into series of small procedures. Output files from parser now only written if changed 1987-07-09 09:02:41 +00:00
bruce 466637933a Convert to new READ_EM data structure. Build a em_nopt. Input names now O_ and output C_. Add insert part support. 1987-07-07 16:31:16 +00:00
ceriel 8c10914e78 added Realloc, split into separate files 1987-07-06 14:46:00 +00:00
ceriel 5ca1be74b8 bug fix: did not check externals right 1987-07-03 16:41:45 +00:00
ceriel 10caf5c785 The em_argtype sometimes was not set right 1987-07-03 10:35:55 +00:00
ceriel 1310910b23 BASE only used when INCORE 1987-07-01 18:27:00 +00:00
ceriel 83bc77ad51 Added C_insertpart mechanism 1987-07-01 17:24:10 +00:00
ceriel 1487265556 Added seek.c, an interface to the lseek systemcall 1987-07-01 13:00:43 +00:00
ceriel 6161b898cd use proper selector names 1987-07-01 09:52:17 +00:00
ceriel 0e4defe032 again, more consistent naming 1987-06-30 18:59:51 +00:00
ceriel db6c8a8b79 updated 1987-06-30 18:44:08 +00:00
ceriel 480e58cc9f more consistent naming 1987-06-30 17:02:45 +00:00
ceriel a7cb540ae3 [ek]/C_failed.c removed. Now called failed.c 1987-06-30 16:11:19 +00:00
ceriel dce90d9491 all external names start with C_ 1987-06-30 16:09:36 +00:00
ceriel 19ffd2c1f2 all external names start with C_, output buffered 1987-06-30 16:09:18 +00:00
ceriel 329cc47ca6 putbyte --> C_putbyte 1987-06-30 15:24:02 +00:00
ceriel d3031b22b7 fix 1987-06-30 13:17:53 +00:00
ceriel 53d5e42603 minor changes, consistent naming of variables 1987-06-30 13:11:16 +00:00
ceriel 0c5b54219e new version, different interface 1987-06-30 12:55:30 +00:00
ceriel 66bcbd7d66 declare mktemp and strcpy 1987-05-18 14:27:06 +00:00
ceriel 6a52ce38f9 botch and clear have an unsigned as second arg 1987-05-18 14:16:41 +00:00
ceriel e938380cb8 Added lintlib 1987-05-18 13:49:59 +00:00