michael
a701176c70
* Better error handling in FastCGI in case writing response fails (bug ID 23564)
...
git-svn-id: trunk@23327 -
2013-01-06 16:29:23 +00:00
Jonas Maebe
9777699c70
* fixed compilation for targets with internal stack checking after r23325
...
* added (commented out) fpc_stackcheck() compilerproc to java version of
compproc.inc
git-svn-id: trunk@23326 -
2013-01-06 15:51:46 +00:00
Jonas Maebe
69c29a415f
* pass the procdef to getintparaloc instead of only the proccalloption, so
...
that the type of the parameters can be determined automatically
o added compilerproc declarations for all helpers called in the compiler
via their assembler name, so we can look up the corresponding procdef
git-svn-id: trunk@23325 -
2013-01-06 15:05:40 +00:00
Jonas Maebe
7c578c3541
* made the pascal name of the string range checking helpers match
...
their assembler name
git-svn-id: trunk@23324 -
2013-01-06 15:05:33 +00:00
Jonas Maebe
1355fc0198
- disabled RecordRTTI declaration on the JVM target, because that
...
routine is not necessary/implemented there and hence doesn't exist
git-svn-id: trunk@23323 -
2013-01-06 15:05:29 +00:00
Jonas Maebe
4ea78538e4
* enabled threading feature for jvm target so that rtl/inc/genmath.inc
...
compiles again there (it's possible to take the address of arbitrary
threadvars on the jvm platform, but not of arbitrary other variables)
- disabled inclusion of generic thread manager and threadvar support
on the jvm target if the threading feature is enabled
git-svn-id: trunk@23322 -
2013-01-06 15:05:24 +00:00
Jonas Maebe
fe5a4baa15
- removed FPC 2.4 bootstrapping support
...
git-svn-id: trunk@23321 -
2013-01-06 15:05:20 +00:00
Jonas Maebe
5f3d762788
* when the stack size is overestimated so much that it's larger than the
...
stack pointer (can happen for externally started threads), truncate it
to a legal value (should stop crashes when enabling stack checking on
iOS 6)
git-svn-id: trunk@23320 -
2013-01-06 15:05:16 +00:00
michael
51cce629e9
* Resources example
...
git-svn-id: trunk@23319 -
2013-01-06 14:56:03 +00:00
michael
64f8c451d9
* Implemented cross-platform version of fileinfo
...
git-svn-id: trunk@23318 -
2013-01-06 14:52:06 +00:00
florian
4f30ac0247
* put records with 16 bytes size into two register on 64 bit targets if possible
...
* don't put records containing floats into integer registers
* copy&paste error in tcg128.a_load128_const_reg fixed
git-svn-id: trunk@23317 -
2013-01-05 22:58:32 +00:00
sergei
2bba4e2d44
+ Stabs debug info needs swapping when linking for different endianness.
...
* A few minor tweaks for Stabs generation.
git-svn-id: trunk@23316 -
2013-01-05 12:26:23 +00:00
florian
c781f21a46
* records with two times the size of a register can be kept in registers
...
git-svn-id: trunk@23313 -
2013-01-04 21:48:41 +00:00
florian
6363567fba
* FloatToStrFIntl is used only internally so we can assume that Value is aligned
...
git-svn-id: trunk@23311 -
2013-01-04 19:13:28 +00:00
florian
b43b4bb455
+ pseudo procedure aligned: tells the compiler to assume that the given parameter is naturally aligned, counterpart of unaligned
...
git-svn-id: trunk@23310 -
2013-01-04 19:13:24 +00:00
florian
fce9e953b4
+ nested exit support
...
git-svn-id: trunk@23309 -
2013-01-04 19:09:04 +00:00
masta
6fabe49828
Readded cutils to compiler/arm/rgcpu.pas for DEBUG_SPILLING
...
Commit r23306 broke compiling with DEBUG_SPILLING set. Unit cutils will
now be included when DEBUG_SPILLING is set.
git-svn-id: trunk@23308 -
2013-01-04 12:21:54 +00:00
lacak
c5e8af10a4
fcl-db:
...
* Fixes tests for UniDirectional datasets
* Calculated fields are supported by UniDirectional datasets
* Lookup fields return always null for UniDirectional datasets in Delphi
* First is valid for UniDirectional datasets (in TDataSet.First closes/opens dataset if not at Bof)
git-svn-id: trunk@23307 -
2013-01-04 07:38:02 +00:00
florian
47d43750e4
* remove unused units from uses statements
...
git-svn-id: trunk@23306 -
2013-01-03 23:07:09 +00:00
florian
318f0e5cab
* enable section smartlinking for powerpc-linux to reduce compilation
...
times, some testing with qemu-ppc showed no problems
git-svn-id: trunk@23305 -
2013-01-03 23:04:29 +00:00
florian
198907797b
* don't replace vmt entries of empty methods by FPC_EMPTYMETHOD
...
if the code is compiled for x86 and returns the result in an fpu register
git-svn-id: trunk@23304 -
2013-01-03 23:01:07 +00:00
florian
7ac9f11cc7
* check if current_procinfo is assigned in paramanager code to avoid crashes
...
git-svn-id: trunk@23303 -
2013-01-03 23:00:03 +00:00
florian
329257d76e
* check for empty procedures after helper test so even empty helper methods cannot be called directly
...
* don't remove calls to subroutines taking arrays of const
git-svn-id: trunk@23302 -
2013-01-03 22:58:56 +00:00
yury
7322164c0a
* I've found that libc on Android does not implement widechar case functions such as towupper(). Such functions are just wrappers over regular char functions. Therefore the whole cwstring unit is useless for Android. For now I've added stub cwstring unit for Android and reverted all Android specific changes in unix/cwstring.pp. Later, Unicode manager for Androud should be implemented using libicuuc, which is default Android lib.
...
git-svn-id: branches/targetandroid@23301 -
2013-01-02 18:47:09 +00:00
florian
f0487f8fde
* remove packed used for nan records in the softfpu code, it served no purpose
...
* recordered files of nan records in the softfpu code
git-svn-id: trunk@23300 -
2013-01-02 18:13:21 +00:00
yury
b480479b8c
* Android does not have libiconv, so don't use it in cwstring unit. For now support only UTF-8 code page in ansistrings. Later it is possible to use libicuuc for code page conversions on Android.
...
git-svn-id: branches/targetandroid@23299 -
2013-01-02 17:38:08 +00:00
yury
26c1ab9375
* Added uuchar unit to build for android.
...
git-svn-id: branches/targetandroid@23298 -
2013-01-02 15:41:36 +00:00
sekelsenmat
b0980b342d
Adds support to join style and endcap in TFPCustomPen in fcl-image
...
git-svn-id: trunk@23297 -
2013-01-02 14:28:09 +00:00
florian
21d62277ce
+ build sysutils unit for arm-embedded
...
git-svn-id: trunk@23296 -
2013-01-02 11:02:44 +00:00
florian
358a62d7c3
* enable command line handling dummy for arm-embedded
...
git-svn-id: trunk@23295 -
2013-01-02 10:52:19 +00:00
florian
8ee1445b81
* stripped trailing spaces
...
git-svn-id: trunk@23294 -
2013-01-02 10:50:32 +00:00
florian
82f20cedbd
* make threading code dependend on feature switch
...
git-svn-id: trunk@23293 -
2013-01-02 10:48:29 +00:00
florian
68d04a4d21
+ add random code from Francesco's GBA code
...
git-svn-id: trunk@23292 -
2013-01-02 10:47:35 +00:00
sergei
d7c5daeccd
* Don't calculate data position of each object section. Instead, write out a copy of exesection's memory image, i.e. every objsection is placed at the same offset from its owning exesection both on disk and in memory. This approach is simpler and works regardless of alignment requirements, while existing one could work only if SectionDataAlign<=SectionMemAlign.
...
* Netware target may be broken by this change; at least it deserves a good cleanup because it contains a lot of code trying to solve similar task: to write exesections without alignment and deal with objsections that are nevertheless being aligned by TExeOutput.
git-svn-id: trunk@23291 -
2013-01-02 10:10:23 +00:00
sergei
35439c0e1d
* Moved creation of GOT section into separate virtual method.
...
* TElfSymtab.WriteSymbol: write type of external symbols as STT_NOTYPE only in object files; external symbols in exe/so files must have type of their resolving symbol.
* TElfObjData.writeReloc_internal: RELOC_RELATIVE needs adjustment by size presumably on x86 only; ARM data relocations don't need it, other CPUs aren't checked yet.
* Use VER_xx and VERSYM_xx constants instead of literal values.
git-svn-id: trunk@23290 -
2013-01-02 08:11:49 +00:00
yury
2dcb174f25
* Always specify dynamic linker name for executables.
...
git-svn-id: branches/targetandroid@23289 -
2013-01-02 00:53:36 +00:00
yury
b0fb02e4c9
* Updated Makefile
...
git-svn-id: branches/targetandroid@23288 -
2013-01-02 00:04:41 +00:00
yury
5fbb67a303
* cprt0.as is not needed, since we link to libc always.
...
git-svn-id: branches/targetandroid@23287 -
2013-01-02 00:03:42 +00:00
yury
97dd19b04f
* cprt0.as is not needed, since we link to libc always.
...
git-svn-id: branches/targetandroid@23286 -
2013-01-02 00:01:43 +00:00
yury
9b5511adac
* libctype is not needed, since only bionic is supported anyway.
...
git-svn-id: branches/targetandroid@23285 -
2013-01-01 23:59:48 +00:00
yury
6ccb152647
* Rework of Android startup code. It is needed to always link to libc on android to implement finalization and environment variables in shared libraries.
...
* Cleanup of Android linker.
* Use only INSERT command in the linker script to inject custom .fpc sections. Whole linker script duplication is nor needed anymore.
* Use BFD linker, since GOLD linker does not support INSERT command. Other incompatibilities may also exist.
* Enable tf_smartlink_sections for i386-android.
* i386-android is broken after this commit. Will be fixed later.
git-svn-id: branches/targetandroid@23284 -
2013-01-01 23:49:12 +00:00
yury
f37a18f600
* Enable weak externals for android.
...
git-svn-id: branches/targetandroid@23283 -
2013-01-01 23:48:07 +00:00
pierre
1dd964960c
* Enable use of amd64 ld GNU linker for i386 by adding target and emul command line args for freebsd
...
git-svn-id: trunk@23282 -
2013-01-01 23:00:02 +00:00
florian
d1856df4f7
* variants do not hurt arm either
...
git-svn-id: trunk@23281 -
2013-01-01 19:32:47 +00:00
florian
dcc227882d
+ newline
...
git-svn-id: trunk@23280 -
2013-01-01 19:32:17 +00:00
florian
903f18ea38
* get rid of calls which redirect the program flow only, Bl2B optimization
...
git-svn-id: trunk@23279 -
2013-01-01 19:31:52 +00:00
florian
d460d44671
* fixed typo as pointed out by Aleksa Todorovic
...
git-svn-id: trunk@23278 -
2013-01-01 18:18:39 +00:00
florian
1da7dc513c
* limit test to armv7m
...
git-svn-id: trunk@23277 -
2013-01-01 18:14:40 +00:00
florian
24f518f232
+ redirect calls to empty virtual methods to FPC_EMPTYMETHOD
...
* do empty subroutine/method optimization only for O2 and higer
git-svn-id: trunk@23276 -
2013-01-01 16:43:27 +00:00
paul
431ce7afc8
rtl: remove unused variables
...
git-svn-id: trunk@23275 -
2013-01-01 16:31:31 +00:00