Commit Graph

497 Commits

Author SHA1 Message Date
florian
1f49e633b6 + modified patch by Christo Crause: if the target support, the switch -Xu can be used to generate the executable as an uf2 file
git-svn-id: trunk@48394 -
2021-01-24 14:21:03 +00:00
pierre
f0b22a1569 Revert commit #47257, Disable use of cmov instructions in alignment patterns for some i386 targets (it prevents use of some emulators)
Replace it by a new set of i386 targets, for which the default cpu is set to i80486 instead of pentium2
  to avoid (for default configuration) use of CMOVxx or PREFETCHyyy instructions, not supported by some emulators.

git-svn-id: trunk@47433 -
2020-11-16 17:04:46 +00:00
Károly Balogh
519701960c m68k: initial commit to add the Sinclair QL as a compiler target
git-svn-id: trunk@47307 -
2020-11-04 14:20:28 +00:00
pierre
f674ed0324 Disable use of cmov instructions in alignment patterns for some i386 targets (it prevents use of some emulators)
git-svn-id: trunk@47257 -
2020-10-30 16:12:47 +00:00
yury
324deca817 * wlib: Explicitly specify the smallest possible record align to reduce the size of .a files.
git-svn-id: trunk@46462 -
2020-08-16 17:08:00 +00:00
svenbarth
dc4637862f + add a constant that describes all internal COFF writers (be it PE/COFF or not)
git-svn-id: trunk@46409 -
2020-08-13 05:42:36 +00:00
Jonas Maebe
eb7ba1690e * mark all external assemblers using an LLVM tool using af_llvm
+ added support for constructing target triplets
  * pass "-target triplet" when using an LLVM assembler
   o removed no longer needed $DARWINVERSION and $ARCH parameters
  * consistently use as_clang_gas when clang is used to assembler GAS-style
    assembly, and rename as_llcm_clang to as_clang_llvm (for consistency)
  * support pipe assembling when using clang on *nix in all cases

git-svn-id: trunk@45807 -
2020-07-19 14:30:35 +00:00
pierre
509cf3f1ae Adapt tsysteminfo.shortname string field length to MacOSclassic
git-svn-id: trunk@45763 -
2020-07-10 23:23:56 +00:00
Jonas Maebe
e7d1a77f9a * rename the ARM/AArch64-Darwin targets to ARM/AArch64-iOS
* rename the m68k/PowerPC-MacOS targets to m68k/PowerPC-MacOSClassic
  * repurpose the AArch64/Darwin target for AArch64/macOS
   o make AArch64-Darwin default target for a hosted AArch64-Darwin compiler

git-svn-id: trunk@45758 -
2020-07-10 21:52:24 +00:00
pierre
12cb72893d Obsolete system_mips_embedded, as it is a duplicate of system_mipseb_embedded
git-svn-id: trunk@45720 -
2020-07-02 16:26:13 +00:00
svenbarth
921e73ab0c + add compiler support for the Z80 MSX-DOS target
git-svn-id: trunk@45596 -
2020-06-06 17:16:20 +00:00
Károly Balogh
695a260ff8 zxspectrum: added support for linking via vlink, and for pascal sysinit code. also some cleanup in the linker code
git-svn-id: trunk@45169 -
2020-04-29 01:32:48 +00:00
nickysn
6f6598712f * synchronized with trunk
git-svn-id: branches/z80@45131 -
2020-04-26 22:33:58 +00:00
florian
db9a284d60 * simplify xtensa-linux building
git-svn-id: trunk@45124 -
2020-04-26 20:54:22 +00:00
nickysn
3e38e3acc5 + added system_z80_embedded to systems_embedded
git-svn-id: branches/z80@45101 -
2020-04-26 14:45:31 +00:00
nickysn
8bd38e0e29 + added new ar - sdcc-sdar
git-svn-id: branches/z80@45072 -
2020-04-25 15:28:35 +00:00
nickysn
a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the
output label to that length

git-svn-id: branches/z80@45066 -
2020-04-25 12:59:25 +00:00
nickysn
86643f8a34 * synchronized with trunk
git-svn-id: branches/z80@44981 -
2020-04-21 23:36:44 +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
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
nickysn
2f68090dd6 * synchronized with trunk
git-svn-id: branches/z80@44898 -
2020-04-20 22:42: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
nickysn
492b073e86 + increased max string length tsysteminfo.shortname, so 'zxspectrum' fits
git-svn-id: branches/z80@44817 -
2020-04-19 01:25:39 +00:00
nickysn
d2c32efb7b * synchronized with trunk
git-svn-id: branches/z80@44809 -
2020-04-18 23:47:30 +00:00
Jonas Maebe
ea2e516b4e + -ib parameter to print the code generator backend type: FPC or LLVM
* some cleanups related to -i printing

