Commit Graph

52433 Commits

Author SHA1 Message Date
pierre
2130c43685 Add @rtl.cfg to FPC_SYSTEM_OPT to cope with new restriction for -Sf option
git-svn-id: trunk@37907 -
2018-01-04 16:35:55 +00:00
pierre
3e92219f21 Add RESOURCES to the list of features iin rtl.cfg
git-svn-id: trunk@37906 -
2018-01-04 16:35:12 +00:00
Mattias Gaertner
79ede7fa38 pastojs: version 0.8.42
git-svn-id: trunk@37905 -
2018-01-04 14:47:05 +00:00
Mattias Gaertner
70bc4e62ed pas2js: updated compileserver.lpi
git-svn-id: trunk@37904 -
2018-01-04 14:42:25 +00:00
Károly Balogh
f609c55b59 palmunits: added a simple 'Hello, World' for PalmOS
git-svn-id: trunk@37903 -
2018-01-04 09:04:31 +00:00
Károly Balogh
a371b39ee9 palmos: updated the RTL readme
git-svn-id: trunk@37902 -
2018-01-04 09:02:19 +00:00
Károly Balogh
d2f051be8f palmos: include the new startup code in the build
git-svn-id: trunk@37901 -
2018-01-04 08:44:56 +00:00
Károly Balogh
64e7c90147 m68k: some quickhacks to support PalmOS reg-relative globals and quick-n-dirty small code PIC. needs some cleanup, but the basic idea will be useful a potential for MacOS and Amiga .library support as well, among others
git-svn-id: trunk@37900 -
2018-01-04 08:33:43 +00:00
Károly Balogh
aaa40927fe palmos: also pass --embedded-relocs to the linker. mimics what prc-tools GCC does
git-svn-id: trunk@37899 -
2018-01-04 08:27:23 +00:00
Károly Balogh
ac127ac10a palmos: no .rodata section here either
git-svn-id: trunk@37898 -
2018-01-04 08:26:22 +00:00
Károly Balogh
57b2064cdd m68k/palmos: support the prc-tools specific @END hack for globals when writing data symbols
git-svn-id: trunk@37897 -
2018-01-04 07:57:29 +00:00
Károly Balogh
9f974369a1 palmos: for C and syscall functions, expect return values in A0. mark D2 and A2 as volatile during function calls
git-svn-id: trunk@37896 -
2018-01-04 07:52:11 +00:00
Károly Balogh
58d98d8cd7 m68k: made the PIC_OFFSET_REGs runtime changeable, and applied some defaults
git-svn-id: trunk@37895 -
2018-01-04 07:50:50 +00:00
Károly Balogh
ae1b005b1a palmos: turned off large object generation for palmos, fixed linking by skipping the unnecessary obj-res stage
git-svn-id: trunk@37894 -
2018-01-04 07:36:10 +00:00
Károly Balogh
b8474bab0d palmos: fixed startup code to properly relocate the data segment when requested by the OS
git-svn-id: trunk@37893 -
2018-01-04 07:34:00 +00:00
Jonas Maebe
118398a543 * test for mantis #32906 (already fixed in revision 37886)
git-svn-id: trunk@37892 -
2018-01-02 18:15:30 +00:00
pierre
dcc6a20d22 Call RegisterTarget for system_x86_6432_linux_info
git-svn-id: trunk@37891 -
2018-01-02 16:52:41 +00:00
pierre
595938637e Add explicit FPC_SYSTEM_OPT variable that is only used for compilation of system units, thus allowing to explicitly pass -Sf option
git-svn-id: trunk@37890 -
2018-01-02 16:50:58 +00:00
Jonas Maebe
c0b0fa9c0b * change the type of the -gt uninitialised result of ansistring functions to
rawbytestring so the compiler does not try to convert it to the declared
    string type of the function result, as this may not be available
    (mantis #32510)

git-svn-id: trunk@37889 -
2018-01-01 18:04:13 +00:00
Jonas Maebe
d448349330 * updated/corrected TIPC_Perm record for Darwin 64 bit platforms (patch by
Werner Bochtler, mantis #32520)

git-svn-id: trunk@37888 -
2018-01-01 17:34:21 +00:00
Jonas Maebe
672afcdca2 * check for conflicts between procedure directives specified in the
implementation and "virtual" (if it's a virtual method), as "virtual"
    does not get repeated in the implementation and hence no conflicts get
    checked by default (mantis #32605)

git-svn-id: trunk@37887 -
2018-01-01 16:54:04 +00:00
Jonas Maebe
1b66995754 * factored out check to determine whether a variable can be subscripted in
inline assembly, and fixed check after r35959 (mantis #32318)
   o can also subscript parameters passed by value on the stack
   o can also subscript local variables, the parameters passed by reference
     that are subsequently copied into a local

git-svn-id: trunk@37886 -
2018-01-01 14:29:21 +00:00
Jonas Maebe
dcac6b9c6f * disallow passing a dynarray(niln/pointerconstn) as an open array
(mantis #31273)

git-svn-id: trunk@37885 -
2017-12-31 15:18:40 +00:00
marco
d385546d71 * CB_GETCOMBOBOXINFO from patch mantis #32890
git-svn-id: trunk@37884 -
2017-12-30 22:06:49 +00:00
florian
d315d3cc96 * after r34939, it was not taken care of the extra storage needed for the size field, fixed, should fix #32875
git-svn-id: trunk@37883 -
2017-12-30 16:38:13 +00:00
marco
acf6fde3cf * fix widestringreplace, shared routine missed some *sizeof(srchar) here and there.
patch from Cyrax, Mantis #32649

git-svn-id: trunk@37882 -
2017-12-30 15:51:53 +00:00
michael
d9f733bada * Re-add Pas2jsLibCompiler to uses clause
git-svn-id: trunk@37881 -
2017-12-30 10:45:24 +00:00
Károly Balogh
6094910917 amiga/m68k: disable dynlibs feature. while the amiga has dynamic libraries, they have a different architecture, which don't mix with this feature. powerpc amiga could support the mainstream-style dynlibs, so keep it enabled there.
git-svn-id: trunk@37880 -
2017-12-30 07:00:15 +00:00
Károly Balogh
888e59d34d amiga: added some code to compile the Amiga RTL with tinyheap. will be useful for Kickstart 1.3 and better very-low-end systems support. disabled by default. also added ifdefs around DynLibs support
git-svn-id: trunk@37879 -
2017-12-30 06:57:15 +00:00
Károly Balogh
4c0e6980db atari: workaround/silence of a vlink warning, when it merges ro sections into rw ones. there are no ro sections on atari anyway
git-svn-id: trunk@37878 -
2017-12-30 06:51:32 +00:00
Károly Balogh
05642cd495 atari: switch off threading for atari tos. i think if we'll ever support MiNT, that should be a separate target, with all the advanced features enabled
git-svn-id: trunk@37877 -
2017-12-30 06:49:39 +00:00
Károly Balogh
bde64031d5 packages: disable some packages and files, in preparation of turning off threading feature for atari tos
git-svn-id: trunk@37876 -
2017-12-30 06:47:18 +00:00
Károly Balogh
8dd14b92a2 objcbase: as discussed on the mailing list - still allow a dummy version to be built. this allows darwin to be built without objectivec feature
git-svn-id: trunk@37875 -
2017-12-30 05:01:29 +00:00
michael
40cc1d3731 * Compile server
git-svn-id: trunk@37874 -
2017-12-29 19:08:29 +00:00
michael
364620fd73 * Use only project file
git-svn-id: trunk@37873 -
2017-12-29 19:07:47 +00:00
michael
00da85bea1 * Correct uses clause
git-svn-id: trunk@37872 -
2017-12-29 19:07:05 +00:00
marco
b20dd5cdbb * fpslist.deleterange mantis #32807
git-svn-id: trunk@37871 -
2017-12-29 18:05:13 +00:00
florian
cffe17f3ce * regenerated
git-svn-id: trunk@37870 -
2017-12-29 17:43:56 +00:00
florian
e13bbe7f2d * do not set -Xs if -dDEBUG is passed to the compiler as proposed by Thaddy de Koning in #32831
git-svn-id: trunk@37869 -
2017-12-29 17:43:32 +00:00
florian
8eb885de91 * better error message if a unit is not found
git-svn-id: trunk@37868 -
2017-12-29 17:27:44 +00:00
michael
580979ed1c * Forgot to add
git-svn-id: trunk@37867 -
2017-12-29 17:07:59 +00:00
michael
90679c0ce7 * Correct lib name
git-svn-id: trunk@37866 -
2017-12-29 14:25:13 +00:00
michael
cb918ec2e4 Dynamic use of freetype lib
git-svn-id: trunk@37865 -
2017-12-29 14:22:33 +00:00
Jeppe Johansen
e699be78ab Handle simple cases where a record member is passed in a register on AVR, and referenced from inline assembly.
git-svn-id: trunk@37864 -
2017-12-29 14:01:39 +00:00
michael
d997db7fa7 * Fix bug ID #32389 (patch from Martok) to fix script parsing
git-svn-id: trunk@37863 -
2017-12-29 13:25:49 +00:00
michael
7b46b3d35e * Catch case where status>0 for mysql_next_result (bug ID 30551)
git-svn-id: trunk@37862 -
2017-12-29 13:11:08 +00:00
michael
97b3c0b00a * Fix same as bug ID #31416
git-svn-id: trunk@37861 -
2017-12-29 12:44:11 +00:00
michael
a9f2f71a81 * Fix bug ID #31416 (POST content not read when initializing request)
git-svn-id: trunk@37860 -
2017-12-29 12:38:51 +00:00
Jeppe Johansen
a7d3d2d298 Fixed internal error in case inline assembler constants are used.
git-svn-id: trunk@37859 -
2017-12-29 11:50:36 +00:00
Jeppe Johansen
4a169e6b1a Changed subarch of at90pwm161
git-svn-id: trunk@37858 -
2017-12-29 11:30:35 +00:00