Commit Graph

59900 Commits

Author SHA1 Message Date
florian
92d5e613b5 * Xtensa: needs no mul helper, all variants have the MULL instruction
git-svn-id: trunk@46539 -
2020-08-21 21:35:50 +00:00
florian
8a36e63a56 + initial implementation of setjmp/longjmp
git-svn-id: trunk@46537 -
2020-08-21 21:15:36 +00:00
florian
1f073818ba * cleanup ARM remainders
* locals can have 0 as offset, force a reference in this case

git-svn-id: trunk@46536 -
2020-08-21 21:02:01 +00:00
svenbarth
5801a7431c * reset idfpath when globals are initialized (needed for the textmode IDE)
git-svn-id: trunk@46535 -
2020-08-21 12:37:42 +00:00
michael
7e2dc6b345 * Removed unused assignment
git-svn-id: trunk@46534 -
2020-08-21 11:08:50 +00:00
michael
213d2905df * Change some methods from using var to using out (bug ID 37376)
git-svn-id: trunk@46533 -
2020-08-21 10:44:48 +00:00
pierre
85d19af48c * Remove debug ECHO lines
* Fix detection of -dFPC_SOFT_FPUX80, as OPT is reset after
     being copied over to LOCALOPT.
   + Add FULL_TARGETS that list all targets concerned by fullcyle and associated targets.

git-svn-id: trunk@46532 -
2020-08-21 09:13:59 +00:00
michael
51b43aff3f * Simplified SetDelimitedText
git-svn-id: trunk@46531 -
2020-08-21 07:52:42 +00:00
michael
81c7da83a9 * Fix bug ID #0037605: Setting quotechar to NULL char disables quoting
git-svn-id: trunk@46530 -
2020-08-21 07:38:33 +00:00
florian
0881e4fd98 * insert literals after the section start which belongs to the current procedure
git-svn-id: trunk@46528 -
2020-08-20 21:29:49 +00:00
florian
7157bac9fd * patch by Christo Crause, resolves #37335
* ESP8266 support for t_freertos.pas
    + -Ff switch to be able to pass the IDF_PATH without using an evironment variable

git-svn-id: trunk@46527 -
2020-08-20 21:29:48 +00:00
florian
1ad31dd32d * reduce number of default libs
git-svn-id: trunk@46526 -
2020-08-20 21:29:47 +00:00
yury
de3a479be3 * Added assembler comments about unused parameters.
git-svn-id: trunk@46522 -
2020-08-20 20:08:10 +00:00
yury
0a34a090e0 x86: It is more optimal to push some register (NR_FRAME_POINTER_REG) instead of a constant value in a_load_undefined_cgpara().
git-svn-id: trunk@46521 -
2020-08-20 19:59:36 +00:00
yury
e28fca9729 * If parentfp is passed in the stack it can be skipped only if po_delphi_nested_cc is set for the routine.
git-svn-id: trunk@46520 -
2020-08-20 18:30:09 +00:00
yury
c69090446a * msdos: Fixed AV in the internal linker in some cases when code or data exceeds 64k.
git-svn-id: trunk@46519 -
2020-08-20 17:39:45 +00:00
Mattias Gaertner
c2cceaeba8 pastojs: started delay specialization
git-svn-id: trunk@46518 -
2020-08-20 17:25:51 +00:00
Mattias Gaertner
fcaf04686b fcl-passrc: check generic constraint T:T
git-svn-id: trunk@46517 -
2020-08-20 17:20:43 +00:00
Mattias Gaertner
16e50abd74 fcl-passrc: fixed memeleak when error during parsing generic constraints
git-svn-id: trunk@46516 -
2020-08-20 17:19:56 +00:00
Mattias Gaertner
89752e042d fcl-passrc: fixed anaylyzer
git-svn-id: trunk@46515 -
2020-08-20 17:18:59 +00:00
yury
75e5afd45b * When optimization is off always load unused parentfp to a local location to be debugger friendly.
git-svn-id: trunk@46514 -
2020-08-20 16:59:10 +00:00
Mattias Gaertner
ccc26ad34c pastojs: compiler: reset hub
git-svn-id: trunk@46513 -
2020-08-20 16:41:46 +00:00
Mattias Gaertner
01d5519fe8 fcl-js: skip writeln test
git-svn-id: trunk@46512 -
2020-08-20 16:41:03 +00:00
yury
1002a7c590 * 8086: Fixed very long section names when $HUGECODE is ON and section based smartlinking is used.
* Added a utility function TrimStrCRC32().

git-svn-id: trunk@46511 -
2020-08-20 16:35:27 +00:00
pierre
b1ee6f7fdc Fix error in previous commit
Try to avoid unneeded steps for fullinstallsymlink

