Commit graph

1625 commits

Author SHA1 Message Date
ceriel b0e631d402 Fixed comment 1991-12-12 13:01:00 +00:00
ceriel a93813c1f6 Made acceptable for our ANSI C compiler 1991-12-03 11:03:58 +00:00
ceriel 9e2361fc8f bug fix in generating prototypes 1991-12-03 10:56:40 +00:00
ceriel c36ae7020f Fixed for ANSI-C part 1991-12-02 15:25:01 +00:00
ceriel 7ec968fb03 Always also produce ANSI-C, depending on __STDC__ and __cplusplus 1991-12-02 09:15:04 +00:00
ceriel ec47c06ad7 bug fix in repl_mul and moved call to it so that it is done after pattern matching 1991-11-28 16:59:25 +00:00
ceriel 505494c560 Improved for lint 1991-11-27 13:38:51 +00:00
ceriel 35260bae58 produce ANSI C under -a option 1991-11-26 15:38:41 +00:00
ceriel ca89734a36 Another minor change in manual page 1991-11-25 09:41:30 +00:00
ceriel e0956f63db Minor change in manual page 1991-11-25 09:39:31 +00:00
ceriel 698130c4e2 removed makedepend 1991-11-23 12:43:11 +00:00
ceriel 3a2211512d Removed makedepend 1991-11-23 12:26:02 +00:00
ceriel aa702fa855 Bug fix in multiplication optimization 1991-11-23 12:17:18 +00:00
ceriel 6fa0e5bfb0 Changed copyright notice, made installation less dependent on ACK 1991-11-23 10:41:43 +00:00
ceriel 2b6f5b9b8d Avoid use of 'you' 1991-11-22 13:18:57 +00:00
ceriel 2291dff954 updated manual page 1991-11-20 16:45:25 +00:00
ceriel 17352b8b8d Added code to optimize multiplies with constants 1991-11-20 15:53:11 +00:00
ceriel e9a6af1a42 anm also works on aal archives now 1991-11-18 09:46:53 +00:00
ceriel 839165633b Fixed manual page 1991-11-15 14:41:41 +00:00
ceriel 9c507cc10a Updated ack manual page 1991-11-15 13:37:36 +00:00
ceriel 1af5c80b1b Also preprocess when user explicitly askes for it through -c.i 1991-11-15 12:50:13 +00:00
ceriel eac501941f '\v' is not a K&R character 1991-11-07 09:45:09 +00:00
ceriel 650a132457 Fixed typo 1991-11-07 09:39:30 +00:00
ceriel 17014578be Also remove scan.c on cleanup 1991-11-07 09:35:35 +00:00
ceriel 791246001f '\v' is not a K&R character 1991-11-07 09:34:02 +00:00
ceriel 2e58c2438f '\v' is not K&R C 1991-11-06 14:36:25 +00:00
ceriel 4e99d889ff Changed manual page installation mechanism 1991-11-05 15:31:14 +00:00
ceriel 3da953fa85 Added grind support 1991-11-01 11:53:42 +00:00
ceriel 03e1bea097 Added some tests and changed ordering mechanism 1991-11-01 10:37:26 +00:00
ceriel 0633c900a8 Some fixes to ashow, and also install it 1991-10-31 11:04:02 +00:00
ceriel 0b32f6d32f prevent null reference 1991-10-31 10:01:34 +00:00
ceriel 35dc8e74d0 Improved lint entry 1991-10-29 09:26:01 +00:00
ceriel d747702ae9 Corrected lintlib entry 1991-10-29 09:24:48 +00:00
ceriel 7213f2527b Pass COPTIONS, not CFLAGS 1991-10-25 15:23:01 +00:00
ceriel 69026d6c17 Bug fix: used field of freed struct 1991-10-25 14:27:59 +00:00
ceriel 49a64df069 do not depend on sys/wait.h, it does not always exist 1991-10-25 11:18:29 +00:00
ceriel 4daf59e3d2 Made more portable by not depending on a.out.h file 1991-10-22 13:31:36 +00:00
ceriel 0c8514a9ed NSIG is not always defined 1991-10-22 09:07:31 +00:00
ceriel 1bde03203a Fixed typo 1991-10-21 14:17:32 +00:00
ceriel 615e30bdd4 Added compilation rule for scan.c 1991-10-21 14:13:29 +00:00
ceriel 51f8a3b798 cleanup better 1991-10-21 13:59:48 +00:00
ceriel e8d165a4a6 cleanup better 1991-10-21 13:26:50 +00:00
ceriel 80293fbc82 Make target writable 1991-10-18 10:07:38 +00:00
ceriel 96893d0092 Make targets writable 1991-10-18 09:58:52 +00:00
ceriel 147bb196b2 generate Version.c 1991-10-16 13:07:28 +00:00
ceriel 43248fb244 improved installation mechanism 1991-10-14 11:39:24 +00:00
ceriel 33ec8e07ed improved installation mechanism 1991-10-14 09:38:04 +00:00
ceriel da6ac05990 Updated 1991-10-14 09:33:55 +00:00
ceriel 20a7f7b188 improved installation mechanism 1991-10-14 09:18:33 +00:00
ceriel 64eacb4c9f Do not install lintlib by default: maybe lint is not installed yet 1991-10-09 19:12:52 +00:00
ceriel df3ae6c2fb Updated 1991-10-08 10:04:53 +00:00
ceriel 0d055f2272 Added some patterns 1991-10-04 11:10:07 +00:00
ceriel 2b7aae3b44 Added support for volatile 1991-10-02 13:03:31 +00:00
ceriel a28c551213 ip_spec.h is moved 1991-10-01 17:37:21 +00:00
ceriel fe6cddde09 Moved ip_spec.h to h directory 1991-10-01 16:24:49 +00:00
ceriel 7551b8e83a Changes to manual page 1991-10-01 12:18:39 +00:00
ceriel 3e17bc4188 Hidden name 'not_implemented' 1991-09-30 09:26:09 +00:00
ceriel 3a0c4d8704 Adapted for SPARC. LBRAC not reliable 1991-09-27 14:58:30 +00:00
ceriel 90279a0a36 Also include back.h 1991-09-26 12:55:43 +00:00
ceriel c17ce93d9e Several fixes 1991-09-25 10:30:45 +00:00
ceriel 8661cdb40b Added {} around generated for-loop 1991-09-25 10:29:00 +00:00
ceriel 571ad3216b Fixed proto.make 1991-09-20 10:39:07 +00:00
ceriel 717cfbd921 improved test entries 1991-09-18 19:39:02 +00:00
ceriel 90370cbc29 one more minor change: display name of file being compiled 1991-09-18 18:40:55 +00:00
ceriel f84b365280 minor changes 1991-09-18 18:39:11 +00:00
ceriel b0b814befd Forgot next.c 1991-09-18 10:16:06 +00:00
ceriel 369776173a Fixed: em_path now resides in config 1991-09-18 10:14:52 +00:00
ceriel d3b2458f24 Fixed array bound error. Amazing that it worked on a SUN-3 1991-09-17 10:39:20 +00:00
ceriel c2bcab0685 Fixed proto.make 1991-09-16 11:09:10 +00:00
ceriel 728dc323cd Fixed proto files 1991-09-16 09:59:09 +00:00
ceriel 9e2e9cc6f7 Fixed 1991-09-16 09:38:58 +00:00
ceriel d3254e4bb7 Added ops.c and ops.h 1991-09-13 15:13:59 +00:00
ceriel 884e02e822 fix: make.ops takes a parameter 1991-09-13 15:09:38 +00:00
ceriel bdf6bc6f87 Added grind 1991-09-13 15:05:49 +00:00
ceriel 65454de06c Fixed proto.make 1991-09-13 14:56:50 +00:00
ceriel 712ae25e0d No longer made with amake 1991-09-13 14:53:27 +00:00
ceriel cd8141b705 Fixed proto.make 1991-09-13 11:20:27 +00:00
ceriel 0182322630 Fixed proto.make 1991-09-13 11:00:50 +00:00
ceriel 7d5231279f Fixed 1991-09-13 10:24:29 +00:00
ceriel c9c46c1ec1 Fixed 1991-09-13 10:12:17 +00:00
ceriel e5052d73e4 fix: make directory lib.bin/ego 1991-09-13 10:07:37 +00:00
ceriel e73d9b09a4 Identifier name change; tmpnam is reserved 1991-09-13 09:59:54 +00:00
ceriel b10eadb10e Fixed problem with parameter counts 1991-09-13 09:15:36 +00:00
ceriel 90e969b5ba scan.c must be read-write 1991-09-12 16:22:48 +00:00
ceriel 3bbf316395 Added Makefile to do a 'make distr' 1991-09-10 09:55:38 +00:00
ceriel 8caa154b25 new installation mechanism 1991-09-06 15:37:13 +00:00
ceriel 528ce00522 Added 1991-09-06 15:36:00 +00:00
ceriel ad5b31be99 Distribute proto.make, not Makefile 1991-09-06 13:58:59 +00:00
ceriel edaf2a01f4 new installation mechanism 1991-09-05 16:35:56 +00:00
ceriel 4ceac64530 new installation mechanism 1991-09-05 11:56:23 +00:00
ceriel db67ceebc9 LIBS was not used; removed it 1991-09-05 11:52:04 +00:00
ceriel bb82ab2c09 New installation mechanism 1991-09-05 11:50:17 +00:00
ceriel 3e9c44cef7 new installation mechanism 1991-09-05 11:43:36 +00:00
ceriel 52d1b0e8aa New installation mechanism 1991-09-05 11:33:24 +00:00
ceriel 53664c2d1f New installation mechanism 1991-09-05 11:22:37 +00:00
ceriel 3bdfdfc1cf Some fixes 1991-09-05 11:19:37 +00:00
ceriel a2fc0c859c new installation mechanism 1991-09-05 11:10:43 +00:00
ceriel d93bc01d2d New installation mechanism 1991-09-05 11:06:46 +00:00
ceriel 5eb2a9f2fe Fixed error in path name 1991-09-05 10:56:45 +00:00
ceriel e7a1e1cc9c New installation mechanism 1991-09-05 10:56:44 +00:00
ceriel d9f98bc411 New installation mechanism 1991-08-27 10:18:09 +00:00
ceriel 5f652d1e85 removed compare and install 1991-08-27 10:17:25 +00:00
ceriel 112b0cf407 removed ud_locals.h; it was not used 1991-08-27 10:15:59 +00:00
ceriel 2b23822015 Handle entries without name 1991-08-27 09:55:25 +00:00
ceriel 492be74d94 Removed includes with relative paths 1991-08-27 09:45:37 +00:00
ceriel 2c400f6a44 Added u flag 1991-08-27 09:44:53 +00:00
ceriel e7856a2204 New installation mechanism 1991-08-27 09:41:49 +00:00
ceriel 53b7af7a80 New installation mechanism 1991-08-27 09:20:30 +00:00
ceriel 31714c8bf3 parameterized cvtkeywords 1991-08-27 09:09:49 +00:00
ceriel edd602fcdb Keep ms_stb's where they are 1991-08-27 09:08:05 +00:00
ceriel 5d4aa41db7 New installation mechanism 1991-08-27 09:05:27 +00:00
ceriel b1fdacb99c relaxed the ;-terminator requirement for parameters 1991-08-23 16:23:07 +00:00
ceriel 5ca5519c75 Added .distr file 1991-08-21 15:28:46 +00:00
ceriel 42afe4e24e Added .distr file 1991-08-21 15:19:39 +00:00
ceriel c77a7e6d32 Fixed call to mktemp() so that it does not try to change a constant string 1991-06-26 17:32:44 +00:00
ceriel e505a02ad7 produce debugging info 1991-06-26 17:30:48 +00:00
ceriel 47dccc3c67 improved clean entry 1991-06-26 17:30:36 +00:00
ceriel 9f565afcc2 removed unused variable 1991-06-26 17:29:58 +00:00
ceriel 8583ee73f3 Added verbose flag 1991-06-26 17:28:15 +00:00
ceriel 9461e91a9b Patched in D option (feature from Johan) 1991-06-20 14:22:37 +00:00
ceriel 44fda8e7d0 Fixed Makefile 1991-06-05 09:25:20 +00:00
ceriel 2d79ecd203 Fixed a few problems 1991-05-16 13:22:15 +00:00
ceriel 094b1d0742 Fixed missing ; before } 1991-05-16 13:08:32 +00:00
ceriel 7258ccc596 Added some more patterns 1991-04-19 12:03:49 +00:00
ceriel aa35bf7f02 Changed default value of rts to '.' 1991-04-09 15:29:46 +00:00
ceriel 8e8f0b4079 fixed typo 1991-04-05 09:45:11 +00:00
ceriel 71dfb50135 Added some re-ordering patterns 1991-04-04 16:45:31 +00:00
ceriel 0f809c61dc Added some patterns 1991-03-26 18:10:29 +00:00
ceriel 1dff113351 Delinted 1991-03-22 14:26:10 +00:00
ceriel 62bad715c2 Added some patterns for Kees Visser 1991-03-21 09:50:06 +00:00
ceriel 7a0002427d Use of em_flag was wrong: did not use sp_fmnem 1991-03-20 17:31:20 +00:00
ceriel 74ff22b506 Allow for AALMAG as well as ARMAG 1991-03-20 16:24:50 +00:00
ceriel 6bdd99ee7b allow for AALMAG as well as ARMAG 1991-03-20 16:21:53 +00:00
ceriel 5c3b708636 Both aal and arch can read each others archives 1991-03-20 12:45:58 +00:00
ceriel b893ec7013 m_a_i_n --> _m_a_i_n 1991-03-06 14:26:16 +00:00
ceriel ac83fe3815 Removed WORDLENGTH generation program; no longer assume that the machine
on which we compile is the machine on which we run
1991-03-05 13:06:00 +00:00
ceriel 27d53b0d33 Changed #include's 1991-03-05 12:44:05 +00:00
ceriel e264b45120 Changed #include's 1991-03-05 12:16:17 +00:00
ceriel e929b5839f Fixed problem with top-of-stack mechanism on globally optimized code 1991-03-04 15:04:14 +00:00
ceriel e340cea7be Under -t option, temporaries are in the current directory 1991-03-04 15:00:54 +00:00
ceriel 5a8012b084 Replaced driver by C version 1991-03-04 12:59:46 +00:00
ceriel 8f339de43b Prevent possible null-dereference 1991-03-01 14:55:46 +00:00
ceriel e1b6ddca2c Prevent superfluous label generation 1991-03-01 14:54:43 +00:00
ceriel 1903555355 fixed bug with -j option 1991-02-28 14:48:17 +00:00
ceriel bb31795d33 removed -i flag 1991-02-20 09:48:36 +00:00
ceriel 3f922854b3 fixed typo (?) 1991-02-19 16:54:06 +00:00
ceriel 2c31a9b1ac removed -i flag 1991-02-19 16:51:50 +00:00
ceriel 79cb35ec4f Added SLI reduce 1991-02-19 16:45:57 +00:00
ceriel e0be1dfe3a Added byacc and flex to .distr 1991-02-19 16:39:36 +00:00
ceriel 977d93dc67 reduce memory usage (again) 1991-02-01 10:21:39 +00:00
ceriel 2c3dcb0547 modified hash function to deliver same value on 2 byte and 4 byte machines 1991-01-31 15:17:54 +00:00
ceriel ae5dded36f simplified 'tes' mechanism 1991-01-31 15:17:04 +00:00
ceriel 8eff53f8ea Upgraded to Berkeley's version 1.8 1991-01-22 10:58:49 +00:00
ceriel 36e47ad79b yytext is an array in lex, but a char * in flex 1991-01-18 09:43:04 +00:00
ceriel 29b2e6e3d4 initial version 1991-01-16 16:07:50 +00:00
ceriel abb28f949a Corrected some patterns 1991-01-14 17:13:58 +00:00
ceriel 6acdb3e358 Made acceptable for flex (no yylineno, no yymorfl) 1991-01-11 14:35:14 +00:00
ceriel efa476b5b3 Made acceptable for flex 1991-01-11 14:28:59 +00:00
ceriel c26441aa64 Added Berkeley Yacc sources 1991-01-10 11:19:59 +00:00
ceriel 27459757db Changed installation mechanism 1991-01-04 15:01:59 +00:00
ceriel 6cc07a7651 Changed LS/PS, ported to DEC VAX 1990-12-19 11:17:06 +00:00
ceriel 335377da7a changed lint flags, use ms_ego, changed allocation strategy for loops 1990-12-18 11:14:34 +00:00
ceriel 41ca723d96 corrected register save cost counts 1990-12-18 11:13:03 +00:00
ceriel 8b397ebf05 Moved some macros to ../share, changed lint flags 1990-12-17 16:48:31 +00:00
ceriel 5dee3d1b26 Changed lint flags 1990-12-17 16:35:26 +00:00
ceriel 1139272435 Changed types in core allocation routines, changed lint flags 1990-12-17 14:55:03 +00:00
ceriel ab62dda2fc Added -t flag to keep temporaries around 1990-12-17 14:22:09 +00:00
ceriel 4e4d3290d4 use ms_ego, changed lint flags 1990-12-17 14:11:13 +00:00
ceriel a836599f53 removed unused macros, changed lint flags 1990-12-17 13:53:44 +00:00
ceriel b3ff76d859 Changed lint flags 1990-12-17 13:52:53 +00:00
ceriel 8b63334d30 fixed problem with multiple definitions going by undetected 1990-12-17 13:19:31 +00:00
ceriel 2fbdc5447a Changed types in core allocation routines, changed lint flags 1990-12-17 13:15:03 +00:00
ceriel 5e0ec19a91 Changed lint flags 1990-12-17 13:11:13 +00:00
ceriel 50c8fe71c3 changed lint flags, changed macro name, deleted unused macro 1990-12-17 13:09:57 +00:00
ceriel 79444acd83 Changed lint flags 1990-12-17 13:05:24 +00:00
ceriel 4fbd256d14 print some info in comment in tables.c 1990-12-17 12:52:41 +00:00
ceriel 6390348994 Changed print format 1990-12-14 13:57:46 +00:00
eck 916b9e94e9 aligment (yet again) 1990-12-13 14:03:31 +00:00
ceriel 64f8785d20 Added Pascal support 1990-12-11 13:53:01 +00:00
ceriel b3287b2b0f Some fixes: delinted and fixed alignment bug (bloody sizeof strikes again) 1990-12-11 11:10:46 +00:00
ceriel ae8ca35563 made Makefile more portable 1990-11-27 16:41:13 +00:00
ceriel 2a6b538c9b Corrected error messages 1990-11-27 09:39:52 +00:00
ceriel 6dbb3945ff Some more amake simplifications 1990-11-22 12:56:23 +00:00
ceriel d4c2c7ca2c Simplified Amakefile 1990-11-20 13:02:27 +00:00
ceriel 715dd4ef0f don't allow empty format string 1990-11-15 17:00:39 +00:00
ceriel ca5df8b32b Only produce #define for WRD_FMT when FORMAT is used 1990-11-15 10:26:40 +00:00
ceriel dc345354ee Adapted for size of ARM table 1990-11-13 15:04:47 +00:00
ceriel 03a25ece8a don't move ms_ego's 1990-11-13 11:26:04 +00:00
ceriel b089e0d7f8 many changes, delinted 1990-11-12 13:46:31 +00:00
ceriel 354b624cb4 updated manual page 1990-11-07 15:25:24 +00:00
eck e6fd25052a handle 'asp -x' correctly, instead of giving up 1990-11-06 13:22:15 +00:00
ceriel 87a8061e1c Many more changes 1990-11-06 12:23:41 +00:00
ceriel 925b8a76ed fixed bug with reading from standard input 1990-11-02 14:44:37 +00:00
ceriel ab1b54b56d Added sparc description, don't put constants in regs on M68020 1990-11-01 09:37:02 +00:00
ceriel 9aee9cb62f Fixed a few bugs 1990-10-31 15:56:51 +00:00
ceriel 162c1c81e9 Made communication protocol more machine-independant 1990-10-30 15:50:33 +00:00
ceriel 9da96274ae Added 'file ?' and shell escape, and some re-organization 1990-10-29 11:38:35 +00:00
ceriel a94e7b877a corrected subrange handling: char type was not recognized 1990-10-24 16:46:46 +00:00
ceriel 7e58923415 more fixes 1990-10-17 17:00:03 +00:00
ceriel 3672f835fe Too many changes and fixes to mention them all here 1990-10-11 08:42:07 +00:00
ceriel 7f8a099a15 Fixed problem with global names used for statics as well as externs 1990-10-08 11:44:15 +00:00
ceriel eb1326e3ec some more changes and fixes 1990-10-01 11:44:27 +00:00
ceriel e1a20fe944 fixed bug in -I handling 1990-09-27 16:43:51 +00:00
ceriel a6d0f40fc8 Some more changes 1990-09-26 17:32:42 +00:00
ceriel 1f408a38c2 Many more changes 1990-09-25 17:40:47 +00:00
ceriel 5efd4280ee Added patterns 1990-09-25 15:04:55 +00:00
ceriel 1011f9679e fixed typo 1990-09-24 15:22:36 +00:00
ceriel f8de19a427 Some lay-out changes and always use value of LLuserhook 1990-09-24 13:35:28 +00:00
ceriel 096e8368c5 added manual page, some improvements 1990-09-21 16:58:20 +00:00
ceriel fbcee49b7e Some new commands and improvements 1990-09-20 17:51:14 +00:00
eck 65f74f5c72 changed shc.[ch] to tes.[ch] in .distr 1990-09-19 15:14:07 +00:00
ceriel 1feeb94dbf many changes 1990-09-19 14:31:12 +00:00
ceriel 5f592dd6bd Added some C support 1990-09-14 14:37:26 +00:00
ceriel bd18f6c521 many changes 1990-09-12 16:13:59 +00:00
ceriel 24920dfa75 recognize expressions 1990-09-07 14:56:24 +00:00
eck 9915ed4bc2 stupid error fixed: tes shouldn't have worked 1990-09-06 08:59:02 +00:00
eck 5c85d84228 changed stackheight computation to top element size computation
changed some parameters
1990-09-04 17:19:04 +00:00
eck 58355b7041 changed stackheight computation to top element size computation 1990-09-04 16:42:43 +00:00
ceriel dbf9a060c2 Initial version 1990-08-31 18:22:53 +00:00
ceriel 8401d7b9ec Did not handle quotes in C comments right 1990-08-23 15:53:13 +00:00
ceriel 3fb20f5201 made produced itemtab.h file more readable 1990-08-20 15:32:29 +00:00
ceriel c7a5b07da7 fixed bug concerning back-slashes within strings 1990-08-10 17:57:32 +00:00
ceriel 4a34358b6a keep comments in actions; they may be significant (for lint) 1990-08-07 10:48:02 +00:00
ceriel 257c868cc7 don't throw away pseudo's, even if they are not reachable 1990-08-02 16:01:21 +00:00
ceriel 116b6a00bc show some more of the name list entries 1990-08-02 15:58:10 +00:00
ceriel 0c56d078ec bug fix: did not return soon enough 1990-08-01 14:41:18 +00:00
ceriel 05c205181b increase size of yytext buffer 1990-08-01 14:40:22 +00:00
ceriel 79ce5a13a0 only leave ms_std's if prodepth > 0 1990-08-01 14:36:45 +00:00
ceriel eb50492a1f #ifdeffed strange test 1990-08-01 14:34:53 +00:00
ceriel f936a3f35a time optimization is default now 1990-08-01 14:33:08 +00:00
ceriel e3120d2b5f minor change 1990-08-01 14:32:04 +00:00
ceriel 1168708cd0 Added support for S_CRS 1990-07-30 11:56:28 +00:00
eck f321062250 fixed bug with state 1990-07-26 15:08:49 +00:00
ceriel cef36d185e removed g-flag 1990-07-25 17:40:02 +00:00
ceriel 27b1d561b5 do not move ms_std message, added shc.c and shc.h to .distr 1990-07-25 17:10:40 +00:00
eck 2807862aba #if X=3 caused infinite loop 1990-07-25 10:20:44 +00:00
ceriel eab3243973 dumped core on SIM instruction 1990-07-19 10:00:02 +00:00
eck aca2c5f4b1 forgot pop_push.awk 1990-07-18 16:31:32 +00:00
eck 4ef2c70ed3 added stackheight message handling 1990-07-18 14:53:19 +00:00
ceriel 3e27993361 prevent core dump when no args are given 1990-07-18 14:38:48 +00:00
eck 379511e232 added stackheight computation 1990-07-18 14:33:07 +00:00
ceriel 63fe4e0a18 Added patterns 1990-07-12 16:12:17 +00:00
ceriel 266d247470 fixed -I option 1990-06-28 18:06:16 +00:00
ceriel 3ae582dfd7 Added some more patterns 1990-06-25 16:58:33 +00:00
ceriel 4355b05597 Model 3 (Intelligent Calls) implemented (Remco Feenstra & Peter Boersma);
a few bugs fixed
1990-06-21 12:16:31 +00:00
ceriel c7c79e9b42 Model 3 (intelligent calls) implemented 1990-06-21 12:11:50 +00:00
eck 101a129256 fixed some typos 1990-06-19 11:29:20 +00:00
ceriel 45783a1e73 Added a SBS pattern for constant args 1990-06-13 09:59:11 +00:00
ceriel a28eb23f82 fix from Verstoep: free() was called twice on same arg 1990-06-12 10:07:00 +00:00
ceriel 27c1b37c21 change flag -xs to -i, -xm to -m 1990-06-06 16:01:03 +00:00
ceriel 8d1bb88fc9 Added -A option, like -d 1990-06-06 14:37:03 +00:00
ceriel e2b59f6517 Removed some erroneous fclose() calls 1990-05-31 13:54:33 +00:00
ceriel 82b0ef795d fix: IL sometimes removed procedures that could be called indirectly 1990-05-30 11:31:32 +00:00
ceriel ab0d3bf876 Added EM_vars.c 1990-05-23 09:24:55 +00:00
ceriel c336bc86b1 made size of yylex bigger 1990-05-18 11:04:53 +00:00
ceriel a4e5e4eeaa Added a pattern 1990-05-18 10:47:12 +00:00
ceriel e9d214e977 check -m option 1990-05-11 13:11:12 +00:00
ceriel f2b4713c24 cast ptrdiff_t to int for ANSI 1990-04-25 14:23:05 +00:00
ceriel dbd1744edc Use C_out instead if EM_mkcalls 1990-04-23 13:43:05 +00:00
eck 28d6834ae7 forgot ) 1990-03-21 14:46:18 +00:00
eck df33f1eeff adapted directory test for POSIX 1990-03-21 11:13:21 +00:00
ceriel 0b95807664 Added verbose option 1990-03-15 10:44:14 +00:00
eck d3208e42ca changed commented #define's into #undef's 1990-03-14 12:49:16 +00:00
ceriel 3bcec5fe6c Fixed to also handle pseudo instructions 1990-03-14 11:47:09 +00:00
ceriel 11b54f5d47 fix: generated wrong loops 1990-03-14 11:42:28 +00:00
ceriel a082cf03dc allow for % in assembler strings 1990-03-07 16:24:06 +00:00
ceriel 5d01fbf6b8 fixed typo 1990-03-06 13:39:48 +00:00
eck a771c9aa30 added test for directory 1990-03-06 13:10:35 +00:00
ceriel 8ec051b83e Added some patterns 1990-02-28 12:10:19 +00:00
ceriel b0c09c2a94 Added some more patterns 1990-02-28 11:14:39 +00:00
ceriel cba0bbac02 Under the -M option, identifiers were sometimes truncated 1990-02-14 11:57:41 +00:00
ceriel 7c4af80c0f is_rom is boolean, not integer 1990-02-12 15:15:21 +00:00
ceriel abeebac3c1 recognize but ignore -undef flag 1990-02-12 14:33:57 +00:00
ceriel 7761eecc34 removed MKDEP; it is now a cpp option (-d) 1990-02-12 11:47:50 +00:00
ceriel 63d6fe28e7 Added a change suggested by Cees Verstoep 1990-02-12 09:32:04 +00:00
ceriel 3f950c9f17 Added a new operator for ncg: is_rom() 1990-02-09 16:34:17 +00:00
ceriel eaf856c7a0 Added some patterns for unsigned compares 1990-02-09 15:28:46 +00:00
ceriel 626e7b5b06 Added U flag for exit status 0 with unresolved refs 1990-02-09 12:44:37 +00:00
ceriel ba6c223113 only print file names if there is more than one 1990-02-08 15:11:23 +00:00
ceriel e361a5777b remove LLlex #define 1990-02-07 10:53:05 +00:00
ceriel f994b0bf84 Fixed MON instruction: getpid() was wrong 1990-01-31 10:54:26 +00:00
ceriel b3d5eaef01 remove comments in macro texts completely 1990-01-30 18:33:54 +00:00
ceriel 8c6dc46124 allow for multiple parsers within one program 1990-01-29 13:51:32 +00:00
ceriel da48891d6e allow for multiple parsers within one program 1990-01-29 13:45:42 +00:00
ceriel 218b982231 open and close output file in one place 1990-01-29 12:40:43 +00:00
ceriel 4de10af212 Fixed check in COM 1990-01-26 17:12:23 +00:00
ceriel c4c1e6191b Fixed SIG 1990-01-26 16:43:29 +00:00
ceriel b48f529177 Added some mkdep features and fixed a bug 1990-01-26 11:53:08 +00:00
ceriel ae3e9716f5 Added some code for dependency generator 1990-01-23 15:25:21 +00:00
ceriel 01535f998d Removed a call to 'abort'; just a non-zero exit status is enough 1990-01-18 16:35:39 +00:00
ceriel b2f85981ad Bug fix: also use ACKDIR to look for description files 1990-01-18 16:07:42 +00:00
ceriel 6bbcb68a79 added comment 1990-01-16 10:11:45 +00:00
ceriel f48df3b6fe Commented out a wrong warning, as was already done in the C compiler 1990-01-16 10:08:34 +00:00
ceriel b5135607b4 bug fix: #if defined(...) did not work properly 1990-01-15 17:01:36 +00:00
ceriel f0dccf3ca0 wr_fd no longer exists, because the object module now buffers 1990-01-03 14:24:08 +00:00
ceriel e59812782e changed creat mode to 0666 1989-12-19 16:44:57 +00:00
ceriel 9bab5d363c Bug fix in ZRL decoding 1989-12-08 15:04:37 +00:00
ceriel 58eaf6df5b some small fixes 1989-12-06 12:38:18 +00:00
ceriel bf9730d10e corrected clean entry in Makefile 1989-11-29 10:56:11 +00:00
ceriel 3107e638f8 some more speed-up changes 1989-11-22 13:38:37 +00:00
ceriel 99c20a6a08 default size is now large 1989-11-17 16:53:53 +00:00
ceriel 99cae8d6df fix to previous change 1989-11-17 15:19:55 +00:00
ceriel c4ca7db14f improved #line handling 1989-11-17 14:53:05 +00:00
ceriel 9ad5d4b5e0 generate ; after label 1989-11-17 13:15:48 +00:00
ceriel 3868470366 many speed-up changes, resulting in 20-25% speedup, and fixed
serious floating point handling bug
1989-11-13 15:36:12 +00:00
ceriel 38880093e8 fixed typo 1989-11-09 18:12:12 +00:00
ceriel d9d6cc127f Allow more procedure parameters 1989-11-09 11:04:18 +00:00
ceriel 3e80ca51fc generate #defines for MAXREPLLEN, MAXEMREPLLEN 1989-11-08 17:14:52 +00:00
ceriel 410a62e2de fixed some lint complaints 1989-11-08 14:18:57 +00:00
ceriel 1ece6f9107 Added a few more patterns 1989-11-08 12:44:33 +00:00
ceriel d4e3a9d9f6 fixed exit status 1989-11-07 16:17:06 +00:00
ceriel 9b2bc42d92 fixed sed script: \> is special under SunOs 4.0, and the escape was not needed anyway 1989-11-07 16:13:26 +00:00
eck ce1285d2eb format for % was wrong 1989-11-01 10:02:23 +00:00
ceriel 142a703f77 the error() routine did not set err_occurred! 1989-11-01 09:46:16 +00:00
ceriel c2a260ba68 better unknown flags handling 1989-10-31 11:15:23 +00:00
ceriel 67e5a8e7a5 improved check for loop 1989-10-30 15:17:01 +00:00
ceriel 74546bd985 Added a command to kill a register 1989-10-26 15:41:38 +00:00
ceriel 44ff24f085 Also recognize 'defined' without parentheses 1989-10-25 14:23:08 +00:00
ceriel 01f77a03af Added CBO (commutative binary operator) to make it a little easier to
write reordering patterns
1989-10-20 11:59:52 +00:00
eck 46e45d1c2d added CPP variable to Makefile 1989-10-20 10:37:25 +00:00
ceriel cf65fbe6a1 a simple optimization added 1989-10-18 09:22:47 +00:00
ceriel 7f6b39f155 improved: did not work with SunOs 4.0 make 1989-10-16 09:32:05 +00:00
ceriel d7e23d9466 improved: did not work with SunOs 4.0 make 1989-10-16 09:24:52 +00:00
ceriel 0faaec8e3d cleaned up Makefile 1989-10-12 16:18:38 +00:00
ceriel 7255b1aa61 some fixes, f.i. process # in actual parameter list 1989-10-12 11:16:02 +00:00
ceriel c4d23274c9 moved and initialized the C_tmpdir variable; some linkers do not
find it otherwise
1989-10-10 15:06:56 +00:00
ceriel b719750e75 Added code-expander-generator 1989-10-10 14:48:42 +00:00
ceriel bec816346d Added i386 1989-10-10 14:42:59 +00:00
ceriel 0364de3a9c fixed problem: sometimes incorrect labels were generated in case descriptors 1989-10-04 14:39:55 +00:00
ceriel f3a7c72ddb Added some XOR patterns 1989-10-04 14:35:50 +00:00
ceriel 84b9957b17 made to compile under Xenix 1989-08-21 12:46:54 +00:00
ceriel 319d9bcfe0 declaration of sprintf only if __STDC__ is not defined 1989-08-21 11:43:41 +00:00
ceriel a5f950bac7 replaced size_t by siz_t; size_t is reserved for ANSI C 1989-08-21 10:17:49 +00:00
ceriel 3c03d3f68c pc directory no longer distributed 1989-08-16 13:03:58 +00:00
ceriel 9407523510 prevent core dump when the input file is not present 1989-08-15 09:06:26 +00:00
ceriel 048099535a removed old dependency on EM_WSIZE 1989-08-10 09:23:44 +00:00
ceriel 5b23cab8e9 removed old EM_WSIZE dependency 1989-08-09 16:34:27 +00:00
ceriel a1a78e3b70 include mach directory (for con_float) 1989-08-02 10:34:49 +00:00
ceriel a0eb2f398d LIBSUF must be 'a', not 'ma' 1989-07-19 08:56:46 +00:00
ceriel c6cbc82178 merged -m flag with -j flag 1989-07-17 16:40:18 +00:00
ceriel 3e357f311f documented environment variables, changed EM_DIR into ACKDIR 1989-07-17 16:19:10 +00:00
ceriel 09a52b8cf2 fixed a problem with recursive macros: this was not always detected 1989-07-14 09:51:02 +00:00
ceriel cd8f86a7e4 Added descriptions for EM machines 1989-06-27 15:46:58 +00:00
ceriel 58f837cd33 fixed reading of archives 1989-06-27 15:41:47 +00:00
ceriel f781103cb4 removed some useless PushBack's, and added warnings 1989-06-27 11:43:26 +00:00
ceriel f99f25cc5f fix: sizes were the wrong way around for MAXINSTR 1989-06-19 09:57:35 +00:00
ceriel 676aee2213 Added call to C_close in the fatal routine 1989-06-15 19:08:18 +00:00
ceriel 4dfa2310fc continue when an include file is not found 1989-06-15 09:16:27 +00:00
ceriel 64a35f954d leave register messages with a count of 0 1989-06-05 15:47:53 +00:00
ceriel ced856c234 improved fix 1989-05-30 14:50:16 +00:00
ceriel e6fb294aac transform HOL into BSS so that IL does not get confused 1989-05-30 14:32:12 +00:00
ceriel 8f2fe1c003 token references in EM replacements do not work. Give error message 1989-05-30 12:20:54 +00:00
ceriel 6266743c4c static links are not considered read-only anymore 1989-05-30 10:44:34 +00:00
ceriel aaea752423 Added version number to binary 1989-05-29 11:17:40 +00:00
ceriel 4a1f9bbc22 bug fix: did not handle #elif right 1989-05-29 11:11:34 +00:00
ceriel fdcad08fdf fixed typo 1989-05-25 17:22:27 +00:00
dick 0afe372ebb some printf format corrections 1989-04-17 10:10:59 +00:00
ceriel d650e927a7 recognize but ignore #pragma 1989-03-31 10:56:53 +00:00
ceriel 87c1bc774b fix to fix 1989-03-30 15:14:37 +00:00
ceriel 96840e712d fix: prevent unwanted sign-extension in the get4 routine 1989-03-30 09:34:43 +00:00
ceriel 6ac4bb17aa check arguments better 1989-03-29 14:58:42 +00:00
ceriel 61f0a89372 declare extnd_main 1989-03-22 16:55:06 +00:00
ceriel 96c4943ef7 Added extnd_main routine 1989-03-22 16:44:20 +00:00
ceriel d763d3ddeb fixed: beginpart must divert main stream 1989-03-22 16:41:38 +00:00
ceriel a432f84eb0 more fine-tuning 1989-03-20 12:36:22 +00:00
ceriel 11cb7edde4 Also put the unstackset in tables.c, so that ncg can look at it 1989-03-17 16:34:39 +00:00
ceriel bfe38b6f40 no dependencies in suffix rules 1989-03-15 13:28:52 +00:00
ceriel 0975784c8d some changes for more fine-tuning 1989-03-13 14:12:22 +00:00
ceriel 18d134bda7 put saved label in correct segment 1989-03-10 10:08:22 +00:00
ceriel 33992b426d fix: when looking for f.i. C_loe.., forgot to reset to_change when found 1989-03-10 10:06:47 +00:00
ceriel f740dcf176 cleaner versions of Makefiles 1989-03-10 09:47:41 +00:00
ceriel ae34da5376 simplified a bit 1989-03-07 10:33:47 +00:00
ceriel 3370f962a4 undid some changes; they were not effective 1989-03-07 10:29:15 +00:00
ceriel ab1b682800 changed lint flags 1989-03-07 10:27:22 +00:00
ceriel 23f2646704 use general as pointer flag added 1989-03-07 10:24:32 +00:00
ceriel 15449606d1 bug fix: if a case-statement did not have a default, so that the
default is the successor of the block containing the CSA/CSB instruction,
the branch to the CSA/CSB block was not optimized
1989-03-07 10:11:24 +00:00
ceriel 3a3db29339 fix to fix 1989-03-07 09:26:42 +00:00
ceriel d97abb0763 avoid null-reference if some nonterminal is not defined 1989-03-06 18:48:30 +00:00
ceriel bb7b8d6490 fixed problem with size option 1989-03-03 17:53:31 +00:00
ceriel 26e5032b9c Added some patterns 1989-03-03 10:36:42 +00:00
ceriel ac2b7f8d44 replace more multiplies by shifts 1989-03-02 18:56:05 +00:00
ceriel 847c27663b avoid spurious error messages about missing #endif 1989-03-01 13:39:50 +00:00
ceriel c096cc6522 fixed; did not work because there was no dependency on as_lib.a 1989-02-20 15:25:27 +00:00
ceriel 9751e398e3 Made easier to use other compiler 1989-02-16 16:33:29 +00:00
ceriel 00ac6f88a7 empty string in directory list now means current directory 1989-02-16 11:18:44 +00:00
ceriel 76cb7a0b33 Added some comments 1989-02-09 15:58:34 +00:00
ceriel dbe4e49936 New method of calling optimizers; fixed lint entry in Makefile 1989-02-09 14:08:47 +00:00
ceriel 86ace8a020 Fixed lintflags 1989-02-09 11:33:11 +00:00
ceriel dfca9ea600 fixed lint options; Added -O<num> option 1989-02-09 11:22:24 +00:00
ceriel 6fc4ca1ae0 The s option now gives a percentage of the size of the input 1989-02-09 10:18:48 +00:00
ceriel e2fe3fec2c increment error count on errors 1989-02-07 09:50:28 +00:00
ceriel 929716a621 Improved label handling and handling of jumps to jumps 1989-02-06 14:39:08 +00:00
ceriel e0c7813927 Added some patterns for LOC LOC CII followed by test on (in)equality to 0 1989-02-06 14:38:21 +00:00
ceriel 732d0eac5c Bug fix in cast 1989-02-06 14:38:00 +00:00
ceriel 0ec10de716 Use our own preprocessor, added dependencies 1989-02-06 14:37:51 +00:00
ceriel c52b10c115 many changes, to make the make_* files more portable 1989-02-02 14:45:26 +00:00
ceriel 91853768f7 name changes 1989-02-02 14:41:24 +00:00
ceriel 42b647d9a9 as_back/const.h is deleted 1989-02-02 14:36:34 +00:00
ceriel 3adeb611df include back.h file 1989-01-27 16:41:04 +00:00
ceriel b0fdc82616 put table in alphabetical order again 1989-01-26 17:10:18 +00:00