florian
0cc3be49fa
* GAS readers and writers can handle section flags
...
git-svn-id: trunk@39998 -
2018-10-20 18:23:24 +00:00
pierre
d512d8cae1
Also fix first_abs_real like in rev 39988
...
git-svn-id: trunk@39997 -
2018-10-20 18:11:25 +00:00
florian
2cbb9895be
* pass float abi always to the arm assembler
...
git-svn-id: trunk@39996 -
2018-10-20 16:48:31 +00:00
michael
863ede7dc6
* Add QWord version of Max (Delphi compatibility, bug ID #34364 )
...
git-svn-id: trunk@39995 -
2018-10-20 12:28:56 +00:00
michael
ab159c638c
* Move consts to stdconv
...
git-svn-id: trunk@39994 -
2018-10-20 12:18:16 +00:00
michael
65433a005e
* Fix bug #0034429 , replace now can use escape sequences, and lineending can be set
...
git-svn-id: trunk@39993 -
2018-10-20 12:09:07 +00:00
michael
407753ea10
* Add constants for powers of 10 and 2. use integer/int64 where possible
...
git-svn-id: trunk@39992 -
2018-10-20 10:40:12 +00:00
florian
3078cc4b0d
* same fix as in r39988 for fpc_first_sqrt
...
git-svn-id: trunk@39991 -
2018-10-20 10:18:45 +00:00
florian
116f36fe56
* avoid range check errors
...
git-svn-id: trunk@39990 -
2018-10-20 10:17:34 +00:00
florian
d4cf97a755
* wrong ifdef exposed by warning with -O3 fixed
...
git-svn-id: trunk@39989 -
2018-10-20 09:16:51 +00:00
pierre
7d7f966ccb
Fix wrong explicit typecast that lead to memory corruption in first_sqr_real
...
git-svn-id: trunk@39988 -
2018-10-19 23:04:55 +00:00
yury
48fcbb3f6c
* Create the ".note.gnu.build-id" section for android. It fixes debugging of shared libs in Android Studio.
...
git-svn-id: trunk@39987 -
2018-10-19 20:23:08 +00:00
pierre
92acd38f40
Fix for bug report #34380
...
git-svn-id: trunk@39986 -
2018-10-18 20:21:54 +00:00
Mattias Gaertner
d3bdbfe5f2
fcl-passrc: resolver adapted for pas2js
...
git-svn-id: trunk@39985 -
2018-10-18 19:40:37 +00:00
florian
edd72ca6d2
* few inline directives added to types, resolves #34424
...
git-svn-id: trunk@39984 -
2018-10-18 19:35:56 +00:00
florian
9805214d34
* properly take care of register allocations between the first and second instruction for the FoldLea optimization
...
* check for ait_instruction after a GetNextInstruction function call
* cosmetics
git-svn-id: trunk@39983 -
2018-10-18 18:28:03 +00:00
yury
7b7e4e4f66
* Disabled the 'constant propagation' optimization ( -OoNOCONSTPROP ) for this test. Otherwise the compiler throws the overflow error during compilation with -O3 or better.
...
git-svn-id: trunk@39982 -
2018-10-18 17:07:37 +00:00
yury
a9972b4309
* Disabled some tests for android.
...
git-svn-id: trunk@39981 -
2018-10-18 16:42:05 +00:00
yury
d021c8c699
* ucnv_open() must be called with some SSE exception masked on x86_64-android.
...
* Call u_init() during initialization.
git-svn-id: trunk@39980 -
2018-10-18 16:14:42 +00:00
pierre
add131f030
Fix crash in fpdoc use in fpcdocs
...
git-svn-id: trunk@39979 -
2018-10-18 14:42:06 +00:00
Mattias Gaertner
b019d40c64
pastojs: local var modifier absolute in method
...
git-svn-id: trunk@39977 -
2018-10-18 14:36:10 +00:00
Mattias Gaertner
7b3d35ad2f
fcl-passrc: resolver: adaptions for pas2js
...
git-svn-id: trunk@39976 -
2018-10-18 14:35:43 +00:00
Mattias Gaertner
481a8bee0c
pastojs: typecast string(apointer), pointer(astring)
...
git-svn-id: trunk@39975 -
2018-10-18 13:38:08 +00:00
Mattias Gaertner
74a0ce450e
fcl-passrc: resolver: allow typecasts string(pointer), pointer(string)
...
git-svn-id: trunk@39974 -
2018-10-18 13:31:43 +00:00
michael
5cc137f54d
* Patch from Ondrej Pokorny to fix HtmlToFPColor (bug ID 34388)
...
git-svn-id: trunk@39973 -
2018-10-18 13:25:00 +00:00
yury
bcf03a52d8
* Disabled some tests for android since they turn PIC off.
...
git-svn-id: trunk@39972 -
2018-10-18 13:05:45 +00:00
yury
9199d1935a
* Enabled compilation of the cpu unit for arm-android and x86_64-android.
...
git-svn-id: trunk@39971 -
2018-10-18 13:01:36 +00:00
yury
aa6f6423b2
* tests: On x86_64-android long double is 128-bit. There is no support for 128-bit floats in FPC yet. So disable long double tests for x86_64-android for now.
...
git-svn-id: trunk@39970 -
2018-10-18 12:31:23 +00:00
yury
4643a0b1ff
* Register external gas assembler for aarch64-android and x86_64-android.
...
git-svn-id: trunk@39969 -
2018-10-18 11:48:27 +00:00
Mattias Gaertner
27ec656ab7
fcl-passrc: adaptions for pas2js
...
git-svn-id: trunk@39968 -
2018-10-18 10:02:47 +00:00
Mattias Gaertner
91d7658844
pas2js: fixed calling $final, do not call BeforeDestruction on exception in constructor
...
git-svn-id: trunk@39966 -
2018-10-18 10:00:02 +00:00
svenbarth
c0c602f76d
* fix tests as depending on the platform the first parameter in the RTTI data might *not* be $self
...
git-svn-id: trunk@39965 -
2018-10-17 20:53:51 +00:00
yury
7b150102bf
+ Added test object files for x86_64-android.
...
git-svn-id: trunk@39964 -
2018-10-17 19:39:17 +00:00
yury
e8d43c8fed
* Fixed range check errors.
...
git-svn-id: trunk@39963 -
2018-10-17 19:12:27 +00:00
yury
7eb9b23fa5
* Reverted r39961.
...
git-svn-id: trunk@39962 -
2018-10-17 18:56:29 +00:00
yury
692c287c3e
* Undef FPC_HAS_TYPE_EXTENDED for x86_64-android.
...
git-svn-id: trunk@39961 -
2018-10-17 18:46:04 +00:00
yury
d1b1655441
* x86_64-android requires sigreturn for proper signal handling.
...
git-svn-id: trunk@39960 -
2018-10-17 17:53:57 +00:00
yury
7ddf0a635c
+ Added the auto-generated list syscalls for mips64-android. It will be needed when mips64 is supported.
...
git-svn-id: trunk@39959 -
2018-10-17 17:16:05 +00:00
yury
a29290202f
* Regenerated makefiles to support x86_64-android.
...
git-svn-id: trunk@39958 -
2018-10-17 17:12:20 +00:00
yury
efdac0623f
* revision.inc
...
git-svn-id: trunk@39957 -
2018-10-17 17:10:37 +00:00
yury
e367577bf1
+ added support for x86_64-android target.
...
git-svn-id: trunk@39956 -
2018-10-17 16:56:27 +00:00
yury
e60a5ebfe7
* Fixed overflow error for the qword version of align() when i=0.
...
git-svn-id: trunk@39954 -
2018-10-17 13:18:45 +00:00
yury
93d672bf16
* aarch64: Fixed loading of a function result which is returned in 4 32-bit MM registers to 2 64-bit int registers. Bug #30329 .
...
git-svn-id: trunk@39953 -
2018-10-17 11:41:34 +00:00
yury
c306f57ecb
* Reverted r39947. According to Sven, the $self parameters is not required to be first parameter in RTTI. Appropriate tests will be fixed.
...
git-svn-id: trunk@39952 -
2018-10-17 08:52:57 +00:00
yury
7c94d00a4a
* Fixed bug #17413 (and the tw17413 test) for aarch64 by adding additional check.
...
git-svn-id: trunk@39951 -
2018-10-16 21:16:30 +00:00
Jonas Maebe
fbfc98a600
* changed definitino of Objective-C BOOL type to Boolean8 where
...
appropriate
* changed all Boolean types in the Cocoa headers to BOOL (rest of
mantis #34411 )
git-svn-id: trunk@39950 -
2018-10-16 21:14:26 +00:00
Jonas Maebe
0b246f3dbd
* converted Boolean8 to an internal type, and mapped Boolean to the
...
new internal pasbool1(type) (part of mantis #34411 )
o apply the _Bool x86-64 parameter passing rules only to pasbool1
git-svn-id: trunk@39949 -
2018-10-16 21:14:18 +00:00
yury
9ee1682955
* Fixed interface delegation for aarch64 (tdel1 and tdel2 tests).
...
It was broken by r31676 which did not take in account r29953. As a consequence $self was passed in register x1 instead of x0 when the method result is of a managed type.
This fix enables changing order of the $self and $result parameters only for aarch64 AND llvm combination where it is actually needed.
The issue with interface delegation still exists for aarch64-llvm and need to be fixed separately. Probably by applying llvm-specific workarounds as it was made in r29953 for regular aarch64 targets.
git-svn-id: trunk@39948 -
2018-10-16 20:32:02 +00:00
yury
84b5129f1d
* Fixed writing of method's RTTI for aarch64 by explicitly writing the $self parameter first.
...
git-svn-id: trunk@39947 -
2018-10-16 17:24:07 +00:00
Mattias Gaertner
a70f58f68e
fcl-passrc: adapted pasresolveeval for pas2js
...
git-svn-id: trunk@39946 -
2018-10-16 10:48:56 +00:00