git-svn-id: trunk@44787 -
2020-04-18 15:44:42 +00:00
nickysn
1cfbae82c6 * synchronized with trunk
git-svn-id: branches/z80@44710 -
2020-04-12 20:45:34 +00:00
florian
9d7261a60b * make eabihf/eabi changeable at compilation time
git-svn-id: trunk@44706 -
2020-04-12 18:05:49 +00:00
nickysn
9573e373f2 * synchronize with trunk
git-svn-id: branches/z80@44637 -
2020-04-07 22:19:18 +00:00
florian
1dd914ffc8 + initial xtensa-linux rtl
git-svn-id: trunk@44636 -
2020-04-07 21:01:07 +00:00
nickysn
692ec2fcba * synchronized with trunk
git-svn-id: branches/z80@44623 -
2020-04-06 22:14:42 +00:00
florian
79f74bf8cb + xtensa-linux added to systems_linux
git-svn-id: trunk@44614 -
2020-04-05 21:12:15 +00:00
nickysn
6e346f1c79 * synchronize with trunk
git-svn-id: branches/z80@44444 -
2020-03-30 22:36:17 +00:00
Jonas Maebe
79974a9671 + -XlS<x> option to specify a suffix for externally called LLVM utilities,
e.g. -XlS-7 to call clang-7 instead of clang)
  * IMPORTANT: changed the -CL llvm code generation options to -Cl, for
    consistency with the new -Xl option (-XL was already taken)

git-svn-id: trunk@44436 -
2020-03-30 19:58:49 +00:00
nickysn
48b4cc34cb * synchronized with trunk
git-svn-id: branches/z80@44414 -
2020-03-29 23:04:40 +00:00
florian
391512546e + initial FreeRTOS RTL support, largely based on the Embedded target, limited to Xtensa so far
git-svn-id: trunk@44400 -
2020-03-29 17:13:45 +00:00
nickysn
755fe97c51 * synchronize with trunk
git-svn-id: branches/z80@44397 -
2020-03-29 16:24:32 +00:00
nickysn
fd9f3a43ce + added cpu_sys_z80 to the tsystemcpu enum. Name is not cpu_z80, because that
conflicts with tcputype.

git-svn-id: branches/z80@44393 -
2020-03-29 14:25:53 +00:00
nickysn
c35b3d8eee * synchronized the tsystemcpu enum with trunk
git-svn-id: branches/z80@44392 -
2020-03-29 14:14:22 +00:00
florian
8fd53df3cd * Xtensa: system_xtensa_embedded is an embedded system
git-svn-id: trunk@44383 -
2020-03-28 15:47:45 +00:00
florian
ad99285fec + Xtensa: CALL0 abi started
git-svn-id: trunk@44328 -
2020-03-21 20:48:03 +00:00
florian
73c68236b6 * Xtensa: completed compiler skeleton
git-svn-id: trunk@44323 -
2020-03-21 12:49:45 +00:00
florian
9e40d536cb + Xtensa: initial skeleton completed
+ xtensa-embedded support in the compiler

git-svn-id: trunk@44318 -
2020-03-20 22:34:33 +00:00
marco
96a712f7ff * add FreebSD to weaklinking targets.
git-svn-id: trunk@44283 -
2020-03-07 17:59:05 +00:00
florian
a20209e691 + tf_init_final_units_by_calls
* arm-embedded generates direct calls for unit init/final now as well

git-svn-id: trunk@43771 -
2019-12-24 16:14:30 +00:00
florian
fb91899457 * adapted 16 byte alignment handling on linux: it is now assumed that the callee tries to clear the stack, so in the caller, the stack is re-adjusted
git-svn-id: trunk@43176 -
2019-10-12 21:51:13 +00:00
Jonas Maebe
3fee990218 * on Mach-O, PECOFF and ELF platforms, write local symbols as hidden/
private_extern (or plain global in case of PECOFF, as the effect is
    the same there): visible across object files, but they become local
    when linked into a binary/library. This enables cross-unit inlining
    of functions accessig implementation-only symbols.

git-svn-id: trunk@42340 -
2019-07-07 21:33:43 +00:00
Jonas Maebe
c262c5dbc9 * synchronised with trunk till r42256
git-svn-id: branches/debug_eh@42257 -
2019-06-20 17:21:34 +00:00
nickysn
dec03b5ac7 + added the asmmodes_x86_att set constant - similar to asmmode_x86_intel, but for AT&T asm syntax
git-svn-id: trunk@42212 -
2019-06-11 15:51:40 +00:00
nickysn
d2b3da1f14 + add asmmode_standard to the asmmodes_x86_intel set on i8086, because i8086 defaults to intel syntax
git-svn-id: trunk@42210 -
2019-06-10 15:58:16 +00:00
nickysn
ce8ec3ab5d + introduced the asmmodes_x86_intel constant set
git-svn-id: trunk@42209 -
2019-06-10 15:44:19 +00:00