Commit Graph
100 Commits
Author SHA1 Message Date
ceriel c5d939084e some fixes 1988-10-24 10:35:17 +00:00
ceriel 0b60a0659a moved comment 1988-10-21 17:35:54 +00:00
ceriel 13c621b5e8 changed assert macro to also work with ANSI C compilers 1988-10-21 17:34:20 +00:00
ceriel a4d2164f4a fixed minor problem with subranges 1988-10-21 17:24:34 +00:00
ceriel b98afd7c70 patches to make more suitable for push-pop optim 1988-10-20 15:08:59 +00:00
ceriel 00fed9521a some minor changes 1988-10-20 14:33:55 +00:00
ceriel d646cd1209 Many changes:
- added floating point
- improved assembler part, now uses short encodings when possible
- reduced generated relocation - and name table
1988-10-20 14:21:37 +00:00
ceriel be64cfc96b use common() when possible 1988-10-20 13:28:02 +00:00
ceriel a3cbfd56f3 switch to text segment before generating the label 1988-10-20 13:23:52 +00:00
ceriel af63a7a349 many changes, mostly for efficiency 1988-10-20 13:06:10 +00:00
ceriel 79962c56cd Added common() routine 1988-10-20 13:01:04 +00:00
ceriel cda1118bf8 Added obj_back/common.c 1988-10-20 12:59:21 +00:00
ceriel 0a5dadfe82 Use varargs.h for routine with variable number of args 1988-10-20 12:57:32 +00:00
ceriel 42604d1423 Added missing filenames 1988-10-20 12:56:08 +00:00
ceriel 1448010401 some fixes:
- use Malloc, Realloc instead of malloc, realloc
- generate common for un-initialized bss
- removed null-reference
1988-10-20 12:55:02 +00:00
ceriel bac6e5ea24 Changed name of compiler to m2 1988-10-19 16:44:01 +00:00
ceriel 96ffa24a89 Added vars.s 1988-10-17 12:55:24 +00:00
ceriel 8e68139bd4 made a bit more portable 1988-10-17 10:38:30 +00:00
ceriel 7cc92f5e10 Added .distr 1988-10-14 16:47:39 +00:00
ceriel a6f865db15 improved version, generating .o files with much less relocation records
and name table entries
1988-10-13 15:53:31 +00:00
ceriel 2b111a8ba6 delinted somewhat 1988-10-13 15:43:23 +00:00
dick 1cb464b8b8 driver and manual page added 1988-10-13 11:31:00 +00:00
dick bcf83eb1c4 formats introduced in lint 1988-10-12 16:05:17 +00:00
dick aa4e16a912 formats introduced 1988-10-12 15:49:11 +00:00
dick 1e38c979eb formats introduced 1988-10-12 15:32:32 +00:00
ceriel 85412f3759 many changes: optimize generated code somewhat,
reduce relocation-table size
1988-10-07 16:52:44 +00:00
ceriel c6226c137e Added pascal.ign 1988-10-07 10:59:23 +00:00
ceriel cceb8396d3 Added 1988-10-07 10:58:26 +00:00
ceriel 1dc34bca77 delinted 1988-10-07 10:26:37 +00:00
ceriel c4323d1dc3 Took over addition of -d flag from Erik Baalbergen 1988-10-07 09:48:23 +00:00
ceriel 9d5b1173f8 modified bts2str to also escape double quotes 1988-10-05 16:19:42 +00:00
ceriel 5d6bd5f65f Initial revision 1988-10-05 13:29:42 +00:00
ceriel fafba34a5c Initial revision 1988-10-04 14:27:35 +00:00
ceriel 086acdc527 some mods from Charles Lindsey 1988-10-04 13:59:51 +00:00
ceriel ed6d0225e4 Initial revision 1988-10-04 13:41:01 +00:00
ceriel 95c1a91b24 Initial revision 1988-10-04 10:56:50 +00:00
ceriel 67668218c8 Initial revision 1988-10-04 10:46:47 +00:00
ceriel 3ce78f0ae5 Initial revision 1988-10-04 10:33:39 +00:00
ceriel fbefe2f917 Also pass SRC 1988-10-04 10:04:37 +00:00
dick 36183c5310 simplification of e.out.h 1988-10-03 14:44:39 +00:00
ceriel c38ac1ab87 many minor changes 1988-10-03 10:53:47 +00:00
ceriel 2ac6df159e Coercion from int to float is now always done compile time 1988-10-03 10:09:19 +00:00
dick 1e851471d7 wrong Makefile committed 1988-09-30 16:49:02 +00:00
dick fba38acb21 testing enums in switches/cases 1988-09-30 16:43:04 +00:00
ceriel a277584532 some fixes to procude faster :-) code 1988-09-30 16:13:44 +00:00
dick 35afcd8650 refinements in error reporting 1988-09-30 15:20:24 +00:00
dick 9334204e0f Initial commit 1988-09-30 11:45:14 +00:00
ceriel 3926ec04ab corrected a bit 1988-09-30 09:36:26 +00:00
ceriel 6f2d531f03 Also handle commons 1988-09-29 16:29:11 +00:00
ceriel 54037a42c5 Also handle commons 1988-09-29 16:22:48 +00:00
dick 7795cbe549 lint: additional type tests in expressions 1988-09-29 15:24:02 +00:00
ceriel ebdabbcaee Initial revision 1988-09-28 16:47:47 +00:00
ceriel 9e8d7bc6dd 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 eb533b6430 prevent multiple includes 1988-09-27 09:50:34 +00:00
ceriel cd0de149ae prevent multiple includes 1988-09-26 15:11:25 +00:00
ceriel 7aa9ca2b6a made names more unique 1988-09-26 15:05:00 +00:00
dick 74e032ef1f crash() replaced by ASSERT() & NOTREACHED() in lint 1988-09-26 11:37:38 +00:00
dick 6ac1c9b938 reorganisation of lint code 1988-09-25 17:29:37 +00:00
ceriel f68e907ee4 Added flag to generate SUN .o format 1988-09-23 14:55:27 +00:00
ceriel 18dbc71683 some improvements to manual page and interface 1988-09-22 16:09:18 +00:00
ceriel a5d5091e31 Added l_ files to .distr 1988-09-21 13:32:24 +00:00
ceriel cbc4ae9918 fixed l_dummy.c to also work for the C-compiler,
added lint.h to BigPars and SmallPars,
and added stuff for CODE_EXPANDER and PEEPHOLE to Makefile
1988-09-21 11:48:29 +00:00
dick 5844159c7b introduction of lint source code, governed by ifdef LINT 1988-09-20 16:44:27 +00:00
ceriel a2464a4fa5 fix: resolve forward references if definition is needed in lookfor() 1988-09-20 13:31:57 +00:00
ceriel efdbabf464 fixed: apparently, the profil system-call does not quite work as described
in the manual page?
1988-09-19 16:55:35 +00:00
ceriel 921d6885b1 fixed; did not work properly 1988-09-19 15:07:12 +00:00
dick fe62ccb08d error messages and error handling 1988-09-16 23:19:50 +00:00
ceriel 47a9fdaaf1 Initial revision 1988-09-15 09:49:22 +00:00
ceriel d54cf69538 Added floating point support 1988-09-14 14:06:31 +00:00
ceriel 02bd21e69e corrected 1988-09-14 14:05:11 +00:00
ceriel 5a8c037956 correction for update_ceg 1988-09-14 14:03:50 +00:00
ceriel 718f51e581 initialize oh_stamp fields of header 1988-09-13 09:11:54 +00:00
ceriel 57cc3be42b Added define for CODE_EXPANDER 1988-09-12 14:33:15 +00:00
ceriel 9ff66cb703 Added mechanism to generate C_out 1988-09-12 14:30:22 +00:00
ceriel 0e5807f791 corrected dependencies 1988-09-12 14:05:14 +00:00
ceriel d2568b0659 Added C_insertpart.c 1988-09-12 14:03:51 +00:00
ceriel 28e8e8778b Added C_insertpart etc 1988-09-12 13:59:43 +00:00
ceriel 1f679b93c5 replaced relative includes by <> includes 1988-09-12 09:13:49 +00:00
ceriel 0f09afdd84 fix exit status 1988-09-09 11:36:57 +00:00
ceriel a41d9f0a24 use varargs 1988-09-09 11:32:59 +00:00
ceriel 28c097f31b fix error count on error 1988-09-09 11:25:43 +00:00
ceriel 02974a16b0 renamed update to update_ceg, fixed create_ofiles to make sure that the
.c files are detectably newer
1988-09-08 11:43:03 +00:00
ceriel b2aa988b11 declare SEGHOL 1988-09-08 10:26:18 +00:00
ceriel 293b38b458 Added support for new C_insertpart, C_beginpart, C_endpart functions 1988-09-08 10:24:16 +00:00
ceriel 729ee1f314 declare SEGHOL 1988-09-08 10:01:32 +00:00
ceriel 444bd51224 replaced all ::= by ==> 1988-09-07 14:47:46 +00:00
ceriel 74f80f9c80 correct exit status 1988-09-07 14:47:40 +00:00
ceriel 13b8bcce1a Added install entry 1988-09-07 13:54:26 +00:00
ceriel 9709fe4c0c replace spaces by tabs 1988-09-07 13:39:07 +00:00
ceriel 82bad462cd set_segment now generates legal code for SEGHOL; if used, the code
expander will complain
1988-09-07 13:20:03 +00:00
ceriel a67cf334a5 DS and DE are not man macros 1988-09-07 10:13:36 +00:00
ceriel 13498986a1 DS and DE are not man macros 1988-09-07 10:01:59 +00:00
ceriel fabbe9ed5f FIX: did not handle most of the 'end of basic block' instructions right;
many of them have effect on the stack, and this went by unnoticed
1988-09-07 09:20:37 +00:00
ceriel 871ef07410 return value sometimes was wrong 1988-09-06 15:34:47 +00:00
ceriel f2546a2006 Extended to handle user libraries 1988-09-06 11:28:16 +00:00
ceriel 9be5dcca61 delinted somewhat 1988-09-05 15:51:35 +00:00
ceriel b8e7db1e01 Added stty and gtty 1988-09-02 15:40:45 +00:00
ceriel 1d23e4485e Made to compile with DEBUG off 1988-09-02 13:55:54 +00:00
ceriel 1a8129513d fix: assertion was wrong 1988-09-02 13:52:11 +00:00
ceriel a20ee91475 maybe I got it right this time! 1988-09-02 13:49:07 +00:00