Commit Graph

59022 Commits

Author SHA1 Message Date
nickysn
27e9dde81a + implemented pass1 (calcsize) of the instruction encoding for the Z80 internal asm
git-svn-id: trunk@45247 -
2020-05-04 00:14:28 +00:00
nickysn
23fa725b01 + added the global symbols to the .rel output file
git-svn-id: trunk@45246 -
2020-05-03 23:23:24 +00:00
nickysn
bba56d627f + write the areas (sections) in the .rel output
git-svn-id: trunk@45245 -
2020-05-03 23:16:23 +00:00
nickysn
92e86e7673 * the areas global symbols count must be in hex in the .rel format
git-svn-id: trunk@45244 -
2020-05-03 23:10:14 +00:00
nickysn
8e23dc99a1 + write the .rel file header and the list of external symbols
git-svn-id: trunk@45243 -
2020-05-03 23:00:52 +00:00
nickysn
763e0a14fe + override the abstract methods from TObjData.sectionname() and .writereloc(). Only sectionname() is implemented for now.
git-svn-id: trunk@45242 -
2020-05-03 22:22:26 +00:00
nickysn
244f1dd83c + added class TRelObjData
git-svn-id: trunk@45241 -
2020-05-03 22:16:21 +00:00
nickysn
66a72cfb72 + added build mode that enables the Z80 internal assembler
git-svn-id: trunk@45239 -
2020-05-03 21:49:03 +00:00
Tomas Hajny
ed6928f257 * remove shortcut conflict between ~G~eneral and ~G~o32v2
git-svn-id: trunk@45238 -
2020-05-03 21:42:20 +00:00
svenbarth
73026618c8 * protect against empty strings inside the SetThreadDebugNameA and -U functions
git-svn-id: trunk@45237 -
2020-05-03 21:11:36 +00:00
florian
b80d051249 * make fparainit and fparacopyback public
+ process fparainit and fparacopyback in foreachnode
  + print fparainit and fparacopyback
  + do not break if tcallparanode.copy_value_by_ref_para is called multiple times

git-svn-id: trunk@45236 -
2020-05-03 20:37:07 +00:00
florian
8d1660893b * compilation with -Oodfa fixed
git-svn-id: trunk@45234 -
2020-05-03 15:18:08 +00:00
svenbarth
0906714aa4 * fix for Mantis #36950: apply (slightly adjusted) patch by Bi0T1N to implement SetThreadDebugNameA and -U for Linux and Android targets
git-svn-id: trunk@45233 -
2020-05-03 15:08:35 +00:00
svenbarth
3d2945726a * handle generic parameters in Ord()
+ added test

git-svn-id: trunk@45232 -
2020-05-03 15:08:31 +00:00
florian
b6097a0300 * correctly handle result type of string constant nodes for internally created
nodes

git-svn-id: trunk@45231 -
2020-05-03 12:41:17 +00:00
michael
4e92f2651e * Zero out at premature exit
git-svn-id: trunk@45230 -
2020-05-03 07:55:32 +00:00
marco
4a51d0600d * add podetached. Follow up to mantis @32055 due to regression, see
https://forum.lazarus.freepascal.org/index.php/topic,49631.0

git-svn-id: trunk@45228 -
2020-05-02 20:06:32 +00:00
yury
187cc46b32 * Windows: Do not use CommandLineToArgvW for parsing command line parameters, because it treats \" as an escape sequence for the double quote.
- Implemented parsing of the command line which is backward compatible.
  - Do not use GetCommandLineA.

