Commit Graph

59035 Commits

Author SHA1 Message Date
michael
a03ea37cfc * CeateArray uses 0-based loop
git-svn-id: trunk@45264 -
2020-05-05 09:52:02 +00:00
nickysn
0d11b5bf29 + added method TRelRelocation.EncodeFlags that encodes the flags to string that can be included in the .rel file
git-svn-id: trunk@45263 -
2020-05-05 03:23:51 +00:00
nickysn
03acadaf1e + initialize size and relflags in TRelRelocation
git-svn-id: trunk@45262 -
2020-05-05 03:03:02 +00:00
nickysn
732f1d9df6 + added TRelRelocationFlags
git-svn-id: trunk@45261 -
2020-05-05 01:13:58 +00:00
nickysn
569c406116 + introduced the TRelRelocation class
git-svn-id: trunk@45260 -
2020-05-05 00:59:27 +00:00
nickysn
f1f819516e + write the section data in the .rel internal object writer (relocations aren't written, yet)
git-svn-id: trunk@45259 -
2020-05-05 00:06:11 +00:00
florian
724676db43 * Xtensa: patch by Christo Crause: fix addmi/addi handling, resolves #37015
git-svn-id: trunk@45258 -
2020-05-04 19:58:45 +00:00
Jonas Maebe
0fbb1b259e * re-added "protected" accidentally removed in r45236, fixes JVM compilation
(mantis #37016)

git-svn-id: trunk@45257 -
2020-05-04 17:08:00 +00:00
michael
2073e518cc * Better uses clause for Delphi, less warnings
git-svn-id: trunk@45252 -
2020-05-04 09:54:39 +00:00
nickysn
ab878adfff + actually produce relocations in TRelObjData.writeReloc
git-svn-id: trunk@45251 -
2020-05-04 02:31:19 +00:00
nickysn
256597be58 + Z80 internal asm: produce correct opcodes for register operands
git-svn-id: trunk@45250 -
2020-05-04 02:17:30 +00:00
nickysn
90ee079cd1 + partial implementation of pass2 asm opcode generation for the Z80 internal asm writer
git-svn-id: trunk@45249 -
2020-05-04 01:27:44 +00:00
nickysn
5d2be4da1c * Z80: match both signed and unsigned 16-bit constants as OT_IMM16 in the asm instab lookup
git-svn-id: trunk@45248 -
2020-05-04 00:20:50 +00:00
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