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
florian
4d6471fef6
* get rid of calls to empty procedures having parameters without side effect
...
git-svn-id: trunk@23274 -
2013-01-01 15:58:05 +00:00
florian
d2a7d09931
* use pascal loop, so it can be better optimized
...
git-svn-id: trunk@23273 -
2013-01-01 14:59:30 +00:00
florian
ff98d2567c
* don't crash on thumb instructions with only two operands when optimizing ADD, SUB, AND statements
...
git-svn-id: trunk@23272 -
2013-01-01 12:29:48 +00:00
Károly Balogh
8fe2828e5a
it seems Coldfire needs tf_requires_proper_alignment, fixes taddr1/2 tests, maybe others too (but someone with clue about RTTI should confirm)
...
git-svn-id: trunk@23270 -
2013-01-01 04:51:47 +00:00
Károly Balogh
652d69d145
fixed typo
...
git-svn-id: trunk@23269 -
2013-01-01 02:44:01 +00:00
Károly Balogh
0702109f37
get_frame to return a5 on Amiga
...
git-svn-id: trunk@23268 -
2013-01-01 02:37:39 +00:00
Károly Balogh
79a0f706de
save/restore FP from A5 on Amiga
...
git-svn-id: trunk@23267 -
2013-01-01 02:27:53 +00:00
Károly Balogh
601cc80fc6
define HAS_SLEEP and add a very simple sleep implementation
...
git-svn-id: trunk@23266 -
2013-01-01 01:53:14 +00:00
Károly Balogh
3137c6ac4a
answer the WBMsg on process exit, when run from Workbench
...
git-svn-id: trunk@23265 -
2013-01-01 01:47:30 +00:00
florian
288820715d
* don't crash in case a symbol is not found in type/var/const section
...
git-svn-id: trunk@23264 -
2012-12-31 20:24:55 +00:00
florian
85ae82def4
* enable more features for arm-embedded, they don't blow up executables if not used
...
git-svn-id: trunk@23263 -
2012-12-31 19:32:04 +00:00