Commit Graph

58412 Commits

Author SHA1 Message Date
svenbarth
f150fc6b7c * at least clang can savely generate relocatable readonly sections, so use "r" for aarch64-win64
git-svn-id: trunk@44931 -
2020-04-21 06:05:25 +00:00
svenbarth
329710f573 * use COFF sectionattrs for aarch64-win64 as well
git-svn-id: trunk@44930 -
2020-04-21 06:05:21 +00:00
svenbarth
3f40e00392 * the clang assembler for COFF requires at least an "r" to generate a readonly section
git-svn-id: trunk@44929 -
2020-04-21 06:05:18 +00:00
svenbarth
3f62c5f5ef + introduce a virtual method for writing the section flags
git-svn-id: trunk@44928 -
2020-04-21 06:05:14 +00:00
svenbarth
b5a4f8837c * rename the local sectionflags and sectionprogbits variables to the more clear usesectionflags and usesectionprogbits
git-svn-id: trunk@44927 -
2020-04-21 06:05:10 +00:00
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
Thus we move the functionality of the overloads to the basemethod and remove the virtual directive; maybe we'll find a better solution in the future...

git-svn-id: trunk@44926 -
2020-04-21 06:05:06 +00:00
svenbarth
0cc592e9ee - remove sectiontype2options overload for mach-O, because the relevant sections have the correct flags in the base method already
git-svn-id: trunk@44925 -
2020-04-21 06:05:02 +00:00
svenbarth
12ef066897 + add functionality to store a node tree's required temp nodes and their flag upon entering the tree
git-svn-id: trunk@44924 -
2020-04-21 06:04:59 +00:00
svenbarth
41b1711589 * disable CPU and Signals units for Windows on AArch64 for now
git-svn-id: trunk@44923 -
2020-04-21 06:04:55 +00:00
svenbarth
1972b05cc8 * store and restore the 8087 control world only on x86 systems
git-svn-id: trunk@44922 -
2020-04-21 06:04:52 +00:00
svenbarth
c474b95dfc * disable some x86_64 specific assembly routines
git-svn-id: trunk@44921 -
2020-04-21 06:04:49 +00:00
svenbarth
79a4409587 * enable AArch64 for Win64 in fpmkunit and fpcmake
git-svn-id: trunk@44920 -
2020-04-21 06:04:45 +00:00
svenbarth
613a6e796a * Windows on AArch64 requires some DllCharacteristics in the header to be always set
git-svn-id: trunk@44919 -
2020-04-21 06:04:41 +00:00
svenbarth
40633835dc * Windows on Aarch64 requires a relocation section
git-svn-id: trunk@44918 -
2020-04-21 06:04:37 +00:00
svenbarth
3b1d5794e9 * Windows on AArch64 does not support ProgBits either
git-svn-id: trunk@44917 -
2020-04-21 06:04:34 +00:00
svenbarth
a6f1c04f22 * Windows does not support a GOT, so rely on page relative addressing
git-svn-id: trunk@44916 -
2020-04-21 06:04:31 +00:00
svenbarth
dfde4def62 + add a GAS compatible variant of the Clang assembler (currently used for Aarch64-Win64 as no GNU AS exists for that target, yet)
git-svn-id: trunk@44915 -
2020-04-21 06:04:27 +00:00
svenbarth
3af74d2fd2 + implement initial compiler support for Win64 on Aarch64
git-svn-id: trunk@44914 -
2020-04-21 06:04:22 +00:00
svenbarth
5b941e3cea + implement relocations for Aarch64 for the internal COFF linker
git-svn-id: trunk@44913 -
2020-04-21 06:04:15 +00:00
svenbarth
3e29742fd9 * for PE+ specific checks use a constant in systems.pas instead of an explicit list (easier to extend this way)
git-svn-id: trunk@44912 -
2020-04-21 06:04:10 +00:00
Károly Balogh
6630f47ab4 m68k-amiga: implemented LockDosList, UnlockDosList, and NextDosEntry helpers for legacy support
git-svn-id: trunk@44907 -
2020-04-21 03:01:17 +00:00
florian
b4ff93c9fe + forgotten files added
git-svn-id: trunk@44889 -
2020-04-20 20:08:19 +00:00
svenbarth
068f0d2ec8 * fix for Mantis #36935: apply patch by J. Gareth Moreton to fix a typo in cs_opt_remove_empty_proc
git-svn-id: trunk@44888 -
2020-04-20 18:42:30 +00:00
svenbarth
752ff32333 * fix WinAPI directive: the purpose is to present the OS' default calling convention which for Windows means stdcall (at least on those platforms that support stdcall) on other platforms it is cdecl (for now)
git-svn-id: trunk@44887 -
2020-04-20 18:29:28 +00:00
pierre
cd6de6a4ca Regenerate all Makefiles
git-svn-id: trunk@44882 -
2020-04-20 13:58:47 +00:00
pierre
3f9e6aa6b9 Add handling of sparc64-linux and pass -m32/-m64 to $CROSSGCC call
git-svn-id: trunk@44881 -
2020-04-20 13:57:26 +00:00
pierre
4d25558519 * Use off_t type for l_start and l_end fields instead of kernel_off_t
+ Distinguish rlim_t type depending on fs32bit macro being set or not.

