svenbarth
|
cfa5b9d809
- the external declaration of PascalMain is no longer needed for Win64 on 3.1.1+
|
8 سال پیش |
Tomas Hajny
|
e5ceb04725
* patch by Dmitry Boyarintsev (bug #31023) implementing SysSetCtrlBreakHandler for Win32 and Win64
|
8 سال پیش |
svenbarth
|
2808be3e20
+ add and use sysinit unit for Win64 (only one since we don't support cygwin and gprof there)
|
9 سال پیش |
svenbarth
|
dbbd7b6969
* use FPCSysInstance instead of SysInstance directly
|
9 سال پیش |
svenbarth
|
af53fcb48c
Adjust SysInstance so that it is correctly handled with the indirect entry information on Win32
|
9 سال پیش |
svenbarth
|
b525cecad8
- get rid of the calling convention modifier for PascalMain as it's generated using the default calling convention anyway (without any parameters this luckily doesn't matter that much ;) )
|
9 سال پیش |
sergei
|
d93d36e6d3
* Win64: Use separate implementation of CaptureBacktrace that calls RtlCaptureStackBackTrace. This way it does not require non-optimized code to work correctly.
|
10 سال پیش |
svenbarth
|
2d454dc8fa
Move DynLibs support to System unit using a manager approach like for Threads, WideStrings, etc.. This is needed so that we can support features like "delayed" and loading of dynamic packages.
|
10 سال پیش |
florian
|
43515ab109
* explicitly add asmmode, resolves #27255
|
10 سال پیش |
sergei
|
ae68a4962f
- RTL: merged functionality of InitWideStringManager into InitUnicodeStringManager and removed the former.
|
11 سال پیش |
sergei
|
3a5e6485b5
- RTL: removed InitVariantManager, it was an empty procedure since day 1.
|
11 سال پیش |
sergei
|
3a55c4301e
* Since StackTop=StackBottom+StackLength, any two variables are sufficient to describe stack, the third one is redundant.
|
11 سال پیش |
sergei
|
c83f4c5ddc
* Windows targets: removed 'errno' threadvar, OS error codes can be passed directly to Errno2InOutRes().
|
11 سال پیش |
sergei
|
489b23cecd
* Made TStartupInfo type common for win32 and win64 and updated as suggested by Mantis #23074.
|
11 سال پیش |
pierre
|
3ab1762d92
Use new GetExceptionPointer nostackframe assembler function to avoid 32bit relocation on .bss problem
|
12 سال پیش |
sergei
|
6788fd6433
+ Win64 SEH: install a top-level exception handler around thread functions. This was a missing puzzle piece of SEH support. Now behavior of unhandled exceptions in non-main threads is consistent with that of main thread, and, in general, behavior of SEH-enabled RTL is consistent with one without SEH.
|
12 سال پیش |
sergei
|
bc4c1149c3
+ Native threadvar implementation for Win32 and Win64 (most of it, but not yet complete).
|
12 سال پیش |
florian
|
0e9139c914
* retrieve stack size correctly
|
13 سال پیش |
florian
|
a6a1f2a0a1
* properly retrieve the stacktop on win64
|
13 سال پیش |
Tomas Hajny
|
d442d14e0c
+ FileNameCasePreserving added - see #18066 in Mantis
|
13 سال پیش |
sergei
|
cd44c5f45c
Win32 and Win64, fixed DLL exit sequence, resolves #14603:
|
13 سال پیش |
sergei
|
ea37d71f67
- win64: removed empty procedures remove_exception_handlers and fpc_cpucodeinit.
|
13 سال پیش |
sergei
|
cbad0abab5
+ Platform-specific exception support for x86_64-win64. Enable by cycling with OPT=-dTEST_WIN64_SEH.
|
13 سال پیش |
florian
|
562932a2c9
* change dllparam into PtrInt, this is required for 64 bit systems, patch based on Gennadiy's patch in #21089, resolves #21089
|
13 سال پیش |
sergei
|
cd347e40b2
* Moved existing exception-related definitions into separate include file seh64.inc, and added some more WinAPI definitions needed for SEH.
|
14 سال پیش |
sergei
|
ebb2205c63
* Moved TExceptionRecord definition to sysos.inc, it is identical for all Windows targets.
|
14 سال پیش |
sergei
|
bcbd25568e
* Call InitHeap before InitSystemThreads in TLS callback (necessary because InitSystemThreads calls RelocateHeap), and skip both of them in initialization section of system.pp if they have been called from TLS callback. This restores correct initialization sequence which was broken by r19779, resulting in lots of debug messages about corrupted heap when running tests/test/theapthread.pp
|
14 سال پیش |
sergei
|
32094761ef
* win32/system.pp, win64/system.pp: Moved duplicated declarations of WinAPI functions to sysos.inc (Florian's comment about include ordering is no longer true, wstrings.inc comes after sysos.inc these days).
|
14 سال پیش |
paul
|
1ccf16358c
rtl: init widestring and unitcodestring managers before initialization of Standard IO files (stdin,stdout,stderr)
|
14 سال پیش |
sergei
|
8e41ecfd54
* Made a stupid mistake in r19460: restoring rbp from rbp-relative reference will obviously crash. This went unnoticed however, because PASCALMAIN does not return and wrong code is never executed. Fixed by storing rbp in non-volatile register instead of local var.
|
14 سال پیش |