Commit Graph

62304 Commits

Author SHA1 Message Date
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
michael
f43a32315f * Fix getpeername, patch by BaldZhang for issue ID #38677
git-svn-id: trunk@49156 -
2021-04-10 06:08:39 +00:00
pierre
9f8566dd84 Refactor code to avoid problems with -CR option
git-svn-id: trunk@49155 -
2021-04-09 23:11:53 +00:00
florian
09628e56cb * even if currency is handled by torddef, it is a real number, so using / is perfectly right, resolves #38718
git-svn-id: trunk@49154 -
2021-04-09 20:38:46 +00:00
florian
243ddea686 * PowerPC: initial (and primitive) implemenation of TCpuAsmOptimizer.RegLoadedWithNewValue
git-svn-id: trunk@49153 -
2021-04-09 20:20:53 +00:00
pierre
b0c434b2b2 Disable most utils for SinclairQL for now
git-svn-id: trunk@49152 -
2021-04-09 20:15:48 +00:00
florian
b09669dffe * allow also CSUBSETREG in tx86inlinenode.second_IncludeExclude, resolves #38733
git-svn-id: trunk@49151 -
2021-04-09 20:09:19 +00:00
Károly Balogh
ca475537e8 sinclairql: instead of tinyheap, made the QL port to use the new OS heap by default, also implemented Randomize, based on patch by Norman Dunbar
git-svn-id: trunk@49150 -
2021-04-09 04:35:54 +00:00
Károly Balogh
f5c22b7a93 sinclairql: various file and directory handling improvements, based on patch by Norman Dunbar
git-svn-id: trunk@49149 -
2021-04-09 04:34:38 +00:00
Károly Balogh
e7681dfe5b sinclairql: implemented io_delet and mt_rclck QDOS functions, patch by Norman Dunbar
git-svn-id: trunk@49148 -
2021-04-09 04:24:06 +00:00
Károly Balogh
d480192477 sinclairql: implemented Error2InOutRes, patch by Norman Dunbar
git-svn-id: trunk@49147 -
2021-04-09 04:22:47 +00:00
Károly Balogh
08023bbad0 sinclairql: fixed parameter trashing in several QDOS function assembler wrappers
git-svn-id: trunk@49146 -
2021-04-09 03:04:24 +00:00
Károly Balogh
caa2735203 osheap: new very small heap manager which only acts as a thin layer above an OS provided heap API. mainly aimed for small and embedded systems
git-svn-id: trunk@49145 -
2021-04-09 02:20:22 +00:00
Károly Balogh
80d549a734 sinclairql: further tweaks to the startup code. enable optimizations. mark functions as noreturn to save a few bytes
git-svn-id: trunk@49144 -
2021-04-08 23:51:48 +00:00
Károly Balogh
ab0de8eec0 sinclairql: fix and simplify the startup code changes in r49134. accessing global variables is not possible before relocation
git-svn-id: trunk@49143 -
2021-04-08 23:33:54 +00:00
Jonas Maebe
f13b47289e * handle case where the first instruction with line information is looked up
o this should be handled better. The common way is looking up address - 1,
     but that doesn't seem to work here.

git-svn-id: trunk@49142 -
2021-04-08 19:50:40 +00:00
Jonas Maebe
7b5e58382b * regenerated
git-svn-id: trunk@49141 -
2021-04-08 19:50:37 +00:00
Jonas Maebe
0eb9dd3879 * Darwin support for printing line info for backtraces when using Dwarf,
based on patches by Colin Western, mantis #38483)
   o requires that the program/library is compiled with -Xg (or that
     dsymutil is run on it after compiling), and that the .dSYM bundle
     is in the same directory as the program/library
   o always use the "dl" unit in exeinfo for Darwin, as that's needed for
     dynamic library support, and this does not cause an extra dependency
     since on Darwin we always use libc
   o cleaned up the exeinfo unit for Darwin, and sped it up by using mmap
     instead of small reads
   o fixed unit dependencies for exeinfo, lineinfo and lnfodwarf in Darwin
     RTL Makefile
  * use the process address info from the original exe even when reading
    the debug information from an external file
  - removed outdated ifdef'd darwin code from dl.pp (no longer needed now
    that processaddress gets set correctly in exeinfo for that platform)

git-svn-id: trunk@49140 -
2021-04-08 19:50:34 +00:00
Jonas Maebe
4166e8c464 * Darwin/BSD: fixed StackBottom calculation
git-svn-id: trunk@49139 -
2021-04-08 19:50:30 +00:00
Jonas Maebe
ca399f3c71 * don't generate high-level CFI statements when the selected assembler
does not support them, even if the target normally uses them
   o fixes assembling with -Aas-darwin for i386/arm/x86-64 (on OS
     versions that used those)

git-svn-id: trunk@49138 -
2021-04-08 19:50:27 +00:00
Jonas Maebe
1b34fe90a3 * don't override specified assembler on the command line when leaving
assembler files in case that specified assembler is already an
    external one

git-svn-id: trunk@49137 -
2021-04-08 19:50:24 +00:00
Jonas Maebe
4c40e7f9d6 * Darwin: fixed calling dsymutil when _not_ skipping the linking step
git-svn-id: trunk@49136 -
2021-04-08 19:50:21 +00:00
florian
c90616944d + Aarch64: create better code for not(<byte>)
git-svn-id: trunk@49135 -
2021-04-08 17:21:59 +00:00
pierre
44e39f454a Add basic support for setting argc and argv for sinclairql OS
git-svn-id: trunk@49134 -
2021-04-07 15:58:42 +00:00