David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								d805052205 
								
							 
						 
						
							
							
								
								All the amisc binaries now build.  
							
							
							
						 
						
							2016-06-19 09:32:45 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								2af8568cc3 
								
							 
						 
						
							
							
								
								First draft at installables; not very satisfactory. make bugs with multiple  
							
							... 
							
							
							
							output targets and parallelism? 
							
						 
						
							2016-06-16 05:26:44 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								09554cb324 
								
							 
						 
						
							
							
								
								installable works, although it's a bit kludgy. Change the : separator to +  
							
							... 
							
							
							
							because : is special in make and non of the others I could think of would work. 
							
						 
						
							2016-06-14 07:34:14 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								605651776e 
								
							 
						 
						
							
							
								
								We can build a real program now!  
							
							
							
						 
						
							2016-06-12 20:59:43 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								88bd7ce126 
								
							 
						 
						
							
							
								
								Remove defunct pmfiles.  
							
							... 
							
							
							
							--HG--
branch : default-branch 
							
						 
						
							2016-06-03 13:56:50 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								ef8e6e25e0 
								
							 
						 
						
							
							
								
								Fix a whole pile of issues related to the failed attempt to increase  
							
							... 
							
							
							
							the number of types of relocation possible in the object file. (Now,
hopefully, working.)
Also change the object serialiser/deserialiser to never try to read or
write raw structures; it's way safer this way and we don't need the
performance boost any more.
--HG--
branch : default-branch 
							
						 
						
							2016-03-18 21:46:55 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								fd7e9f9046 
								
							 
						 
						
							
							
								
								Fix an insidious 64-bitness bug which was causing incorrectly optimised code.  
							
							... 
							
							
							
							--HG--
branch : default-branch 
							
						 
						
							2016-03-17 22:30:24 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								7e964dd25e 
								
							 
						 
						
							
							
								
								Raise the limit on ack.out relocation types by making the size of a  
							
							... 
							
							
							
							relocation structure bigger. Bump ack.out magic number.
--HG--
branch : default-branch 
							
						 
						
							2016-03-14 21:08:55 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								ff0c78cc78 
								
							 
						 
						
							
							
								
								Merge from default.  
							
							... 
							
							
							
							--HG--
branch : dtrg-videocore-branch-branch 
							
						 
						
							2016-03-13 21:13:09 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								44b5d01525 
								
							 
						 
						
							
							
								
								Merge.  
							
							... 
							
							
							
							--HG--
rename : util/ncgg/build.mk => util/cgg/build.mk 
							
						 
						
							2015-03-23 00:14:10 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								b146d2641c 
								
							 
						 
						
							
							
								
								Fix a slightly mysterious dependency issue.  
							
							
							
						 
						
							2015-03-23 00:09:41 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								98ea849d03 
								
							 
						 
						
							
							
								
								Improve flex correctness.  
							
							
							
						 
						
							2015-03-23 00:09:27 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								9f23fbbe6a 
								
							 
						 
						
							
							
								
								Allow machines to use cg if they wish.  
							
							... 
							
							
							
							--HG--
rename : mach/proto/ncg/build.mk => mach/proto/cg/build.mk
rename : util/ncgg/build.mk => util/cgg/build.mk 
							
						 
						
							2015-03-23 00:08:51 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								3d5e72e20b 
								
							 
						 
						
							
							
								
								Newer versions of GNU Make have a new function which collides with a  
							
							... 
							
							
							
							variable we're using; change the name of the variable. 
							
						 
						
							2015-03-22 12:09:46 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								2271bcd0a7 
								
							 
						 
						
							
							
								
								Fixed a parallel build race condition (forgot to declare a dependency to  
							
							... 
							
							
							
							the makefile). 
							
						 
						
							2014-11-09 18:47:51 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								6a340ea1bd 
								
							 
						 
						
							
							
								
								Remove regrettable comment.  
							
							
							
						 
						
							2014-08-31 13:40:39 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								d3e3e72860 
								
							 
						 
						
							
							
								
								Update from trunk.  
							
							... 
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 
						
							2013-05-29 15:03:48 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								6fff2d45fe 
								
							 
						 
						
							
							
								
								Attempt to fix 64-bitness error in ashow. Deprecate the structure format macros in h/out.h because they make no sense on 64-bit platforms.  
							
							
							
						 
						
							2013-05-29 14:48:51 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								5e9102955c 
								
							 
						 
						
							
							
								
								Reworked VC4 relocations and some of the instruction encoding to be actually correct. Now generating what could be real code!  
							
							... 
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 
						
							2013-05-21 23:17:30 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								c18a82ec40 
								
							 
						 
						
							
							
								
								Apply build system fixes for OpenBSD contributed by George Koehler.  
							
							
							
						 
						
							2013-05-18 12:15:53 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								5378e3fe53 
								
							 
						 
						
							
							
								
								Add special relocation type for VC4 jump instructions.  
							
							... 
							
							
							
							--HG--
