Commit graph

643 commits

Author SHA1 Message Date
ceriel e4a90bc417 Bug fix. 1987-01-16 13:59:02 +00:00
ceriel 0b941ef495 Bug fixes 1987-01-16 13:51:45 +00:00
ceriel 324cbd8327 Fixed a minor problem with off_fmt, when it did not produce
a '-' sign when neccesary
1987-01-14 17:49:19 +00:00
ceriel 9877db53d9 Fixed a minor problem with off_fmt, when this format would not
produce the '-' sign.
1987-01-14 17:47:31 +00:00
ceriel 177e335cad Initial revision 1987-01-13 09:24:13 +00:00
ceriel e77bde5e75 Added TABLEFLAGS and CGGFLAGS. 1987-01-12 15:10:49 +00:00
ceriel 031d26deb4 Preprocess table. 1987-01-12 14:50:25 +00:00
ceriel 3245258560 Added exclusive or operator 1987-01-08 14:27:07 +00:00
ceriel ceee24a4cd Added bitwise and and or operators 1987-01-08 14:11:23 +00:00
ceriel 01ac83b971 fix to prevent loop resulting in stack overflow 1987-01-08 14:10:02 +00:00
ceriel bfb60b8a33 small adaption to "awayreg". 1987-01-08 14:09:14 +00:00
ceriel 97f8083ee0 adapted to get .o files 1987-01-08 11:09:06 +00:00
ceriel 8f8e0242d8 "l86" --> "i86". 1987-01-08 11:04:25 +00:00
ceriel c2805a25bd Initial revision 1987-01-08 10:41:08 +00:00
ceriel 037c2426ab Adapted to get .o files. 1987-01-08 10:29:45 +00:00
ceriel 669c5cf23f use "compare" shell script 1987-01-08 10:28:26 +00:00
ceriel 1a6f092a39 Initial revision 1987-01-08 10:21:35 +00:00
ceriel 9c50da1e82 changed name back: libem_s.a --> tail_em.a 1987-01-08 10:19:47 +00:00
ceriel c754f6ca69 adapted to new assembler syntax 1987-01-08 10:13:48 +00:00
ceriel 5cc2c0ccfc Initial revision 1987-01-08 10:07:43 +00:00
ceriel 11695db3e3 I don't know! but it was changed. 1987-01-08 09:56:17 +00:00
ceriel 0fd6417833 Adapted to new assembler syntax. 1987-01-08 09:39:54 +00:00
ceriel 18376b38cf Initial revision 1987-01-07 17:13:41 +00:00
ceriel ceff6f834a Removed a bug that led to infinite looping in obscure cases. 1987-01-06 18:49:00 +00:00
ceriel 0329b9ef9a added cleanup.c 1987-01-05 11:12:55 +00:00
ceriel e32480406f Initial revision 1987-01-05 11:08:47 +00:00
ceriel 974e2f7d4a Added exit.c stty.c gtty.c 1986-12-16 10:25:44 +00:00
ceriel 7e78bd904d Initial revision 1986-12-16 10:23:21 +00:00
ceriel 5bbac46b88 No longer use the "system-independant" tail_mon. 1986-12-12 17:56:05 +00:00
ceriel 70df23f6f8 head_em now resides in system dependant library. 1986-12-12 17:54:21 +00:00
ceriel 595cc41d9c Removed almost the whole file, as we now use assembly routines to
interface the systemcalls.
1986-12-12 17:51:03 +00:00
ceriel 184f06453a Initial revision 1986-12-12 16:12:19 +00:00
ceriel cb19bd1dd4 Bloody assembler does not recognize ',' in .globl 1986-12-12 14:45:20 +00:00
ceriel 980953f861 .globl does not accept comma's 1986-12-12 14:40:25 +00:00
ceriel d62336a718 Initial revision 1986-12-12 13:43:06 +00:00
ceriel 4c956c400e Initial revision 1986-12-12 12:49:50 +00:00
ceriel 9e6fe01229 Improved testing for 0-strings in the routine "mycat". 1986-12-11 17:04:40 +00:00
ceriel e98c02b831 Corrected a typo. 1986-12-11 17:03:11 +00:00
ceriel 7752bb27f6 Adapted to new assembler 1986-12-09 11:13:14 +00:00
ceriel a6ecac6f1d Only call "newrelo" when needed. 1986-12-08 10:39:13 +00:00
ceriel 6bf947ee6e *** empty log message *** 1986-12-08 09:24:58 +00:00
ceriel 8702a522d8 *** empty log message *** 1986-12-05 17:18:54 +00:00
ceriel 4b3e6a8ab6 Working version. 1986-12-05 17:17:03 +00:00
ceriel 8fd1977ab0 *** empty log message *** 1986-12-05 17:12:24 +00:00
ceriel b2f0b281cd Initial revision 1986-12-05 17:10:12 +00:00
ceriel 555c29971f initial version 1986-12-05 17:09:41 +00:00
ceriel 9aac83a83e *** empty log message *** 1986-12-05 16:59:51 +00:00
ceriel 28036b3741 Initial revision 1986-12-05 16:58:29 +00:00
ceriel 13a63ae5fe ??? 1986-12-05 16:36:40 +00:00
ceriel 947461e31f Removed DUK 1986-12-04 16:35:04 +00:00
ceriel e188fe0956 Version that uses libobject.a 1986-12-01 15:41:29 +00:00
ceriel b44e39cce8 Version that uses libobject.a. 1986-12-01 15:35:28 +00:00
sater 59861f883b added support for modhead 1986-11-28 13:47:44 +00:00
sater 17f5bc21e7 debugging stuff happened to end up on stdout instead of stderr. 1986-11-28 13:41:09 +00:00
ceriel 552f5a3f61 Initial revision 1986-11-24 21:52:09 +00:00
ceriel 8b718ee54b Initial revision 1986-11-24 21:45:03 +00:00
ceriel dbb351f078 Handled gen.c wrong. This is corrected. 1986-11-24 21:30:57 +00:00
ceriel 7c5553640e Added -DNDEBUG 1986-11-24 21:01:42 +00:00
ceriel 5ced6d6aef Initial revision 1986-11-24 20:58:35 +00:00
ceriel 86018d09e1 changed sizes of labstr and argstr to accomodate longer identifiers. 1986-11-12 21:14:05 +00:00
ceriel f7a6dc503c Changed sizes of "argstr" and "labstr", to accomodate longer
identifiers.
1986-11-12 21:04:38 +00:00
ceriel 541f3caf50 Removed the integer overflow check, as it is'nt checked by
"cg".
1986-10-30 15:44:25 +00:00
ceriel 162eb9bb70 forgot to restore return address in case ".trp" is called. 1986-10-30 15:01:16 +00:00
ceriel f793e823ec Made the trap message more readable. 1986-10-27 10:17:36 +00:00
ceriel 3d016f7385 Did not work properly, printed wrong trap number. Does not work
properly now, because it does no save the registers.
1986-10-27 09:57:42 +00:00
sater 02ff84337a Typo corrected 1986-10-24 16:58:46 +00:00
ceriel 908eeaf9cd Removed some ridiculous code. 1986-10-15 13:58:51 +00:00
ceriel 36ef5b504b Apparently, ex_ap disappeared. Put it in again. 1986-10-10 15:21:35 +00:00
ceriel 1d0f716a4e Oops, forgot to remove the id_first definition. 1986-10-10 15:09:34 +00:00
ceriel a43d257715 Added a "fmt_id" define, to prevent that no '_' is placed in front
of an identifier longer than 8 characters.
1986-10-10 15:05:10 +00:00
sater 2672c87f68 empty string was returned when it was not so good. 1986-10-09 16:15:00 +00:00
sater ae2f236663 nullpointer and empty string were confused.
Long live the PDP and VAX
1986-10-09 16:12:24 +00:00
ceriel 703eb4e7a0 Added RANLIB 1986-10-09 13:21:33 +00:00
ceriel 6a4a13d041 Initial revision 1986-09-24 11:24:37 +00:00
sater 9092e509c6 changed ad2str function not to add +0 at labels 1986-09-22 13:15:15 +00:00
sater b5009c57b4 made debiug output better 1986-09-22 13:14:54 +00:00
ceriel b6dde9472f Bug fix: The "cmp.l" instruction was sometimes used in an illegal way. 1986-09-10 16:03:11 +00:00
ceriel 9dbd1060ad An improvement to prevent calls to the .cuu routine. 1986-09-05 16:35:12 +00:00
ceriel 023073b422 Bug fix: the BLS instruction did'nt work with block moves of one word. 1986-07-25 15:57:03 +00:00
ceriel 6dd1a052d3 inn and set must be word-orientated, not byte-orientated. 1986-07-25 15:01:15 +00:00
ceriel c422c4e130 Bug fix 1986-07-25 14:17:23 +00:00
ceriel 37320faecc Bug fix 1986-07-25 13:19:51 +00:00
ceriel f68d0ffb7d Made tail_mon dependant on tail_mon.a 1986-07-23 11:06:29 +00:00
ceriel 79eab3513d Added a ".sect .text". The text "landed" in the bss segment. 1986-07-23 11:04:40 +00:00
ceriel 5d188dee44 Bug fix. It just did'nt work. 1986-07-22 15:11:09 +00:00
ceriel 729774d6f8 *** empty log message *** 1986-07-22 14:49:46 +00:00
ceriel a067d1bc0d Adapted to the use of the new assembler. 1986-07-22 13:42:21 +00:00
ceriel 399a46eb92 Adapted to new assembler and made re-entrant. 1986-07-22 13:37:16 +00:00
ceriel f514411cea Adapted to use of new assembler. 1986-07-22 13:23:14 +00:00
ceriel aee6a1648a Initial revision 1986-07-22 11:07:48 +00:00
ceriel f45f393b71 replaced all occurrences of "cc" by "$(CC)". 1986-07-22 11:01:54 +00:00
sater 4398053245 Conversions from 1 byte integers were wrong.
Only discovered after new C-frontend.
1986-06-16 11:35:12 +00:00
ceriel 966213238a There was a bug in the printing of the trap number.
This is corrected.
1986-06-06 23:35:42 +00:00
ceriel f12ea12eda Rediscovered a bug in the VAX 4.1 UNIX assembler. It handles $0f0.0 wrong!
The changes is the table insure that $0f0.0 is never generated.
1986-06-05 12:43:56 +00:00
keie de21842485 Added EODDZ to the exported externals.
It should have been there from the start.
1986-04-22 10:40:29 +00:00
sater 851a68883c repaired inreg() pseudofunction, it delivered total nonsense 1986-03-27 15:49:16 +00:00
em c21def03db updated 1986-03-05 17:12:39 +00:00
ceriel 249314e586 Bug fix: The "calls" instruction could be called with
first argument > 255. This is corrected.
1986-03-04 11:39:22 +00:00
keie 9c10e17f06 Ack is using good old cpp again. 1986-02-11 11:15:19 +00:00
keie 2d429613e6 *** empty log message *** 1986-02-11 11:14:11 +00:00
keie 2ff183fd2a Too long ago. 1986-02-11 11:13:41 +00:00
ceriel 847de065d6 A minor improvement. 1986-02-10 10:08:27 +00:00
bal 5ac646f89f Yet another bug reported by sater. 1985-11-18 16:55:53 +00:00
keie b493f98f39 The extra BSD4.2 code caused two branches to be out of range. 1985-10-15 15:53:48 +00:00
bal c9c168d853 Several optimization patterns for DAS (Delftse Ada Subset) frontend added. 1985-10-14 09:27:24 +00:00
bal 98d06cffb2 0 / -1 confusion for properties (bug reported by sater). 1985-10-03 14:47:28 +00:00
bal de79024451 0 / -1 confusion for properties (2 bugs reported by sater). 1985-10-03 14:45:53 +00:00
bal 0d9459bdd6 MAXSTAB set to 2500 (problem with argument list of ROM for new C front-end). 1985-09-06 11:06:32 +00:00
em cd5fb7ea8c Added str0 and str 1. 1985-07-26 17:38:22 +00:00
em 478209a840 This one works correctly for programs failing to translate. 1985-07-26 17:04:31 +00:00
em 1c5cb87985 removed a superfluous line. 1985-07-26 15:37:11 +00:00
em 83103c314b Initial revision 1985-07-26 12:52:13 +00:00
em bc759a2903 *** empty log message *** 1985-07-26 12:51:45 +00:00
em 6bdc39213b Initial revision 1985-07-26 11:56:24 +00:00
em 0e7eb937b4 Not using libmon. 1985-07-26 11:47:54 +00:00
em e63968056e Added RCSID 1985-07-26 11:45:49 +00:00
em 9ef57888fa Initial revision 1985-07-26 11:38:59 +00:00
em 6710f21388 *** empty log message *** 1985-07-26 11:29:08 +00:00
em b5efab645f Initial revision 1985-07-26 11:05:30 +00:00
ceriel 5d86ead6c0 There was a bug in the "str $1==0" instruction. It said:
str $1==0	| source4 |
			remove(ALL) "jsb\t.strlb"	|	| |
