The sources of the Free Pascal compiler, RTL, packages and utilities. See https://www.freepascal.org/ for more info.
Go to file
svenbarth f406867100 Merged revision(s) 31929-31931,32547 from branches/svenbarth/packages:
Switch Mac OS X to indirect entry information.

compiler/systems/t_bsd.pas, TLinkerBSD:
  + implement InitSysInitUnitName
compiler/system.pas:
  * systems_internal_sysinit: add Darwin systems
compiler/hlcgobj.pas, thlcgobj:
  * gen_proc_symbol_end: for Darwin systems don't directly call PascalMain for libraries, but FPC_LIBMAIN instead
rtl/darwin:
  + add sysinit.pas unit which contains the executable and library entry points for Darwin
rtl/darwin/Makefile.fpc:
  * add sysinit unit
rtl/bsd/sysosh.inc:
  + add a Darwin specific TPlatformEntryInformation (could probably be used for all Unix systems...)
rtl/bsd/system.pp:
  * define FPC_HAS_INDIRECT_MAIN_INFORMATION for Darwin systems once we're no longer bootstrapping with 2.6.x
  + add EntryInformation variable (this could maybe moved to system.inc...)
  + add new procedure SysEntry that is called from the entrypoint and which sets up necessary information required by other parts of the RTL
  * the old FPC_SYSTEMMAIN is still in place for bootstrapping
rtl/inc/systemh.inc, TEntryInformation:
  * PascalMain is cdecl on non-Windows systems (ToDo: really?)
rtl/inc/system.inc:
  * initialstklen is provided by the indirect entry information, so no external here
........
Fix bootstrapping.

rtl/darwin/sysinit.pas:
  * enable the code only when no longer bootstrapping with 2.6.x
........
Fix bootstrapping.

rtl/objpas/objpas.pp:
  * define FPC_HAS_INDIRECT_MAIN_INFORMATION for Darwin only while not bootstrapping with 2.6.x
........
rtl/darwin/sysinit.pas:
  * reference PASCALMAIN correctly (I wonder how this even worked previously :/ )

git-svn-id: trunk@33949 -
2016-06-11 20:29:51 +00:00
compiler Merged revision(s) 31929-31931,32547 from branches/svenbarth/packages: 2016-06-11 20:29:51 +00:00
ide * spelling mistakes fpc repo part, mantis #30233 2016-06-02 20:01:09 +00:00
installer * fcl-pdf package added 2016-06-05 14:43:15 +00:00
packages * Added event-based fetching of variables 2016-06-11 17:07:32 +00:00
rtl Merged revision(s) 31929-31931,32547 from branches/svenbarth/packages: 2016-06-11 20:29:51 +00:00
tests * handle enums with a packenum setting that is larger than necessary to store 2016-06-09 22:00:14 +00:00
utils * spelling mistakes fpc repo part, mantis #30233 2016-06-02 20:01:09 +00:00
.gitattributes Merged revision(s) 31929-31931,32547 from branches/svenbarth/packages: 2016-06-11 20:29:51 +00:00
.gitignore * Removed empty tests directory from svn 2014-11-08 15:47:53 +00:00
fpmake_add1.inc
fpmake_proc1.inc
fpmake.pp
Makefile * remove documentation of the build target in the Makefile help screen as it overrides the version check 2016-03-13 12:10:33 +00:00
Makefile.fpc * remove documentation of the build target in the Makefile help screen as it overrides the version check 2016-03-13 12:10:33 +00:00