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
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
florian
92565c80ba
* make exception variables threadvars or not depending on threading support
...
git-svn-id: trunk@23262 -
2012-12-31 19:31:22 +00:00
florian
ebd2e79270
* calling SysInitExceptions is not really needed because it sets only some vars to nil which are nil anyways, this saves some bytes
...
git-svn-id: trunk@23261 -
2012-12-31 19:28:45 +00:00
florian
00af813eee
* write supported cpu and fpu types more compact
...
git-svn-id: trunk@23260 -
2012-12-31 16:45:30 +00:00
florian
a5cc48da0e
* write controller types more compact
...
git-svn-id: trunk@23259 -
2012-12-31 16:31:23 +00:00
florian
e6f2c8cbd3
* turn off threadvars in softfpu if threading is not enabled
...
git-svn-id: trunk@23258 -
2012-12-31 16:31:03 +00:00
florian
eb7882037a
* disable uncompilable targets for embedded targets
...
git-svn-id: trunk@23257 -
2012-12-31 15:51:04 +00:00
florian
0215f00490
* fix compilation of objpas if ansistrings are disabled as requested by Michael Ring on fpc-devel
...
git-svn-id: trunk@23256 -
2012-12-31 14:26:48 +00:00
florian
020b3e02ea
+ parallel compilation of embedded rtl
...
* fix rules for GNU Make 3.82
git-svn-id: trunk@23255 -
2012-12-31 14:17:20 +00:00
florian
c9d8047113
* open config files read only so they can be open by multiple compilers at once
...
git-svn-id: trunk@23254 -
2012-12-31 14:13:05 +00:00
pierre
eaeb63f86d
FreeBSD and OpenBSD also seem to use eax:edx for small strcut returns
...
git-svn-id: trunk@23253 -
2012-12-29 22:03:17 +00:00
michael
48c3adfdb9
* TFPHashlist.Pack now also reclaims unused string memory
...
git-svn-id: trunk@23252 -
2012-12-29 15:35:02 +00:00
Tomas Hajny
49cb967614
* unit sockets extended to allow interoperability with external socket libraries compiled using EMX - e.g. OpenSSL
...
git-svn-id: trunk@23251 -
2012-12-29 14:38:36 +00:00
michael
c6467056bf
* Initial implementation of TFPHashList tests
...
git-svn-id: trunk@23250 -
2012-12-29 12:47:26 +00:00
michael
3367a29831
* Update ansistring header record explanation
...
git-svn-id: trunk@23249 -
2012-12-29 10:23:16 +00:00
florian
d140c5b4ee
* handle inc/dec/pred/succ correctly with type parameters, resolves #23299
...
git-svn-id: trunk@23248 -
2012-12-29 10:01:54 +00:00
michael
f2ee6bcb77
* Fixed bug ID #23444 , improved example to show elapsed time
...
git-svn-id: trunk@23247 -
2012-12-29 09:58:12 +00:00
michael
b3de56a540
* Fixed compilation for version 5.5 of mysql
...
git-svn-id: trunk@23246 -
2012-12-28 23:40:10 +00:00
michael
33b6b8eef5
* No PIPE signal on darwin
...
git-svn-id: trunk@23245 -
2012-12-28 22:57:46 +00:00
florian
a2edcfc4e0
* patch by olivier to fix BeOS compilation, resolves #23545
...
git-svn-id: trunk@23244 -
2012-12-28 21:51:57 +00:00
florian
728c074bd6
* accept with statements with generic variables having a generic parameter type, resolves #21329
...
git-svn-id: trunk@23243 -
2012-12-28 19:48:33 +00:00
pierre
cd0c8a173e
CustHttpApp.pp has no resource strings
...
git-svn-id: trunk@23242 -
2012-12-28 15:33:58 +00:00
florian
f6b78719bc
* fix trealconstnode.dogetcopy and trealconstnode.docompare, taking care of all fields, resolves #23486
...
git-svn-id: trunk@23241 -
2012-12-28 14:16:09 +00:00
svenbarth
e240856e43
* rtl/m68k/setjumph.inc:
...
data registers stored are 1 to 7, not 0 to 7
* rtl/m68k/setjump.inc:
don't use "S" or "value" to reference the parameters as the code generator does not use "sp" instead of "fp" in case of "nostackframe"
restore a0 at the end of setjmp
git-svn-id: trunk@23240 -
2012-12-28 13:00:28 +00:00
Tomas Hajny
2f25717e67
* GetTickCount(64) implementation for OS/2 added
...
git-svn-id: trunk@23239 -
2012-12-28 12:53:55 +00:00
michael
91c8177890
* Better error handling, continue to serve requests (bug ID 22260)
...
git-svn-id: trunk@23238 -
2012-12-28 11:38:46 +00:00
michael
764b132645
* Implemented some server socket options
...
git-svn-id: trunk@23237 -
2012-12-28 11:28:08 +00:00
svenbarth
70a7a09413
* use the correct thread ID when checking for the main thread
...
* ensure that the Exception reference is Nil when appending a synchronize entry to the synchronize queue
git-svn-id: trunk@23234 -
2012-12-27 23:36:16 +00:00
Tomas Hajny
e256311188
* GetCPUCount implementation for OS/2 added
...
git-svn-id: trunk@23233 -
2012-12-27 22:23:03 +00:00
florian
962cf1ea10
* patch by Reinier Olislagers: change several types from Longint to Longword in the zip code, resolves #23482
...
git-svn-id: trunk@23230 -
2012-12-27 19:50:21 +00:00
florian
feefcb6d3d
* don't generate dec for case nodes of unsigned types because dec does not set the carry flag, resolves #23503
...
git-svn-id: trunk@23229 -
2012-12-27 19:35:58 +00:00