mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-03 23:54:33 +01:00 
			
		
		
		
	svn+ssh://peter@www.freepascal.org/FPC/svn/fpc/branches/linker/compiler ........ r2669 | peter | 2006-02-23 09:31:21 +0100 (Thu, 23 Feb 2006) | 2 lines * add compiler dir ........ r2673 | peter | 2006-02-23 17:08:56 +0100 (Thu, 23 Feb 2006) | 2 lines * enabled more code ........ r2677 | peter | 2006-02-24 17:46:29 +0100 (Fri, 24 Feb 2006) | 2 lines * pe stub and headers ........ r2683 | peter | 2006-02-25 23:13:24 +0100 (Sat, 25 Feb 2006) | 2 lines * section options cleanup ........ r2696 | peter | 2006-02-26 20:27:41 +0100 (Sun, 26 Feb 2006) | 2 lines * fixed typecasts ........ r2699 | peter | 2006-02-26 23:04:32 +0100 (Sun, 26 Feb 2006) | 2 lines * simple linking works ........ r2700 | peter | 2006-02-27 09:44:50 +0100 (Mon, 27 Feb 2006) | 2 lines * internal linker script ........ r2701 | peter | 2006-02-27 12:05:12 +0100 (Mon, 27 Feb 2006) | 2 lines * make elf working again ........ r2702 | peter | 2006-02-27 14:04:43 +0100 (Mon, 27 Feb 2006) | 3 lines * disable dwarf for smartlinking with .a * fix section start in new .a file ........ r2704 | peter | 2006-02-27 18:30:43 +0100 (Mon, 27 Feb 2006) | 2 lines * stab section fixes ........ r2708 | peter | 2006-02-28 19:29:17 +0100 (Tue, 28 Feb 2006) | 2 lines * basic work to merge stabs sections ........ r2712 | peter | 2006-02-28 23:17:48 +0100 (Tue, 28 Feb 2006) | 2 lines * unload tmodules before linking ........ r2713 | peter | 2006-02-28 23:18:51 +0100 (Tue, 28 Feb 2006) | 2 lines * fixed stabs linking ........ r2714 | peter | 2006-02-28 23:19:19 +0100 (Tue, 28 Feb 2006) | 2 lines * show code and data size ........ r2715 | peter | 2006-02-28 23:25:35 +0100 (Tue, 28 Feb 2006) | 2 lines * unload .stabs from objdata after it is merged ........ r2718 | peter | 2006-03-01 12:24:38 +0100 (Wed, 01 Mar 2006) | 3 lines * memsize/datasize cleanup * check for exports/resources when adding module to linker ........ r2722 | peter | 2006-03-03 09:12:20 +0100 (Fri, 03 Mar 2006) | 2 lines * new TObjSymbol splitted from TAsmSymbol ........ r2723 | peter | 2006-03-03 14:08:55 +0100 (Fri, 03 Mar 2006) | 2 lines * coff fixes after recent objsymbol changes ........ r2728 | peter | 2006-03-03 22:43:04 +0100 (Fri, 03 Mar 2006) | 2 lines * fixed coff writer ........ r2729 | peter | 2006-03-04 01:10:32 +0100 (Sat, 04 Mar 2006) | 2 lines * fix read-only opening ........ r2730 | peter | 2006-03-04 01:11:16 +0100 (Sat, 04 Mar 2006) | 2 lines * Read edata from DLLs, basic work ........ r2740 | peter | 2006-03-04 21:13:43 +0100 (Sat, 04 Mar 2006) | 3 lines * deletedef added * don't remove defs from index when we are already clearing everything ........ r2769 | peter | 2006-03-05 21:42:33 +0100 (Sun, 05 Mar 2006) | 4 lines * moved TObj classes to ogbase * ObjSection.SymbolRefs and SymbolDefines list * DLL importing ........ git-svn-id: trunk@2771 -
		
			
				
	
	
		
			97 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			97 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
{$ifdef FPC}
 | 
						|
  {$mode objfpc}
 | 
						|
  {$asmmode default}
 | 
						|
  {$H-}
 | 
						|
  {$goto on}
 | 
						|
  {$inline on}
 | 
						|
 | 
						|
{$ifdef win32}
 | 
						|
  { 256MB stack }
 | 
						|
  { under windows the stack can't grow }
 | 
						|
  {$MEMORY 256000000}
 | 
						|
{$else win32}
 | 
						|
  { 1MB stack }
 | 
						|
  {$MEMORY 1000000}
 | 
						|
{$endif win32}
 | 
						|
  { This reduces the memory requirements a lot }
 | 
						|
  {$PACKENUM 1}
 | 
						|
 | 
						|
  { We don't use exceptions, so turn off the implicit
 | 
						|
    exceptions in the constructors }
 | 
						|
  {$IMPLICITEXCEPTIONS OFF}
 | 
						|
  { Inline small functions, but not when EXTDEBUG is used }
 | 
						|
  {$ifndef EXTDEBUG}
 | 
						|
    {$define USEINLINE}
 | 
						|
  {$endif EXTDEBUG}
 | 
						|
 | 
						|
  {$define USEEXCEPT}
 | 
						|
 | 
						|
  {$ifdef cpuarm}
 | 
						|
    {$packrecords c}
 | 
						|
  {$endif cpuarm}
 | 
						|
{$endif}
 | 
						|
 | 
						|
{$ifdef i386}
 | 
						|
  {$define x86}
 | 
						|
  {$define cpuflags}
 | 
						|
  {$define cpuextended}
 | 
						|
  {$define USECMOV}
 | 
						|
  {$define SUPPORT_MMX}
 | 
						|
  {$define cpumm}
 | 
						|
{$endif i386}
 | 
						|
 | 
						|
{$ifdef x86_64}
 | 
						|
  {$define x86}
 | 
						|
  {$define cpuflags}
 | 
						|
  {$define cpu64bit}
 | 
						|
  {$define cpuextended}
 | 
						|
  {$define cpufloat128}
 | 
						|
  {$define cputargethasfixedstack}
 | 
						|
  {$define USECMOV}
 | 
						|
  {$define cpumm}
 | 
						|
{$endif x86_64}
 | 
						|
 | 
						|
{$ifdef alpha}
 | 
						|
  {$define cpu64bit}
 | 
						|
{$endif alpha}
 | 
						|
 | 
						|
{$ifdef sparc}
 | 
						|
  {$define cpuflags}
 | 
						|
  {$define cputargethasfixedstack}
 | 
						|
  {$define cpurequiresproperalignment}
 | 
						|
{$endif sparc}
 | 
						|
 | 
						|
{$ifdef powerpc}
 | 
						|
  {$define cpuflags}
 | 
						|
  {$define cputargethasfixedstack}
 | 
						|
  {$define cpumm}
 | 
						|
{$endif powerpc}
 | 
						|
 | 
						|
{$ifdef powerpc64}
 | 
						|
  {$define cpu64bit}
 | 
						|
  {$define cpuflags}
 | 
						|
  {$define cputargethasfixedstack}
 | 
						|
  {$define cpumm}
 | 
						|
  {$define cpurequiresproperalignment}
 | 
						|
{$endif powerpc64}
 | 
						|
 | 
						|
{$ifdef arm}
 | 
						|
  {$define cpuflags}
 | 
						|
  {$define cpufpemu}
 | 
						|
  {$define cpuneedsdiv32helper}
 | 
						|
  {$define cputargethasfixedstack}
 | 
						|
  {$define cpurequiresproperalignment}
 | 
						|
{$endif arm}
 | 
						|
 | 
						|
{$ifdef m68k}
 | 
						|
  {$define cpuflags}
 | 
						|
  {$define cpufpemu}
 | 
						|
{$endif m68k}
 | 
						|
 | 
						|
{$IFDEF MACOS}
 | 
						|
{$DEFINE MACOS_USE_FAKE_SYSUTILS}
 | 
						|
{$ENDIF MACOS}
 | 
						|
 | 
						|
{ Use the internal linker by default }
 | 
						|
{ define INTERNALLINKER}
 |