Commit graph

315 commits

Author SHA1 Message Date
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
ceriel 869e3bdc9a Added lintlib 1987-05-18 13:37:44 +00:00
ceriel b14dd671b5 Added lintlib, minor fixes 1987-05-18 13:34:06 +00:00
ceriel cdf0fa6d6b Added lintlib, minor optim 1987-05-18 13:11:50 +00:00
ceriel ff505d48ed Added lintlib 1987-05-18 13:10:25 +00:00
ceriel 680e0c347c document zero-initialization 1987-05-14 16:51:53 +00:00
ceriel ed582b0752 Added some patterns replacing divides by shifts (done by bruce) 1987-04-29 11:35:00 +00:00
ceriel 4cbff1975f bug fix: decode did not handle quotes within strings right 1987-04-21 19:34:52 +00:00
ceriel 22961f13af Initial revision 1987-04-16 15:57:16 +00:00
ceriel 81b1d21c35 Initial revision 1987-04-13 10:32:47 +00:00
ceriel f67bfc485c moer robust version 1987-03-31 08:16:41 +00:00
ceriel 9c0aa5e7a3 updated 1987-03-29 13:33:37 +00:00
ceriel 4f41981cd8 modified to do more in the presence of errors 1987-03-29 13:07:44 +00:00
ceriel c6cf0725d0 bug fixes 1987-03-29 12:55:25 +00:00
ceriel 8a5f7d09c9 minor mods 1987-03-25 17:54:24 +00:00
ceriel 74a1a176c5 em?.o and C_failed.o must be at the end of the archive 1987-03-18 19:20:38 +00:00
ceriel 10080ca0f2 deleted exit.c 1987-03-17 22:28:15 +00:00
ceriel 321fa30a5f bug fix 1987-03-17 10:44:16 +00:00
ceriel d676a5df2a Bug fix 1987-03-17 10:39:18 +00:00
ceriel e140a87a6b bug fix 1987-03-16 15:11:51 +00:00
ceriel 4549b5129d don't use "void"! 1987-03-12 22:24:19 +00:00
ceriel 60f9d1b6c6 don't use void! 1987-03-12 22:23:17 +00:00
ceriel dbac04eb47 removed the "void" stuff. Some compilers just don't digest it. 1987-03-12 11:33:24 +00:00
ceriel 991c568ee4 moved the definition of sys_filesize. It had a funny place. 1987-03-12 09:30:03 +00:00
ceriel f6083608f9 minor change 1987-03-11 14:19:02 +00:00
ceriel 4f0cb4abe1 Added Rcs Id 1987-03-10 09:24:02 +00:00
ceriel d6e4d5a18c Added copyright notice 1987-03-09 21:20:21 +00:00
ceriel b8835cee3f Added copyright notice 1987-03-09 15:15:03 +00:00
ceriel 55b3557f22 *** empty log message *** 1987-03-04 10:01:01 +00:00
ceriel 25dfa91caa *** empty log message *** 1987-03-04 09:54:23 +00:00
ceriel bb6058feaa Remove .c files after making "all" 1987-03-03 15:52:36 +00:00
ceriel a2da7ad5f8 Don't remove .c files 1987-03-03 15:52:09 +00:00
ceriel c4a8f2371d *** empty log message *** 1987-03-03 08:43:46 +00:00
ceriel c5f0e41be9 clean up the mess after compiling 1987-03-02 19:30:24 +00:00
ceriel 1e10c0cf98 maxchunk definition made static 1987-03-02 08:55:23 +00:00
ceriel 8ed274e96e *** empty log message *** 1987-03-02 08:48:36 +00:00
bruce 2f204ff2ca Initial revision 1987-02-27 16:04:07 +00:00
ceriel 13a3574979 used to dump core on empty files 1987-02-27 09:54:23 +00:00
ceriel 5817719a7c An #endif was missing 1987-02-24 12:38:21 +00:00
ceriel 141753d598 still referred to BadAssertion.c instead of BadAssert.c 1987-02-24 10:45:54 +00:00
ceriel e2ab98dea0 *** empty log message *** 1987-02-23 14:22:16 +00:00
ceriel 3ce0d62f83 Initial revision 1987-02-23 14:14:35 +00:00
ceriel 96f6adb74b *** empty log message *** 1987-02-23 14:06:17 +00:00
ceriel af2b497fdf Initial revision 1987-02-23 11:38:21 +00:00
ceriel 398021e77a Added No_Mem 1987-02-23 11:38:15 +00:00
ceriel f98832f587 *** empty log message *** 1987-02-23 11:23:46 +00:00
ceriel 429502815f Added description of strzero 1987-02-19 11:28:14 +00:00
ceriel 3378831ba5 Made to work with some other compilers 1987-02-13 09:40:08 +00:00
bruce 25a7b2ae22 Added local optimization of lin to lni. 1987-02-09 17:55:46 +00:00
ceriel 375e023d8b Initial revision 1987-02-09 14:55:59 +00:00
ceriel 97e0fbea33 *** empty log message *** 1987-02-09 14:54:29 +00:00
bruce dd673a426f Changed name from .c to .r and now in format required by awk. 1987-02-06 14:21:04 +00:00
bruce 8248a41994 Initial revision 1987-02-06 14:15:49 +00:00
bruce d5e9250405 Use awk program to generate distinct C_xxx routines in separate files. 1987-02-06 14:13:22 +00:00
ceriel e60f0f3981 bug fix 1987-02-06 10:27:57 +00:00
ceriel 4860deacf8 another bug fix 1987-02-05 18:37:12 +00:00
ceriel d5d4c551c5 bug fix 1987-02-05 18:33:44 +00:00
ceriel d0d5c84689 bug fix 1987-02-05 16:39:39 +00:00
ceriel 6ce38d28ae fixed error in call of C_con_scon 1987-02-04 16:03:54 +00:00
ceriel c9fce4aff9 typo fix 1987-01-29 14:54:26 +00:00
bruce 9e61390e78 Corrected clean option to remove libopt.a 1987-01-28 15:39:10 +00:00
bruce 6fb688f882 Ported code to Mantra and general clean up. 1987-01-27 14:15:23 +00:00
bruce bbd5b115dd Changed to reflect location of EMHOME and conform to standard syntax. 1987-01-27 11:42:08 +00:00
ceriel 0991948d3e Removed all those ../../.. references 1987-01-26 16:35:04 +00:00
ceriel 74d48b9b91 bug fix for EM_MESARG 1987-01-26 14:04:33 +00:00
ceriel b4e4250144 added EM_wordsize, EM_pointersize 1987-01-23 16:15:57 +00:00
ceriel df1b8c8f71 corrected typo 1987-01-23 16:04:20 +00:00
ceriel 872cd52f99 Bug fix: EM_MESARG gives em_arg, not em_args! 1987-01-23 16:00:37 +00:00
bruce f4e7c2f6ce Fixed up indentation of trans.c output. 1987-01-22 14:27:02 +00:00
bruce 819136660e Don't put out "return" in outputtrans if action is not tested
otherwise compiling trans.c give warning about statment not reached.
1987-01-21 15:36:18 +00:00
bruce 959800d9b5 Version that implements a C_XXX to O_XXX library interface. 1987-01-21 14:27:04 +00:00
ceriel 4f94fb9ea0 Bug fix (?) 1987-01-20 14:47:49 +00:00
bruce 97cd4953b0 Initial revision 1987-01-15 18:12:26 +00:00
ceriel 0ffdfb4f76 Added rd_fd and wr_fd. 1987-01-13 15:10:23 +00:00
ceriel b2c0f64992 *** empty log message *** 1987-01-13 13:13:50 +00:00
ceriel 6adc4ef78b Added documentation on EM_wordsize and EM_pointersize. 1987-01-12 15:54:16 +00:00
ceriel 9639f0a87b Also export EM_wordsize and EM_pointersize. 1987-01-12 15:42:38 +00:00
ceriel 77f4f0f0c9 Bug fix. 1987-01-09 14:11:59 +00:00
ceriel 7d4d9c5c34 %c did not work on systems that have their bytes or their words reversed. 1987-01-08 17:40:25 +00:00
ceriel 5a0140cf3a Bug fix: order in archive longs is PDP-11 order! 1987-01-08 17:39:37 +00:00
ceriel 3ca2fcad1c added doc for C_init 1987-01-08 16:35:00 +00:00
ceriel 6f5afaa410 Added C_init 1987-01-08 16:20:59 +00:00
ceriel 0a8436a862 Added C_init. 1987-01-08 16:19:16 +00:00
ceriel a26a4f7c9d arhdr --> ar_hdr.
updated docs on rd_arhdr.
1987-01-08 16:05:52 +00:00
ceriel 4219306f55 rd_arhdr now returns 1 if it succeeds, and 0 at end-of-file. 1987-01-08 16:04:20 +00:00
ceriel debef378c9 3 --> 3ACK 1987-01-06 18:54:48 +00:00
ceriel 300ac178de Initial revision 1987-01-06 18:45:35 +00:00
ceriel 70f8f5e921 Initial revision 1987-01-06 18:31:02 +00:00
ceriel 56c9ada9e0 Initial revision 1987-01-06 14:04:26 +00:00
ceriel ec678ff800 removed the Xmalloc entry 1987-01-06 13:46:48 +00:00
ceriel 9cb5c80981 Initial revision 1987-01-06 13:42:33 +00:00
ceriel 0f42cf1bd9 Added a "pr" and an "opr" entry. 1987-01-06 12:59:16 +00:00
ceriel 3d5a9bc78c Added a "pr" and an "opr" entry. 1987-01-06 12:42:31 +00:00
ceriel a7aa5d93ff Initial revision 1987-01-06 11:41:50 +00:00
ceriel 3788350d7c Initial revision 1987-01-06 11:25:09 +00:00
ceriel 56a28240ff Initial revision 1987-01-06 11:05:35 +00:00
ceriel cb96da9bfa Initial revision 1987-01-05 17:37:37 +00:00
ceriel b63bf2720c Initial revision 1987-01-05 17:31:38 +00:00
ceriel eb28fd80f9 Initial revision 1987-01-05 17:20:13 +00:00
ceriel 0de3e4a0af Initial revision 1987-01-05 14:56:11 +00:00
ceriel 2254b35256 Initial revision 1987-01-05 14:44:25 +00:00
ceriel 26326c178e Initial revision 1987-01-05 13:26:29 +00:00
ceriel 8addf6e9a5 Initial revision 1987-01-05 12:59:41 +00:00
ceriel caeb6b311d Initial revision 1987-01-05 10:58:34 +00:00