Commit Graph

61132 Commits

Author SHA1 Message Date
florian
436a0d3f9e * generate advance_loc records only if there was code/data since the last advance_loc entry
git-svn-id: trunk@48686 -
2021-02-15 22:26:49 +00:00
florian
09d6398942 * arm: better cfi
git-svn-id: trunk@48685 -
2021-02-15 22:25:18 +00:00
florian
e694897bb3 * initial implementation of CFI support for arm (non-thumb)
git-svn-id: trunk@48684 -
2021-02-15 21:34:07 +00:00
florian
a3d68e6839 * arm thumb: generate proper cfi
git-svn-id: trunk@48678 -
2021-02-14 21:26:41 +00:00
florian
44856e660c * ARM: NR_RETURN_ADDRESS_REG is R14
git-svn-id: trunk@48677 -
2021-02-14 21:25:36 +00:00
florian
c3fb1e3a65 * initialize current_settings as early as possible so cs_debugswitch is set correctly if needed
git-svn-id: trunk@48676 -
2021-02-14 21:25:01 +00:00
florian
0316a7697f * arm thumb1: several fixes for the internal assembler writer
git-svn-id: trunk@48675 -
2021-02-14 17:52:26 +00:00
florian
33ce19799b * forgotten part of last commit
git-svn-id: trunk@48674 -
2021-02-14 17:15:37 +00:00
florian
f1883c4e61 * arm: taicpu uses set instead of boolean to store instruction states
+ track if an instruction is a thumb instruction in taicpu

git-svn-id: trunk@48673 -
2021-02-14 15:51:48 +00:00
florian
a4b35d16f2 + throw an error if hardware floating point operations are used in thumb(-1) mode, this is not supported
git-svn-id: trunk@48672 -
2021-02-13 22:17:35 +00:00
florian
dda9f83dfe * factored out tbasecgarm.init_mmregister_allocator
git-svn-id: trunk@48671 -
2021-02-13 22:16:59 +00:00
florian
5e7a512777 * arm-linux: sighnd.inc must check for CPUTHUMB and CPUTHUMB2
git-svn-id: trunk@48670 -
2021-02-13 21:26:15 +00:00
florian
87e1dc159d * do not mess with FPA registers if they are not available
git-svn-id: trunk@48669 -
2021-02-13 17:04:03 +00:00
florian
50bc387688 * handle -Ca (as proposed by Michael Ring) and -Cf in the first option pass as well
git-svn-id: trunk@48668 -
2021-02-13 14:37:07 +00:00
Mattias Gaertner
17d2873aec fcl-passrc: useanalyzer: fixed omitting not used hints for properties
git-svn-id: trunk@48667 -
2021-02-13 13:19:31 +00:00
Jonas Maebe
03bfe3234d * correctly handle multiple codesign binaries in the PATH
git-svn-id: trunk@48664 -
2021-02-13 08:19:30 +00:00
Jonas Maebe
d8662197a0 * replaced bogus "NSProcessInfo_NSObject" class with "NSProcessActivity" category
git-svn-id: trunk@48662 -
2021-02-13 07:49:58 +00:00
florian
98a748bdd6 + patch by Dimitrios Chr. Ioannidis: include dwar-3 sections in avr-embedded linker script
git-svn-id: trunk@48659 -
2021-02-12 21:39:31 +00:00
yury
afc80a84cf * Fixed r48650.
git-svn-id: trunk@48657 -
2021-02-12 11:26:37 +00:00
florian
7f1aac8bd7 - armv5 never existed (without extension), removed
git-svn-id: trunk@48652 -
2021-02-11 21:27:12 +00:00
florian
1c99c2655e * more helpful message if an unknown field is accessed in the assembler reader, resolves #38475
git-svn-id: trunk@48651 -
2021-02-11 20:51:53 +00:00
yury
4245b20a32 * Fixed expectloc of local variables passed as a formal parameter. This issue is caught by cycling the compiler with -dEXTDEBUG. Yet the compiler can't cycle with EXTDEBUG due to other issues with wrong expectloc.
git-svn-id: trunk@48650 -
2021-02-11 10:39:41 +00:00
florian
71c314d7d4 * another FPC_VERSION => FPC_FULLVERSIOn fix
* switch back to 32 Bit mode if no thumb code is generated