It should of course have been
str $1==0	| STACK |	jsb\t.strlb"	|	| |
1985-07-21 11:34:33 +00:00
bal 7b4b53af21 bugs for ngf 8 and fif 4 fixed (asp 16 --> asp 8). 1985-07-19 18:02:25 +00:00
bal 2e5bf801a0 patterns for "loc loc cii/cui/ciu/cuu $1==$2" added. 1985-07-19 17:58:34 +00:00
bal 04cee55976 .sect .text added 1985-07-19 13:43:03 +00:00
bal 479827380c .sect .text added 1985-07-18 14:52:56 +00:00
keie 57acada057 *** empty log message *** 1985-06-10 16:57:01 +00:00
keie 68e92c8319 *** empty log message *** 1985-06-10 16:05:04 +00:00
keie 1b972eff60 *** empty log message *** 1985-06-10 15:32:18 +00:00
keie b11d9ce683 *** empty log message *** 1985-06-10 14:52:43 +00:00
keie 1c19000977 *** empty log message *** 1985-06-10 13:55:48 +00:00
keie eea5656df7 *** empty log message *** 1985-06-10 13:50:36 +00:00
keie 1c9723afd7 Using new assembler & linker. 1985-06-04 11:43:01 +00:00
keie 23bf60a80e Adapated to use of new linker & assembler. 1985-06-04 11:30:54 +00:00
keie 04e97ce36b *** empty log message *** 1985-06-04 11:18:43 +00:00
keie 0370ea6d61 Adapted to use of the new assembler & linker 1985-06-04 11:18:09 +00:00
keie a9bbf81f93 Adapted to use of new assembler & linker 1985-06-04 10:57:42 +00:00
keie fa2547ddf7 Adapted to use of new linker & assembler. 1985-06-04 10:44:10 +00:00
keie a26a8318da Adapted to using the new assembler & linker. 1985-06-04 10:40:50 +00:00
keie 206c33b6bc Added a module for fake floating point. 1985-06-04 10:39:45 +00:00
keie 5acb12ebe0 Now prevents inclusion of failed compilations into libraries. 1985-06-04 10:32:27 +00:00
keie 040aa7115c Adapted to use of new assmbler and linker. 1985-06-04 10:32:07 +00:00
keie 531353e14d More adapted to use by march. 1985-06-04 10:30:18 +00:00
keie 3f83d34dd9 Adapted to use of the new assembler and linker. 1985-06-04 10:29:56 +00:00
keie 5fc5b3c32d A version that tells march to not try to include objects
of modules that failed to translate in the library.
1985-06-04 10:26:06 +00:00
keie 227a684c70 Adapted tu use new assembler & linker. 1985-06-04 10:25:30 +00:00
keie be932f0f5b 1 - Changed %D into %ld.
2 - Adapted to the new linker.
1985-06-04 10:21:15 +00:00
em 4d183a3757 *** empty log message *** 1985-05-23 13:56:24 +00:00
keie 177af75c93 *** empty log message *** 1985-05-13 11:19:24 +00:00
keie 8cbd17b1ba *** empty log message *** 1985-05-13 11:06:30 +00:00
bal 0db1db10b8 Bug fixed: cg generated instructions like "and.l #2,a4", which are
not allowed on the 68000.
The condition "inreg($...) < 2" is added to every EM-pattern that
accesses local non-register variables. So the ordering of the
patterns for regvar/non-regvar is no longer important.
1985-05-01 12:53:33 +00:00
keie 5472fafa56 Add hoc solution of .align problem. 1985-04-23 12:55:01 +00:00
em a0a7a48c3b The reading of the input is now machine independent. 1985-04-22 15:13:24 +00:00
em 89a37681fc *** empty log message *** 1985-04-22 14:12:26 +00:00
bal d0e857ddb2 Initial revision 1985-04-18 15:14:37 +00:00
bal 928e341f16 Bug fixed: incorrect return value
New version adapted from m68k4 version.
1985-04-18 15:12:29 +00:00
bal 3759de23eb Extra systems calls added 1985-04-18 15:12:06 +00:00
ceriel 9c9976c121 Er zat een bug in het patroon
lol adp stl met $1 < 0.
Ten onrechte werd in de gegenereerde code het AP register gebruikt.
Dit moest natuurlijk FP zijn.
1985-04-17 13:38:36 +00:00
keie eb3fc1d43e Added provision to print (possibly in mach.h defined) modhead
on the output assmble file as the very first text.
1985-04-16 16:14:55 +00:00
bal 7b745d6fb2 Bug fixed for pattern 'sti $1 > 4' (ADDREG -> ADDSCR)
Bug was present since version 1.1
1985-04-16 15:24:23 +00:00
keie f337b8df6d Removed RANLIB . 1985-04-14 14:27:04 +00:00
em 8b4f21bd95 Added libraries needed after installation of cg. 1985-04-14 13:57:31 +00:00
em ab820d3083 8080->i80. 1985-04-14 13:54:33 +00:00
em fb23d440f0 Removed a superfluous line. 1985-04-14 13:46:54 +00:00
em bd07643039 To prevent a (incorrrect) error message from distr/mktree. 1985-04-12 20:32:06 +00:00
keie 34ccddfc2d The library name was incorrect. 1985-04-12 17:21:52 +00:00
keie c19324dfea *** empty log message *** 1985-04-12 17:06:38 +00:00
keie 772b64fabd *** empty log message *** 1985-04-12 16:56:43 +00:00
keie ef92740400 Deletion of a few coercions caused a translation failure
for setjmp.e.
The coercions have been grabbed from an old version by FvH.
1985-04-12 16:43:40 +00:00
keie ee9c5be180 Initial revision 1985-04-12 16:40:22 +00:00
bal ca9a6feeb0 floating point stuff added 1985-04-12 15:47:30 +00:00
em fb6d291d38 *** empty log message *** 1985-04-12 14:33:09 +00:00
em e4e29ae837 Added flp.s, contains subroutines for all EM fp instructions.
They trap.
1985-04-12 14:29:07 +00:00
em 94534b7c15 1- Floating point routines now call routines instead of calling trp. 1985-04-12 14:25:59 +00:00
keie dcfe4e8a97 *** empty log message *** 1985-04-09 13:48:55 +00:00
keie 620216fb26 Error code 0 was returned when the installation failed! 1985-04-02 10:55:02 +00:00
keie 70d71f4355 Copy of ../libbc/compmodule. 1985-04-02 10:50:53 +00:00
keie 6b87f1082e Removed -DCPM. 1985-04-02 10:46:43 +00:00
em fd44c34a61 *** empty log message *** 1985-04-01 17:02:55 +00:00
keie 6c247029bd *** empty log message *** 1985-04-01 14:44:26 +00:00
keie 6bbdb92784 Adapted after installation of backend. 1985-04-01 14:02:58 +00:00
em 1879c8e724 *** empty log message *** 1985-03-29 21:44:50 +00:00
em 693830b09a *** empty log message *** 1985-03-29 21:10:43 +00:00
keie b3d11b1fa5 Removed pascal library. 1985-03-26 16:27:23 +00:00
keie 2b6187a009 *** empty log message *** 1985-03-26 16:23:21 +00:00
keie a8fc6009f7 The dl programs is replaced by a more general cv. 1985-03-26 16:20:11 +00:00
keie 92141b52ce Installed backend and libraries. 1985-03-26 16:18:24 +00:00
keie b63f304db1 Or's are not allowed on a-registers, add's are. 1985-03-26 16:09:07 +00:00
keie ec3e755168 Adapted to Unisoft signal handling. 1985-03-26 16:08:09 +00:00
keie a41ff68078 *** empty log message *** 1985-03-26 15:04:46 +00:00
keie 244e172413 Added head_em. 1985-03-26 15:04:02 +00:00
keie da936740a6 Added head_em to libsys. 1985-03-26 15:00:09 +00:00
keie c5a739c68f Moved head_em to libsys. 1985-03-26 14:53:00 +00:00
keie dc92fe358e *** empty log message *** 1985-03-26 14:48:32 +00:00
keie 59996174b6 Added some more system calls.
Moved errno to a separate file.
1985-03-21 14:13:55 +00:00
keie 84f9364d4c errno is moved to a sfile of its own. 1985-03-21 14:05:03 +00:00
keie a635fb0203 *** empty log message *** 1985-03-21 14:04:45 +00:00
em e3e1c5ac20 *** empty log message *** 1985-03-18 17:27:42 +00:00
em e3e9add8b1 Initial revision 1985-03-18 17:24:31 +00:00
em ffd0d165a7 *** empty log message *** 1985-03-18 15:52:00 +00:00
em 3e743d78f3 *** empty log message *** 1985-03-18 14:39:26 +00:00
em 90c847ca59 *** empty log message *** 1985-03-18 14:32:46 +00:00