svenbarth
|
48bddbbc43
* use new potype_pkgstub instead of gen_fpc_dummy() as the former works on all platforms that needs it
|
8 жил өмнө |
svenbarth
|
1a6a8b7c9f
+ introduce a new potype for the main stub of a package library (which on Windows is simply a DLLMain returning True)
|
8 жил өмнө |
Jonas Maebe
|
048666a25c
* when freeing a procdef that hasn't been registered for writing to the ppu
|
8 жил өмнө |
florian
|
42cde51805
* ignore warnings caused by boolean expression simplification
|
8 жил өмнө |
svenbarth
|
246de84ef3
* ensure that a finalization section is parsed before the generation of specializations as otherwise specializations in such sections would result in unresolved forward declarations
|
9 жил өмнө |
svenbarth
|
da5bc92ae0
* pmodules.finish_unit: fix condition that would lead to no implicit initialization code being generated if no explicit one is available, but an implicit one would be required
|
9 жил өмнө |
pierre
|
4d09dfca95
Remember usage of checkpointer (-gc) option:
|
9 жил өмнө |
pierre
|
3a9f2f55f4
-gc or {$CHECKPOINTER ON} requires heaptrc unit loading even for units
|
9 жил өмнө |
svenbarth
|
296b7dbaf5
* explicitely load the system unit if we have at least one required package (as one of those *must* contain the system unit); but don't add it to the used units of the package module as otherwise we'd detect the package to contain the system unit as well
|
9 жил өмнө |
svenbarth
|
839d82d9c6
- remove generation of the _FPCDummy symbol; for now this leads to more trouble than it has uses (namely none so far)
|
9 жил өмнө |
Jonas Maebe
|
1cb8c0d00c
* specify the def of assembler level symbols defined via
|
9 жил өмнө |
Jonas Maebe
|
3c446c8605
* fixed crash when compiling libraries on non-Darwin after r34134
|
9 жил өмнө |
Jonas Maebe
|
88a736c95a
* moved the code generated for library init/fini to the al_pure_assembler
|
9 жил өмнө |
svenbarth
|
f27ce0b159
Rework the way the method bodies for specializations are generated: instead of walking the global and local symboltable all pending specializations are kept in a list of the current module which is (for now) walked at the end of a unit/program to generate the method bodies as before.
|
9 жил өмнө |
svenbarth
|
1824a945cf
Merged revision(s) 32515, 32573, 32575, 32579 from branches/svenbarth/packages:
|
9 жил өмнө |
svenbarth
|
e8ede4c3e2
Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages:
|
9 жил өмнө |
svenbarth
|
3e70ac05c2
Merged revision(s) 32450-32451, 32455, 32457-32458, 32460-32462, 32477, 32480 from branches/svenbarth/packages:
|
9 жил өмнө |
svenbarth
|
7d8d0340b9
Merged revision(s) 31988, 31991-31993, 32136, 32308-32309, 32312, 32318 from branches/svenbarth/packages:
|
9 жил өмнө |
svenbarth
|
c5bdc11cb2
Merged revision(s) 31924, 31934-31937 from branches/svenbarth/packages:
|
9 жил өмнө |
svenbarth
|
e2b1f70ac6
Local symbols and defs that are needed for packages need to be registered as well => register the symbols and defs for the init and finalize functions.
|
9 жил өмнө |
svenbarth
|
f55123ce92
Merged revision(s) 28904-28905, 29038-29044 from branches/svenbarth/packages:
|
9 жил өмнө |
svenbarth
|
9d1938a713
Partial merge of r28851 (aside the parts that requires the global assembler symbols)
|
9 жил өмнө |
svenbarth
|
f8e9b33f99
Merge first batch of package handling related revisions from the packages branch
|
9 жил өмнө |
svenbarth
|
557f74cdbd
(Note to self: always include the root of the working copy in the commit when dealing with merges -.-)
|
9 жил өмнө |
svenbarth
|
9d5f98eaa3
Merged revision(s) 28690 from branches/svenbarth/packages:
|
9 жил өмнө |
svenbarth
|
e9d8fadb58
Merged revision(s) 28237 from branches/svenbarth/packages:
|
9 жил өмнө |
svenbarth
|
02e56f410d
Merged revision(s) 28689 from branches/svenbarth/packages:
|
9 жил өмнө |
svenbarth
|
3b71841a84
Merged revision(s) 28691, 31914 from branches/svenbarth/packages:
|
9 жил өмнө |
Jonas Maebe
|
7a8079cfb4
* removed DLLsource global variable and replaced its uses with
|
9 жил өмнө |
sergei
|
84c33631ef
* Have the sysinit unit, if any, passed to the linker first (currently it is passed last). This is necessary to get the same linking order on targets with assembler startup and with Pascal startup. In particular, it allows to define global symbols like "data_start" in sysinit unit and expect that they will actually end up before other data in executable.
|
9 жил өмнө |