Commit graph

560 commits

Author SHA1 Message Date
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
bal 66ab97d2b0 bug fixed: lifetime of an item was too short; it should also cover
any live/dead message prior to its initial live-message.
1985-02-18 15:14:22 +00:00
keie 241a7de970 The PDP 11 needs -i, Vax'en ignore it. 1985-02-18 12:45:31 +00:00
bal a1c2dadb2a Compare group (cmp,cmi,cmu,cms,cmf) added as cheap operators. 1985-02-15 13:18:57 +00:00
bal e704ddc158 restructured. 1985-02-11 10:52:49 +00:00
bal f7699474b8 The binaries of the phases of ego are now put in a single directory. 1985-02-11 10:07:47 +00:00
bal 6909adbf9c Macros newcflpx and oldcflpx added. 1985-02-11 09:52:11 +00:00
bal 156775643e Include files and declaration of em_flag added. 1985-02-11 09:51:02 +00:00
bal d41c902b12 Memory allocation/deallocation for extends changed. 1985-02-11 09:48:32 +00:00
bal b99ce86e16 register save costs changed: they are now linearly dependent on
the number of registers to be saved (for time).
1985-01-30 15:43:02 +00:00
bal bec394f7bd Entry for LOI changed from CLASS1 to CLASS12. 1985-01-30 14:49:03 +00:00