git-svn-id: trunk@44879 -
2020-04-20 09:50:07 +00:00
pierre
4888c379c4 Use same field type and name as in /ust/include/sys/stat.h
git-svn-id: trunk@44878 -
2020-04-20 09:37:55 +00:00
ondrej
d1acd07e07 fpImage: fix HtmlColorNameToFPColorMap (TFPColor components are Word not Byte)
git-svn-id: trunk@44877 -
2020-04-20 08:41:18 +00:00
pierre
4b5f37c2a7 Correctly update after commit 44871
git-svn-id: trunk@44876 -
2020-04-19 21:48:58 +00:00
pierre
57809eb922 Add several missing -T options in help
git-svn-id: trunk@44875 -
2020-04-19 21:40:40 +00:00
pierre
a76c0db9dd Update after commit 44790
git-svn-id: trunk@44872 -
2020-04-19 21:09:08 +00:00
florian
8ac8c79a71 + initial support for arm-freertos largely based on patch by Michael Ring
git-svn-id: trunk@44871 -
2020-04-19 20:59:52 +00:00
florian
0750fdf410 * xtensa-freertos requires also SUBARCH being set
git-svn-id: trunk@44870 -
2020-04-19 20:59:50 +00:00
florian
be50c77f34 * regenerated
git-svn-id: trunk@44867 -
2020-04-19 19:22:05 +00:00
florian
c96a3cc9d1 + take care of OPTNEW when building utils
git-svn-id: trunk@44866 -
2020-04-19 19:07:43 +00:00
Jonas Maebe
6636f3f0dc * updated after changes
git-svn-id: trunk@44862 -
2020-04-19 17:34:22 +00:00
Jonas Maebe
26ec913725 * regenerated makefiles
git-svn-id: trunk@44861 -
2020-04-19 17:33:47 +00:00
Jonas Maebe
f81dac4f6f - remove ld.so.conf parsing from makefiles: this was probably done because we
used to completely replace the default linker script under Linux (which
    also includes search directories), and it's wrong in case of
    cross-compiling

git-svn-id: trunk@44860 -
2020-04-19 17:33:18 +00:00
pierre
0df2c867ca Set 'default' target to freertos in rtl/freertos directory
git-svn-id: trunk@44858 -
2020-04-19 16:02:39 +00:00
florian
14d46bccba * Xtensa: make use of extui for shifting with constant values >=16
git-svn-id: trunk@44856 -
2020-04-19 15:52:41 +00:00
florian
7eff3adbcb * adapted xtensa-freertos to work with the currently stable ESP-IDF 4.0, partially based on a patch by Michael Ring
git-svn-id: trunk@44850 -
2020-04-19 13:28:42 +00:00
florian
5882e2935c * do all make targets in parallel, no issues found yet
git-svn-id: trunk@44849 -
2020-04-19 13:28:41 +00:00
Károly Balogh
0d22ee477a rtl-extra: fix StrToHostAddr to not accept numbers outside of byte value range by silently wrapping them to a byte
git-svn-id: trunk@44845 -
2020-04-19 11:44:22 +00:00
florian
8cc76b4b33 * regenerated
git-svn-id: trunk@44844 -
2020-04-19 11:24:46 +00:00
florian
1643fc5210 + xtensa-embedded: patch by Christo Crause to check and support SUBARCH
git-svn-id: trunk@44843 -
2020-04-19 11:22:55 +00:00
florian
db19900eb1 * TARMAsmOptimizer.RemoveSuperfluousMove should not mess with PC
git-svn-id: trunk@44842 -
2020-04-19 11:04:31 +00:00
florian
c2df0f2300 * Xtensa: handle localsize > 32760
git-svn-id: trunk@44840 -
2020-04-19 08:41:32 +00:00
florian
7b2bd0b917 * Xtensa: generate better code for adding/subtracting 16 bit constants
git-svn-id: trunk@44839 -
2020-04-19 08:41:31 +00:00
florian
702e63e59f * build more units for FreeRTOS
git-svn-id: trunk@44838 -
2020-04-19 08:41:30 +00:00