git-svn-id: trunk@48630 -
2021-02-10 20:46:15 +00:00
florian
3b49e95415 * do not initialize unncessary register allocators
git-svn-id: trunk@48628 -
2021-02-10 19:52:52 +00:00
michael
47be45830c * Fix issue ID #38462
git-svn-id: trunk@48580 -
2021-02-10 11:00:22 +00:00
florian
ecce39a3b2 + throw a warning in ISO mode if a constant string is assigned to a char and the sizes do not match, resolves #38439
git-svn-id: trunk@48563 -
2021-02-09 20:48:27 +00:00
florian
3a0eb110ec * FPC_VERSION => FPC_FULLVERSION
git-svn-id: trunk@48547 -
2021-02-08 21:41:04 +00:00
marco
59a16914f3 * sqrt is 4 characters long, noticed by Artlogic.
git-svn-id: trunk@48525 -
2021-02-08 09:16:13 +00:00
Károly Balogh
ada3d2050c m68k: write inline floating point immediates as hex consts, instead of scientific notation. the scientific notation format parsing depends on the libc the assembler was linked against, which can lead to varying results and compile errors
git-svn-id: trunk@48524 -
2021-02-08 05:01:45 +00:00
Károly Balogh
d0178f7ae0 m68k: fix a_loadfpu_ref_reg to call a_loadfpu_reg_reg instead of a_load_reg_reg. made a_loadfpu_reg_reg internalerror on invalid target sizes when loading to a different reg size
git-svn-id: trunk@48523 -
2021-02-08 04:12:21 +00:00
Károly Balogh
77fee8b4eb m68k: do not use OS_NO for FPU locations, but properly promote location sizes into the CG
git-svn-id: trunk@48522 -
2021-02-08 04:07:04 +00:00
florian
3e453f92fc * statx based Sysutils.FileGetDate with handle fixed
+ test

git-svn-id: trunk@48520 -
2021-02-07 17:59:28 +00:00
florian
b08717fef6 * make statx based Sysutils.FileAge working with relative pathes
+ test

git-svn-id: trunk@48519 -
2021-02-07 17:41:27 +00:00
Jonas Maebe
91d877919e * strip codesignature when comparing compiler binaries on Darwin
o fixes non-converging "make cycle" on macOS/AArch64 with DEBUG=1

git-svn-id: trunk@48518 -
2021-02-07 14:40:14 +00:00
florian
539a578cce * create \index entries in the messages.inc for an index of message texts and numbers in the user manual
git-svn-id: trunk@48517 -
2021-02-06 16:59:02 +00:00
florian
b1f7fb4ba1 * test for already fixed issue #24434
git-svn-id: trunk@48516 -
2021-02-06 12:53:04 +00:00
florian
d0910b5ac8 * allow sub/add nodes in constant pointer expressions, resolves #34027
git-svn-id: trunk@48514 -
2021-02-05 22:10:27 +00:00
florian
91586331b5 * x86_64-linux: assembler helpers syscalls do not need a stackframe
git-svn-id: trunk@48512 -
2021-02-04 20:57:11 +00:00
florian
1e960a9aeb * the size of the CIE_pointer in an FDE is always 32 bit
git-svn-id: trunk@48507 -
2021-02-03 20:05:56 +00:00
pierre
64bd8336f1 Fix compilation of linux unit with -dFPC_USE_LIBC option
git-svn-id: trunk@48504 -
2021-02-02 23:56:22 +00:00
florian
a67c184200 * test for already fixed issue #32139
git-svn-id: trunk@48501 -
2021-02-02 21:36:54 +00:00
Mattias Gaertner
d4d401b26d fcl-passrc: resolver: include(intset,int)
git-svn-id: trunk@48497 -
2021-02-01 22:12:48 +00:00
florian
40b8bde305 * test for 32 bit targets fixed
git-svn-id: trunk@48496 -
2021-02-01 21:14:19 +00:00
florian
3922926d17 * disable new syscalls on android
git-svn-id: trunk@48495 -
2021-02-01 21:05:23 +00:00
michael
f2a4a9d0d4 * Specify mode
git-svn-id: trunk@48490 -
2021-02-01 13:16:20 +00:00
michael
f128e64ccb * Some small improvements from Andrey Sobol: better specialization declaration in markdown, write more detailed end log
git-svn-id: trunk@48489 -
2021-02-01 13:15:05 +00:00
florian
b4a1c27c58 * renamed new syscall wrapper in linux to be consist with the others
git-svn-id: trunk@48479 -
2021-01-31 22:25:18 +00:00
svenbarth
d13838ac0b + add a test which ensures that a "const TVarData" parameter is passed as a reference.
This is required for Delphi compatibility as implementers of IVarInvokable or
  inheritors of TInvokableVariantType need to modify the variant data by using
  a pointer to the TVarData because it's passed as const and thus not modifyable
  by itself.
  This behavior is documented in so far as the C++ builder documentation shows
  that the same parameter is implemented as "const&".

git-svn-id: trunk@48478 -
2021-01-31 21:23:29 +00:00
svenbarth
fe5b29c111 * fix for Mantis #38249: apply adjusted patch by avk to implemnt CastTo handling when the source variant is a custom variant, but the destination type is not
+ added test (includes test for #20849)

git-svn-id: trunk@48477 -
2021-01-31 20:26:26 +00:00
florian
90ba89a128 * linux: FileGetDate makes use of statx if needed
git-svn-id: trunk@48476 -
2021-01-31 18:38:50 +00:00