git-svn-id: trunk@45227 -
2020-05-02 18:19:26 +00:00
michael
112b48a5e0 * Use read buffer to speed up things
git-svn-id: trunk@45226 -
2020-05-02 16:15:28 +00:00
michael
8182669e79 * Explicitly raise EDivError (bug ID 36839)
git-svn-id: trunk@45223 -
2020-05-02 15:56:30 +00:00
michael
e53c2572ce * Allow property list to be sorted (patch from Denis Grynuk, bug ID #36803)
git-svn-id: trunk@45222 -
2020-05-02 15:49:58 +00:00
Jonas Maebe
3f6ad30b69 * don't convert the fpu parameters size from tcgsize -> int -> float_tcgsize
if not required, to avoid translating OS_C64 into OS_F64 (fix for x86
    test failures after r45205)

git-svn-id: trunk@45221 -
2020-05-02 13:17:21 +00:00
florian
de805fddcd * properly force the result type after r45217
git-svn-id: trunk@45220 -
2020-05-02 12:33:46 +00:00
marcus
4d71051859 ppudump: catch exception on illegal datetime (mainly cross compiled units)
git-svn-id: trunk@45219 -
2020-05-02 09:32:11 +00:00
florian
a61e18091a * compilation with -Oodfa fixed
git-svn-id: trunk@45218 -
2020-05-02 09:29:36 +00:00
florian
e3870079b2 * remove tempref mess for simple inlined functions
git-svn-id: trunk@45217 -
2020-05-02 09:01:35 +00:00
nickysn
aa6209ab51 + added an override of the abstract method TRelObjOutput.writeData (not implemented, yet)
git-svn-id: trunk@45216 -
2020-05-02 02:35:31 +00:00
nickysn
950c1d1693 + enable the Z80 internal asm (which doesn't work, yet) if the compiler is compiled with -dZ80_INTERNAL_ASM
git-svn-id: trunk@45215 -
2020-05-02 02:35:03 +00:00
florian
0794878b41 * allow recursive inlines, meanwhile, there are other means to avoid too deep recursion of inlining
git-svn-id: trunk@45214 -
2020-05-01 20:50:19 +00:00
florian
43e6d84f33 * GetCopyAndTypeCheck forces correct type
* propagate forinline flag through simplify

git-svn-id: trunk@45213 -
2020-05-01 20:50:18 +00:00
michael
4e7443bf81 * Fix -h or --help
git-svn-id: trunk@45210 -
2020-05-01 14:11:14 +00:00
svenbarth
871f60ef61 * increase PPU version so that 3.2.0 correctly ignores 3.3.1 PPUs instead of fatally failing on the extended header entry
git-svn-id: trunk@45209 -
2020-05-01 13:55:01 +00:00
svenbarth
2840e5e1fd * fix for Mantis #36895: the new epoll_pwait was missing the size parameter for the sigmask parameter
git-svn-id: trunk@45208 -
2020-05-01 13:11:02 +00:00
svenbarth
4faf56353e * fix for Mantis #36949: apply patch by Bi0T1N to exclude the same pthread functions for Android for the static case that are excluded for the dynamic case
git-svn-id: trunk@45207 -
2020-05-01 13:10:58 +00:00
svenbarth
68d743a83e * fix for Mantis #36941: apply (adjusted) patch by Bi0T1N to implement SetThreadDebugNameA and -U for Windows, with the exception of Windows CE
git-svn-id: trunk@45206 -
2020-05-01 13:10:54 +00:00
Jonas Maebe
722ad1ff7b * support floating point parameters split over multiple locations, including
integer registers, for homogeneous records/arrays on ppc64le (related to
    mantis #36934)

git-svn-id: trunk@45205 -
2020-05-01 13:02:48 +00:00
Jonas Maebe
05923af386 * ppc64le: fix storing homogeneous 64 bit float parameters in case they are
split over just FPU registers and memory (related to mantis #36934)

git-svn-id: trunk@45204 -
2020-05-01 13:02:45 +00:00
michael
3a55fef285 * Always initialize autoincvalue in createdataset
git-svn-id: trunk@45202 -
2020-05-01 12:16:47 +00:00
Károly Balogh
89d9679b53 m68k: have an arch-specific second_length implementation, to make sure length() doesn't return its result in an address register
git-svn-id: trunk@45201 -
2020-05-01 12:06:43 +00:00
Jonas Maebe
d83232f881 * ELFv2: fixed homogeneous aggregate parameter passing when they should
overflow into integer registers (mantis #36934)

git-svn-id: trunk@45199 -
2020-04-30 20:53:05 +00:00
florian
cfe2d94b25 * fix LLVM after r45177
git-svn-id: trunk@45198 -
2020-04-30 19:42:03 +00:00
marcus
95ced4a7f5 Amiga: special CRT unit (named vidcrt) based on video unit
git-svn-id: trunk@45197 -
2020-04-30 19:28:45 +00:00
marcus
c6b0195c5f Amiga: keyboard prevent double keys on GetKeyEvent, if called without PollKeyEvent
git-svn-id: trunk@45196 -
2020-04-30 19:14:51 +00:00
nickysn
c0ffa18ee2 + added class TRelObjOutput
git-svn-id: trunk@45195 -
2020-04-30 17:31:18 +00:00
michael
1a18805c96 * Fix clearing of arrays and recursive definitions for arrays
git-svn-id: trunk@45192 -
2020-04-30 16:20:16 +00:00
nickysn
19c1ecda54 + started work on the Z80 internal assembler
git-svn-id: trunk@45191 -
2020-04-30 14:27:48 +00:00
michael
42bfe6d45f * Fix from Ondrej Pokorny to fix reading large TIFFs (bug ID 36998)
git-svn-id: trunk@45190 -
2020-04-30 13:39:07 +00:00
michael
07e2d4e4c5 * Avoid errors when dataset is not active while constructing update SQL.
git-svn-id: trunk@45189 -
2020-04-30 10:43:03 +00:00
michael
c66ceaf0e3 * Patch from Laco with cosmetic changes and warning-removing
git-svn-id: trunk@45188 -
2020-04-30 07:01:44 +00:00
nickysn
9b1eebd333 + z80: add operand info to the result of taicpu.GetString, this makes the
compiler produce nicer error messages, when it encounters an invalid
  instruction in inline asm code

git-svn-id: trunk@45187 -
2020-04-30 00:17:29 +00:00