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
pierre
3ac0522f70
Add sinclairql to NO_NATIVE_COMPILER_OS_LIST
...
git-svn-id: trunk@49133 -
2021-04-07 15:49:31 +00:00
florian
9a39124118
* Xtensa: fix crash in TCpuAsmOptimizer.RegLoadedWithNewValue
...
git-svn-id: trunk@49132 -
2021-04-07 13:54:58 +00:00
pierre
103599ede0
Delete existing files before overwriting them for Darwin OS to avoid codesign issues
...
git-svn-id: trunk@49131 -
2021-04-06 22:43:21 +00:00
pierre
432cd5bdd3
Update after commit 49123
...
git-svn-id: trunk@49130 -
2021-04-06 21:14:42 +00:00
florian
9ec85f940e
* do not remove register deallocations/allocation pairs if the register is written
...
git-svn-id: trunk@49129 -
2021-04-06 19:16:17 +00:00
florian
503fc85dff
* patch by J. Gareth Moreton: handle register allocations correctly in MovMov2Mov 3, resolves #38703
...
git-svn-id: trunk@49128 -
2021-04-06 15:50:28 +00:00
florian
05cf47f995
* AVR: fixed TCpuAsmOptimizer.RegLoadedWithNewValue
...
git-svn-id: trunk@49126 -
2021-04-06 11:49:48 +00:00
marco
aead0528cf
* attempt to fix mantis #28321 . Use path of project file as base of chm.
...
git-svn-id: trunk@49125 -
2021-04-05 19:29:19 +00:00
florian
e4cc8af8fc
* Makefiles regenerated
...
git-svn-id: trunk@49124 -
2021-04-05 15:39:07 +00:00
florian
fe06cddbbf
* pass suitable sysroot to aarch64-darwin compiler, if none is supplied by SYSROOTPATH
...
git-svn-id: trunk@49123 -
2021-04-05 15:38:37 +00:00
Mattias Gaertner
204f2a3bc1
pastojs: fixed multi add element position
...
git-svn-id: trunk@49122 -
2021-04-05 10:28:52 +00:00
Mattias Gaertner
d28cf7c393
fcl-passrc: comment
...
git-svn-id: trunk@49121 -
2021-04-05 10:27:58 +00:00
Mattias Gaertner
c28ab0a8b8
fcl-passrc: fixed resolve multi add
...
git-svn-id: trunk@49120 -
2021-04-05 10:19:14 +00:00
florian
755c574a87
+ lazarus project
...
git-svn-id: trunk@49119 -
2021-04-04 14:54:56 +00:00
florian
87a67a3222
* typo fixed
...
git-svn-id: trunk@49118 -
2021-04-03 22:01:47 +00:00
florian
08817f1aed
* fixes to deadstore optimization
...
git-svn-id: trunk@49117 -
2021-04-03 21:28:09 +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
Jeppe Johansen
d12dd1bdae
* CortexM4: Add some missing system registers
...
git-svn-id: trunk@49114 -
2021-04-03 18:13:51 +00:00
florian
e6f01065ec
+ Aarch64: use LSE if available for atomic intrinsics
...
git-svn-id: trunk@49113 -
2021-04-03 11:59:36 +00:00