git-svn-id: trunk@46510 -
2020-08-20 16:01:34 +00:00
Mattias Gaertner
dba6f9a828 fcl-passrc: simplify
git-svn-id: trunk@46509 -
2020-08-20 13:26:40 +00:00
Mattias Gaertner
dacf740561 fcl-passrc: resolver: FinishedInterfaceIndex
git-svn-id: trunk@46508 -
2020-08-20 13:26:09 +00:00
pierre
ac36a214bf Do not set EXCLUDE_80BIT_TARGETS to 1 if OPT variable contains -dFPC_SOFT_FPUX80
git-svn-id: trunk@46507 -
2020-08-20 13:17:59 +00:00
michael
82346563c1 * Add StoredAttribute class, bug ID #37602
git-svn-id: trunk@46506 -
2020-08-20 12:06:14 +00:00
michael
8bc2326b77 * Fix bug #37601: add some attribte definitions
git-svn-id: trunk@46505 -
2020-08-20 11:53:43 +00:00
yury
5d0e1dbe5a * msdos: Fixed section based smartlinking after my recent changes.
git-svn-id: trunk@46504 -
2020-08-20 11:20:10 +00:00
yury
9a01bcf3dc * Changed Integer to Longint in definitions of RTTI structures. It fixes typinfo for 16-bit CPUs.
git-svn-id: trunk@46503 -
2020-08-20 10:31:56 +00:00
michael
460dc49d68 * Fix bug #37445, find resource file in subdir
git-svn-id: trunk@46502 -
2020-08-20 08:32:50 +00:00
pierre
ca5e2ee16a Also add platformopt to DllCmd[1], as done for ExeCmd[1]
git-svn-id: trunk@46501 -
2020-08-20 05:20:26 +00:00
florian
120825d1d6 * do not throw an internal error on illegal assembler expressions, resolves #37439
git-svn-id: trunk@46499 -
2020-08-19 21:09:44 +00:00
yury
e200fde888 * Fixed tests for 16-bit CPUs.
git-svn-id: trunk@46494 -
2020-08-19 11:02:29 +00:00
yury
1b99279617 * msdos: Enabled $HUGECODE for sysutils and classes to overcome 64K per unit code limit.
git-svn-id: trunk@46493 -
2020-08-19 10:49:40 +00:00
yury
9d41a435c2 * tinyheap: Disable inline when FPC_TINYHEAP_HUGE is defined to prevent code bloat.
git-svn-id: trunk@46492 -
2020-08-19 10:48:00 +00:00
yury
97eb32e6fd * 8086: Also fixed loading a register to a 32-bit ref in case the source register is used as the ref base or index.
git-svn-id: trunk@46491 -
2020-08-19 10:27:19 +00:00
yury
4873ec73a7 * 8086: Fixed loading a 32-bit ref to a register in case the target register is used as the ref base or index.
git-svn-id: trunk@46490 -
2020-08-19 10:20:47 +00:00
ondrej
809db09169 sql parser: support CASE with selector (CASE A WHEN 1 THEN B ELSE C END)
git-svn-id: trunk@46489 -
2020-08-19 08:45:00 +00:00
pierre
5d6d47bad1 Amend commit 46484: Do not accept LOC_CSUBSETREF location type as this represents read-only memory region which should never be modified
git-svn-id: trunk@46487 -
2020-08-18 21:58:19 +00:00
florian
b267f6fcb3 * internal error unified
git-svn-id: trunk@46486 -
2020-08-18 21:10:25 +00:00
florian
004ac4d1f4 * Xtensa: set abi correctly
git-svn-id: trunk@46485 -
2020-08-18 21:10:06 +00:00
pierre
a4cfade86b Avoid internalerror 200203273 by handling LOC_CSUBSETREG and LOC_CSUBSETREF as LOC_SUBSETREG in tcgassignmentnode.pass_generate_code
git-svn-id: trunk@46484 -
2020-08-18 20:52:47 +00:00
yury
580e9e5169 * wlib: calculate the record size according to the number of files in the library.
git-svn-id: trunk@46483 -
2020-08-18 20:02:19 +00:00
yury
9e11f8122f * Corrected r46481. Use both tcalo_new_section and tcalo_make_dead_strippable flags since only the default implementation implies a new section creation when tcalo_make_dead_strippable is specified.
git-svn-id: trunk@46482 -
2020-08-18 12:27:46 +00:00
yury
17e75004c5 * Allow library based smartlinking of indirect symbol entries.
git-svn-id: trunk@46481 -
2020-08-18 12:02:20 +00:00
yury
c75953c12b * msdos: Implemented library based smartlinking of the dead stripable vectorized lists. It is enabled for the internal linker and wlink. These linkers sort sections by name by default.
git-svn-id: trunk@46480 -
2020-08-18 11:36:39 +00:00
yury
764227193a * Added on option to implement library based smartlinking of the dead stripable vectorized lists (e.g. resource strings index). By default smartlinking of such lists only supported when the section based smartlinking (tf_smartlink_sections) is enabled for a target.
git-svn-id: trunk@46479 -
2020-08-18 11:31:39 +00:00