Commit Graph

63768 Commits

Author SHA1 Message Date
ccrause
793c157a9c Always call DoExec to generate linker scripts. Even if cs_link_nolink is set, the ldgen scipt needs to be called in the generated ppas script. 2021-11-29 22:42:49 +01:00
ccrause
b0c0309cc1 Add output path to kconfig source file location parameters. 2021-11-29 22:42:49 +01:00
ccrause
f66dd54bc2 Extract linker script generation as separate method. Check if esp linker scripts can be found in library paths, if not then generate scritps. 2021-11-29 22:42:49 +01:00
ccrause
ab00794343 Keep esp32 and esp8266 version specific tweaks separate. 2021-11-29 22:42:49 +01:00
ccrause
a58567004b Remove unused $OUTPUT substtution and empty check of outputexedir. 2021-11-29 22:42:49 +01:00
ccrause
655a5f526c Place IDF related files in executable output folder. 2021-11-29 22:42:49 +01:00
ccrause
e86d3af7e0 The linklib list for esp-idf v4.2 is also needed for v4.3 2021-11-29 22:42:49 +01:00
florian
5db20610dd * correct idf version check 2021-11-29 22:42:49 +01:00
florian
802f24dfbd * force result to be set 2021-11-29 22:42:49 +01:00
florian
54f2308d2a + draft for esp-idf version specific rtl unit which contains the necessery linklib statements 2021-11-29 22:42:49 +01:00
florian
dc161e519f * inputfilepath might not be empty 2021-11-29 22:42:49 +01:00
ccrause
5289aab4f2 Add -WP option so that IDF version can be passed in - stored in globals.idf_version. The version is checked in t_freertos.pas and for esp-idf version 4.3.x an extra link file is added, also running ldgen.py is skipped as that seems unused. 2021-11-29 22:42:49 +01:00
Pierre Muller
222a41be7b Change declaration of DynLinkStr local variable of MakeExecutable method to ansitring to avoid short string overflows 2021-11-28 23:57:09 +00:00
Jonas Maebe
2de72c8541 Linux/PPC64: fix missing TOC loads
Routines loading a global symbol need the TOC register
2021-11-28 18:32:32 +01:00
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