Jonas Maebe
2778bf55c7
* add "doregister" parameter to torddef.create, and don't register temporary
...
defs created in the scanner for evaluating compile time expressions, or in
the code generator for range checking
git-svn-id: trunk@32046 -
2015-10-13 15:59:06 +00:00
Jonas Maebe
91be1d0f2d
* removed the DWARF label fields from tdef/tobjectdef, and dynamically
...
allocate them only while necessary
o also unified the conditions under which we allocate a separate
struct label
git-svn-id: trunk@32045 -
2015-10-13 15:59:03 +00:00
Jonas Maebe
67b958bb32
* take SizeOfItem() properly into account in T(Tag)HashSet
...
git-svn-id: trunk@32044 -
2015-10-13 15:59:00 +00:00
Jonas Maebe
dff35e7d03
* fixed overallocation of buckets in T(Tag)HashSet after resize
...
git-svn-id: trunk@32043 -
2015-10-13 15:58:57 +00:00
Jonas Maebe
192bb3e032
* free the implementation info for procdefs immediately after a module
...
has been compiled
git-svn-id: trunk@32042 -
2015-10-13 15:58:54 +00:00
nickysn
3bd5934a51
* some micro optimizations for zero size blocks in CompareByte for i8086
...
git-svn-id: trunk@32041 -
2015-10-13 15:12:43 +00:00
nickysn
4fe125d779
* fixed ds corruption in CompareWord in far data memory models
...
git-svn-id: trunk@32040 -
2015-10-13 15:01:10 +00:00
nickysn
7ed7b090fe
+ i8086 asm optimized implementation of CompareDWord
...
git-svn-id: trunk@32039 -
2015-10-13 14:51:50 +00:00
joost
e388a39e3d
* Added ability to sort TJSONArray
...
git-svn-id: trunk@32038 -
2015-10-13 14:09:31 +00:00
nickysn
2152420e4f
+ added i8086 asm optimized version of CompareWord
...
git-svn-id: trunk@32037 -
2015-10-13 13:10:43 +00:00
yury
2bcd49bbc4
* Fixed i386 case jump table when PIC with GOT and an external assembler is used.
...
git-svn-id: trunk@32036 -
2015-10-13 12:58:19 +00:00
yury
ae33685b9d
* i386-android: Use PIC in the program start-up code.
...
git-svn-id: trunk@32035 -
2015-10-13 11:21:03 +00:00
lacak
16b02dcd2b
fcl-db: sqlite: when raising database error retrieve also extended error code and pass it to ESQLDatabaseError exception object.
...
git-svn-id: trunk@32034 -
2015-10-13 05:23:20 +00:00
yury
63813f3e96
* android: Fixed crash when using writeln during shared library finalization on Android 4.4+.
...
git-svn-id: trunk@32033 -
2015-10-12 22:35:51 +00:00
Tomas Hajny
c1d727e9b6
* correction of a duplicate GTK1 sources reference
...
git-svn-id: trunk@32032 -
2015-10-12 22:01:57 +00:00
Jonas Maebe
2d2b8c635d
* detect whether or not a def/sym is registered based on its defid, so we
...
don't need a separate field for this
o changed the order in which symid and realname are stored to/loaded from
the ppufile (because tsym.create now initialised tsym.symid, and it's
called from ppuload) -> increased ppu version
git-svn-id: trunk@32031 -
2015-10-12 21:03:09 +00:00
nickysn
20e5b3e586
* handle empty environment correctly when initializing argv0 under msdos.
...
Patch by Max Nazhalov, mantis #28705 .
git-svn-id: trunk@32028 -
2015-10-12 17:59:51 +00:00
nickysn
f107956169
+ added an i8086 asm optimized version of CompareByte()
...
git-svn-id: trunk@32026 -
2015-10-12 16:47:50 +00:00
nickysn
385f0d4ee8
- do not set the parameter to nil in strings.strdispose, because it's not a var
...
parameter and the operation is therefore useless
git-svn-id: trunk@32025 -
2015-10-12 14:28:46 +00:00
yury
accf3a6150
* arm-android: Use PIC in the program start-up code.
...
git-svn-id: trunk@32024 -
2015-10-12 08:58:19 +00:00
yury
4026cfcf60
* android: Generate PIC executables. It is required for Android 5.0+.
...
git-svn-id: trunk@32023 -
2015-10-12 08:56:04 +00:00
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