branch : dtrg-videocore 
							
						 
						
							2013-05-17 22:40:50 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								11377070fd 
								
							 
						 
						
							
							
								
								Update distribution files.  
							
							... 
							
							
							
							--HG--
branch : dtrg-buildsystem 
							
						 
						
							2013-05-15 23:46:15 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								aaa3f14a79 
								
							 
						 
						
							
							
								
								Fix build error in opt which was causing all code, everywhere, to be broken.  
							
							... 
							
							
							
							Remember to build opt2 too.
--HG--
branch : dtrg-buildsystem 
							
						 
						
							2013-05-15 22:09:28 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								e9233b4712 
								
							 
						 
						
							
							
								
								Build ego.  
							
							... 
							
							
							
							--HG--
branch : dtrg-buildsystem
rename : util/arch/build.mk => util/ego/build.mk 
							
						 
						
							2013-05-15 21:14:06 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								d5f0107746 
								
							 
						 
						
							
							
								
								Build the Basic run-time library (after some modernisation).  
							
							... 
							
							
							
							--HG--
branch : dtrg-buildsystem 
							
						 
						
							2013-05-14 16:11:29 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								07453d184a 
								
							 
						 
						
							
							
								
								Top, topgen, aelflod. Moved the libraries back into the platform-specific  
							
							... 
							
							
							
							directories --- wrangling descr files was too hard. C programs can be built
for cpm, pc86, linux386, linux68k!
--HG--
branch : dtrg-buildsystem
rename : util/ack/build.mk => util/led/build.mk
rename : util/LLgen/build.mk => util/topgen/build.mk 
							
						 
						
							2013-05-13 23:26:15 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								81778b603f 
								
							 
						 
						
							
							
								
								Merge updates from trunk.  
							
							... 
							
							
							
							--HG--
branch : dtrg-buildsystem 
							
						 
						
							2013-05-13 12:37:27 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								b0c238eb5d 
								
							 
						 
						
							
							
								
								Made a start on building the runtimes for each platform and language; the  
							
							... 
							
							
							
							Linuxes all build.
--HG--
branch : dtrg-buildsystem
rename : modules/src/em_mes/build.mk => modules/src/read_em/build.mk
rename : plat/pc86/build.mk => plat/linux386/build.mk
rename : plat/pc86/build.mk => plat/linux68k/build.mk
rename : plat/pc86/build.mk => plat/linuxppc/build.mk
rename : util/ack/build.mk => util/misc/build.mk 
							
						 
						
							2013-05-12 23:51:55 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								c1aca7dae5 
								
							 
						 
						
							
							
								
								First milestone of replacing the build system.  
							
							... 
							
							
							
							--HG--
branch : dtrg-buildsystem
rename : lang/cem/cpp.ansi/Parameters => lang/cem/cpp.ansi/parameters.h 
							
						 
						
							2013-05-12 20:45:55 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								d89f172841 
								
							 
						 
						
							
							
								
								Change fatal() and error() to use varargs.  
							
							
							
						 
						
							2013-05-10 12:04:21 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								d91a1dc1a6 
								
							 
						 
						
							
							
								
								Merge changes from branch: linux68k platform, linuxppc platform (partially  
							
							... 
							
							
							
							working), and miscellaneous changes to support these. 
							
						 
						
							2013-05-09 18:14:16 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								b9b808e01a 
								
							 
						 
						
							
							
								
								Apply George Koehler's aelflod fix for generating non-EM_386 binaries.  
							
							... 
							
							
							
							Adjust platforms to use it. Fix some bugs in the linux386 platform.
--HG--
branch : dtrg-experimental-powerpc 
							
						 
						
							2013-05-09 15:54:23 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								99d7f513f2 
								
							 
						 
						
							
							
								
								Properly error out if something goes wrong rather than ploughing ahead  
							
							... 
							
							
							
							anyway.
--HG--
branch : dtrg-experimental-powerpc 
							
						 
						
							2013-05-09 11:20:36 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								c93cb69959 
								
							 
						 
						
							
							
								
								Check in incomplete Linux PowerPC and M68K work.  
							
							... 
							
							
							
							--HG--
branch : dtrg-experimental-powerpc 
							
						 
						
							2013-05-08 00:48:48 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									George Koehler 
								
							 
						 
						
							
							
							
							
								
							
							
								c8fdcff960 
								
							 
						 
						
							
							
								
								Some fixes for aelflod and aslod.  
							
							... 
							
							
							
							Copy rhead() and rsect() from aslod to aelflod, so aelflod can work
for machine with 64-bit long.
In aelflod, fix ELF header so file(1) no longer reports "corrupted
section header size". 
							
						 
						
							2013-04-24 19:57:23 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									George Koehler 
								
							 
						 
						
							
							
							
							
								
							
							
								0fc7fd5d33 
								
							 
						 
						
							
							
								
								Prevent segfault when trying to print an error message.  
							
							... 
							
							
							
							Use <stdarg.h> to pass arguments correctly, as ack/util/util.c
