dtrg
b611731ec3
Updated .distr files for the new release.
2007-02-25 12:51:55 +00:00
dtrg
f6a41864cf
Moved to /h.
2007-02-25 12:45:24 +00:00
dtrg
5c5f711cbb
Done a major overhaul of the way target include files are installed and
...
how platform libraries are built. The ARCH pm variable has now been
renamed PLATFORM (which is more accurate) and a different ARCH
variable added, which represents the CPU family rather than the
hardware platform.
2007-02-20 00:46:10 +00:00
dtrg
809cd2ef0b
Added a definition of endrom.
2007-02-20 00:42:23 +00:00
dtrg
5165f0b11f
Added some comments and a CVS header.
2007-02-20 00:41:26 +00:00
dtrg
c21ba9ed0f
Updated to work with the new version of pm.
2006-11-11 22:59:52 +00:00
dtrg
dbe10d2c19
Updated to the version 0.1 of Prime Mover (which involves some syntax changes).
2006-10-15 00:28:12 +00:00
dtrg
9bcefaafa8
Broke dependency on tool_cpp in order to speed up the build.
2006-07-30 23:41:16 +00:00
dtrg
014be56fb0
Replaced calls to the custom strindex() and strrindex() functions with the
...
exactly equivalent and standard strchr() and strrchr() functions instead.
2006-07-23 20:01:02 +00:00
dtrg
304c0e21a0
Added support for the top target peephole optimiser.
2006-07-22 12:31:19 +00:00
dtrg
fdcdaadcb8
Rationalised use of #includes to be more standards-compliant.
2006-07-22 12:28:20 +00:00
dtrg
1a037b9685
Added support for the ego global optimisation suite.
2006-07-22 00:52:01 +00:00
dtrg
34ae7c4634
Removed duplicate (and incorrect) system function declarations.
2006-07-21 11:17:18 +00:00
dtrg
db0b628497
Removed a definition of 'struct label' as 'label_t', as it clashes with
...
a common Posix extension on BSD systems.
2006-07-21 10:35:34 +00:00
dtrg
097c640a6c
First version in CVS.
2006-07-20 23:24:28 +00:00
dtrg
6073ee934e
Rationalised use of #includes to be more standards-compliant.
2006-07-19 14:09:05 +00:00
dtrg
4c0a0e6119
Rationalised use of #includes to be more standards-compliant.
2006-07-18 17:10:29 +00:00
dtrg
1eb1cb6f62
Renamed the 'index' variable to 'offset', to prevent clashes with the libc index() function.
2006-07-18 17:00:30 +00:00
dtrg
4f6fff6b1f
Removed unnecessary commas seperating yacc tokens, to prevent warnings.
2006-07-18 16:59:11 +00:00
dtrg
2aca7fbaf4
Renamed the private 'atol()' function to 'our_atol()' to avoid clashes with the libc one.
2006-07-18 16:57:51 +00:00
dtrg
13a9ff3379
Removed unnecessary commas seperating yacc tokens, to prevent warnings.
2006-07-18 16:52:08 +00:00
dtrg
423368e42f
Renamed the 'index()' function to 'indexmode()', to prevent clashes with the libc index() function.
2006-07-18 16:50:22 +00:00
dtrg
45ed0df6d0
Removed a #define that was also defined in cv.c.
2006-07-18 16:48:21 +00:00
dtrg
4fdd9b83fc
Converted to use termios, not sgtty. (pbetti@e-tech.net)
2005-08-10 22:48:40 +00:00
dtrg
35bd1df1aa
Now includes stdlib.h to avoid implicit call declarations.
2005-06-25 15:50:40 +00:00
dtrg
dd400ca720
Removed a call to _cleanup(), which appears to be a Minixism (and should be unnecessary).
2005-06-24 22:12:02 +00:00
dtrg
9bc8c07deb
Replaced references to /usr/tmp with references to /tmp.
2005-06-24 22:08:47 +00:00
ceriel
384c4bc698
Fixed bug with 4-byte sets on 2-byte machines
1998-09-03 12:51:38 +00:00
ceriel
3b3ec3a2af
Fixed typo in catchsig.s
1996-11-26 15:05:10 +00:00
ceriel
ea09125e30
fixed a bug: STD/LDD was generated on odd-numbered reg
1996-11-19 13:28:41 +00:00
ceriel
d0587ef3ab
Stupid confusion with fdtox and fxtod
1996-11-18 16:49:54 +00:00
ceriel
740f1d5f75
fix in cmpxchg instruction; i486 book is wrong
1996-04-25 08:38:05 +00:00
ceriel
4baa1312a8
removed
1995-12-06 14:15:11 +00:00
ceriel
cdb362b628
removed
1995-12-06 14:04:51 +00:00
ceriel
f7157ca24c
Copied versions of dv[iu].s from ../../m68k2/libem.
1995-12-05 15:38:55 +00:00
ceriel
71da2cdda9
Fixed some bugs with the setxx instructions
1995-09-12 12:09:08 +00:00
ceriel
8b3437dd24
Fix: setxx instructions should only accept byte registers
1995-09-12 12:08:42 +00:00
ceriel
b766e2beab
Added libassert for when DEBUG is defined
1995-08-18 07:28:47 +00:00
ceriel
a96a9107c8
'ed -' is no longer supported on some systems. replaced by 'ed -s'
1995-08-17 12:22:33 +00:00
ceriel
bf6f4f8a6e
Minor mod to Makefile
1995-07-27 07:14:54 +00:00
ceriel
5a6d5d877f
declare errno in cerror.s
1995-07-26 08:55:56 +00:00
ceriel
2624e5d05c
Use _end instead of $_end. $_end does not always indicate the right
...
position. This should be fixed as well, but how?
1995-07-26 08:52:03 +00:00
ceriel
ef30bb3398
Fix by Charles Lindsey: still used reg vars, despite ms_gto
1995-07-26 08:44:35 +00:00
ceriel
41d0c898e5
Fixed typo
1995-07-26 08:43:02 +00:00
ceriel
4978d19bff
Several fixes from Charles Lindsey
1995-07-25 16:43:42 +00:00
ceriel
34b3d1fb52
Fix: produced jgt instead of jg
1995-07-25 13:21:53 +00:00
ceriel
5e03b1bebb
Fixes: some conditionals were evaluated wrong due to the overflow bit
1995-07-21 12:05:26 +00:00
ceriel
fdc0e2efdb
minor improvement
1995-03-29 11:57:27 +00:00
ceriel
34f7036b87
Reordered patterns
1995-03-28 11:22:34 +00:00
ceriel
06b0d3775f
Added some patterns
1995-03-28 10:01:02 +00:00
ceriel
404d86d544
Added -F option to indicate name of floating point hook
1995-03-17 12:37:06 +00:00
ceriel
65353b1417
Fix: description of setxx should write arg
1995-02-24 11:53:43 +00:00
ceriel
63d0700af1
Fix: made 'rep' equivalent to 'repz'
1994-11-16 14:43:42 +00:00
ceriel
4c26480d25
Fix: sometimes wrote register gotten from pop_reg(); Fix: WINDOWSIZE; Fix: make distr
1994-10-25 16:14:08 +00:00
ceriel
e2894d7a6e
Header --> Id
1994-06-28 14:41:17 +00:00
ceriel
1db6a3029b
Header --> Id
1994-06-24 14:02:31 +00:00
ceriel
6cec9aca97
Header --> Id && bug fix
1994-06-24 07:25:30 +00:00
ceriel
910f827fe2
Header --> Id && bug fix
1994-06-23 16:08:51 +00:00
ceriel
11682328eb
get section alignments right
1994-01-14 11:42:01 +00:00
ceriel
6f23614b06
Fixed problem with calloc() declaration
1993-12-09 16:31:05 +00:00
ceriel
6561b6287f
Fix: CMP instruction with small constant does not handle PC-relative
1993-12-06 10:14:43 +00:00
ceriel
fe99903321
Several changes: did not work right when compiled with the ANSI C compiler
1993-11-24 15:37:27 +00:00
ceriel
b7a5c1acc0
export WRITE
1993-11-24 15:32:45 +00:00
ceriel
ac6b7e7cf5
Export .stop
1993-11-24 12:57:43 +00:00
ceriel
acd80a39f2
Fixed typo
1993-11-24 12:54:29 +00:00
ceriel
1d6775dfa5
Wrong references to _endbss; changed to endbss
1993-11-24 12:45:29 +00:00
ceriel
a3de95550e
define .cs[ab]4 instead of .cs[ab]
1993-11-24 12:39:21 +00:00
ceriel
0b7ae7a629
.long replaced by .data4
1993-11-24 12:37:16 +00:00
ceriel
e30d27c418
Fixed bug in newlabel: assertion was wrong
1993-11-24 12:07:26 +00:00
ceriel
0e6e7bc913
Fixed for machines without .o
1993-11-19 09:59:11 +00:00
ceriel
618041f3ff
Some minor modifications
1993-11-19 09:50:20 +00:00
ceriel
6b1a0c486f
Fixed too large constant
1993-11-19 09:37:44 +00:00
ceriel
e3e19a7a0d
signal now deals with void functions
1993-11-17 16:53:43 +00:00
ceriel
cf151967a5
signal now deals with void functions
1993-11-17 16:38:52 +00:00
ceriel
91d270eb90
Modified for Solaris 2
1993-11-10 12:57:16 +00:00
ceriel
964bf270ab
Fixed CII (?) did not handle stack pointer right
1993-11-10 12:51:03 +00:00
ceriel
d9af0f2851
All 'follows' checks only to be done when ! unresolved
1993-10-13 10:47:28 +00:00
ceriel
af42c1f960
Mention all sections
1993-10-13 10:46:11 +00:00
ceriel
861f4afc0c
Added -LIB where needed
1993-10-07 10:56:25 +00:00
ceriel
df61cc8c4b
Added sparc_solaris
1993-10-07 09:52:41 +00:00
ceriel
9e7c8d2c9f
Added sparc_solaris stuff
1993-10-06 17:04:49 +00:00
ceriel
980faf36f0
Added sparc_solaris stuff
1993-10-06 16:42:05 +00:00
ceriel
a430cb7d8e
Changed for Solaris 2
1993-10-06 16:18:58 +00:00
ceriel
76d1b91311
fix: probably just a typo
1993-10-06 16:15:30 +00:00
ceriel
6dc51ef6eb
Fix: setrlimit has two parameters
1993-10-06 16:12:40 +00:00
ceriel
3e43a9ac61
Some more changes for Solaris 2
1993-10-06 11:47:11 +00:00
ceriel
4092904071
proper trap on divide by 0
1993-10-04 14:13:51 +00:00
ceriel
c118bca2c2
An offset fix, and added some files for solaris 2
1993-10-04 08:57:25 +00:00
ceriel
b06a419f71
Fix to Makefile: define CFLAGS
1993-09-30 15:13:11 +00:00
ceriel
f8e6131e61
Some stuff for solaris 2
1993-09-30 15:11:52 +00:00
ceriel
43280fdd5a
Fixed previous fix
1993-09-30 15:10:59 +00:00
ceriel
de8fefd02c
Fixed typo
1993-08-04 09:24:07 +00:00
ceriel
b371972acf
Fixed error which sometimes caused core dumps
1993-03-30 09:40:07 +00:00
ceriel
14e756ba87
Enabled divide by 0 and improper trap
1993-02-24 15:10:14 +00:00
ceriel
dfc4956d59
Fixed bug: some offsets were just plain wrong
1993-02-19 17:33:40 +00:00
ceriel
6da226ab2b
Fixed bug: some offsets were just plain wrong
1993-02-08 13:35:44 +00:00
ceriel
468d98750c
Fixed problem with relocation,
...
added curr_token, so that parser can access token
1993-02-08 13:01:30 +00:00
ceriel
5f7f7bf194
Fixed error: ] was missing in translation of COM
1993-01-11 12:46:04 +00:00
ceriel
dc108fd084
Removed adder.h from proto.libfp
1993-01-05 12:52:47 +00:00
ceriel
be2c36fbe5
Removed adder.h from .distr
1993-01-05 12:50:30 +00:00
ceriel
005f32298f
Updated for ANSI C, cleaned up a bit
1993-01-05 12:06:58 +00:00
ceriel
d2fb022441
improved ply handling
1992-12-18 10:29:31 +00:00
ceriel
ed2ba2e1d5
improved ply handling
1992-12-18 10:22:55 +00:00
ceriel
5fbaff533c
Use test instruction for testing
1992-12-17 12:58:05 +00:00
ceriel
4d068e8e04
ply adaption was wrong for EM replacements
1992-12-17 12:52:21 +00:00
ceriel
e09aac1b4a
shifts do NOT set condition codes properly
1992-12-14 16:40:22 +00:00
ceriel
bc2744ca5c
Several fixes: SDF was wrong, and shifts do NOT set contition codes properly
1992-12-14 16:37:35 +00:00
ceriel
cb32d73c61
Fix in fef.s: handles infinity more graceful now
1992-12-08 17:26:41 +00:00
ceriel
e43e6b8100
Added M68030 MMU instructions
1992-11-19 18:19:55 +00:00
ceriel
17efc329f8
Separated the m68020 syntax from the table, so that we can also create
...
a m68000 code generator producing m68020 syntax
1992-11-16 17:24:25 +00:00
ceriel
9f305dcfe1
Fixed bug in register initialization for offsets > 4096
1992-11-16 14:31:49 +00:00
ceriel
67d5d2d6c4
small fix: carry was not always clear before the 'sbc'
1992-10-16 15:43:46 +00:00
ceriel
537cbd3d89
Fixed bug: REP resulted in 0xF2 instead of 0xF3
1992-10-12 17:25:15 +00:00
ceriel
248ca45fc0
Use 80386 SET instruction
1992-09-17 14:15:20 +00:00
ceriel
be227c5f88
Several fixes and addition of 80486 instructions
1992-09-16 16:10:30 +00:00
ceriel
94ec8e495e
Fixed ARPL instruction
1992-09-07 14:13:11 +00:00
ceriel
0299ae9ad0
Improved installation mechanism
1992-09-07 13:21:34 +00:00
ceriel
cf32c08fd9
Fix previous change
1992-09-07 12:47:11 +00:00
ceriel
ac7dc5e21f
Some minor modifications reflecting some changes in the peephole optimizer
1992-09-01 10:35:57 +00:00
ceriel
d18493b0ac
Some minor modifications reflecting some changes in the peephole optimizer
1992-09-01 10:19:21 +00:00
ceriel
6f03cff48f
Some minor modifications reflecting some changes in the peephole optimizer
1992-09-01 09:39:15 +00:00
ceriel
da17ca5a9f
Fixed bug: imulb was given wrong opcode
1992-08-31 15:23:59 +00:00
ceriel
8cbf1bae34
Apparently forgot about the .so suffix
1992-07-28 08:28:48 +00:00
ceriel
3f54a9f044
Suffix is .so, not .s
1992-07-28 08:24:26 +00:00
ceriel
2dde78c197
No system-calls from libem
1992-06-30 17:43:24 +00:00
ceriel
8474be6e52
Added EXIT, WRITE entry point
1992-06-30 17:42:09 +00:00
ceriel
5c5812e853
No system-calls from libem
1992-06-30 17:37:35 +00:00
ceriel
e860fa1974
Added EXIT, WRITE entry point
1992-06-30 17:36:49 +00:00
ceriel
8e4ee3ec1a
Added EXIT, WRITE and BRK entry point
1992-06-30 17:06:10 +00:00
ceriel
ea624f82de
No system-calls from libem
1992-06-30 16:51:19 +00:00
ceriel
50f571bf2b
Added EXIT, WRITE and BRK entry point
1992-06-30 16:39:49 +00:00
ceriel
f86c403a53
No system-calls from libem
1992-06-30 16:39:47 +00:00
ceriel
d1b1defbb7
No system-calls from libem
1992-06-30 16:31:52 +00:00
ceriel
d0e54a11e5
Added EXIT, WRITE and BRK entry point
1992-06-30 16:30:56 +00:00
ceriel
d2ee282845
Added EXIT, WRITE and BRK entry point
1992-06-30 16:24:17 +00:00
ceriel
8b26f24e21
Added EXIT, WRITE and BRK entry point
1992-06-30 16:10:24 +00:00
ceriel
6f7d2bc2ee
No system-calls from libem
1992-06-30 16:08:42 +00:00
ceriel
9aceb849ad
Added BRK,WRITE and EXIT entry points
1992-06-30 16:05:33 +00:00
ceriel
0350c1898b
Added EXIT, WRITE and BRK entry point
1992-06-30 16:04:38 +00:00
ceriel
8c8d1a7d9b
No system-calls from libem
1992-06-30 15:58:35 +00:00
ceriel
9da8f28a47
Added EXIT, WRITE and BRK entry point
1992-06-30 15:52:07 +00:00
ceriel
4ef108f93e
Added BRK and EXIT entry points
1992-06-30 15:51:31 +00:00
ceriel
3f3af2e01f
Added EXIT and BRK entry point
1992-06-30 15:22:55 +00:00
ceriel
ab38665421
No system-calls from libem
1992-06-30 15:22:07 +00:00
ceriel
72b89fc1ad
Added EXIT and BRK entry point
1992-06-30 15:11:49 +00:00
ceriel
d278d61a10
Added BRK entry point
1992-06-30 15:08:35 +00:00
ceriel
f6157ea21e
Added EXIT and BRK entry point
1992-06-30 15:02:56 +00:00
ceriel
cee4d5de8b
No system-calls from libem
1992-06-30 15:02:32 +00:00
ceriel
6823ce7c96
Added EXIT and BRK entry point
1992-06-30 11:40:12 +00:00
ceriel
2ae29707d2
No system-calls from libem
1992-06-30 11:39:12 +00:00
ceriel
bf2d5263cb
No system-calls from libem
1992-06-30 11:19:33 +00:00
ceriel
0e46e6bc75
Added EXIT entry point
1992-06-30 11:18:17 +00:00
ceriel
c76b5f436a
bug fix: an illegal 'inc' was generated
1992-06-12 15:04:27 +00:00
ceriel
46f084d660
Fix: sometimes did not reserve space for local on a mes ms_gto
1992-06-12 09:46:43 +00:00
ceriel
fd6e25e50f
Restored exit.c and cleanup.c
1992-05-18 16:10:18 +00:00
ceriel
2fbea53939
Restored exit.c and cleanup.c
1992-05-18 16:01:16 +00:00
ceriel
3d52b0d475
Added missing files
1992-05-15 13:55:14 +00:00
ceriel
4f11d0433d
updated catchsig.s
1992-05-15 13:31:19 +00:00
ceriel
60edf5b3ea
Added some missing files
1992-05-15 13:14:55 +00:00
ceriel
1e7ffe6a0f
em.c still used lib instead of lib.bin
1992-04-23 13:02:37 +00:00
ceriel
8c9f885817
Fixed proto.make
1992-04-23 12:55:34 +00:00
ceriel
0571a16bcb
Allow for machine-dependent options
1992-03-27 17:38:54 +00:00
ceriel
b2cca56e16
Accept -gdb option
1992-03-27 17:36:49 +00:00
ceriel
a8b2fae0da
Fixed CFU implementation
1992-03-02 11:52:09 +00:00
ceriel
813ca898a7
Bug fix: generated a 'push dl', which does not exist
1992-01-13 10:31:23 +00:00
ceriel
5ccd830347
replaced atol definition
1991-12-18 16:15:18 +00:00
ceriel
952bd37627
removed atol reference
1991-12-18 16:01:44 +00:00
ceriel
03022ad7dd
Accomodate symbolic debugger info
1991-12-18 14:38:57 +00:00
ceriel
70b535c368
No longer use ushort
1991-12-18 09:45:26 +00:00
ceriel
b23ed92d7e
Use cp_dir to copy directories
1991-12-18 09:44:10 +00:00
ceriel
eb3ce1f70f
Fixed typo in previous fix
1991-12-18 09:34:52 +00:00
ceriel
53c4951b29
Do not use '#endif/#else xxx'; it is not allowed for ANSI C
1991-12-17 15:05:43 +00:00
ceriel
0c59e2e12d
Prevent name clashes with sys/types.h on system V
1991-12-16 15:24:24 +00:00
ceriel
80b250950e
Do not use '#undef aap xxx'; it is not allowed for ANSI C
1991-12-16 14:34:06 +00:00
ceriel
2c076a2a26
Some bug fixes
1991-12-04 16:28:37 +00:00
ceriel
d162f3edb0
Made acceptable for our ANSI C compiler
1991-12-02 15:30:28 +00:00
ceriel
967b13fac5
Added target optimizer
1991-11-23 15:14:32 +00:00
ceriel
047648846a
Added
1991-11-23 15:04:01 +00:00
ceriel
be802650ca
Added labeldef stuff
1991-11-18 09:51:35 +00:00
ceriel
64ce6b0ef4
Fixed fef.s: did not work for unnormalized numbers
1991-11-15 09:47:44 +00:00
ceriel
c3de1a9bea
Fixed NOP
1991-11-14 15:53:05 +00:00
ceriel
9cfb64d5c2
Bug fix in LOC LOC CII ZEQ/ZNE pattern
1991-11-14 13:20:55 +00:00
ceriel
099fe7a4c2
Added sections
1991-11-13 16:57:40 +00:00
ceriel
ef9b3098de
Also install ce and libce
1991-11-13 16:56:48 +00:00
ceriel
7da9d47e5a
Also install libce
1991-11-13 16:56:12 +00:00
ceriel
b491906775
updated
1991-11-13 16:55:20 +00:00
ceriel
ac51febc8b
Added dbsym and updated output.c
1991-11-13 16:54:59 +00:00
ceriel
de620e1fd5
Added
1991-11-13 16:53:49 +00:00
ceriel
881240fb3c
Removed vars.s
1991-11-13 15:03:01 +00:00
ceriel
fe7a55d227
Added sys.s
1991-11-13 14:33:10 +00:00
ceriel
e19f33f3de
Added C_db_sline
1991-11-11 18:08:14 +00:00
ceriel
d8190353cc
Added libdb
1991-11-08 15:45:47 +00:00
ceriel
7d0a89d420
Added
1991-11-08 15:44:30 +00:00
ceriel
97a7fcbca3
A few fixes
1991-11-07 11:36:09 +00:00
ceriel
4e99d889ff
Changed manual page installation mechanism
1991-11-05 15:31:14 +00:00
ceriel
3da953fa85
Added grind support
1991-11-01 11:53:42 +00:00
ceriel
e4168af8fb
Added C_db_sline for grind
1991-11-01 11:47:41 +00:00
ceriel
60b9ebe0d3
Only install ACK-object producing part
1991-10-29 09:19:57 +00:00
ceriel
dd99f952d5
Fixes to local label stuff
1991-10-28 17:59:57 +00:00
ceriel
13da34032e
On i386 systems, make code expander lib
1991-10-25 15:46:30 +00:00