Commit Graph

62327 Commits

Author SHA1 Message Date
Károly Balogh
665180a579 m68k: always use ELF objects with vasm for improved cross-compatibility with other tools and compilers
git-svn-id: trunk@49210 -
2021-04-16 11:42:04 +00:00
Mattias Gaertner
b64d1f9dfd pastojs: fixed insert array
git-svn-id: trunk@49209 -
2021-04-15 21:05:08 +00:00
Jonas Maebe
bb977b398d * AArch64: fix spilling integer registers to stack offsets that cannot be
encoded directly into the spilling instructions (second part of
    mantis #38053)

git-svn-id: trunk@49207 -
2021-04-14 20:56:32 +00:00
Jonas Maebe
4b4ae79609 * AArch64: fixed spilling info for MOVK (part of mantis #38053)
git-svn-id: trunk@49206 -
2021-04-14 20:56:29 +00:00
florian
5442e9f9d8 * insert explicit type cast for the count parameter of move/fillchar wrapping C functions,
avoids a warning in combination with -O3 and negative count values

git-svn-id: trunk@49205 -
2021-04-14 19:02:54 +00:00
Károly Balogh
8f61df817a atari: implemented stacktop for working stacktraces, implemented stacksize dependent stackmargin, and a system specific backtracestr. however, offs display still doesn't work properly, due to a linker issue (reported)
git-svn-id: trunk@49203 -
2021-04-14 14:59:08 +00:00
pierre
1e527e7a1e Also delete file before copying if destination is a directory on Darwin OS
git-svn-id: trunk@49202 -
2021-04-14 08:06:54 +00:00
Károly Balogh
2f90dbbd44 sinclairql: implemented StackTop, this results in working stacktraces and working stack checking. Implemented a custom 5% stack safety margin and a system specific SysBackTraceStr()
git-svn-id: trunk@49201 -
2021-04-14 04:05:33 +00:00
Károly Balogh
7b9ed5fe46 rtl: make STACK_MARGIN a variable instead of a const. this allows adjusting margin size on system unit init, based on the actual stack length of the executable. useful for small systems running with little stack. allow overwriting SysBackTraceStr with a platform-specific implementation
git-svn-id: trunk@49200 -
2021-04-14 02:35:01 +00:00
florian
695665c393 + optimized multiplication for "symmetric" bit patterns on arm
git-svn-id: trunk@49199 -
2021-04-13 21:16:56 +00:00
pierre
86c036d9ed Explicitly disable range and overflow checking to avoid troubles with pointer arithmetics
git-svn-id: trunk@49198 -
2021-04-13 20:57:18 +00:00
michael
66646b8630 * Fix for double error
git-svn-id: trunk@49197 -
2021-04-13 11:41:50 +00:00
Károly Balogh
da252e2f4b sinclairql: turn the anyKey string const into a pchar, this reduces the final binary size by 200-odd bytes
git-svn-id: trunk@49196 -
2021-04-13 10:20:29 +00:00
pierre
f90324a02a Add strings unit to buildrtl meta-unit, and update Makefile.fpc accordingly
git-svn-id: trunk@49195 -
2021-04-12 21:34:03 +00:00
pierre
8ac821613f Disable sinclairql target OS for most utils packages
git-svn-id: trunk@49194 -
2021-04-12 21:32:34 +00:00
Károly Balogh
a6d475b9b3 qlunits: updates, new API and utility functions, improved README
git-svn-id: trunk@49193 -
2021-04-12 13:48:54 +00:00
Károly Balogh
9e7a8f44aa sinclairql: add right spelling for iof_mkdr, add the QDOS equivalent alias
git-svn-id: trunk@49192 -
2021-04-12 13:23:03 +00:00
Károly Balogh
8128736233 sinclairql: also have a function which returns a pointer directly to the QLstring job name
git-svn-id: trunk@49191 -
2021-04-12 12:21:25 +00:00
Károly Balogh
3280ec3220 sinclairql: have a max. 48 char buffer for job name. set the job name to the program name by default on system unit init
git-svn-id: trunk@49190 -
2021-04-12 11:58:14 +00:00
Károly Balogh
b5216a1990 m68k: on the Sinclair QL insert the main program's name into the object, so the RTL later can set it as default job name
git-svn-id: trunk@49189 -
2021-04-12 11:51:12 +00:00
lacak
5d81c6c43b fcl-db: Introduce TObjectField and TArrayField. Only essential interface parts (added new objects, new properties and methods according to Delphi documentation).
There is no implementation of methods in fields.inc and dataset.inc.
Only references to Delphi documentation is added as comments. These comments should be deleted after implementation.

git-svn-id: trunk@49188 -
2021-04-12 10:15:59 +00:00
Károly Balogh
c8e712f400 m68k: cleaned up some ancient mess from cpunode.pas, no significant functional change, apart from unit inclusion order
git-svn-id: trunk@49187 -
2021-04-12 09:33:51 +00:00
pierre
75a9c5b500 Also avoid invalid typecast for RegLoadedWithNewValue method for mips, sparcgen and xtensa
git-svn-id: trunk@49186 -
2021-04-12 08:57:23 +00:00
florian
726ac5a5a6 - forgotten file, obsolete define removed, belongs to last commit
git-svn-id: trunk@49185 -
2021-04-11 18:25:40 +00:00
florian
0188a558d1 - obsolete defines removed
git-svn-id: trunk@49184 -
2021-04-11 18:18:30 +00:00
florian
f1e748512b * fix test for case sensitive and case preserving file systems
git-svn-id: trunk@49183 -
2021-04-11 17:30:22 +00:00
florian
0a99028128 * newer linux distros might have powerpc64 libraries in /usr/lib or /lib
git-svn-id: trunk@49182 -
2021-04-11 17:30:22 +00:00
florian
1bd9d4173e * never ignore BINUTILSPREFIX environment variable in fpmake
+ search also $(BINUTILSPREFIX)-gnu-gcc for a usable gcc to get the libgcc directory

git-svn-id: trunk@49181 -
2021-04-11 17:30:21 +00:00
florian
f5bd3d81e7 + common assembler optimizer base class for powerpc and powerpc64
* factored out TPPCAsmOptimizer.RegLoadedWithNewValue

git-svn-id: trunk@49180 -
2021-04-11 17:30:20 +00:00
nickysn
340a71d2bc * always keep the WebAssembly stack frame aligned on 16 bytes
git-svn-id: trunk@49179 -
2021-04-11 14:02:40 +00:00
nickysn
c7f3469a3f * use up to 16 bytes alignment for the WASI target
git-svn-id: trunk@49178 -
2021-04-11 13:38:05 +00:00
Károly Balogh
6ec6d2043b sinclairql: enable commandargs and exitcode features
git-svn-id: trunk@49177 -
2021-04-11 00:19:06 +00:00
nickysn
81bd473439 * fixed win32 testsuite regressions after r49084
git-svn-id: trunk@49175 -
2021-04-10 21:05:58 +00:00
Károly Balogh
ad05434401 sinclairql: add the used includes to the system unit deps
git-svn-id: trunk@49174 -
2021-04-10 17:23:32 +00:00
Károly Balogh
9432aa4b69 sinclairql: do_mkdir implemented, patch by Norman Dunbar
git-svn-id: trunk@49173 -
2021-04-10 17:20:50 +00:00
Károly Balogh
3d4e677db0 sinclairql: new files to contain SMS only functions, iof_rename implemented, based on a patch by Norman Dunbar
git-svn-id: trunk@49172 -
2021-04-10 17:20:08 +00:00
Károly Balogh
541c65feb7 sinclairql: implemented do_rename(), based on the patch of Norman Dunbar
git-svn-id: trunk@49171 -
2021-04-10 17:04:47 +00:00
Károly Balogh
992fa3eea7 qlunits: updated to match the latest RTL qdosfuncs.inc
git-svn-id: trunk@49170 -
2021-04-10 15:16:13 +00:00
Károly Balogh
fc26e2629b sinclairql: various seeking, FS_POSAB/FS_POSRE and ERR_EF related fixes
git-svn-id: trunk@49169 -
2021-04-10 15:15:12 +00:00
Károly Balogh
f3a19aaf59 sinclairql: first version of working argc/argv generation. implemented ParamCount and ParamStr()
git-svn-id: trunk@49168 -
2021-04-10 15:12:45 +00:00
marco
b2afecdae5 * implemented recommendations from mantis #038510 for better bionic
compatibility.

git-svn-id: trunk@49167 -
2021-04-10 14:58:53 +00:00
marco
763d287af4 * raise exception when file not found.
git-svn-id: trunk@49166 -
2021-04-10 14:26:20 +00:00
marco
5340d45a18 * fix from bart for mantis #0038581 that prohibits reusing readbinarydata
as basis for a multisz reader.

git-svn-id: trunk@49165 -
2021-04-10 13:53:57 +00:00
florian
c1f85ac3a1 + initial implementation of path dependent IsFileNameCaseSensitive/IsFileNameCasePreserving functions for darwin
git-svn-id: trunk@49164 -
2021-04-10 13:29:59 +00:00
marco
ad66a19666 * on second thought, and a byte typecast so that an expanded intrinsics doesn't loop over unnecessary bits.
git-svn-id: trunk@49162 -
2021-04-10 10:59:00 +00:00
marco
f26c366e9b * use popcnt instead of countbits.
* change countbits to popcnt in case it is used by others.

suggestion by Bi0t1n, mantis 0038728

git-svn-id: trunk@49161 -
2021-04-10 10:56:47 +00:00
Jonas Maebe
ff3f812d97 * fix conversion of true/false macro definitions to boolean values
(mantis #38492)
   o since the macro lookups are recursive, "mac" will usually be nil
     afterwards (unless we found an undefined macro)

git-svn-id: trunk@49160 -
2021-04-10 10:56:02 +00:00
Jonas Maebe
500e29e5e2 * regenerated with FreeBSD/AArch64 support
git-svn-id: trunk@49159 -
2021-04-10 08:19:40 +00:00
Jonas Maebe
c970c17eca * updated revision.inc
git-svn-id: trunk@49158 -
2021-04-10 08:19:20 +00:00
Jonas Maebe
d8021a1102 + FreeBSD/AArch64 support (patch by Mikaël Urankar, mantis #38441)
git-svn-id: trunk@49157 -
2021-04-10 07:57:28 +00:00