pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							70a29668a4 
							
						 
					 
					
						
						
							
							Try to fix simply the fpc_threadvar_relocate_proc problem  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@23220 - 
						
					 
					
						2012-12-24 16:23:30 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								sergei 
							
						 
					 
					
						
						
						
						
							
						
						
							f9dbcbd0c3 
							
						 
					 
					
						
						
							
							- Removed duplicate file header  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@23199 - 
						
					 
					
						2012-12-21 09:16:23 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								sergei 
							
						 
					 
					
						
						
						
						
							
						
						
							278fbb742e 
							
						 
					 
					
						
						
							
							* mips-linux: call SetErrno in order to remove dependence on threadvar implementation details.  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@23197 - 
						
					 
					
						2012-12-21 04:42:41 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								svenbarth 
							
						 
					 
					
						
						
						
						
							
						
						
							fdf6b17421 
							
						 
					 
					
						
						
							
							rtl/linux/m68k/prt0.as:  
						
						 
						
						... 
						
						
						
						correctly calculate and pass on the addresses for the parameters and the environment; this way parameters can now be used, but reading environment variables still does not seem to work...
Note: the other assembler files (especially cprt0.as) were not adjusted and might not work at all
git-svn-id: trunk@22936 - 
						
					 
					
						2012-11-05 21:12:09 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonas Maebe 
							
						 
					 
					
						
						
						
						
							
						
						
							20a6b7fa3d 
							
						 
					 
					
						
						
							
							* fixed compilation after introduction of nostackframe checks  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@22767 - 
						
					 
					
						2012-10-19 14:43:00 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								svenbarth 
							
						 
					 
					
						
						
						
						
							
						
						
							f7c333cee0 
							
						 
					 
					
						
						
							
							Enabled signal handlers  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@22752 - 
						
					 
					
						2012-10-18 20:12:41 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								svenbarth 
							
						 
					 
					
						
						
						
						
							
						
						
							7bc5995d4d 
							
						 
					 
					
						
						
							
							Implement SysCall interface for m68k-linux. This is especially useful for testing code using  
						
						 
						
						... 
						
						
						
						QEMU's userspace emulation as no libraries are needed then.
git-svn-id: trunk@22750 - 
						
					 
					
						2012-10-18 20:12:32 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								svenbarth 
							
						 
					 
					
						
						
						
						
							
						
						
							322dbe5b65 
							
						 
					 
					
						
						
							
							Various adjustments to the RTL for m68k:  
						
						 
						
						... 
						
						
						
						* enable the 6 parameter syscall variant (still everything dummied out though)
* add termios constants
* don't change signal handlers for now
* disable assembly set routines as set handling was changed
git-svn-id: trunk@22743 - 
						
					 
					
						2012-10-18 20:12:02 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								svenbarth 
							
						 
					 
					
						
						
						
						
							
						
						
							d5523e6af6 
							
						 
					 
					
						
						
							
							For now completely disable (I)MUL/(I)DIV support for Coldfire and pass through the RTL routines  
						
						 
						
						... 
						
						
						
						(of which the names had changed from FPC_MUL_LONGWORD->FPC_MUL_DWORD and FPC_MOD_CARDINAL->
FPC_MOD_DWORD).
Also disable the usage of FPU opcodes for Coldfire.
git-svn-id: trunk@22739 - 
						
					 
					
						2012-10-18 20:11:39 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								svenbarth 
							
						 
					 
					
						
						
						
						
							
						
						
							81069a7eca 
							
						 
					 
					
						
						
							
							rtl/linux/m68k/prt0.as:  
						
						 
						
						... 
						
						
						
						Add __stkptr variable
git-svn-id: trunk@22735 - 
						
					 
					
						2012-10-18 20:11:21 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								svenbarth 
							
						 
					 
					
						
						
						
						
							
						
						
							9a9d941ee1 
							
						 
					 
					
						
						
							
							rtl/m68k/sysnr.inc:  
						
						 
						
						... 
						
						
						
						adjust syscalls just enough so that we don't have any duplicate symbols; the correctness will
  be verified once we have linkable code
