florian
822b460096
* fix bootstrapping on aarch64-linux with 3.2.x
...
git-svn-id: trunk@49264 -
2021-04-25 19:24:18 +00:00
florian
5557dbedf2
+ Aarch64: directly inline code for frac(...)
...
git-svn-id: trunk@49261 -
2021-04-25 09:26:47 +00:00
florian
cd3570caf1
+ Aarch64: use frintz for int(...) instead of creating a helper call
...
git-svn-id: trunk@49260 -
2021-04-25 08:53:12 +00:00
florian
047d13e7e1
* fpsr and fpcr are 64 bit on aarch64
...
git-svn-id: trunk@49257 -
2021-04-24 14:06:36 +00:00
florian
c3f95f65ed
* improved system unit dependencies
...
git-svn-id: trunk@49251 -
2021-04-23 21:16:16 +00:00
marco
8ad6271fa1
* avoid rangecheck mantis 0038791
...
git-svn-id: trunk@49250 -
2021-04-23 19:06:18 +00:00
florian
dbee3bcc0d
* fixed MSecsToTimeStamp by Lagunov Aleksey, resolves #38631
...
git-svn-id: trunk@49247 -
2021-04-22 20:14:00 +00:00
marco
e31923c290
* use W variant to get localestrs.
...
git-svn-id: trunk@49244 -
2021-04-22 14:00:51 +00:00
Károly Balogh
b149718566
sinclairql: added an entirely stub (for now) sysutils unit. added a classes unit. enabled building the whole rtl
...
git-svn-id: trunk@49239 -
2021-04-20 10:02:39 +00:00
Károly Balogh
6dbcd17f54
sinclairql: hopefully fix off-by-one processing in the packed relocs code
...
git-svn-id: trunk@49232 -
2021-04-19 05:42:18 +00:00
michael
fe78829b99
* Fix issue ID #38772
...
git-svn-id: trunk@49225 -
2021-04-18 10:45:47 +00:00
nickysn
711efc3e3a
+ started working on the SysUtils unit for the WASI platform
...
git-svn-id: trunk@49220 -
2021-04-17 14:39:54 +00:00
nickysn
a0e88efa6a
+ compile the sysconst unit for wasm32-wasi
...
git-svn-id: trunk@49216 -
2021-04-17 11:26:21 +00:00
florian
d53b17cadc
+ Aarch64: completed LSE support for all interlocked operations
...
git-svn-id: trunk@49212 -
2021-04-16 19:33:31 +00:00
Károly Balogh
0d5260396c
sinclairql: added startup code support for the 'packed' relocation table format in vlink. disabled for now.
...
git-svn-id: trunk@49211 -
2021-04-16 17:03:41 +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
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
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
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
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
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
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
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
Jonas Maebe
500e29e5e2
* regenerated with FreeBSD/AArch64 support
...
git-svn-id: trunk@49159 -
2021-04-10 08:19:40 +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
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
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
florian
e4cc8af8fc
* Makefiles regenerated
...
git-svn-id: trunk@49124 -
2021-04-05 15:39:07 +00:00
florian
755c574a87
+ lazarus project
...
git-svn-id: trunk@49119 -
2021-04-04 14:54:56 +00:00
marco
1edc9cd01b
* patch from mantis 37205, add OS X sysctl constants
...
git-svn-id: trunk@49115 -
2021-04-03 19:42:11 +00:00