svenbarth
|
7f4b94e408
* generate jump tables into the same section as the code as otherwise we'll get bogus relocations (in case of clang.exe) or a future support for armasm64.exe will reject the relative symbols outright
|
5 years ago |
svenbarth
|
b88107fa1d
* due to an apparent bug in the clang assembler for COFF when assembling ADRP instructions we can't use symbols that are offset into their section
|
5 years ago |
svenbarth
|
042aae2455
* the clang assembler does not provide support for the SEH directives we need (only the LLVM backend would be able to use them), thus we need to manually convert them to data sections
|
5 years ago |
svenbarth
|
531c93a04e
* regenerate msg{idx,txt}.inc
|
5 years ago |
svenbarth
|
7f0d582a4a
+ add Win64 target to help text
|
5 years ago |
svenbarth
|
6143b8b54d
+ add an error message if the size of a function is invalid (in case of aarch64-win64: not a multiple of 4, the instruction size)
|
5 years ago |
svenbarth
|
ada6d8ce5e
* the .pdata section currently only needs to be always included for arm-wince (at least until we have full SEH support there as well)
|
5 years ago |
svenbarth
|
96c52ef16d
+ implement a main_wrapper for the default exception handler for aarch64-win64
|
5 years ago |
svenbarth
|
2b59000d56
+ implement compiler support for SEH on Win64
|
5 years ago |
svenbarth
|
4e06d66d7f
+ implement RTL functionality for SEH for aarch64-win64
|
5 years ago |
svenbarth
|
bfa5bf80e2
* inside the Win64 system unit convert FPC_USE_WIN64_SEH to a SYSTEM_USE_WIN_SEH
|
5 years ago |
svenbarth
|
5c898fe795
* enable is_prefetch only for x86 code
|
5 years ago |
svenbarth
|
c152796bf3
* rename RunErrorCodex64 to a more appropriate RunErrorCodeSEH
|
5 years ago |
svenbarth
|
25c6f3a667
* the prefetch bug handling is specific to x86_64
|
5 years ago |
svenbarth
|
f3c377f8d1
* use accessor functions to work with the TContext record
|
5 years ago |
svenbarth
|
fed17122f8
* as a variant for SEH exception filters we allow them to be *duplicated* instead of being extracted; this can be done unconditionally as for extracted ones their code is set to Nil after they're done and thus won't be picked up by generate_code_exceptionfilters
|
5 years ago |
svenbarth
|
26c45f550a
* when building a reference with an identifier, initialize the operand so that page offsets of functions are handled correctly
|
5 years ago |
svenbarth
|
1fb2d9540c
* allow ADD instructions with a page offset load with either a symbol or a base register
|
5 years ago |
svenbarth
|
f150fc6b7c
* at least clang can savely generate relocatable readonly sections, so use "r" for aarch64-win64
|
5 years ago |
svenbarth
|
329710f573
* use COFF sectionattrs for aarch64-win64 as well
|
5 years ago |
svenbarth
|
3f40e00392
* the clang assembler for COFF requires at least an "r" to generate a readonly section
|
5 years ago |
svenbarth
|
3f62c5f5ef
+ introduce a virtual method for writing the section flags
|
5 years ago |
svenbarth
|
b5a4f8837c
* rename the local sectionflags and sectionprogbits variables to the more clear usesectionflags and usesectionprogbits
|
5 years ago |
svenbarth
|
61358b1eaa
* it's rather useless that sectiontype2options is virtual as we can't use a class type, not to mention that the classes doing the overriding are for the internal assemblers/linkers, but we need it also for external
|
5 years ago |
svenbarth
|
0cc592e9ee
- remove sectiontype2options overload for mach-O, because the relevant sections have the correct flags in the base method already
|
5 years ago |
svenbarth
|
12ef066897
+ add functionality to store a node tree's required temp nodes and their flag upon entering the tree
|
5 years ago |
svenbarth
|
41b1711589
* disable CPU and Signals units for Windows on AArch64 for now
|
5 years ago |
svenbarth
|
1972b05cc8
* store and restore the 8087 control world only on x86 systems
|
5 years ago |
svenbarth
|
c474b95dfc
* disable some x86_64 specific assembly routines
|
5 years ago |
svenbarth
|
79a4409587
* enable AArch64 for Win64 in fpmkunit and fpcmake
|
5 years ago |