yury
6fc8059a1f
* arm-android: Simplified _haltproc for dll.
...
git-svn-id: trunk@32022 -
2015-10-12 08:41:17 +00:00
yury
8b27c3cf27
* Enable PIC by default for i386-android.
...
git-svn-id: trunk@32021 -
2015-10-12 08:13:42 +00:00
yury
862348c317
* Keep the GOT offset in a virtual register for i386 non-darwin platforms.
...
It fixes PIC code generation with GOT for i386 with enabled optimizations. Bugs #28667 , #28668 .
Prior the fix I have not been able to compile even RTL with -O2 due to not enough free registers, since EBX is reserved for GOT.
It can be further optimized to teach register allocator to not spill the GOT register if possible.
git-svn-id: trunk@32020 -
2015-10-12 08:02:56 +00:00
Tomas Hajny
ebd1c6026c
* fix FileSetAttr - bug #28826
...
git-svn-id: trunk@32019 -
2015-10-11 18:30:29 +00:00
nickysn
ace95e550b
* initialize argc and argv on i8086-msdos. This fixes paramcount and paramstr
...
in objfpc mode on this platform (mantis #28705 )
+ support quoted parameters like the go32v2 target
git-svn-id: trunk@32018 -
2015-10-11 17:38:45 +00:00
nickysn
4454332d7a
* fixed the sysutils.GetEnvironment* functions for i8086-msdos
...
- removed the envp variable from the msdos system unit, because it's not
compatible with ppchar in all memory models (we use ppfarchar to avoid copying
the environment in the program's data segment in near data memory models)
git-svn-id: trunk@32017 -
2015-10-11 13:23:59 +00:00
nickysn
66725cf170
* fixed huge memory model threadvars after r32013
...
git-svn-id: trunk@32016 -
2015-10-11 12:55:44 +00:00
nickysn
12a9664181
* use 16-bit offsets for threadvars on CPUs with 16-bit address space
...
git-svn-id: trunk@32013 -
2015-10-11 12:16:26 +00:00
yury
2116552b36
* android: Simply jump to the libc exit().
...
git-svn-id: trunk@32008 -
2015-10-10 23:59:28 +00:00
yury
a4f63a07d2
* Skip this test for android.
...
git-svn-id: trunk@32007 -
2015-10-10 21:57:08 +00:00
yury
f6045639fc
* Removed the tf_safecall_clearstack flag for i386-android. It is useless, since i386-android uses fixed stack.
...
git-svn-id: trunk@32006 -
2015-10-10 20:43:42 +00:00
yury
d8542bf778
* Do not remove a ret-in-param value from the stack by callee for safecall function when safecall exception check is enabled for a target.
...
The bug has been triggered only with the following conditions:
- tf_safecall_exceptions, tf_safecall_clearstack in target flags;
- fixed stack is used.
Since only the i386-android target meets these conditions atm, the bug has been unnoticed.
git-svn-id: trunk@32005 -
2015-10-10 20:40:33 +00:00
michael
e8a4b6c820
* Fix bug #28818 , patch from Alexey Torgashin
...
git-svn-id: trunk@32001 -
2015-10-10 10:37:00 +00:00
joost
ebf535e7a3
* Removed Makefile from fpmake.pp. We do not include it in other fpmake.pp's either
...
git-svn-id: trunk@31999 -
2015-10-09 19:31:45 +00:00
svenbarth
d4635f10df
Remaining fix for Mantis #28674 .
...
ptype.pas, resolve_forward_types:
* in case of the def of the forward being the same as the genericdef of the def the forwarddef belongs to the typesym needs to be changed to the one of the specialization
tests/webtbs/tw28674.pp:
* adjusted text
git-svn-id: trunk@31987 -
2015-10-09 13:18:35 +00:00
michael
61969710c3
* Writebuffer too (Fix bug 28796streams.inc
...
git-svn-id: trunk@31986 -
2015-10-09 06:57:05 +00:00
michael
2c24153736
* Fix bug #28796
...
git-svn-id: trunk@31982 -
2015-10-08 19:06:04 +00:00
Jonas Maebe
5cb2d10c9a
* add aarch64 multi-arch library directory (patch by Edmund Grimley Evans)
...
git-svn-id: trunk@31981 -
2015-10-08 18:56:35 +00:00
Jonas Maebe
21d6b45020
* add i386 multi-arch library directory (patch by Edmund Grimley Evans)
...
git-svn-id: trunk@31980 -
2015-10-08 18:55:56 +00:00
joost
d92e3ab05a
* Changed mime-type of scripts from application (binary) to text/plain
...
git-svn-id: trunk@31978 -
2015-10-08 18:49:02 +00:00
Jonas Maebe
d49b69581a
* removed fake _init/_fini symbols (patch by Edmund Grimley Evans)
...
git-svn-id: trunk@31977 -
2015-10-08 18:41:32 +00:00
Jonas Maebe
36c6a190a8
* execute the real libc init/fini routines instead of dummies
...
(patch by Edmund Grimley Evans)
git-svn-id: trunk@31976 -
2015-10-08 18:40:31 +00:00
Tomas Hajny
2b27473485
* remove commented out parts resulting from previous testing
...
git-svn-id: trunk@31975 -
2015-10-07 21:24:45 +00:00
Tomas Hajny
0a5705ee38
* add reference to all source files to ensure completeness of the generated source zip
...
git-svn-id: trunk@31974 -
2015-10-07 21:23:22 +00:00
nickysn
5e3a88b7f5
* replaced or cx,cx/jz with jcxz in IndexByte, IndexWord and IndexDWord for i8086
...
git-svn-id: trunk@31961 -
2015-10-06 14:55:51 +00:00
nickysn
3752047dd4
+ added an i8086 asm optimized IndexDWord routine
...
git-svn-id: trunk@31960 -
2015-10-06 14:52:58 +00:00
nickysn
3faf91a270
* replaced nested ifdefs with an elseif sequence
...
git-svn-id: trunk@31957 -
2015-10-05 22:08:53 +00:00
Jonas Maebe
e15c969cbc
* mention modified registers in assembler block
...
* prevent writes beyond the end of the record
git-svn-id: trunk@31956 -
2015-10-05 21:17:41 +00:00
michael
bfc85a73bd
* Applied patch from Ondrej to fix thread ID not being unique
...
git-svn-id: trunk@31955 -
2015-10-05 21:06:41 +00:00
nickysn
792b7e67be
* treat the len parameter to the i8086 versions of IndexByte and IndexWord as
...
unsigned, like the other platforms do
git-svn-id: trunk@31954 -
2015-10-05 19:59:15 +00:00
michael
8751e8bb3e
* Fix bug ID #26827
...
git-svn-id: trunk@31953 -
2015-10-05 19:10:54 +00:00
nickysn
94a398896b
- removed spurious DX initialization at the end of IndexByte for i8086
...
git-svn-id: trunk@31950 -
2015-10-05 17:32:51 +00:00
nickysn
80b892aafb
+ added i8086 asm optimized IndexWord routine
...
git-svn-id: trunk@31948 -
2015-10-05 16:24:15 +00:00
nickysn
a4e216c7fd
+ added i8086 asm optimized IndexByte routine
...
git-svn-id: trunk@31947 -
2015-10-05 15:35:26 +00:00
nickysn
910003848c
* fixed code generation of indirect far calls and jumps on the i8086 from the
...
inline assembler
git-svn-id: trunk@31946 -
2015-10-05 02:19:32 +00:00
nickysn
b3c2765da9
* on i8086, for BP7 compatibility, assemble 'call/jmp dword [ref]' as a far call
...
git-svn-id: trunk@31945 -
2015-10-05 00:47:17 +00:00
joost
ed972c4f99
* Add dependency-checksums for packages within the same fpmake executable
...
git-svn-id: trunk@31944 -
2015-10-04 11:41:31 +00:00
joost
8e2a44db88
* Fixed problem with samplecfg that did not write the fppkg-configuration files when fp was not installed
...
git-svn-id: trunk@31943 -
2015-10-04 09:36:07 +00:00
michael
94ff51c67e
* Applied patch from Mattias Gaertner, fixing bug ID #28773
...
git-svn-id: trunk@31942 -
2015-10-04 08:56:45 +00:00
michael
aa3a7b7eb8
* Exit find if not sorted (bug id 28774)
...
git-svn-id: trunk@31941 -
2015-10-04 08:07:51 +00:00
Tomas Hajny
08817204a8
* updates/fixes by Ondrej Pokorny
...
git-svn-id: trunk@31940 -
2015-10-03 21:26:39 +00:00
Tomas Hajny
8b522e0ff3
* example for unit advancedipc by Ondrej Pokorny added
...
git-svn-id: trunk@31939 -
2015-10-03 21:25:53 +00:00
Tomas Hajny
8746c68a29
* hard-coded '*' replaced by reference to AllFilesMask constant
...
git-svn-id: trunk@31925 -
2015-10-03 17:08:31 +00:00
nickysn
11eb1a4179
+ added some i8086 memory model specific defines in strings.inc and
...
stringss.inc, used by the assembler routines (they are already defined in
the system unit, but these includes are included in units, other than system)
git-svn-id: trunk@31922 -
2015-10-03 09:30:57 +00:00
nickysn
8cfc0d8881
* fixed i8086 strpcopy after r31915
...
git-svn-id: trunk@31921 -
2015-10-03 01:18:25 +00:00
Jonas Maebe
95927665ce
- removed variable notification support, it's not used and superceded by
...
DFA
git-svn-id: trunk@31916 -
2015-10-02 17:00:25 +00:00
nickysn
7fb2418287
+ added an i8086 asm optimized strpcopy routine
...
git-svn-id: trunk@31915 -
2015-10-02 16:42:25 +00:00
svenbarth
3afc18f277
Fix for Mantis #28766 .
...
ncgrtti.pas, write_persistent_type_info:
* do not generate RTTI information for generics
git-svn-id: trunk@31911 -
2015-10-02 13:06:51 +00:00
svenbarth
c25e7491e7
Fix for Mantis #28674 .
...
ptype.pas, resolve_forward_types:
* fix an access violation in case of inline pointer declarations
* fix the check whether it's a valid use of a generic (parse_generic is useless here...)
+ added test
git-svn-id: trunk@31910 -
2015-10-02 12:46:13 +00:00
Jonas Maebe
e8f2f23444
* mention support for .rsj extension in help text (based on patch by
...
Jani Matyas, mantis #28768 )
git-svn-id: trunk@31909 -
2015-10-02 08:20:18 +00:00