git-svn-id: trunk@22727 - 
						
					 
					
						2012-10-18 20:10:38 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							4295cc417e 
							
						 
					 
					
						
						
							
							Fix PIC instruction for syscalls  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@22497 - 
						
					 
					
						2012-09-28 14:47:54 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							d95ff52463 
							
						 
					 
					
						
						
							
							Add PIC code  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@22496 - 
						
					 
					
						2012-09-28 13:52:02 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							20c9d19764 
							
						 
					 
					
						
						
							
							Add PIC specific code  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@22484 - 
						
					 
					
						2012-09-27 15:50:31 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							62356c0e17 
							
						 
					 
					
						
						
							
							+ add support for unlimited PIC mode  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@22483 - 
						
					 
					
						2012-09-27 15:50:02 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							abef064786 
							
						 
					 
					
						
						
							
							Adapt TSigContext to structure found by debugging  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@22482 - 
						
					 
					
						2012-09-27 15:49:13 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							5deddaec8c 
							
						 
					 
					
						
						
							
							Adapt TSigContext to structure found by debugging  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@22481 - 
						
					 
					
						2012-09-27 15:48:54 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							333dec347c 
							
						 
					 
					
						
						
							
							Regenerate after: Use "-K PIC" for assembler call if pic mode is selected  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@22480 - 
						
					 
					
						2012-09-27 15:47:47 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							543cf7e78b 
							
						 
					 
					
						
						
							
							Use "-K PIC" for assembler call if pic mode is selected  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@22479 - 
						
					 
					
						2012-09-27 15:47:31 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								paul 
							
						 
					 
					
						
						
						
						
							
						
						
							f338d5c338 
							
						 
					 
					
						
						
							
							rtl: set DefaultSystemCodePage on linux without cwstrings  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@22411 - 
						
					 
					
						2012-09-17 08:31:37 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonas Maebe 
							
						 
					 
					
						
						
						
						
							
						
						
							0ad1a26c61 
							
						 
					 
					
						
						
							
							* adjusted startup code so it guarantees 16 byte stack alignment on program  
						
						 
						
						... 
						
						
						
						startup for Linux/i386 (since the code generator won't keep the 16 byte
    alignment (yet?) for that platform, it won't make much difference in
    practice)
git-svn-id: trunk@22383 - 
						
					 
					
						2012-09-13 14:47:05 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								marco 
							
						 
					 
					
						
						
						
						
							
						
						
							1a895a875b 
							
						 
					 
					
						
						
							
							* move fpgetenv(pchar) to unit system for syscall based *nix rtls.  
						
						 
						
						... 
						
						
						
						It was already available for libc based *nix rtls
