Commit Graph

63854 Commits

Author SHA1 Message Date
Jonas Maebe
e1a739d15d FreeBSD CSU fixes
* Assembler blocks in non-pure assembler functions must always declare all
changed registers
* argc is read as *(long*) in C -> changed plongint to pptrint
* fixed ident section
2021-11-28 18:32:32 +01:00
florian
9314bbbf08 * compilation hopefully fixed 2021-11-28 00:03:30 +01:00
Yuriy Sydorov
4f711a8b2c * Use longint for Tmoveins.id instead of word to prevent overflow in extreme cases. 2021-11-28 01:02:20 +02:00
florian
12f48c230b * use high level interface wrappers for powerpc64 if pic is generated as
the abi does not support branches between functions located in different
    tocs which might happen for inter-module branches
2021-11-27 23:33:22 +01:00
Yuriy Sydorov
5c55f1a16e * Added Tmoveins.id to be used for sorting and searching in Tmovelist, to
produce the consistent order of elements.
  This fixes occasional differences in the register allocation caused by
  the address space randomization. When ASLR is in effect, the previous
  approach to sort elements by their memory addresses can't guarantee the
  consistent elements order for each compilation of the same source code.
2021-11-27 19:44:50 +02:00
Yuriy Sydorov
fad6b0e489 * Fixed build with NO_THREADING on Windows. 2021-11-27 19:12:25 +02:00
florian
e132ae2fee * last commit was not correct, fixed 2021-11-27 00:28:57 +01:00
florian
bf5f37b14a * fix conditional statement as pointed out by Sergey Larin 2021-11-26 22:27:19 +01:00
Pierre Muller
b3fb6a0ec0 Commit revision.inc change after 7d1b7eda0e 2021-11-26 07:52:15 +00:00
Pierre Muller
dabc59977d Avoid having uninitialized UseBinutilsPrefix local variable in GetDefaultLibGCCDir function 2021-11-25 23:34:28 +01:00
Pierre Muller
271ba59cf1 All Makefile's regenerated 2021-11-25 22:13:32 +00:00
Pierre Muller
c9ee52a8f5 Regenerated fpcmake.inc after previous commit: Use filter instead of findstring make function when a whole word needs to match 2021-11-25 21:42:17 +00:00
Pierre Muller
7d1b7eda0e Use filter instead of findstring make function when a whole word needs to match 2021-11-25 21:41:35 +00:00
florian
5bddb3a435 * x86-64 can handle overflows in 64 bit multiplications directly, part of resolving #39450 2021-11-24 23:06:38 +01:00
florian
65ef6f1f37 * regenerated Makefiles 2021-11-24 22:50:37 +01:00
florian
5c9de7edd7 * compile fpc with -Cg on powerpc64-linux 2021-11-24 22:45:38 +01:00
florian
1ebc0350d3 * fpcmake uses now git for date and hash in revision.inc 2021-11-24 22:37:20 +01:00
florian
18e0979379 + Exception.GetBaseException 2021-11-23 23:01:06 +01:00
florian
b0459a19f4 + initial files for intrinsics support on AArch64 2021-11-21 21:11:23 +01:00
florian
b733e21fd1 + more AArch64 extensions 2021-11-20 20:47:47 +01:00
Michaël Van Canneyt
78336d2cba * Assign codepageexpr 2021-11-20 10:48:58 +01:00
florian
67f3a7502d + Aaarch64: support adr instructions with local labels in the assembler reader
+ throw an error if an illegal instruction extension is passed as command line option
2021-11-19 22:37:47 +01:00
Michaël Van Canneyt
d3000c6174 * Moved comment to top of file for better visibility 2021-11-19 09:48:19 +01:00
Michaël Van Canneyt
92978caa2f * Add notice that work by Wolfgang Erhardt was used 2021-11-19 09:46:39 +01:00
Michaël Van Canneyt
ff7febc06c * Remove circular use, add lazarus test project file 2021-11-19 09:43:21 +01:00
Michaël Van Canneyt
f1cb5e678c * Test for po_keepclassforward 2021-11-19 09:17:04 +01:00
Michaël Van Canneyt
14f62b06d2 * Export statement allows index and name 2021-11-19 08:39:19 +01:00
Michaël Van Canneyt
6390ccde9b * No dependency on classes unit 2021-11-19 08:39:19 +01:00
Michaël Van Canneyt
0327a4a04e * Fix uses list 2021-11-19 08:39:19 +01:00
Michaël Van Canneyt
b06f2c4a74 * Restore test project 2021-11-19 08:39:19 +01:00
J. Gareth "Curious Kit" Moreton
55d5b11deb Converted tabs to spaces in toverflow.inc for consistency 2021-11-18 20:31:49 +00:00
mattias
da0260262d pastojs: fixed call type helper on type helper read from pcu 2021-11-18 20:43:53 +01:00
mattias
ab809fa93c fcl-passrc: clean up 2021-11-18 20:13:32 +01:00
mattias
75b911ce68 fcl-passrc: clean up 2021-11-18 20:11:54 +01:00
florian
6404478ea4 * cleanup of VER3_0 defines 2021-11-17 22:19:57 +01:00
J. Gareth "Curious Kit" Moreton
29ea731b2f Added two new overflow tests 2021-11-17 20:18:57 +00:00
J. Gareth "Curious Kit" Moreton
2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned
- Register allocation fixes for overflow checks
2021-11-17 20:18:57 +00:00
J. Gareth "Curious Kit" Moreton
3ce6c478cc Bug fixes to magic division and vectorcall code that trigger -CriotR checks 2021-11-16 20:39:57 +00:00
florian
64c21bb88b * fix bootstrapping wtih 3.2.2 and -Cpcoreavx2 2021-11-14 23:13:51 +01:00
J. Gareth "Curious Kit" Moreton
9f60628e5b x86: new optimisation to change add/sub 128,(dest) to sub/add -128,(dest) to reduce binary size 2021-11-14 21:38:38 +00:00
Michaël Van Canneyt
e994bacbba * Add crypto.h functions 2021-11-14 21:28:01 +01:00
Michaël Van Canneyt
cd6bc9aeb7 * Add missing definitions 2021-11-14 18:07:35 +01:00
Michaël Van Canneyt
65a570b772 * Test for po_arrayrangeexpr 2021-11-14 12:15:08 +01:00
Michaël Van Canneyt
5651680930 * Add test for threadvar 2021-11-14 12:06:00 +01:00
florian
feb5bde09c * better code and data size info for FreeRTOS 2021-11-13 19:04:58 +01:00
Michaël Van Canneyt
56ab410705 * Parse codepage strings 2021-11-13 18:42:49 +01:00
Michaël Van Canneyt
4820ec0746 * "Class of" allowed for fields 2021-11-13 18:14:46 +01:00
Michaël Van Canneyt
f4da533440 * Objects can also be abstract in FPC 2021-11-13 17:47:23 +01:00
Michaël Van Canneyt
9f1f055d29 * Fix dependency on hash (sha1) 2021-11-13 15:50:22 +01:00
Michaël Van Canneyt
1c9c9bd8bd * Reorder units 2021-11-13 15:49:44 +01:00