fpc/compiler/systems
Jonas Maebe 150eda304b * 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: trunk@10551 -
2008-03-24 16:55:05 +00:00
..
i_amiga.pas
i_atari.pas
i_beos.pas o new BeOS patch by Olivier Coursiere: 2007-10-29 19:00:32 +00:00
i_bsd.pas Merged revisions 9693-10480 via svnmerge from 2008-03-12 21:33:48 +00:00
i_embed.pas + basic system unit for avr-embedded 2008-02-13 20:35:16 +00:00
i_emx.pas Merged revisions 9693-10480 via svnmerge from 2008-03-12 21:33:48 +00:00
i_gba.pas * changed cpurequiresproperalignment from a compile-time define into 2007-03-06 16:10:56 +00:00
i_go32v2.pas
i_linux.pas * revert accidental change to arm 2008-03-23 23:44:21 +00:00
i_macos.pas
i_morph.pas
i_nds.pas * Resized stack value for NDS 2007-12-10 17:06:14 +00:00
i_nwl.pas * new tf_smartlink_library flag 2007-10-01 16:55:08 +00:00
i_nwm.pas * new tf_smartlink_library flag 2007-10-01 16:55:08 +00:00
i_os2.pas Merged revisions 9693-10480 via svnmerge from 2008-03-12 21:33:48 +00:00
i_palmos.pas * changed cpurequiresproperalignment from a compile-time define into 2007-03-06 16:10:56 +00:00
i_sunos.pas Merged revisions 9693-10480 via svnmerge from 2008-03-12 21:33:48 +00:00
i_symbian.pas * fixed compilation 2007-11-25 10:20:54 +00:00
i_watcom.pas
i_wdosx.pas
i_win.pas Merged revisions 9693-10480 via svnmerge from 2008-03-12 21:33:48 +00:00
mac_crea.txt
t_amiga.pas + quick hack to have linker support for amiga/m68k (it produces some kind of binary at least) 2007-11-01 00:22:47 +00:00
t_atari.pas
t_beos.pas o BeOS patch by Olivier Coursiere: 2007-10-14 18:37:00 +00:00
t_bsd.pas * factored unix exports handling from t_bsd and t_linux into expunix unit 2008-03-24 16:55:05 +00:00
t_embed.pas + basic system unit for avr-embedded 2008-02-13 20:35:16 +00:00
t_emx.pas Merged revisions 9693-10480 via svnmerge from 2008-03-12 21:33:48 +00:00
t_gba.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
t_go32v2.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
t_linux.pas * factored unix exports handling from t_bsd and t_linux into expunix unit 2008-03-24 16:55:05 +00:00
t_macos.pas + add -XR switch for target root file system with libs (also used for C lib type detection) 2007-09-30 15:00:54 +00:00
t_morph.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
t_nds.pas * Some cleaning on nds linker; new extension for intermediate files 2008-01-07 19:31:32 +00:00
t_nwl.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
t_nwm.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
t_os2.pas Merged revisions 9693-10480 via svnmerge from 2008-03-12 21:33:48 +00:00
t_palmos.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
t_sunos.pas Merged revisions 9693-10480 via svnmerge from 2008-03-12 21:33:48 +00:00
t_symbian.pas Adds symbian arm target. 2007-11-24 22:04:59 +00:00
t_watcom.pas * Rework the constexprint to allow operations from low(int64) to high(qword). 2007-06-13 07:41:18 +00:00
t_wdosx.pas
t_win.pas Merged revisions 9693-10480 via svnmerge from 2008-03-12 21:33:48 +00:00