git-svn-id: trunk@22365 - 
						
					 
					
						2012-09-10 09:21:56 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonas Maebe 
							
						 
					 
					
						
						
						
						
							
						
						
							c71cb9dc69 
							
						 
					 
					
						
						
							
							* fixed null termination of cmdline (based on patch by C Western,  
						
						 
						
						... 
						
						
						
						mantis #22742 ) -- that function seems like a good candidate to
    put in a shared include file though
git-svn-id: trunk@22270 - 
						
					 
					
						2012-08-30 21:30:31 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								sergei 
							
						 
					 
					
						
						
						
						
							
						
						
							393f1d58ed 
							
						 
					 
					
						
						
							
							* Fixed register rsi being overwritten. It is used to pass argc into libc_start_main.  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@22043 - 
						
					 
					
						2012-08-09 07:34:49 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								sergei 
							
						 
					 
					
						
						
						
						
							
						
						
							12dc48afbf 
							
						 
					 
					
						
						
							
							* Set errno using a call to seterrno, like it is done for i386 target. This removes most of assembler code together with PIC hacks and makes this part independent of threadvar implementation details.  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@22042 - 
						
					 
					
						2012-08-09 06:34:00 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								masta 
							
						 
					 
					
						
						
						
						
							
						
						
							109eb8bf75 
							
						 
					 
					
						
						
							
							Add a couple of ARM Linux syscalls  
						
						 
						
						... 
						
						
						
						This adds the following syscalls from Linux 3.5.0:
syscall_nr_preadv
syscall_nr_pwritev
syscall_nr_rt_tgsigqueueinfo
syscall_nr_perf_event_open
syscall_nr_recvmmsg
git-svn-id: trunk@21951 - 
						
					 
					
						2012-07-22 22:58:16 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							54bfc8156d 
							
						 
					 
					
						
						
							
							Fix termios constants for mips cpu, mostly using octal prefix  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21902 - 
						
					 
					
						2012-07-12 13:11:13 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							a311c53167 
							
						 
					 
					
						
						
							
							Replace HandleErrorFrame calls by HandleErrorAddrFrameInd where possible in common code (to allow correct backtrace for mips cpu)  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21900 - 
						
					 
					
						2012-07-12 11:53:59 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							d93282e16d 
							
						 
					 
					
						
						
							
							Values of TIOGWINSZ, TIOCSWINSZ, TIOCGPGRP and TIOCSPGRP for mipsel  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21886 - 
						
					 
					
						2012-07-11 22:15:54 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							c38b78ba65 
							
						 
					 
					
						
						
							
							+ Add missing implementation of pipe syscall  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21859 - 
						
					 
					
						2012-07-11 07:48:54 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								sergei 
							
						 
					 
					
						
						
						
						
							
						
						
							31f9a9d420 
							
						 
					 
					
						
						
							
							* Fixed label name in .globl and .type directives, was causing every library to contain an unwanted dynamic reference to "_start".  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21854 - 
						
					 
					
						2012-07-10 17:12:34 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							75420e78a8 
							
						 
					 
					
						
						
							
							Reset FPU exceptions and retrun after changing sigc_pc value if UContext is assigned  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21847 - 
						
					 
					
						2012-07-10 13:34:25 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							b0fcb8cb2f 
							
						 
					 
					
						
						
							
							Third field of SignalToRunError must be PUContext type  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21842 - 
						
					 
					
						2012-07-10 10:06:02 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							3ccfd2d74d 
							
						 
					 
					
						
						
							
							+ ESysERFKILL added  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21829 - 
						
					 
					
						2012-07-09 13:45:20 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							6bc339192d 
							
						 
					 
					
						
						
							
							MIPS system errors separated into errno-mips.inc file  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21827 - 
						
					 
					
						2012-07-09 13:17:29 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								florian 
							
						 
					 
					
						
						
						
						
							
						
						
							a553798151 
							
						 
					 
					
						
						
							
							* improved makefile rules for linux  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21813 - 
						
					 
					
						2012-07-07 21:22:06 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							645698183d 
							
						 
					 
					
						
						
							
							Integer Overflow signal must be mapped to error 215, not 205, which is for floating point overflow  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21807 - 
						
					 
					
						2012-07-06 15:54:45 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							32644a526c 
							
						 
					 
					
						
						
							
							Use CPUMIPS instead of MIPS conditional  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21806 - 
						
					 
					
						2012-07-06 15:26:49 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							8b65ef2d94 
							
						 
					 
					
						
						
							
							* Fix error in last commit for MIPS cpu  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21799 - 
						
					 
					
						2012-07-06 06:14:07 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							5fb3d1398a 
							
						 
					 
					
						
						
							
							+ Use SIZEOF_PTHREAD_XXX macros for /usr/include/bits/pthreadtypes.h for MIPS cpu  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21790 - 
						
					 
					
						2012-07-05 21:00:09 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							c156b5a8b2 
							
						 
					 
					
						
						
							
							First version working to link with shared c library  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21789 - 
						
					 
					
						2012-07-05 20:58:27 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							d8d7c38aec 
							
						 
					 
					
						
						
							
							* Use  to call PASCALMAIN to allow linking with PIC Code  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21788 - 
						
					 
					
						2012-07-05 20:57:25 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								florian 
							
						 
					 
					
						
						
						
						
							
						
						
							e59861a5a3 
							
						 
					 
					
						
						
							
							* fix directories for ports unit  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21751 - 
						
					 
					
						2012-07-01 17:34:01 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								florian 
							
						 
					 
					
						
						
						
						
							
						
						
							b83948b009 
							
						 
					 
					
						
						
							
							* rules updated  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21745 - 
						
					 
					
						2012-07-01 07:50:16 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								sergei 
							
						 
					 
					
						
						
						
						
							
						
						
							185e34915c 
							
						 
					 
					
						
						
							
							- Removed level 2 comments and control characters in comments.  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21726 - 
						
					 
					
						2012-06-27 20:04:39 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							0cea493014 
							
						 
					 
					
						
						
							
							* Fix hidden parameter for fpsigprocmask for mips cpu (16 instead of 8)  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21723 - 
						
					 
					
						2012-06-26 23:13:27 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							5597af2279 
							
						 
					 
					
						
						
							
							* Try to adapt sigcontext record to MIPS linux system  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21714 - 
						
					 
					
						2012-06-26 16:23:06 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							262bf0fe6e 
							
						 
					 
					
						
						
							
							* Fix Sigcontext field order for MIPS CPU  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21713 - 
						
					 
					
						2012-06-26 16:21:57 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							022d842b06 
							
						 
					 
					
						
						
							
							* Fix SIGXXX constants for mips CPU  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21709 - 
						
					 
					
						2012-06-25 23:15:34 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pierre 
							
						 
					 
					
						
						
						
						
							
						
						
							150578f2c0 
							
						 
					 
					
						
						
							
							+ Use SigContext sigc_sp and sigc_pc fields for HandleErrorAdrFrame parameters  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@21703 - 
						
					 
					
						2012-06-25 12:02:02 +00:00