Commit Graph

13693 Commits

Author SHA1 Message Date
florian
1dd914ffc8 + initial xtensa-linux rtl
git-svn-id: trunk@44636 -
2020-04-07 21:01:07 +00:00
michael
2dfc5b160b * Fix wrong start/stop index
git-svn-id: trunk@44635 -
2020-04-07 14:03:42 +00:00
michael
0ff254e00f * Fix bug ID #36837: add ToObjectArray, ToStTringArray and SetStrings
git-svn-id: trunk@44632 -
2020-04-07 08:27:34 +00:00
Károly Balogh
b599574a16 m68k-amiga: create the heap memory pool with MEMF_ANY, rather than MEMF_FAST. this will finally allow FPC compiled executables to start on chipmem-only machines.
git-svn-id: trunk@44624 -
2020-04-06 22:34:46 +00:00
florian
460369405e + xtensa-linux: OS specific system unit header files
git-svn-id: trunk@44612 -
2020-04-05 21:12:13 +00:00
florian
e32027c8d3 + add missing semicolon, resolves #36868
git-svn-id: trunk@44578 -
2020-04-04 20:04:01 +00:00
florian
0ff034216a + xtensa-linux support for the rtl makefile
git-svn-id: trunk@44577 -
2020-04-04 20:01:13 +00:00
Károly Balogh
086c897981 amicommon: m68k-amiga legacy support
git-svn-id: trunk@44566 -
2020-04-04 13:24:29 +00:00
Károly Balogh
8816a0b601 m68k-amiga: startup code now uses legacyexech, instead of explicitly declaring legacy support functions it needs
git-svn-id: trunk@44565 -
2020-04-04 13:22:46 +00:00
Károly Balogh
8d690546f3 m68k-amiga: make all legacy support functions have a public name, and supply headers for them (will be utilized by athreads, dos, and sysutils units)
git-svn-id: trunk@44564 -
2020-04-04 13:21:54 +00:00
Károly Balogh
632353a808 m68k-amiga: prepare the startup code and system unit for legacy support
git-svn-id: trunk@44563 -
2020-04-04 12:53:00 +00:00
Károly Balogh
433e40fe71 m68k-amiga: while trying to construct ParamStr(0), if the directory is empty, do not prepend the binary name with '/'
git-svn-id: trunk@44562 -
2020-04-04 12:48:51 +00:00
Károly Balogh
e0fe8bd175 m68k-amiga: implemented functions required for basic parameter handling in legacydos
git-svn-id: trunk@44561 -
2020-04-04 12:40:55 +00:00
Károly Balogh
f5becf9ac6 m68k-amiga: implemented StackSwap and DeletePool in legacyexec support, also declare public name for a few functions, so the startup code can hook into them
git-svn-id: trunk@44560 -
2020-04-04 12:39:55 +00:00
marco
aa391dadbf * only free if not ffreeobjects, mantis 036853
git-svn-id: trunk@44457 -
2020-03-31 14:53:03 +00:00
florian
314b8999aa + Xtensa: add linklib statements, better _halt procedure
git-svn-id: trunk@44441 -
2020-03-30 20:42:56 +00:00
Károly Balogh
b96109727c m68k-amiga: initial work on some support functions to allow the RTL to be compiled for AmigaOS 1.x
git-svn-id: trunk@44427 -
2020-03-30 03:06:23 +00:00
Károly Balogh
f69c099cfe amiga/morphos: fix freepooled(), it has no return value
git-svn-id: trunk@44426 -
2020-03-30 02:41:32 +00:00
Károly Balogh
c7136b59c7 amiga: no packed records in doslibd.inc and timerd.inc, use packrecords 2 insead, this improves code generated for plain 68000
git-svn-id: trunk@44420 -
2020-03-30 01:47:57 +00:00
Károly Balogh
3031a4da31 amiga-m68k: minimal tweaks and formatting to the dos unit
git-svn-id: trunk@44416 -
2020-03-30 00:40:20 +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
Jonas Maebe
c8307d4022 * use getpagesize function instead of reading external variables to restore
ability to compile against SDKs < OS X 10.9 (mantis #36653)

git-svn-id: trunk@44396 -
2020-03-29 14:52:49 +00:00
ondrej
eb9a4eca91 SysUtils: make GetDriveIDFromLetter accept lowercase letters
git-svn-id: trunk@44389 -
2020-03-29 06:16:28 +00:00
Károly Balogh
1aad73217c m68k-amiga: add some defines, to disable part of OS headersin the RTL when compiling for OS1.x. this is to aid the implementation of future AmigaOS 1.x support
git-svn-id: trunk@44372 -
2020-03-27 04:31:10 +00:00
florian
e34a759659 + Xtensa: mathu.inc using only the softfloat unit provided mechanisms
git-svn-id: trunk@44347 -
2020-03-23 20:54:55 +00:00
Károly Balogh
a48d40e08e amicommon: cleaned up the voodoo padding magic and packed record from the DOS unit SearchRec. This structure is entirely platform specific, ancient code might have accessed it from assembly, but it's no longer the case.
git-svn-id: trunk@44345 -
2020-03-23 01:15:41 +00:00
Károly Balogh
65330f346d amicommon: make sure to reset packrecords to default after OS structure inclusion
git-svn-id: trunk@44344 -
2020-03-23 01:13:13 +00:00
Károly Balogh
cd76003b4d amiga: remove packed from RTL OS record/structure definitions, use PACKRECORDS 2 instead. this allows much better code to be generated for a plain 68000 RTL
git-svn-id: trunk@44343 -
2020-03-23 00:05:52 +00:00
Jeppe Johansen
5fa7bbfb9b esp8266: Make startup code compile.
git-svn-id: trunk@44338 -
2020-03-22 13:17:08 +00:00
florian
43dc4c7ea0 * regenerated Makefiles
git-svn-id: trunk@44333 -
2020-03-21 20:59:59 +00:00
Jeppe Johansen
3189e4245d makefiles: Add support for xtensa-embedded target.
git-svn-id: trunk@44332 -
2020-03-21 20:59:33 +00:00
florian
28c0a47a95 + Xtensa: completed rtl skeleton
git-svn-id: trunk@44322 -
2020-03-21 12:49:43 +00:00
florian
83a6efd759 + Xtensa: RTL skeleton
git-svn-id: trunk@44320 -
2020-03-20 22:35:43 +00:00
michael
5fe164498b * Overloaded split needs similar patch
git-svn-id: trunk@44313 -
2020-03-19 21:41:58 +00:00
michael
123fe94206 * Fix bug #36806, do not add empty last sep, patch from Delfion
git-svn-id: trunk@44312 -
2020-03-19 13:47:49 +00:00
Károly Balogh
47b5d0b92e atari: added the fpwidestring unit to the RTL build
git-svn-id: trunk@44310 -
2020-03-18 00:44:49 +00:00
Károly Balogh
fb76f529ee amiga-likes: add fpwidestring unit to the RTL build
git-svn-id: trunk@44309 -
2020-03-18 00:32:48 +00:00
pierre
27d6dba699 Add explicit dependency of AVR specific unit avrsim on consoleio and heapmgr units
git-svn-id: trunk@44291 -
2020-03-12 10:53:56 +00:00
marco
7b4ef925f0 * attempt at crt1 translation to get freebsd 12 running.
git-svn-id: trunk@44289 -
2020-03-08 16:37:30 +00:00
Jeppe Johansen
c20b27ede9 Add most SSE instructions as intrinsics.
git-svn-id: trunk@44274 -
2020-03-06 21:34:22 +00:00
marco
61c405f942 * more abi numbers from test VMs
git-svn-id: trunk@44273 -
2020-03-06 17:26:06 +00:00
marco
fc49266749 * comment with FreeBSD11 tag value
git-svn-id: trunk@44265 -
2020-03-06 09:44:02 +00:00
marco
cf0bf230c5 * ifdef _win64 -> win64. Patch by Marcin. Possibly headers converted
when windows 64-bit existed, but without direct usage knowledge.
   Should be in final 3.2.0

git-svn-id: trunk@44258 -
2020-03-03 11:04:54 +00:00
svenbarth
97c8464b11 * fix for Mantis #36738: when copying a record using its copy operator we assume that we've copied the whole record; this way managed records inside non-managed records are handled correctly
+ added (adjusted) test

git-svn-id: trunk@44257 -
2020-03-02 22:04:45 +00:00
florian
af1a4c06c5 * fixed generic round(...) for large values based on a comment by Alexander Hofmann on fpc-devel
* extended test

git-svn-id: trunk@44235 -
2020-02-23 10:41:18 +00:00
marco
5d0c9cee9d * fix mantis #36708, take care of high word buttons variable.
git-svn-id: trunk@44210 -
2020-02-18 15:01:07 +00:00
ondrej
a5ed5bd942 TFileStream: use SysErrorMessage in exception message if available
git-svn-id: trunk@44200 -
2020-02-17 08:35:15 +00:00
florian
17158c3587 * mmap2 expects that offset is divided by 4096
git-svn-id: trunk@44198 -
2020-02-16 20:14:28 +00:00
florian
297d6e2c60 * patch by Christo Crause: more avr1 controllers and remove attiny28 from avr25 makefile list, resolves #36686
git-svn-id: trunk@44136 -
2020-02-09 10:51:14 +00:00
florian
dea63e3d61 * AVR: attiny28 is an avr1 CPU
git-svn-id: trunk@44132 -
2020-02-08 22:05:21 +00:00