Commit graph

1770 commits

Author SHA1 Message Date
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
ceriel 766d76e712 moved definitions for extnd routines 1989-01-26 17:08:15 +00:00
ceriel e72a36bbb2 renamed jump, prolog, and locals to C_jump, C_prolog, and C_locals 1989-01-26 15:42:50 +00:00
ceriel 8ae2077591 adapted to no longer need an as.h file 1989-01-26 15:20:56 +00:00
ceriel 945cceccb5 replaced Dutch comment 1989-01-26 14:47:03 +00:00
ceriel 7f0b775587 cleaned up a bit 1989-01-26 14:43:09 +00:00
ceriel 6ee3538d91 cleaned up a bit 1989-01-26 14:39:09 +00:00
ceriel f58722ab46 replaced Dutch comments 1989-01-26 14:27:02 +00:00
ceriel 817facac14 Added prefix C_ to the names prolog, jump, and locals 1989-01-26 14:04:11 +00:00
ceriel e6fb2468c8 change some names 1989-01-26 13:46:19 +00:00
ceriel 709cf50fbd changed identifier Hashitems 1989-01-26 13:41:31 +00:00
ceriel 811321b190 change some names 1989-01-26 13:39:03 +00:00
ceriel 5a18c3748d hide names, and remap public ones 1989-01-26 13:32:57 +00:00
ceriel e92f8ac398 change some names 1989-01-26 13:24:23 +00:00
ceriel 3373e11923 previous fix was wrong; corrected 1989-01-26 10:58:30 +00:00
ceriel 2ec4640e7e Added includes 1989-01-26 10:52:51 +00:00
ceriel 11843b44a1 changed bss() into a macro 1989-01-20 15:19:33 +00:00
ceriel 1c570328f0 fixed parameter types 1989-01-20 15:01:37 +00:00
ceriel b1b4ba9677 Added some conversions 1989-01-20 14:54:55 +00:00
ceriel ac86c49d85 deleted some patterns; they caused loop 1988-12-14 17:55:02 +00:00
ceriel b9417a3a55 Added patterns 1988-12-12 18:22:59 +00:00
ceriel 8e09304da7 Added extra explanation of on_valu field 1988-12-12 12:51:52 +00:00
ceriel 66ae1083a8 Added some patterns 1988-12-08 13:21:07 +00:00
ceriel 8e15d114ac declare holno 1988-12-07 16:00:46 +00:00
ceriel 87d0349814 handle local commons in one place only 1988-12-06 13:22:34 +00:00
ceriel 35b3050d88 fixed typo 1988-11-22 09:21:25 +00:00
ceriel 712ba56ce8 declare procno and holno, extend_ilb changed 1988-11-18 18:00:47 +00:00
ceriel 4757be8bf6 declare procno, extend_ilb changed 1988-11-18 17:57:28 +00:00
ceriel 582ed4da02 declare procno and holno 1988-11-18 17:53:57 +00:00
ceriel a804cc2e15 cleaned up; hidden names 1988-11-18 17:52:39 +00:00
ceriel 7d8e3b8fcd removed mysprint.c 1988-11-18 17:45:02 +00:00
ceriel f452bfc1e1 extnd_ilb changed, declared holno and procno 1988-11-18 17:43:47 +00:00
ceriel 4bacebab18 Use tabgen, so deleted chtab.c 1988-11-16 10:43:15 +00:00
ceriel fda83cb06d Added tabgen + manual 1988-11-16 09:37:04 +00:00
ceriel 19dad4482b fixed to generate only external commons. This cannot be done in common.c
because an external could later be declared static, and a static could later
be declared external.
1988-11-10 13:16:22 +00:00
ceriel cfa5eafd3d fixed typo 1988-11-02 16:33:56 +00:00
ceriel 8cd2051b2e modifications in search for more speed 1988-10-31 16:03:44 +00:00
ceriel 8fab3192b6 modyfications in search for more speed 1988-10-31 15:54:54 +00:00
ceriel 7851ff900f many modyfications in search for more speed 1988-10-31 15:42:15 +00:00
ceriel 63f793aff3 modyfied to generate only one switchseg for each C_ routine 1988-10-31 15:21:47 +00:00
ceriel 4f11f3c3fd fixed bug in preprocessor part:
#define aap(a) a did not work if the actual argument was spread over
multiple lines
1988-10-31 14:10:00 +00:00
ceriel b61011fba9 use common() when possible 1988-10-20 13:28:02 +00:00
ceriel 163bbc5845 switch to text segment before generating the label 1988-10-20 13:23:52 +00:00
ceriel f69a7e3e5d many changes, mostly for efficiency 1988-10-20 13:06:10 +00:00
ceriel a281cc38a4 Added common() routine 1988-10-20 13:01:04 +00:00
ceriel 666367e328 Added obj_back/common.c 1988-10-20 12:59:21 +00:00
ceriel 497792f739 Use varargs.h for routine with variable number of args 1988-10-20 12:57:32 +00:00
ceriel 153a94aad4 Added missing filenames 1988-10-20 12:56:08 +00:00
ceriel ed651bbd04 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 79295ca3ea delinted 1988-10-07 10:26:37 +00:00
ceriel c488a4d491 Took over addition of -d flag from Erik Baalbergen 1988-10-07 09:48:23 +00:00
dick 5578d004bc simplification of e.out.h 1988-10-03 14:44:39 +00:00
ceriel 19698499d6 Also handle commons 1988-09-29 16:29:11 +00:00
ceriel a831fab61d Also handle commons 1988-09-29 16:22:48 +00:00
ceriel 6d3e9fb7af fixed; did not work properly 1988-09-19 15:07:12 +00:00
ceriel eaaa335e50 corrected 1988-09-14 14:05:11 +00:00
ceriel b725b0af8b correction for update_ceg 1988-09-14 14:03:50 +00:00
ceriel 5fd21b16a9 initialize oh_stamp fields of header 1988-09-13 09:11:54 +00:00
ceriel a9c8b67b65 Added define for CODE_EXPANDER 1988-09-12 14:33:15 +00:00
ceriel 2f479b6078 Added mechanism to generate C_out 1988-09-12 14:30:22 +00:00
ceriel 115e92a7dc corrected dependencies 1988-09-12 14:05:14 +00:00
ceriel f2ea210122 Added C_insertpart.c 1988-09-12 14:03:51 +00:00
ceriel 4c8442f1f0 Added C_insertpart etc 1988-09-12 13:59:43 +00:00
ceriel 41d0500d81 replaced relative includes by <> includes 1988-09-12 09:13:49 +00:00
ceriel 5b50914bea fix exit status 1988-09-09 11:36:57 +00:00
ceriel 2d98c32cb2 use varargs 1988-09-09 11:32:59 +00:00
ceriel ec5cff92d8 fix error count on error 1988-09-09 11:25:43 +00:00
ceriel 291b607f4e 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 5c126dd968 declare SEGHOL 1988-09-08 10:26:18 +00:00
ceriel b5f657aba6 Added support for new C_insertpart, C_beginpart, C_endpart functions 1988-09-08 10:24:16 +00:00
ceriel 93c04d3389 declare SEGHOL 1988-09-08 10:01:32 +00:00
ceriel a01ea4d930 correct exit status 1988-09-07 14:47:40 +00:00
ceriel 02fec008a2 Added install entry 1988-09-07 13:54:26 +00:00
ceriel d66b646e58 replace spaces by tabs 1988-09-07 13:39:07 +00:00
ceriel 42560d86ef set_segment now generates legal code for SEGHOL; if used, the code
expander will complain
1988-09-07 13:20:03 +00:00
ceriel 64aae9d435 DS and DE are not man macros 1988-09-07 10:13:36 +00:00
ceriel f78b282fb4 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 79ac11bd40 Made to compile with DEBUG off 1988-09-02 13:55:54 +00:00
ceriel 83b92a8af2 fix: assertion was wrong 1988-09-02 13:52:11 +00:00
ceriel 2540279185 corrected references 1988-08-30 11:40:58 +00:00
ceriel 9a7a7f7f4b Adapted for modula-2 1988-08-25 13:03:13 +00:00
ceriel 2fba044900 ignore exit status of size 1988-08-24 11:15:40 +00:00
ceriel 2deb5cafce remove empty-producing nonterminals 1988-08-23 16:05:19 +00:00
ceriel f75ed26b04 made easier to patch 1988-08-19 14:29:04 +00:00
ceriel 859468b767 made easier to patch 1988-08-19 14:25:59 +00:00
ceriel b1712321e2 made easier to patch 1988-08-19 13:26:27 +00:00
ceriel 282064375d use varargs 1988-08-19 09:22:07 +00:00
ceriel 3a075a7c67 Adapted fort ACK 1988-08-19 09:21:29 +00:00
ceriel 8134a42ee8 adapted for ACK 1988-08-19 09:20:25 +00:00
ceriel 01c8cd6d15 remove files before linking 1988-08-18 16:36:14 +00:00
ceriel 61a911c631 some fixes 1988-08-18 15:32:47 +00:00
ceriel 367e4ac01c Adapted for ACK 1988-08-18 13:48:49 +00:00
ceriel 08bd32f88d modified for ACK 1988-08-18 13:47:56 +00:00
ceriel e7683658b7 modified for ACK 1988-08-18 13:35:09 +00:00
ceriel 057ee4e5cb Added Makefile 1988-08-18 13:15:16 +00:00
ceriel bb01ac81fd to make sure that directories are created ... 1988-08-18 13:12:39 +00:00
ceriel 0f83947e33 Adapted for ack 1988-08-18 11:46:05 +00:00
ceriel 7172fe9816 be a bit more precise in cleanup 1988-08-18 11:04:55 +00:00
ceriel 7e6fe16448 Somewhat adapted for ACK 1988-08-18 11:00:02 +00:00
ceriel 775bda9da0 Added Action file 1988-08-18 08:50:31 +00:00
ceriel e496b6ee02 Added 1988-08-18 08:49:57 +00:00
ceriel 119bc227de use Realloc instead of Srealloc 1988-08-15 15:27:29 +00:00
ceriel e6d132830a fix: line number administration wrong in scan.c 1988-08-09 14:07:39 +00:00
ceriel 87c8b648fc fix in preprocessor part: macro invocation with parameterlist on the
next line did not work
1988-07-29 18:38:25 +00:00
ceriel fb53750ee3 fixed error in declaration of sprintf 1988-07-28 18:18:29 +00:00
ceriel 4f709d86ea clean should remove int 1988-07-27 22:43:19 +00:00
ceriel b1dc8c8f52 fixed 1988-07-26 09:53:47 +00:00
ceriel a0a265736c Initial revision 1988-07-22 19:01:13 +00:00
ceriel 8524608cf3 made easier to patch 1988-07-20 08:53:31 +00:00
ceriel 0695089005 Added CS info 1988-07-19 09:45:59 +00:00
ceriel 9d48a61694 improved i86 description 1988-07-18 17:10:43 +00:00
ceriel 4be6b2ae55 adapted some sizes 1988-07-14 09:33:30 +00:00
ceriel 351429c19c make to work again 1988-07-14 09:15:21 +00:00
ceriel df4c1c8174 some minor fixes 1988-07-12 20:16:13 +00:00
ceriel 2a3a417a29 output with better layout 1988-07-12 15:02:38 +00:00
ceriel 290cb0660d Split in several files. Did not compile on Xenix 1988-07-08 13:57:07 +00:00
ceriel c5d04fbd6a Added some extern delcarations; without them, it did not compile on Xenix 1988-07-08 13:52:52 +00:00
ceriel 9ab5e19576 use $(CC) instead of cc 1988-07-08 11:37:17 +00:00
ceriel 378b233c33 use system id from local.h 1988-07-08 10:37:00 +00:00
ceriel b8b355a0a2 keap type names different from others; some compilers don't like it 1988-07-08 09:14:04 +00:00
ceriel 5faf0b599f identifier name clash resolved 1988-07-05 16:05:11 +00:00
ceriel 5d9471f186 unsigned long is not portable 1988-07-05 15:31:33 +00:00
ceriel 93c8b46781 print memory usage as unsigned 1988-07-05 14:07:19 +00:00
ceriel e35b40b793 spaces replaced by tabs 1988-07-05 14:05:24 +00:00
ceriel 849eeb9f61 handle memory better 1988-07-05 11:51:47 +00:00
ceriel 724d5ba148 use system module for system calls 1988-06-28 11:20:50 +00:00
ceriel 4c7c1867c3 get some info from ACK include files 1988-06-27 15:21:37 +00:00
ceriel 3b32a79997 improved distr entry 1988-06-27 14:52:18 +00:00
ceriel 15cf912949 Added interpreter 1988-06-27 14:51:59 +00:00
ceriel c69f99b644 Put int.1 in this directory 1988-06-27 14:48:30 +00:00
ceriel a578d2eda8 for the time being, do not pass IP_SPEC to the Makefile in switch;
this does not work with relative paths
1988-06-27 11:49:17 +00:00
ceriel 9f795adbc4 added ACK entries to Makefile 1988-06-27 11:08:04 +00:00
ceriel d32e121832 added ACK entries to Makefile 1988-06-27 10:58:44 +00:00
ceriel 5ffe3a4280 added ACK entries to Makefile 1988-06-27 10:51:16 +00:00
dick 0e847669e8 Proper place for directory test 1988-06-24 15:59:07 +00:00
dick 198c8525f2 Initial entry 1988-06-24 15:40:41 +00:00
ceriel e67a70cbea LLscan either macro or function 1988-06-24 14:55:27 +00:00
ceriel 1c801f86eb minor mod: name change 1988-06-24 14:28:13 +00:00
ceriel 123b73506d inline scan 1988-06-24 14:26:35 +00:00
ceriel 71834855e8 generate #define for LL_LEXI in every file 1988-06-24 14:21:07 +00:00
ceriel e1f7d20251 modified generation of token mapping somewhat 1988-06-24 11:48:10 +00:00
ceriel 8bdf3af20c fixed Makefile 1988-06-24 09:37:54 +00:00
ceriel d20bfe4f68 some tables are static now 1988-06-24 09:32:15 +00:00
ceriel a27fac26db hide some names 1988-06-24 09:31:28 +00:00
dick 6214be89c8 Initial entry 1988-06-22 21:48:19 +00:00
dick da943cec51 Initial entry 1988-06-22 17:09:12 +00:00
ceriel 416944b293 Updated to dense switches generation 1988-06-22 17:04:52 +00:00
dick a717832bfb Initial entry 1988-06-22 16:57:09 +00:00
ceriel 4934f830fc Added code to generate dense switches 1988-06-22 16:23:36 +00:00
dick d49fb42d47 Initial entry 1988-06-22 16:22:00 +00:00
ceriel ec40d28c25 Added some patterns to evaluate constant shifts 1988-06-22 13:47:57 +00:00
ceriel 83a22b318c handle SLU like SLI 1988-06-22 11:31:45 +00:00
ceriel dd690a1065 a minor fix 1988-06-22 10:56:04 +00:00
ceriel 627d2060cd Added some code to reduce SLI, then decided against it 1988-06-22 10:41:52 +00:00
ceriel f892470f88 when checking for array computations with SLI, also check at the ADS! 1988-06-21 16:49:52 +00:00
ceriel d25a84511c corrected 1988-06-21 16:20:59 +00:00
ceriel e8f4e47da5 better info for SLI 1988-06-21 16:10:19 +00:00
ceriel 7f5c3ac4f6 made reading of list from description file a bit more general 1988-06-21 15:31:51 +00:00
ceriel 46c8b743f2 run peephole optimizer after inline substitution 1988-06-21 15:20:49 +00:00
ceriel 860230a837 lay-out fix 1988-06-21 15:20:01 +00:00
ceriel e4e7671ab6 Added ACK standard entries 1988-06-20 15:52:55 +00:00
ceriel 5ac6f79a47 Initial revision 1988-06-20 12:46:49 +00:00
ceriel db62807b9b Initial revision 1988-06-20 11:43:45 +00:00
ceriel 9bbab79c2a Added latest change from kaashoek 1988-06-20 11:40:31 +00:00
ceriel 275966674b Initial revision 1988-06-20 11:26:47 +00:00
ceriel f15a6e827a Initial revision 1988-06-20 11:21:01 +00:00
ceriel 701172d318 Added .distr 1988-06-20 11:20:13 +00:00
ceriel 765add698d Initial revision 1988-06-20 11:13:07 +00:00
ceriel fcafcb1700 corrected dependancy list 1988-06-16 17:04:59 +00:00
ceriel e0a4fd1989 some cosmetic changes 1988-06-16 15:06:09 +00:00
ceriel 922eba369d Added doc for new IL option 1988-06-16 10:49:45 +00:00
ceriel dea600f9bf Added option to indicate that whole program is offered 1988-06-16 09:41:51 +00:00
ceriel 35d8ec11fa be a bit more optimistic about gain for pointer registers 1988-06-15 15:28:10 +00:00
ceriel 16e657858a Some improvements 1988-06-15 13:15:41 +00:00
ceriel ed5868aa06 give some more info on global optimizer 1988-06-13 15:57:21 +00:00
ceriel de0048e96b don't throw away external procedures 1988-06-10 15:39:05 +00:00
ceriel f5d3ab845d fixed problem that was introduced by fix of alignment problem 1988-06-06 13:02:41 +00:00
kaashoek e568d54af9 bug removed 1988-05-31 14:12:35 +00:00
kaashoek 6a08adb962 grammar changed 1988-05-31 14:05:41 +00:00
kaashoek f68b18f639 *** empty log message *** 1988-05-31 13:41:03 +00:00
kaashoek 7cc193c460 *** empty log message *** 1988-05-31 13:22:14 +00:00
kaashoek 83b11ebd82 *** empty log message *** 1988-05-31 13:20:28 +00:00
kaashoek f466e4b0e7 skip traling spaces by operands 1988-05-31 13:16:48 +00:00
kaashoek 4e62421f45 The file 'data.h' must also be included. 1988-05-31 12:56:26 +00:00
kaashoek 12db9cf64e Execute_mnemonic() is changed so it won't loop when it can't find the
assembly-mnemonic in the as_table.
1988-05-31 12:54:30 +00:00
kaashoek 60de25db56 ::= replaced by ==> 1988-05-31 09:38:26 +00:00
kaashoek 8ba1ce6f1a Zorgen dat de prioriteit van de 'distance' goed is; haakjes om de expressie
zetten
1988-05-29 15:22:18 +00:00
kaashoek 95b5bdcdc5 Quotes en back-slashes moeten ook speciaal behandeld wordeni in strings. 1988-05-29 13:55:56 +00:00
kaashoek 953ac2b514 Subtiel foutje met haakjes tellen, twee regels moeten omgedraaid worden. 1988-05-29 13:53:57 +00:00
kaashoek a5b6ef2a18 Quotes en back-slahses moeten ook speciaal behandeld worden in strings. 1988-05-29 13:52:54 +00:00
kaashoek 2edf3315d6 Initial revision 1988-05-27 17:07:58 +00:00
kaashoek c7beb3208f Foutje met new-line karakters in een string, precies hetzelfde als bij eval. 1988-05-27 15:25:30 +00:00
kaashoek 6d56874b8f Stom tikfoutje: sitchseg ipv. switchseg. 1988-05-27 14:08:29 +00:00
kaashoek 7f580b3029 De routines C_xxx_fcon() stonden per ongeluk tussen commentaar haken. 1988-05-27 13:58:00 +00:00
kaashoek 28e86b7f15 process_mnemonic() van plaats verhuisd zodat deze nu aangeroepen wordt voor
het zoeken. Dit maakt het mogelijk om de gebruiker gekke karakters uit een
mnemonic te laten verwijderen, bijv. bij 68020 "move.l" --> "move_l".
1988-05-27 10:48:34 +00:00
kaashoek abc9006b8e Stom foutje in vorige verbetering 1988-05-27 09:30:05 +00:00
kaashoek cd73332f77 skip_string() gewijzigd zodat ook instructies met een '.' erin geaccepteerd
worden. Komen voor in de 68020 assembler, bijv. "move.l", "add.l", etc. .
1988-05-27 09:21:37 +00:00
kaashoek 8998c4165d Bij het vervangen van @text2() door print-statements zorgen dat het resultaat
ook 1 statement is: zet er '{' en '}' omheen.
Tevens kunnen de argumenten van een @reloc4() over meerdere regels staan. Dit
levert problemen met het in een string zetten om ze te printen, alle newlines
vervangen door '\\n'.
1988-05-27 08:56:47 +00:00
ceriel 066439ec19 changed int?? to em?? 1988-05-06 13:46:55 +00:00
ceriel b9943e0ca2 minor update 1988-05-03 15:17:13 +00:00
kaashoek b5f619dadd consistent naming 1988-05-03 13:03:07 +00:00
kaashoek 723e024d25 output_back 1988-05-03 12:55:48 +00:00
kaashoek bc28af9d7c close_back() 1988-05-03 12:55:30 +00:00
kaashoek 3afe1ff2e4 open_back() 1988-05-03 12:54:52 +00:00
ceriel 781a1218a5 only increment line number on ASCII LF 1988-05-03 11:30:25 +00:00
ceriel 82c952bdeb updated somewhat; deleted int 1988-04-29 11:16:49 +00:00
ceriel e8d1bdb192 make to work with modified installation script 1988-04-29 09:12:29 +00:00
ceriel 7fbb57dea4 clean entry should not throw away distributed files 1988-04-27 10:57:37 +00:00
ceriel 131d4d9454 align on ints instead of shorts 1988-04-25 10:41:33 +00:00
ceriel fd4bda4865 made more portable 1988-04-21 18:53:31 +00:00
ceriel 750aad12f6 Made a bit more portable 1988-04-19 19:46:28 +00:00
ceriel 540fb5605b Added minix and minixST 1988-04-19 17:16:10 +00:00
ceriel 65f67f48a3 Added m2 as callname 1988-04-18 15:57:28 +00:00
ceriel a9ad34c8db fixed a bug: did not handle %while in FIXED terms 1988-04-18 11:06:55 +00:00
ceriel b7a100b1f5 create lib directory if not present 1988-04-18 10:17:58 +00:00
ceriel 09ed33d12d fixed minor bug: report on used memory was wrong 1988-04-15 16:05:05 +00:00
ceriel a93bf46382 use varargs when needed 1988-04-15 15:43:52 +00:00
ceriel 75345fa915 make a little more robust 1988-04-12 19:34:38 +00:00
ceriel 252d0e0667 minor fix 1988-04-11 09:55:13 +00:00
ceriel 474a3b4584 Added xenix3 to the list of machine-names 1988-04-11 09:51:11 +00:00
ceriel 35cb47328a modified to generate the clashes table in another form too 1988-03-31 10:00:07 +00:00
ceriel 9dccd59665 Added patch for bad fseeks 1988-03-23 18:04:08 +00:00
ceriel 9dce6c6b88 Added patterns for loc sbu and loc adu 1988-03-23 16:52:23 +00:00
ceriel 628b9699e8 adapted to new ip_spec.t 1988-03-15 13:17:42 +00:00
ceriel f62a5c7157 adapted to new ip_spec.t and changed location 1988-03-15 11:43:36 +00:00
ceriel e8f4ce0886 Added the esize program 1988-03-14 14:29:31 +00:00
ceriel 517b1cae36 deleted an #endif, where-ever it came from I dont know 1988-03-14 14:12:49 +00:00
ceriel 41007486bf some compilers (Multimax) did not understand the sizeof constructions used 1988-03-09 11:42:54 +00:00
kaashoek 60278f1c52 ';' forgotten. 1988-02-03 12:55:36 +00:00
kaashoek b3f21c47fc CODE_EXPANDER must be defined before including <em.h>. 1988-02-03 12:48:58 +00:00
kaashoek 990080cc04 create_ofiles must be executed in directory ce. 1988-02-03 11:40:29 +00:00
kaashoek 4ec4554fa5 Syntax error in shell command 1988-02-03 10:58:52 +00:00
kaashoek 474b2eb453 Previous version saw C_INSTR CONDITION as CALL ( e.g. C_asp ( $1 == 1) ). 1988-02-03 10:47:08 +00:00
kaashoek e8f2566542 Don't generate pseudo instructions. 1988-02-03 10:20:58 +00:00
kaashoek 64b4812664 RCS filenames should end with ,v 1988-02-02 15:59:40 +00:00
kaashoek 0ea2930de7 Error in pathnames 1988-02-02 15:53:47 +00:00
kaashoek a0802dce05 Error in pathnames 1988-02-02 15:50:10 +00:00
kaashoek bab6cd29ce Comments added 1988-01-15 16:09:52 +00:00
kaashoek 31efd16916 Comments added 1988-01-15 15:57:35 +00:00
ceriel b90cc5ceb9 make it more K&R C 1988-01-13 11:06:06 +00:00
ceriel bdc37d879e Added some patterns 1988-01-12 13:27:11 +00:00
ceriel a58740c4ee some fixes 1988-01-11 18:24:34 +00:00
kaashoek 055635d63d Comments added. 1988-01-07 16:09:30 +00:00
kaashoek a92a93bc54 Comments added 1988-01-07 15:52:52 +00:00
kaashoek dcf14f338b Comments added 1988-01-07 15:25:34 +00:00
kaashoek 41d9465e89 Made consistent with the file in ../common 1988-01-07 15:15:08 +00:00
kaashoek ed4cfa01c5 Made consistent with file in ../common 1988-01-07 15:12:09 +00:00
kaashoek 544f59b0ea Comment added 1988-01-07 14:52:08 +00:00
kaashoek dc88d56345 Made consistent with the file in directory ../common 1988-01-07 14:49:57 +00:00
kaashoek 31ba9c1471 Made consistent with the file in the directory ../common 1988-01-07 14:48:23 +00:00
kaashoek 79718501d6 Comments added. 1988-01-07 14:40:43 +00:00
kaashoek 9b1533a69b Some routines moved to 'help.c' 1987-12-18 16:23:42 +00:00
kaashoek d69f0ef861 Initial revision 1987-12-18 16:22:16 +00:00
kaashoek 69040a2ae0 File 'assem.c' is changed to 'help.c' 1987-12-18 16:17:29 +00:00
kaashoek 572f8ec9c4 Comment added 1987-12-18 12:17:56 +00:00
kaashoek ecabf96c86 Made consistent with 'arg_type.h' and 'decl.h' 1987-12-18 12:12:50 +00:00
kaashoek 9f510b9172 Comments added.
Made consistent with 'arg_type.h' and 'em_parser.h'
1987-12-18 12:11:58 +00:00
kaashoek a6de718152 Made consistent with 'em_parser.h' and 'decl.h' 1987-12-18 12:10:50 +00:00
ceriel db572116e1 Added a flag to not give warnings 1987-11-27 11:04:07 +00:00
kaashoek 900e979035 *** empty log message *** 1987-11-26 12:14:32 +00:00
kaashoek 4b540c6d7e Initial revision 1987-11-26 12:14:26 +00:00
kaashoek 8202444413 *** empty log message *** 1987-11-26 12:00:32 +00:00
kaashoek 79457dabd1 Initial revision 1987-11-26 12:00:22 +00:00
ceriel c27082938b fix to fix 1987-11-26 10:26:06 +00:00
kaashoek f1a897cec0 Comments added 1987-11-25 14:41:10 +00:00
kaashoek 5ef24f6923 Comments added 1987-11-25 14:22:15 +00:00
kaashoek dcc3eb63c4 Initial revision 1987-11-25 14:18:23 +00:00
kaashoek 1240849cda *** empty log message *** 1987-11-25 14:03:48 +00:00
kaashoek 5865536463 Comments added 1987-11-25 13:55:12 +00:00
kaashoek 152faf2b36 *** empty log message *** 1987-11-25 13:54:01 +00:00
kaashoek 7af2561a91 1987-11-25 13:52:01 +00:00
kaashoek 67ab00564f n 1987-11-25 13:51:25 +00:00
kaashoek a057f8e72c Comments added 1987-11-25 11:49:48 +00:00
kaashoek f1aba7c217 Initial revision 1987-11-25 11:19:38 +00:00
ceriel 067eace890 fixed a bug: a numeric label now kills condition codes 1987-11-24 11:43:51 +00:00
kaashoek ee3e8ed07e *** empty log message *** 1987-11-20 12:07:51 +00:00
kaashoek 02b72945f1 *** empty log message *** 1987-11-20 11:24:45 +00:00
kaashoek 58b70cc7dd *** empty log message *** 1987-11-20 11:15:42 +00:00
kaashoek 75e0c5f7ed Initial revision 1987-11-20 11:12:07 +00:00
kaashoek 9947059dcc Initial revision 1987-11-20 10:41:03 +00:00
ceriel 046dc3d5a9 use $(CC) instead of cc 1987-11-16 10:35:32 +00:00
ceriel f9281be252 fixed an obscure bug in the hash function: sometimes the globstep variable
had a value equal to size! Also, sizes of tables must be prime
1987-11-11 15:05:41 +00:00
ceriel 9dd87881e1 fixed a minor problem with unstacking 1987-11-04 15:55:23 +00:00
ceriel 71df6e6cb8 removed the relative pathnames in #include's 1987-10-20 16:21:44 +00:00
ceriel 0ad68bdb66 fix to Lindseys changes 1987-10-20 16:09:39 +00:00
ceriel e2c9a1a96f fix: there was a problem when more than 2 alternatives started with the same token 1987-10-19 15:35:28 +00:00
ceriel 211d2bcfff The use of {w} in a program line of fe did not work, because ack scans
fe before it scans MACH (which is where most vars are declared).
Reversing the order of the scans caused other problems, related to
callnames. I have therefore delayed the 'scanvars' of program lines
(as is already done with args).
1987-10-19 10:24:52 +00:00
ceriel 93e08cb946 Some minor adaptions 1987-10-15 12:42:55 +00:00
ceriel 8d35578ad2 Parameterized the archiver used 1987-10-14 12:41:38 +00:00
ceriel 31b2f7d9e0 take care of GTO 1987-10-02 12:53:04 +00:00
ceriel 102a2b1061 don't optimize when ms_gto 1987-10-02 12:52:29 +00:00
ceriel 1ac5d9c95a Handle GTO, LOR/STR 0 also use local base 1987-10-02 12:43:54 +00:00
ceriel d2006b19af do not replace LAR/SAR by AAR LOI/STI, when the descriptor is not available 1987-10-02 10:48:38 +00:00
ceriel c0dd8055c2 make variables that are assigned to alive, at least for a short while 1987-10-02 10:41:13 +00:00
ceriel 7f400e5073 print identifier name when multiple declared 1987-10-02 09:55:16 +00:00
ceriel 45c7ab1938 fix in error reporting 1987-09-21 13:21:50 +00:00
ceriel 3ea0fc0fe6 deleted some unused variables 1987-09-03 09:32:21 +00:00
ceriel c9e52b65d4 some minor fixes, and one important 2/4 one in the sbreak function 1987-09-02 18:42:21 +00:00
ceriel c1ffb28416 improved the c-flag, and corrected a bug in the produced relocation info 1987-08-26 13:22:44 +00:00
ceriel 469b3cc1e1 a fix: UID and GID were sign-extended 1987-08-24 09:13:31 +00:00
ceriel 18b7250736 Added a DO_TOSTACK command, and put set number of ALL in tables.c 1987-08-20 19:04:18 +00:00
ceriel 754f9ce45d fixed a problem with the ifdef-stack 1987-08-20 18:12:31 +00:00
ceriel 831cdc7580 fix to previous one. The previous one did not help, this one does 1987-08-20 16:00:18 +00:00
ceriel c8afae83c9 fixed bug with quotes 1987-08-20 15:44:45 +00:00
ceriel 9bcd5473ad minor adaption: index array with int, not long 1987-08-19 15:27:15 +00:00
ceriel d747651237 improved -c option 1987-08-19 14:10:39 +00:00
ceriel d35035fab8 bug fixes: ifval must be an arith, not an int 1987-08-19 10:36:37 +00:00
ceriel d7b2998ebe LLsymb was declared twice 1987-08-19 10:12:34 +00:00
ceriel 123bcfc5e2 fix + some more statistics 1987-08-11 15:31:09 +00:00
ceriel 0300bbf5cb adapted sizes somewhat, made facility to print memory statistics 1987-08-11 14:42:15 +00:00
ceriel 3de7f959d3 fix to fix 1987-08-10 14:06:37 +00:00
ceriel b630da3424 nestlevel count per file 1987-08-10 10:43:51 +00:00
ceriel 7d2f8e4d3e dynamic table sizes, commons in ranlib table 1987-08-10 10:20:52 +00:00
ceriel 16082b9056 some fixes 1987-08-07 19:54:45 +00:00
ceriel 3ea06a4a2a ran out of another static list; made length dynamic 1987-08-07 14:35:21 +00:00
ceriel fec5feef77 deleted a warning 1987-08-06 19:15:40 +00:00
ceriel 60b336dd34 use newer read_em module, + checking library 1987-08-06 18:56:36 +00:00
ceriel 45264c9c25 align sizes 1987-08-06 18:40:02 +00:00
ceriel 6cdc7b47cf OUTTRACE was doubly defined 1987-08-06 14:29:16 +00:00
ceriel 12fe5ce838 fix in font-change 1987-08-06 14:26:45 +00:00
ceriel 6439f09220 fixed a subtle bug: in some obscure cases involving conflict resolvers and
defaults, wrong code was generated
1987-08-05 12:52:15 +00:00
ceriel 040495ff56 fixed another bug with header blocks, and modified to use existing header
block when possible
1987-08-05 09:46:38 +00:00
ceriel 3c6a9b2b96 use malloc, made more robust against errors in line directives 1987-08-04 19:30:14 +00:00
ceriel bcb04a1a76 fix 1987-08-04 19:29:28 +00:00
ceriel 159b84ef68 bug fixes: put header block at end of procedure 1987-08-04 14:13:24 +00:00
ceriel 3883f47fd0 fix in check 1987-08-03 18:03:23 +00:00
ceriel 3ce2cee0a5 Added a break, so that an error message is only given once 1987-08-03 18:00:22 +00:00
ceriel 116a0f81f5 check name offset 1987-08-03 13:22:30 +00:00
ceriel 0e9f072917 yet another fix: outoperand must do nothing with ps_end 1987-07-30 08:59:40 +00:00
ceriel 580bb15076 externals were not handled right 1987-07-29 19:49:15 +00:00
ceriel 3b0057625d did not handle HOL names right (null names) 1987-07-29 10:43:43 +00:00
ceriel 3cd5074594 fix: did not handle externals with big HOL offsets right 1987-07-29 10:39:02 +00:00
ceriel 1d7814737d correction: had deleted a line by accident 1987-07-24 11:58:51 +00:00
ceriel 690a4cfbc6 characters were treated as unsigneds, lines with quotes in them
where not treated correctly
1987-07-24 09:21:24 +00:00
ceriel 7bb843eb0f fixed a bug in a name-changing routine 1987-06-29 14:41:23 +00:00
ceriel 25dd5857c2 minor changes to many files 1987-06-03 19:05:14 +00:00
ceriel 312fe96bbd lseek was not declared 1987-05-25 17:45:57 +00:00
ceriel 02ae5e4d7c bug fix, and made more robust 1987-05-21 13:43:56 +00:00
ceriel 6ac092bf38 core_alloc changed to old one 1987-05-21 10:10:27 +00:00
ceriel 4caf71f5b5 Some changes to handle more on small machines:
a section is now split into parts that fit in core
1987-05-21 10:06:14 +00:00
ceriel 72e27e7dab put mes 2 in front 1987-05-20 14:09:21 +00:00
ceriel 231841bcfe Added some patterns, generate mes 8 after mes 2 1987-05-20 13:56:26 +00:00
ceriel 28bbb40835 bug fix in getarea/freearea 1987-05-13 14:10:11 +00:00
ceriel 985a52b415 some bug fixes 1987-05-12 18:23:09 +00:00
ceriel 46ad9ff041 Added a Giant size 1987-05-12 09:16:15 +00:00
ceriel b3d24d4ec2 removed the limitation on number of include directories 1987-05-11 14:30:12 +00:00
ceriel 85f491555f now generates "uninitialized data" descriptors 1987-04-29 14:54:16 +00:00
ceriel d08b6d58ef removed some defines from tunable.h. They were not used. 1987-04-27 15:57:43 +00:00
ceriel 41da733a19 minor bug fix: dumped core when called with more than one arg 1987-04-23 12:53:54 +00:00
ceriel a142d31a56 Initial revision 1987-04-16 16:04:55 +00:00
ceriel 52f733988e Initial revision 1987-04-16 14:32:50 +00:00
ceriel 24aeb4ac0d Added line_prefix.h 1987-04-15 09:30:37 +00:00
ceriel 7158b3a1f6 different "onerror" handling 1987-04-13 16:34:46 +00:00
ceriel 4805d67ca1 -only generate warnings when there are conflict resolvers but no conflicts,
-handle "onerror" differently
1987-04-13 16:11:50 +00:00
ceriel 81b1d21c35 Initial revision 1987-04-13 10:32:47 +00:00
ceriel 5fde79eab8 3rd distribution 1987-04-13 10:31:48 +00:00
ceriel d94970b0ed bug fix 1987-04-13 08:22:22 +00:00
ceriel ecf8a9b28f Allow for cumulative -V flags. 1987-04-10 18:03:12 +00:00
ceriel 5fbe427853 variable length names 1987-04-09 14:15:25 +00:00
ceriel 0177bf59ff Bug fixes and made faster on PDP-11 1987-04-08 17:15:30 +00:00
ceriel 53a6ded473 fix; %ld is not proper for an int 1987-04-08 15:10:26 +00:00
ceriel e98dffbb1d undid a fix. Actually, the fix was wrong 1987-04-07 09:08:28 +00:00
ceriel 7af2ecb17f minor bug fix 1987-04-03 20:13:08 +00:00
ceriel a85ecb6719 use LDFLAGS, not LFLAGS 1987-04-03 19:58:39 +00:00
ceriel aad62add90 Bug fix: a character was compared to op_lab, which is >= 128. 1987-04-03 16:48:53 +00:00
ceriel 80ff3e60c4 2 last minute-additions (oh dear ...) 1987-04-03 16:21:24 +00:00
ceriel 4fd846804a Seemed to prefer reg_any registers, which caused addresses of procedures
to end up in data registers on the m68020. This is temporarily fixed,
but actually, the descriptor files could be somewhat more general.
1987-04-03 15:38:52 +00:00
ceriel e8bc890c10 improved somewhat 1987-04-03 15:06:25 +00:00
ceriel 86b0bd5df3 Added some more documentation on the global optimizer 1987-04-03 13:14:37 +00:00
ceriel d9f3663dcc Initial revision 1987-04-01 08:28:20 +00:00
ceriel 395b1bc424 Changed strategy somewhat 1987-04-01 08:20:39 +00:00
ceriel b53a5e2540 more robust version 1987-03-31 08:15:22 +00:00
ceriel a7c65b091b use print library 1987-03-29 13:00:40 +00:00
ceriel 19d29e4018 changd values somewhat, added values for small machines 1987-03-27 13:56:50 +00:00
ceriel 4e19ece566 another fix for an illegal initialisation struct 1987-03-26 16:16:21 +00:00
ceriel 3e694c1b9d made names of dynamically varying length 1987-03-25 16:24:41 +00:00
ceriel eeb5148f29 BMASK was unsigned, which caused problems with some C compilers (ours) 1987-03-25 15:57:22 +00:00
ceriel 032929c22c changed IDL 1987-03-25 10:53:47 +00:00
ceriel 9748f946ce Allow ANY to be used in a constraint 1987-03-25 08:35:01 +00:00
ceriel a0897e2ed3 Generated illegal initialization constants. 1987-03-25 07:53:57 +00:00
ceriel 1dd241938c replaced cc by $(CC) 1987-03-24 11:10:23 +00:00
ceriel dcf7aa2723 Also install manual page 1987-03-18 19:15:56 +00:00
ceriel 717af548d5 improved userhook handling, requiring a change in LLnext and LLskip 1987-03-17 22:50:40 +00:00
ceriel 451c0d6679 improved userhook handling, This required some changes in the semantics
of LLnext and LLskip.
1987-03-17 22:41:18 +00:00
ceriel 78303cdc07 improved storage allocation 1987-03-17 22:31:43 +00:00
ceriel f95c97b38c Use LDFLAGS 1987-03-17 16:37:04 +00:00
ceriel bbce3bd894 use LDFLAGS 1987-03-17 16:33:55 +00:00
ceriel 2d9f4d8c03 LDFLAGS: -i 1987-03-17 16:15:32 +00:00
ceriel ee4d170525 Made constants dependant on size of machine 1987-03-17 14:42:12 +00:00
ceriel a6b6375985 Don't switch on longs! 1987-03-17 11:12:09 +00:00
ceriel e203ddb7b6 Don't use the -n option! 1987-03-17 11:02:37 +00:00
ceriel c41f370421 Added LEXLIB 1987-03-16 22:35:21 +00:00
ceriel 52cc95b957 Added a %p (number of positions). The BSD 2.9 lex has a too small default. 1987-03-16 22:28:27 +00:00
ceriel 9a07fc841f Default paths were computed wrong. This is corrected. 1987-03-16 22:26:03 +00:00
ceriel d52e25949a Indirect function calls should be just that! 1987-03-16 15:14:52 +00:00
ceriel 617303659c Deleted reference to unused varaibles 1987-03-16 15:09:36 +00:00
ceriel 2135ccd420 %c does not work with null-bytes on some systems (BSD 2.9) 1987-03-16 08:56:31 +00:00
ceriel 21b427d4df made just a little bit more robust 1987-03-12 22:29:25 +00:00
ceriel 9ab7bf2408 Bug fixes 1987-03-12 19:18:59 +00:00
ceriel 755ea27d46 Added room for data, made room for rom smaller 1987-03-12 17:53:32 +00:00
ceriel 3f566164c2 Bug fixed that prevented "aal x" from working properly 1987-03-12 17:16:04 +00:00
ceriel e0aa93de4c replaced copyright 1987-03-12 08:23:08 +00:00
ceriel 4bbe1cfa65 Added ashow 1987-03-11 17:12:38 +00:00
ceriel 9a3d983659 Initial revision 1987-03-11 17:12:23 +00:00
ceriel 1452a26361 minor mod 1987-03-11 16:15:16 +00:00
ceriel bdebe50836 *** empty log message *** 1987-03-11 15:55:51 +00:00
ceriel e2eeea5162 remove regnoglob.c and regglob.c before copying to them 1987-03-11 15:39:01 +00:00
ceriel f8e02e5d4c Added arch.5 1987-03-11 15:09:25 +00:00
ceriel 32fa870855 Initial revision 1987-03-11 15:07:29 +00:00
ceriel f694435063 minor change 1987-03-11 13:56:17 +00:00
ceriel e86b8463ea minor change 1987-03-11 13:34:07 +00:00
ceriel e03d11afa2 Bug fix. 1987-03-11 11:13:55 +00:00
ceriel 9db939f74e Added sun2 1987-03-11 09:50:23 +00:00
ceriel 96fd613e89 Added a "distr" entry 1987-03-11 09:49:33 +00:00
ceriel 053564d9e9 Added Rcs Id 1987-03-10 11:58:22 +00:00
ceriel 6eaf182cee Added Rcs Id 1987-03-10 11:49:39 +00:00
ceriel 6c812387fd Added copyright notice 1987-03-10 01:42:07 +00:00
ceriel 5537abbdfb Added copyright notice 1987-03-10 01:26:51 +00:00
ceriel 7270bbb7f0 Added copyright notice 1987-03-09 22:11:47 +00:00
ceriel a0eea34497 Added copyright notice 1987-03-09 22:06:21 +00:00
ceriel 49ac6c4e07 Added copyright notice 1987-03-09 21:59:22 +00:00
ceriel 815166e421 Added copyright notice 1987-03-09 19:15:41 +00:00
ceriel c428b33acc replaced return by exit 1987-03-09 14:22:45 +00:00
ceriel 262490efaa Replaced return from main by exit 1987-03-09 13:29:04 +00:00
ceriel 11af9f9716 replaced returns from main by exits (bloody SUN) 1987-03-09 13:25:44 +00:00
ceriel bb787ae7cb Added exit from main 1987-03-09 13:22:45 +00:00
ceriel 1583b4191a Added an exit from main 1987-03-09 13:14:32 +00:00
ceriel 1fdc5a5fe6 replaced returns from main by exits (bloody SUN) 1987-03-09 13:07:42 +00:00
ceriel 717baa8bd8 Added exit to main 1987-03-09 13:04:58 +00:00
ceriel 0bec865e32 Added an exit from main 1987-03-09 13:01:51 +00:00
ceriel 29a4a0266b exit from main, instead of return (bloody SUN) 1987-03-09 12:59:18 +00:00
ceriel 40424d5864 exit from main instead of return (bloody SUN) 1987-03-09 12:55:24 +00:00
ceriel 839be66f85 exit from main instead of return 1987-03-09 12:52:10 +00:00
ceriel fa0f6cd0c6 Lindseys fix to a bug with nested procedures 1987-03-09 10:15:51 +00:00
ceriel 6ac8c31b76 Improved installation procedure 1987-03-05 15:00:13 +00:00
ceriel 8fbd81a884 A wrong flag is no longer fatal 1987-03-05 14:57:15 +00:00
ceriel 66c5ebf42f Only echo the newlines in comments, no formfeeds, etc, because
you don't know what you are preprocessing.
1987-03-05 11:07:16 +00:00
ceriel a3426ca0e2 *** empty log message *** 1987-03-04 16:43:03 +00:00
ceriel 652354e59d Replaced returns from main by exits (bloody suns!) 1987-03-03 11:13:52 +00:00
ceriel 154bb5df06 Now uses BIGMACHINE from local.h 1987-03-02 17:30:37 +00:00
ceriel 5097663cb8 Bug foix 1987-03-02 17:18:11 +00:00
ceriel 04618dbe64 Don't pass -O to lint. 1987-03-02 16:48:46 +00:00
ceriel 721de974ee Bug fix 1987-03-02 16:43:19 +00:00
ceriel 70a459a112 Be a bit more tolerant about line directives. 1987-03-02 16:40:14 +00:00
ceriel eb5d7ef3fe Improved userhooks 1987-03-02 16:15:07 +00:00
ceriel a08ef0e369 *** empty log message *** 1987-03-02 12:54:52 +00:00
ceriel bc1fb58cd6 SHARE --> SHR 1987-03-02 12:42:38 +00:00
ceriel a584a04f03 fixed typo 1987-03-02 12:31:44 +00:00
ceriel b10452c2dc Forced first linedirective with source filename 1987-03-02 08:50:08 +00:00
ceriel 8ed274e96e *** empty log message *** 1987-03-02 08:48:36 +00:00
ceriel e10e56542d *** empty log message *** 1987-02-26 19:41:49 +00:00
ceriel 45bae5569b Deleed mantra4 1987-02-26 16:31:26 +00:00
ceriel 63f1aea871 Added the SUFFIX variable 1987-02-26 12:44:11 +00:00
ceriel 3ab2228a8b *** empty log message *** 1987-02-25 19:10:01 +00:00
ceriel 3b2e80225a *** empty log message *** 1987-02-25 18:54:14 +00:00
ceriel c57a723546 *** empty log message *** 1987-02-24 18:41:53 +00:00
ceriel c05eb0a5c7 *** empty log message *** 1987-02-24 16:07:04 +00:00
ceriel 3edd0994c6 Added ncgg.6 1987-02-24 15:47:05 +00:00
ceriel e51bf3a056 *** empty log message *** 1987-02-24 15:44:46 +00:00
ceriel ac7976eea9 *** empty log message *** 1987-02-24 15:36:34 +00:00
ceriel 40a36c570e vi Ma 1987-02-24 15:32:48 +00:00
ceriel ea8fd6991c *** empty log message *** 1987-02-23 23:35:42 +00:00
ceriel aa2add89cd *** empty log message *** 1987-02-23 23:28:06 +00:00
ceriel 3baea33f46 *** empty log message *** 1987-02-23 19:18:57 +00:00
ceriel d640f098b9 updated to current situation 1987-02-23 19:15:33 +00:00
ceriel 75cfdc06c6 Initial revision 1987-02-23 19:14:34 +00:00
ceriel 925ec7555f bug fix 1987-02-23 15:48:27 +00:00
ceriel 35e75e3d55 Added a dependency 1987-02-23 11:02:31 +00:00
ceriel 6f9a14000c Some minor improvements 1987-02-23 11:01:13 +00:00
ceriel 74be3a448f *** empty log message *** 1987-02-23 10:50:15 +00:00
ceriel 3e3ebc6b8b cardinality of sets was wrong! 1987-02-18 10:47:55 +00:00
ceriel c3ae096e67 *** empty log message *** 1987-02-17 15:07:15 +00:00
ceriel 3f6a8abe1b adapted to allow for user intervention before error recovery 1987-02-16 21:38:52 +00:00
ceriel 255884b3fb Another adaption to allow for user intervention BEFORE error recovery 1987-02-16 21:36:05 +00:00
ceriel 90cae7c6a5 Adapted to search for description files in either
~em/lib/descr/<file> or ~em/lib/<file>/descr
1987-02-13 13:39:30 +00:00
ceriel 0905b2ba25 forgot a continue. 1987-02-12 13:54:37 +00:00
ceriel 9a64c052cc Added some code to handle -Oego,opt,asopt etc 1987-02-10 16:51:57 +00:00
ceriel 2295cd130a Added some code to handle -Oego,opt,asopt and the like.
By default, optimizers can be excluded by giving them a negative
priority in the description files. This is currently done for
the global optimizer
1987-02-10 16:50:32 +00:00
ceriel cd1007a972 removed some %0 stuff 1987-02-10 09:49:50 +00:00
ceriel 9a7949c79d Removed some more "%...D"s 1987-02-10 09:39:40 +00:00
ceriel ced0ffabbd removed some %0 stuff 1987-02-09 17:41:25 +00:00
ceriel 522039cb60 replaced a %D 1987-02-09 17:31:25 +00:00
ceriel 17ddf81681 replaced some %D's 1987-02-09 17:28:22 +00:00
ceriel 8b15b193a2 replaced a %04x 1987-02-09 17:10:29 +00:00
ceriel 4793d80775 replaced some %D's by %ld 1987-02-09 17:06:20 +00:00
ceriel fa59fc325e changed so that it prints a separate line for each dependancy 1987-02-09 15:06:09 +00:00
ceriel 8f4a99cc24 The added ',' separator in token declarations did not work
(reported by Kees Bot, Edwin Scheffer). This is corrected (I hope).
1987-02-07 03:56:34 +00:00
ceriel 13d59d1427 Added cpp to the "clean" entry 1987-02-07 02:58:47 +00:00
ceriel 8360226526 Added "opt2" to the clean entry 1987-02-07 02:57:09 +00:00
ceriel a1c7298f9d changed hash function 1987-02-07 00:14:51 +00:00
ceriel ce47e41665 Another one. 1987-02-06 23:40:25 +00:00
ceriel bdef113184 Bug fix (INPUT, not STDIN !!!) 1987-02-06 23:38:35 +00:00
ceriel d3f3afa6e7 bug fix 1987-02-06 10:03:18 +00:00
ceriel e0b23bbaea Added code to kill regvar(...) 1987-02-05 19:20:54 +00:00
ceriel b11e35b7d4 Adapted some constants 1987-02-05 19:19:01 +00:00
ceriel 74b078c3f1 just for fun: do not call empty rules. 1987-02-05 19:14:55 +00:00
ceriel f5f7a6cb2a *** empty log message *** 1987-02-05 17:02:16 +00:00
ceriel 70fb5304d0 new dependencies 1987-02-05 17:01:12 +00:00
ceriel a40ec68883 Added another structure for improved recursion detection 1987-02-05 17:00:14 +00:00
ceriel 75e9a65bcd Added line_prefix.h 1987-02-05 14:58:24 +00:00
ceriel 78aae09a09 Initial revision 1987-02-05 14:47:47 +00:00
ceriel 467f680968 Adapted to the use of "convert.c" 1987-02-05 14:47:22 +00:00
ceriel 862e62b9e4 *** empty log message *** 1987-02-05 14:47:04 +00:00
ceriel 10f6d88ba1 *** empty log message *** 1987-02-05 14:11:46 +00:00
ceriel 49b619cec2 Added manual page 1987-02-05 13:20:03 +00:00
ceriel 439bf558cc *** empty log message *** 1987-02-05 13:17:00 +00:00
ceriel 6dcf1995c1 Initial revision 1987-02-04 13:10:17 +00:00
ceriel b5d0c2797b *** empty log message *** 1987-02-04 13:09:02 +00:00
ceriel a3aa9aac88 removed the lflag, added check for '/' in filenames 1987-02-04 13:04:51 +00:00
ceriel 60cf3639ce Added "pr" and "opr" entries 1987-02-04 12:54:03 +00:00
ceriel 3c387987ed Added "cmp" entry 1987-02-04 12:51:31 +00:00
ceriel b536e4101d Initial revision 1987-02-04 12:45:43 +00:00
ceriel 85830c5f63 Strings and character constants now stop at end-of-line, unless escaped
by a backslash
1987-02-03 23:28:09 +00:00
ceriel 4b489cd254 Initial revision 1987-01-30 17:10:51 +00:00
ceriel 91463b5a4e Initial revision 1987-01-29 14:17:23 +00:00
ceriel 3d00f0ea37 Adapted to current situation 1987-01-29 13:20:23 +00:00
ceriel c6f26eff9e Corrected syntax error 1987-01-29 09:43:40 +00:00
ceriel 640f958d26 Improved "element size" handling. 1987-01-26 16:16:12 +00:00
ceriel edae1fc950 Added a check that a tokenset in a stackpattern contains tokens
that all have the same size.
1987-01-26 16:14:39 +00:00
ceriel 88ea6fb11d new dependency 1987-01-26 15:01:25 +00:00
ceriel a410519ff5 Bug fix
Under the '-x' option, the archive was opened in "APPEND" mode.
1987-01-20 09:53:32 +00:00
ceriel 41622dc2a9 Added c-flag 1987-01-19 09:41:49 +00:00
ceriel 0efc7ae07d Added 'c'-flag 1987-01-19 09:36:35 +00:00
ceriel faa0c191a4 minor bug fix 1987-01-16 19:20:58 +00:00
ceriel 8f27f92269 Bug fix with WorkingDir 1987-01-16 16:14:22 +00:00
ceriel 45238eea0f Some bug fixes and minor extensions 1987-01-16 13:51:42 +00:00
ceriel 382c88eb17 Using object library 1987-01-15 22:06:16 +00:00
ceriel ece95a2ee4 Some bug fixes 1987-01-15 17:36:26 +00:00
ceriel 8af94099a3 Replaced an occurrence of EOI by EOF. 1987-01-14 21:37:22 +00:00
ceriel e6f18b2838 Initial revision 1987-01-13 11:31:24 +00:00
ceriel 630e5d8082 Initial revision 1987-01-13 11:01:26 +00:00
ceriel 6d499785be Initial revision 1987-01-13 10:53:33 +00:00
ceriel 424337507d Added standard entries 1987-01-13 10:43:12 +00:00
ceriel 876369b2f1 Added standard entries 1987-01-13 10:30:06 +00:00
ceriel 692d3702a1 Added "standard" entries 1987-01-13 10:08:47 +00:00
ceriel 3cb30fa873 Added a "clean" entry. 1987-01-13 10:07:25 +00:00
ceriel 673b1d79e2 Initial revision 1987-01-13 10:01:07 +00:00
ceriel 28b3286e21 Added "standard" entries install, cmp, opr 1987-01-13 09:56:17 +00:00
ceriel 3c7511780b Initial revision 1987-01-12 17:21:59 +00:00
ceriel 9e528bef6f Allow reading from standard input 1987-01-12 14:38:45 +00:00
ceriel 5ddf83ab5a force first line directive 1987-01-12 14:21:14 +00:00
ceriel 281f83968c This one works. 1987-01-12 14:06:47 +00:00
ceriel cb2b167849 New Makefile, also generating opt2 (t.i. peephole optimizer after global ..) 1987-01-12 14:01:26 +00:00
ceriel 896de3243e Corrected the "install" entry. 1987-01-12 12:30:16 +00:00
ceriel e5820bdbaa Added bitwise operators 1987-01-08 14:22:32 +00:00
ceriel cfc9f38ccd Generate line directives that are similar to the ones generated
by the Reiser preprocessor.
1987-01-08 12:42:44 +00:00
ceriel 0c5feb7493 wrong number of parameters no longer is an error. 1987-01-08 12:38:05 +00:00
ceriel be68581019 *** empty log message *** 1987-01-07 11:10:33 +00:00
ceriel 143b2531bb Initial revision 1987-01-06 15:16:53 +00:00
ceriel 9919cc1ba6 Introduced EMHOME. 1986-12-16 13:50:54 +00:00
ceriel 7d1822d04e Added EMHOME. 1986-12-10 15:30:42 +00:00
ceriel c501c762cf removed the -n flag, but not its effect. The generated parser will
call LLmessage(-1) when saying "garbage at end of input".
1986-12-10 09:32:57 +00:00
ceriel 91aad0b28e Improved relocation reading code for the !incore strategy. 1986-12-03 13:09:15 +00:00
ceriel 24b7ad602a Improved compactification code. It was much to persistent, and
also too greedy. This causes long LONG linking times.
The current version is less greedy, but also gives up more
easily. Linking times are acceptable now.
1986-12-03 13:06:48 +00:00
ceriel db43d1d8a7 Added definitions for "alloc", "hard_alloc". 1986-12-03 13:02:37 +00:00
ceriel 3e4629b077 made to work on small machines. 1986-12-02 16:16:08 +00:00
ceriel 149c764ca1 Added -i to LDFLAGS. 1986-12-02 11:25:51 +00:00
ceriel 36adbe54a5 Removed some signal handling stuff. The Ack-program should do that. 1986-12-01 09:43:00 +00:00
ceriel 00a2314999 make to work with newer version of LLgen. 1986-11-24 21:24:42 +00:00
ceriel 3b2d51a96b Initial revision 1986-11-24 20:42:13 +00:00
ceriel eba14fa801 Bug fix in "inc loc adi" patterns and the like. 1986-11-24 10:42:29 +00:00
ceriel 45f608bac0 Initial revision 1986-11-11 13:44:58 +00:00
ceriel fb16148641 Adapted to use of GCIPM. 1986-11-11 13:44:13 +00:00
ceriel 3bc3818955 Adapted to use General C Identifier processing Module (GCIPM).
Also changed so that output for "cid" or "cpp" is in alphabetical order.
1986-11-11 13:42:42 +00:00
ceriel 3860ab6f68 Adapted to new versions of programs 1986-11-11 13:42:16 +00:00
ceriel 94634ace27 Initial revision 1986-11-11 13:34:20 +00:00
ceriel 87af36724b Avoid a bug in the C-optimizer of 4.1 BSD. 1986-11-07 17:54:30 +00:00
ceriel 7fd4e395da Constants changed to more sensible values. 1986-11-07 16:20:33 +00:00
ceriel 981bea82f4 Added "register" to a declaration. 1986-11-07 16:01:45 +00:00
ceriel a761166dfa *** empty log message *** 1986-11-05 21:31:23 +00:00
ceriel 97e027db33 Added some code to skip to EOF with LL_NEWMESS. 1986-11-03 14:09:28 +00:00
ceriel 7d2ee932e9 That was: LL_NEWMESS, not LL_NEWMESSAGE! 1986-11-03 10:28:21 +00:00
sater 79a736a9f6 Output was wrong with maxmembers<2 1986-11-03 09:13:32 +00:00
ceriel a0a3f2d2b6 Added code that calls LLmessage(-1) when needed, and when LL_NEWMESS is
defined.
1986-10-29 11:30:50 +00:00
ceriel eedc332a04 Added "nflag". 1986-10-29 11:29:47 +00:00
ceriel ee27adc926 Added nflag, that allows the LLmessage(-1) call, to indicate garbage
at end of program.
1986-10-29 11:27:47 +00:00
ceriel de5ac65dd6 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.
1986-10-29 11:16:55 +00:00
ceriel 200034075d Some name changes in ../../modules/lib. 1986-10-28 17:04:40 +00:00
ceriel aac1207beb Error messages are printed differently now. A '%' in an error message
used to cause difficulties.
1986-10-22 15:30:46 +00:00
ceriel c19358ee50 Bug fix involving '\\'. 1986-10-22 13:36:22 +00:00
ceriel 0595f74596 minor simplification. 1986-10-22 13:36:04 +00:00
ceriel cb2543df8a Improved the "clean"-entry 1986-10-20 14:58:25 +00:00
ceriel 8129bf95a4 Initial revision 1986-10-20 14:56:37 +00:00
ceriel 991df05826 *** empty log message *** 1986-10-20 14:42:41 +00:00
ceriel d8ba814b26 Adapted to the use of ../../modules/lib/libstr.a 1986-10-20 13:59:14 +00:00
ceriel 11d442c0a0 Use our own string-routines "strindex" and "strrindex". At least we
know their name!
1986-10-20 13:52:16 +00:00
ceriel 784bd9ec54 Use our own string routines strindex and strrindex. At least we know
their name!
1986-10-20 13:48:26 +00:00
ceriel 84f0869fde Fixed a bug: ack could not see the difference between ".mod" and ".m".
This is corrected.
1986-10-20 13:47:26 +00:00
ceriel 3a076895bb 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.
1986-10-20 13:28:59 +00:00
ceriel baf5b74da2 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.
1986-10-20 10:17:57 +00:00
ceriel 8ffde3c86a I don't really know why, but the file was changed. 1986-10-20 09:35:51 +00:00
ceriel bfad7d30f0 Added a pattern for "ldc ads". 1986-09-24 12:17:25 +00:00
ceriel a2599744f0 Addition of new patterns. 1986-09-23 09:41:47 +00:00
em c685aa11b5 set limit on optimization passes to prevent loop
in optimizer in case of bad table.
1986-09-09 13:10:15 +00:00
sater 14b982346f Error fixed where w==2 was assumed 1986-08-28 10:28:42 +00:00
ceriel 2acc260239 Adapted so that anybody can do "make install". 1986-07-22 10:47:51 +00:00
ceriel 3c76cbaa1e Some changes needed for the new 4-4 Pascal compiler. 1986-07-21 09:53:44 +00:00
sater f1a0c90fb1 removed sanity checking on result from sprintf
System IIIish systems seem to have their own idea.
1986-06-17 09:13:11 +00:00
ceriel db258b68ea Increased the size of the expression node table. 1986-06-05 13:56:31 +00:00
sater 5a84f07281 Non existing token fields in the format string caused memfaults
because fields were checked beyond the end of the tokeninfo. Fixed.
1986-05-21 15:08:57 +00:00
sater 5c71bad6e1 Relaxed input syntax for from STACK coercions
No gen clause is necessary anymore.
1986-03-19 16:14:12 +00:00
keie 7592c2cb1a Adapted to our ack environment. 1986-02-11 11:22:43 +00:00
bal b48d45c38d increased STACK_DEPTH from 50 to 250 1986-02-10 11:04:33 +00:00
ceriel e2cfecffe3 Added some new patterns involving multiplies with 0, 1 etc. 1986-02-10 10:14:41 +00:00
em f3e2248cc4 fixed bug in number() -- hex letters mistreated 1986-02-03 14:30:19 +00:00
sater ef48465b2a Hex numbers didn't work. Corrected bug in myatoi(). 1986-01-24 16:08:34 +00:00
dick d112eb710c adapted to phototypesetter 1986-01-20 20:39:09 +00:00
sater a91e33ce96 Corrected error in otime of initialisation of booleans 1985-12-02 13:55:06 +00:00
ceriel 5b09f4211d A minor change in the LL.output format. 1985-11-26 13:27:51 +00:00
ceriel 4b31842ecc Remove targets before installing new ones 1985-11-25 16:26:59 +00:00
ceriel 7e978197d2 New manual page for a completely new version of LLgen. 1985-11-25 16:00:18 +00:00
ceriel 1284cf0187 Changed dependancies 1985-11-25 15:57:43 +00:00
ceriel fb36b6b633 New version of LLgen, new version of this Makefile ... 1985-11-25 15:52:56 +00:00
ceriel 8b48512de7 New version, with a much faster parser. 1985-11-25 15:50:51 +00:00
ceriel 70a5d416d1 New version, much faster 1985-11-25 15:50:19 +00:00
ceriel 42d0e056fb Completely new version, generating a much faster parser 1985-11-25 15:48:42 +00:00
ceriel f055d610d3 Completely new version, generating a much faster parser. 1985-11-25 15:47:51 +00:00
keie 2e947a5e91 BSD4.3 size returns an error when it cannot find one of
its arguments.
1985-10-15 15:47:12 +00:00
ceriel e494e09063 Initial revision 1985-10-03 18:31:47 +00:00
ceriel aab6140bfa different interface. 1985-10-03 17:19:14 +00:00
bal dcb4b71a3d 0 / -1 confusion for properties (bug reported by sater). 1985-10-03 14:41:44 +00:00
ceriel d07e8114c6 More safety, also after terms and nonterminals. 1985-10-03 12:38:55 +00:00
ceriel ca4cc6fe80 Initial revision 1985-10-03 10:35:55 +00:00
ceriel 6b74749c12 Initial revision 1985-10-03 10:25:23 +00:00
ceriel b83ab7873e A more precise safety after a term. 1985-10-02 22:49:16 +00:00
ceriel 73153b484b Initial revision 1985-10-02 22:20:04 +00:00
bal 8668e313f8 bug fixed: same problem as in r1.3, now with csb.
Solution: only do block fusion if first block end on bra.
1985-09-19 11:14:55 +00:00
bal a18c5dd9c4 bug fixed: last instruction of first block in block fusion optimization
can be a conditional branch. (bug detected by Ceriel).
1985-09-18 16:27:29 +00:00
bal 53f6b51cde sprintf does not return pointer to string so the assert(s==string) does
not make any sense.
1985-09-06 11:39:06 +00:00
bal 6a4d9703cc exit(0) added (trouble with make) 1985-09-06 11:38:00 +00:00
keie 6f22e5b7d9 %D => %ld 1985-06-21 12:55:17 +00:00
keie 3e6e781c8d Now using AALMAG instead of ARMAG for led libraries. 1985-06-12 10:31:28 +00:00
keie 8749fb1da8 Using new magic number for 'aal' archives. 1985-06-10 12:41:51 +00:00
keie dacde83aae Removed debugging printout. 1985-06-10 11:23:22 +00:00
keie 42c2a9754f Adapted by Sjoerd to amoeba. 1985-06-10 10:53:15 +00:00
keie 44ccf469d9 Changed to get led working under amoeba.
Author: K.S. Mullender.
1985-06-10 10:48:49 +00:00
keie 177af75c93 *** empty log message *** 1985-05-13 11:19:24 +00:00
keie f90babad30 Adapted to installation in the EM tree. 1985-05-13 11:09:53 +00:00
keie eb025dae5c Added a message to the effect that 'local commons' can not be handled. 1985-04-29 11:55:30 +00:00
keie 7b6ed6733f Added assignment for debuuging info. 1985-04-19 13:28:56 +00:00
keie 78961d37c1 Now using out.h from ../../h 1985-04-18 15:22:22 +00:00
keie b391be598b Now using arch.h, out.h and ranlib.h from ../../h 1985-04-18 15:21:16 +00:00
em f70b857d1b Added pmds4. 1985-04-14 13:22:26 +00:00
keie 022cb596be *** empty log message *** 1985-04-12 15:06:05 +00:00
keie 9eb53c3d47 *** empty log message *** 1985-04-12 14:59:45 +00:00
keie dfcfa9883b Initial revision 1985-04-12 14:55:00 +00:00
em 491040b2c7 *** empty log message *** 1985-04-12 14:01:20 +00:00
keie bae4084355 *** empty log message *** 1985-04-12 11:25:21 +00:00
em c1d5a0c721 Changed 8080 into i80. 1985-03-18 14:44:15 +00:00
bal c478b62711 bug fixed in kill_much():
for ( .. ; i != (Lindex) i; ..  ) should be
for ( .. ; i != (Lindex) 0; ..  ).
1985-02-28 10:35:57 +00:00
bal d5098fe70f Bug fixed: co_lfirst received wrong value for multiply-optimization. 1985-02-25 14:03:09 +00:00
bal 469d075e77 Calls of which the actual and formal parameters do not match
are no longer substituted inline.
1985-02-20 15:01:02 +00:00
bal 7397122695 p_use->u_ext field deleted from showptable() 1985-02-19 11:16:11 +00:00
bal abcbc93b5d Dependencies for .m files added. 1985-02-19 11:13:13 +00:00
keie b449b94b48 Removed nascom from linked list. 1985-02-18 23:06:13 +00:00
keie 7d85a4c0b3 Added link to 6805. 1985-02-18 23:01:05 +00:00