mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 09:19:30 +02:00
The sources of the Free Pascal compiler, RTL, packages and utilities.
See https://www.freepascal.org/ for more info.
![]() (todo: at least solaris, maybe others) * changed the "exports" section handling: a) make everything private which is not exported (implemented for darwin and linux) b) for the exported symbols: - functions/procedures 1) if no name or index is provided, and if the procedure has aliases defined via the public/export directives, then export the default mangled name and all defined aliases 2) otherwise if no name is specified (but there is an index) then i) if the procedure is defined as cdecl/cppdecl/mwpascal, use the appropriately mangled version of the function name ii) otherwise export the name without any mangling(e.g. "exports proc1" -> proc1 is the exported name) - variables 1) if no name is provided and the variable was specified as cvar, use the mangled name 2) otherwise if no name is provided, export the name without any mangling -> initialization/finalization of shared libraries under Linux works again (mantis #7838) -> sharing symbols between shared library and main program works under Linux (mantis #9089) git-svn-id: trunk@10551 - |
||
---|---|---|
compiler | ||
ide | ||
installer | ||
packages | ||
rtl | ||
tests | ||
utils | ||
.gitattributes | ||
.gitignore | ||
Makefile | ||
Makefile.fpc |