summaryrefslogtreecommitdiff
path: root/packages/sqlite
diff options
context:
space:
mode:
authorjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2008-03-24 16:55:05 +0000
committerjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2008-03-24 16:55:05 +0000
commitf01afaceaa6d46b986dd81a528ba9e6120d119cf (patch)
tree882e69d35235c146a5f4ddb42ec658d09e68e526 /packages/sqlite
parent613c327c6d9f1447bb627544e4c4e07cb7ababf8 (diff)
downloadfpc-f01afaceaa6d46b986dd81a528ba9e6120d119cf.tar.gz
* factored unix exports handling from t_bsd and t_linux into expunix unit
(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: http://svn.freepascal.org/svn/fpc/trunk@10551 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/sqlite')
0 files changed, 0 insertions, 0 deletions