already uses <stdarg.h> the same way. 
							
						 
						
							2012-10-24 13:44:50 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								4349d702fa 
								
							 
						 
						
							
							
								
								Change from using platform-specific types to stdint platform-independent types  
							
							... 
							
							
							
							when reading the structure header. 
							
						 
						
							2012-09-27 11:32:40 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									George Koehler 
								
							 
						 
						
							
							
							
							
								
							
							
								7ef9b79c11 
								
							 
						 
						
							
							
								
								Merge deletion of many undead files.  
							
							
							
						 
						
							2012-09-23 15:31:16 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									George Koehler 
								
							 
						 
						
							
							
							
							
								
							
							
								e7c79415b5 
								
							 
						 
						
							
							
								
								Prevent division by zero in aslod.  
							
							... 
							
							
							
							rhead() and rsect() had assumed sizeof(long) == 4, but OpenBSD/amd64
has sizeof(long) == 8.  The problem revealed itself when sect->os_lign
became zero, and align() divided by zero. 
							
						 
						
							2012-09-21 22:51:12 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									George Koehler 
								
							 
						 
						
							
							
							
							
								
							
							
								0131ca4d46 
								
							 
						 
						
							
							
								
								Delete 689 undead files.  
							
							... 
							
							
							
							These files "magically reappeared" after the conversion from CVS to
Mercurial.  The old CVS repository deleted these files but did not
record *when* it deleted these files.  The conversion resurrected these
files because they have no history of deletion.  These files were
probably deleted before year 1995.  The CVS repository begins to record
deletions around 1995.
These files may still appear in older revisions of this Mercurial
repository, when they should already be deleted.  There is no way to fix
this, because the CVS repository provides no dates of deletion.
See http://sourceforge.net/mailarchive/message.php?msg_id=29823032  
							
						 
						
							2012-09-20 22:26:32 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									George Koehler 
								
							 
						 
						
							
							
							
							
								
							
							
								96ea0a5903 
								
							 
						 
						
							
							
								
								Fix more functions in util/ack for 64-bit hosts.  
							
							... 
							
							
							
							This continues the fix from changeset aabde0589450.  We must use
va_list to forward the arguments, because some of the arguments might
be 64-bit pointers.  A pointer does not fit in an int. 
							
						 
						
							2012-09-07 16:28:10 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								6ea172d0d9 
								
							 
						 
						
							
							
								
								Fix a 64-bitness issue (removed some untyped K&R C code that assumed ints  
							
							... 
							
							
							
							and pointers were the same size). 
							
						 
						
							2012-02-27 22:36:36 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ceriel Jacobs 
								
							 
						 
						
							
							
							
							
								
							
							
								1072a8797e 
								
							 
						 
						
							
							
								
								Added atol() that ignores overflow, so that unsigned long constants are dealt with properly  
							
							
							
						 
						
							2011-06-15 11:13:48 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ceriel Jacobs 
								
							 
						 
						
							
							
							
							
								
							
							
								2483e5723d 
								
							 
						 
						
							
							
								
								Fixed CFU  
							
							
							
						 
						
							2011-06-15 10:56:58 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									cjhjacobs 
								
							 
						 
						
							
							
							
							
								
							
							
								58613009f8 
								
							 
						 
						
							
							
								
								Fixed bug reported on tack-devel mailing list on 20-3-2011  
							
							
							
						 
						
							2011-05-18 19:19:19 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									David Given 
								
							 
						 
						
							
							
							
							
								
							
							
								b6dfaefeff 
								
							 
						 
						
							
							
								
								Removed file that the CVS conversion procedure left in (when it shouldn't have).  
							
							
							
						 
						
							2011-03-20 20:47:10 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									dtrg 
								
							 
						 
						
							
							
							
							
								
							
							
								c326f3c6a3 
								
							 
						 
						
							
							
								
								Remove references to using-machine-name-for-compiler, as we don't do that any more.  
							
							
							
						 
						
							2010-08-09 22:47:33 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									dtrg 
								
							 
						 
						
							
							
							
							
								
							
							
								5a872eed38 
								
							 
						 
						
							
							
								
								Prevent build failure on modern Bisons (which are more picky than the old yacc this was written for).  
							
							
							
						 
						
							2010-08-01 10:36:01 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									dtrg 
								
							 
						 
						
							
							
							
							
								
							
							
								ee72886e54 
								
							 
						 
						
							
							
								
								Renamed 'switch' variable to avoid conflict with a keyword in modern awks.  
							
							
							
						 
						
							2010-08-01 10:35:04 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									dtrg 
								
							 
						 
						
							
							
							
							
								
							
							
								2c54f8c742 
								
							 
						 
						
							
							
								
								Renamed getline() to getln() to avoid conflict with glibc's version.  
							
							
							
						 
						
							2010-08-01 10:34:27 +00:00