Commit Graph
100 Commits
Author SHA1 Message Date
ceriel f571ee5f0e brk must return pointer size 1987-09-02 14:54:32 +00:00
ceriel 539a215863 previous fix was wrong; added another 1987-09-02 12:52:44 +00:00
ceriel 04b0d45c13 yet another fix in freopen: re-opening for reading did not work properly 1987-09-02 12:43:23 +00:00
ceriel e0a1824870 first arg to putc must be int or char, not long 1987-09-01 18:31:42 +00:00
ceriel b1748d4cff added declaration for fopen 1987-09-01 15:58:30 +00:00
ceriel 2ca5b0f469 declared freopen; apparently it is not declared in stdio.h
on some systems
1987-09-01 15:24:15 +00:00
ceriel 9e2830bf52 time must be called with a 0-pointer, not with 0! Erikje toch! 1987-09-01 14:18:20 +00:00
ceriel 2528d0646c dont count when USE_TMP is not defined 1987-09-01 10:41:35 +00:00
ceriel2 ac2fd78191 fix for statics in nested blocks 1987-08-28 09:56:00 +00:00
ceriel 8feda2f95c Added .globl, fix in Xfit call 1987-08-26 14:45:27 +00:00
cvs2hg ab5d79a8ce fixup commit for tag 'distr2' 1987-08-26 13:58:31 +00:00
ceriel 7c64a2f075 adapted to new semantics of STACK 1987-08-26 13:58:30 +00:00
ceriel 87126d5651 adapted table to new semantics of STACK 1987-08-26 13:54:20 +00:00
ceriel 7359fe84a0 adapted table to new semantics of STACK 1987-08-26 13:47:37 +00:00
ceriel 636f6e5c0b improved the c-flag, and corrected a bug in the produced relocation info 1987-08-26 13:22:44 +00:00
ceriel bd5ed16009 added return.s 1987-08-26 13:06:09 +00:00
ceriel 937f4e48fe FLOAT did not work 1987-08-24 14:23:13 +00:00
ceriel 5a28a174e4 FLOAT did not work 1987-08-24 13:59:06 +00:00
ceriel 7139d3ae5e compiler could not handle using addresses of procedures declared
in imported definition modules. This is corrected
1987-08-24 11:42:37 +00:00
ceriel 6ebdb2a63c a fix: UID and GID were sign-extended 1987-08-24 09:13:31 +00:00
ceriel 13f95a76d1 Added a DO_TOSTACK command, and put set number of ALL in tables.c 1987-08-20 19:04:18 +00:00
ceriel 0def7db2ea fixed a problem with the ifdef-stack 1987-08-20 18:12:31 +00:00
ceriel 4b892ab691 fix to previous one. The previous one did not help, this one does 1987-08-20 16:00:18 +00:00
ceriel 6a18367f41 fixed bug with quotes 1987-08-20 15:44:45 +00:00
ceriel 9ef8e41d1e fixed addition, better patterns for SDL, SDE 1987-08-20 15:30:01 +00:00
ceriel f2c28f0f96 corrected option handling 1987-08-20 13:12:43 +00:00
ceriel 7d8efdeda0 told ncg that jsr kills the scratch registers 1987-08-19 19:51:13 +00:00
ceriel 8f81d9d757 do not accept p flag 1987-08-19 18:13:19 +00:00
ceriel 2e8c8ec706 changed code for loops a bit, and fixed an error in MkCoercion 1987-08-19 18:07:41 +00:00
ceriel 5d5c36b37a disabled range-checks 1987-08-19 18:07:01 +00:00
ceriel fe65dfcc3a minor adaption: index array with int, not long 1987-08-19 15:27:15 +00:00
ceriel 42288e4842 some minor corrections 1987-08-19 15:23:41 +00:00
ceriel ad48701d87 fixed bugs in tzset and ttyslot, adapted malloc to allocate in bigger chunks 1987-08-19 14:44:54 +00:00
ceriel 2571458361 improved -c option 1987-08-19 14:10:39 +00:00
ceriel 92ffe487b3 bug fixes: ifval must be an arith, not an int 1987-08-19 10:36:37 +00:00
ceriel 3c8a306ed0 LLsymb was declared twice 1987-08-19 10:12:34 +00:00
ceriel 97441a2446 an attempt to improve error correction on unknown type identifiers.
Also, a minor fix to ival.g
1987-08-18 10:05:18 +00:00
ceriel b5a0bf7fe3 fixed: resulted in memory faults in rare cases 1987-08-17 20:32:00 +00:00
ceriel 2d76756908 fix 1987-08-17 19:39:30 +00:00
ceriel 12369484b2 fixes to additions 1987-08-17 18:09:31 +00:00
ceriel c6e608ab38 minor fix 1987-08-17 16:30:14 +00:00
ceriel 4bbd4c1bc1 some more additions 1987-08-17 16:24:56 +00:00
ceriel 5219c0f7a6 not finding an include file is fatal 1987-08-17 14:36:55 +00:00
ceriel bbcca8587c some fixes to freopen 1987-08-17 14:23:16 +00:00
ceriel 2fd4ee7a48 fix in LDC CMS 1987-08-17 14:18:40 +00:00
ceriel 8be09b6814 fixed setbuf. count field was set wrong 1987-08-14 20:32:08 +00:00
ceriel 1f2fa05492 first free-ing and then reallocing did not work properly.
Now, free does nothing, except remembering that a block was freed.
malloc, realloc and free check for this.
1987-08-14 11:52:17 +00:00
ceriel af1a5bbdcf fix in one of those tricky addressing modes 1987-08-14 00:15:49 +00:00
ceriel 8cf013b9ab some fixes to additions 1987-08-13 15:30:48 +00:00
ceriel dfd554f271 signed compares were just wrong, added a few patterns 1987-08-13 11:22:59 +00:00
ceriel a1cb8c1cdb added cmi4.s 1987-08-13 11:09:24 +00:00
ceriel 69516b8fd2 fixed a fix, which did not fix a bug after all 1987-08-13 10:18:25 +00:00
ceriel 824ce77efa corrected 1987-08-12 21:36:30 +00:00
ceriel af2f5dff29 fixed 1987-08-12 20:51:23 +00:00
ceriel e70ef8e192 fixed EXG instruction 1987-08-12 18:37:20 +00:00
ceriel f8e81baabd yet another fix, this time to divu/divul/divs/divsl 1987-08-12 18:32:15 +00:00
ceriel 3e185f7404 added many patterns 1987-08-12 16:19:02 +00:00
ceriel ef63d3a6b0 revised some patterns that could lead to NO REGS AVAILABLE 1987-08-12 15:58:54 +00:00
ceriel b5baf3fccb some adaptions undone 1987-08-12 14:51:58 +00:00
ceriel 6217d3f6e7 stdio.h should not define BMASK 1987-08-12 09:24:57 +00:00
ceriel 56b0cb2438 fix + some more statistics 1987-08-11 15:31:09 +00:00
ceriel 70fa8cdef7 take alignments into account 1987-08-11 15:28:06 +00:00
ceriel f5501fd149 adapted sizes somewhat, made facility to print memory statistics 1987-08-11 14:42:15 +00:00
ceriel 68b0b59cc0 Added the possibility to disable range-checks 1987-08-11 10:50:30 +00:00
ceriel 2c422b0146 yet another fix in those tricky FOR-loops 1987-08-11 08:58:20 +00:00
ceriel 1694d87acd some more fixes, and tried to make smaller 1987-08-10 21:43:47 +00:00
ceriel 824abdcc9b fix to fix 1987-08-10 14:06:37 +00:00
ceriel d341457ccb Generated code for FOR-loops was wrong 1987-08-10 13:01:54 +00:00
ceriel 46e73612ba nestlevel count per file 1987-08-10 11:17:20 +00:00
ceriel 555e7be7db nestlevel count per file 1987-08-10 10:43:51 +00:00
ceriel 371edcd97e dynamic table sizes, commons in ranlib table 1987-08-10 10:20:52 +00:00
ceriel b4db4084c8 some fixes 1987-08-07 19:54:45 +00:00
ceriel c82ba656fb fixes to preprocessor part 1987-08-07 19:53:54 +00:00
ceriel d027b768d1 ran out of another static list; made length dynamic 1987-08-07 14:35:21 +00:00
ceriel f54333676b deleted a warning 1987-08-06 19:15:40 +00:00
ceriel 8f9f580ca4 make two versions: one for new peephole optimizer 1987-08-06 19:00:21 +00:00
ceriel 6dd9a28428 fixed manual page 1987-08-06 18:59:07 +00:00
ceriel c103a0a3aa Added files for new peephole optimizer 1987-08-06 18:58:39 +00:00
ceriel 32ff92edc5 use newer read_em module, + checking library 1987-08-06 18:56:36 +00:00
ceriel a9c913d6fd align sizes 1987-08-06 18:40:02 +00:00
ceriel 073ed31cbe generate commons for bss 1987-08-06 15:11:09 +00:00
ceriel 77405d7520 OUTTRACE was doubly defined 1987-08-06 14:29:16 +00:00
ceriel 22e4b3d98d fix in font-change 1987-08-06 14:26:45 +00:00
ceriel 0e022b2440 code improvement 1987-08-06 14:24:08 +00:00
ceriel 0dd8bc3e95 fixes 1987-08-06 14:21:01 +00:00
ceriel f2ff9f7f33 minor mods 1987-08-06 14:20:11 +00:00
ceriel 1971f871ec fixed a bug with setjmp.
Fixed a bug with non-struct pointers referring to structs
1987-08-06 14:19:06 +00:00
ceriel e25daddac3 moved the FCONST moves, so that they are found before the source moves 1987-08-06 13:08:02 +00:00
ceriel 9780bab889 use malloc instead of sbrk 1987-08-06 13:04:20 +00:00
ceriel dd6fbf77a7 bigger define for MAXSTAB 1987-08-06 13:00:47 +00:00
ceriel 58d238c41c added end.s 1987-08-06 12:56:11 +00:00
ceriel befd9fcb1c added missing patterns 1987-08-06 12:48:27 +00:00
ceriel 358391dd8e use our own assembler instead of /bin/as 1987-08-06 11:36:47 +00:00
ceriel 25d041e298 some nofits are actually errors 1987-08-06 11:17:30 +00:00
ceriel f7b655eaf7 many re-arrangements 1987-08-06 10:48:14 +00:00
ceriel 4c6a363485 to .m instead of .k 1987-08-06 10:27:10 +00:00
ceriel 3985d8ddba handle returns better 1987-08-06 09:55:00 +00:00
ceriel efe319da10 some minor improvements 1987-08-05 18:24:31 +00:00
ceriel 400d87eba2 temporary fix for commas within operands 1987-08-05 13:09:37 +00:00
ceriel c77dc48cdc 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